Skip to content

Commit

Permalink
feat(types): add _originalId properties to SanityDocument and `Sa…
Browse files Browse the repository at this point in the history
…nityDocumentLike` types
  • Loading branch information
juice49 committed Aug 27, 2024
1 parent e817093 commit 9ab37af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@sanity/types/src/documents/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @public */
export interface SanityDocument {
_id: string
_originalId?: string
_type: string
_createdAt: string
_updatedAt: string
Expand All @@ -18,6 +19,7 @@ export interface SanityDocument {
*/
export interface SanityDocumentLike {
_id: string
_originalId?: string
_type: string
_createdAt?: string
_updatedAt?: string
Expand Down

0 comments on commit 9ab37af

Please sign in to comment.