Store source metadata for imported documents (#6136)

This commit is contained in:
Tom Moor
2023-11-11 10:52:29 -05:00
committed by GitHub
parent 90605e110a
commit 48d688c0a5
16 changed files with 178 additions and 48 deletions

View File

@@ -600,6 +600,7 @@
"Search documents": "Search documents",
"No documents found for your filters.": "No documents found for your filters.",
"Youve not got any drafts at the moment.": "Youve not got any drafts at the moment.",
"Payment Required": "Payment Required",
"Not Found": "Not Found",
"We were unable to find the page youre looking for. Go to the <2>homepage</2>?": "We were unable to find the page youre looking for. Go to the <2>homepage</2>?",
"Offline": "Offline",

View File

@@ -123,6 +123,17 @@ export enum UserPreference {
export type UserPreferences = { [key in UserPreference]?: boolean };
export type SourceMetadata = {
/** The original source file name. */
fileName?: string;
/** The original source mime type. */
mimeType?: string;
/** An ID in the external source. */
externalId?: string;
/** Whether the item was created through a trial license. */
trial?: boolean;
};
export type CustomTheme = {
accent: string;
accentText: string;