From 9057418b4bc3831da79c3c590e886c1869cf6cb0 Mon Sep 17 00:00:00 2001 From: jazibsawar Date: Tue, 29 Oct 2024 00:31:18 +0200 Subject: [PATCH] remove options --- src/types/generic.types.ts | 5 ----- src/types/objectRevision.type.ts | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/types/generic.types.ts b/src/types/generic.types.ts index 92f2c7f..c574f6a 100644 --- a/src/types/generic.types.ts +++ b/src/types/generic.types.ts @@ -1,8 +1,3 @@ export type GenericObject = Record; export type NonEmptyObject> = T extends Record ? never : T; - -export type GenericOptionsType = { - slug_field?: boolean; - content_editor?: boolean; -}; diff --git a/src/types/objectRevision.type.ts b/src/types/objectRevision.type.ts index 183d4be..83ef092 100644 --- a/src/types/objectRevision.type.ts +++ b/src/types/objectRevision.type.ts @@ -1,10 +1,9 @@ -import { GenericObject, GenericOptionsType } from './generic.types'; +import { GenericObject } from './generic.types'; export type InsertObjectRevisionType = { title?: string; slug?: string; content?: string; - options?: GenericOptionsType; publish_at?: number; unpublish_at?: number; metadata?: GenericObject;