chore: make localeStatus an optional property

This commit is contained in:
Jessica Chowdhury
2025-07-17 17:24:01 +01:00
parent 6ac13f4c3e
commit 9c3316e8e3

View File

@@ -386,7 +386,7 @@ export type CreateVersionArgs<T = TypeWithID> = {
autosave: boolean
collectionSlug: CollectionSlug
createdAt: string
localeStatus: Record<string, 'draft' | 'published'>
localeStatus?: Record<string, 'draft' | 'published'>
/** ID of the parent document for which the version should be created for */
parent: number | string
publishedLocale?: string