upsertNotionEntry

fun upsertNotionEntry(notionId: String, text: String, author: String, timestamp: Long, notionLastEdited: Long): Boolean(source)

Updates or inserts a lore entry based on Notion data.

If the entry exists and the Notion edit time is newer, local data is replaced. If the entry does not exist, it is inserted.