Normalized Id across all files and moved mimetypes into a shared place

This commit is contained in:
Kenneth Skovhede
2026-02-11 16:23:35 +01:00
parent ce8c1aab7f
commit 5eb80854ae
48 changed files with 157 additions and 91 deletions
@@ -38,7 +38,7 @@ internal class KeepNoteAttachmentSourceEntry(SourceProvider provider, string par
{ "gsuite:v", "1" },
{ "gsuite:Type", SourceItemType.KeepNoteAttachment.ToString() },
{ "gsuite:Name", attachment.Name.Split('/').Last() },
{ "gsuite:id", attachment.Name },
{ "gsuite:Id", attachment.Name },
{ "gsuite:MimeType", attachment.MimeType != null ? string.Join(",", attachment.MimeType) : null }
}
.Where(kv => !string.IsNullOrEmpty(kv.Value))