feat: Allow document metadata to be stored in zip comment
This commit is contained in:
@ -8,6 +8,8 @@ export default async function documentCreator({
|
||||
collectionId,
|
||||
parentDocumentId,
|
||||
templateDocument,
|
||||
createdAt, // allows override for import
|
||||
updatedAt,
|
||||
template,
|
||||
index,
|
||||
user,
|
||||
@ -21,6 +23,8 @@ export default async function documentCreator({
|
||||
parentDocumentId?: string,
|
||||
templateDocument?: Document,
|
||||
template?: boolean,
|
||||
createdAt?: Date,
|
||||
updatedAt?: Date,
|
||||
index?: number,
|
||||
user: User,
|
||||
editorVersion?: string,
|
||||
@ -33,6 +37,8 @@ export default async function documentCreator({
|
||||
collectionId,
|
||||
teamId: user.teamId,
|
||||
userId: user.id,
|
||||
createdAt,
|
||||
updatedAt,
|
||||
lastModifiedById: user.id,
|
||||
createdById: user.id,
|
||||
template,
|
||||
|
Reference in New Issue
Block a user