diff --git a/src/constants.ts b/src/constants.ts index 96af33e..4f47537 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -19,8 +19,6 @@ export type ${HTML_STRING_NAME} = string` export const BASE_SYSTEM_FIELDS_DEFINITION = `// System fields export type BaseSystemFields = { \tid: ${RECORD_ID_STRING_NAME} -\tcreated: ${DATE_STRING_TYPE_NAME} -\tupdated: ${DATE_STRING_TYPE_NAME} \tcollectionId: string \tcollectionName: Collections \texpand?: T diff --git a/test/__snapshots__/fromJSON.test.ts.snap b/test/__snapshots__/fromJSON.test.ts.snap index d363c97..ff93c8c 100644 --- a/test/__snapshots__/fromJSON.test.ts.snap +++ b/test/__snapshots__/fromJSON.test.ts.snap @@ -30,8 +30,6 @@ export type HTMLString = string // System fields export type BaseSystemFields = { id: RecordIdString - created: IsoDateString - updated: IsoDateString collectionId: string collectionName: Collections expand?: T diff --git a/test/__snapshots__/lib.test.ts.snap b/test/__snapshots__/lib.test.ts.snap index ee6c8fe..e16d4b3 100644 --- a/test/__snapshots__/lib.test.ts.snap +++ b/test/__snapshots__/lib.test.ts.snap @@ -40,8 +40,6 @@ export type HTMLString = string // System fields export type BaseSystemFields = { id: RecordIdString - created: IsoDateString - updated: IsoDateString collectionId: string collectionName: Collections expand?: T diff --git a/test/pocketbase-types-example.ts b/test/pocketbase-types-example.ts index 913636c..7c00c16 100644 --- a/test/pocketbase-types-example.ts +++ b/test/pocketbase-types-example.ts @@ -27,8 +27,6 @@ export type HTMLString = string // System fields export type BaseSystemFields = { id: RecordIdString - created: IsoDateString - updated: IsoDateString collectionId: string collectionName: Collections expand?: T