@@ -12,9 +12,10 @@ type Props = {
|
||||
collectionId?: string | null;
|
||||
parentDocumentId?: string | null;
|
||||
importId?: string;
|
||||
templateDocument?: Document | null;
|
||||
publishedAt?: Date;
|
||||
template?: boolean;
|
||||
templateDocument?: Document | null;
|
||||
fullWidth?: boolean;
|
||||
createdAt?: Date;
|
||||
updatedAt?: Date;
|
||||
user: User;
|
||||
@@ -33,12 +34,13 @@ export default async function documentCreator({
|
||||
publish,
|
||||
collectionId,
|
||||
parentDocumentId,
|
||||
template,
|
||||
templateDocument,
|
||||
fullWidth,
|
||||
importId,
|
||||
createdAt,
|
||||
// allows override for import
|
||||
updatedAt,
|
||||
template,
|
||||
user,
|
||||
editorVersion,
|
||||
publishedAt,
|
||||
@@ -76,6 +78,7 @@ export default async function documentCreator({
|
||||
createdById: user.id,
|
||||
template,
|
||||
templateId,
|
||||
fullWidth,
|
||||
publishedAt,
|
||||
importId,
|
||||
title: templateDocument
|
||||
|
||||
Reference in New Issue
Block a user