From 5d0fc071e76e8316298bf6be1195ac2a9b2559c9 Mon Sep 17 00:00:00 2001 From: David Leek Date: Tue, 25 Jun 2024 14:30:57 +0200 Subject: [PATCH] chore: remove unused interfaces from old state import (#7448) --- src/lib/types/model.ts | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/lib/types/model.ts b/src/lib/types/model.ts index ebf347238c..e3529d04a9 100644 --- a/src/lib/types/model.ts +++ b/src/lib/types/model.ts @@ -1,7 +1,7 @@ import type { ITagType } from '../features/tag-type/tag-type-store-type'; import type { LogProvider } from '../logger'; import type { IRole } from './stores/access-store'; -import type { IAuditUser, IUser } from './user'; +import type { IUser } from './user'; import type { ALL_OPERATORS } from '../util'; import type { IProjectStats } from '../features/project/project-service'; import type { CreateFeatureStrategySchema } from '../openapi'; @@ -482,24 +482,6 @@ export interface IMetricsBucket { toggles: { [key: string]: IMetricCounts }; } -export interface IImportFile extends ImportCommon { - file: string; -} - -interface ImportCommon { - dropBeforeImport?: boolean; - keepExisting?: boolean; - /** @deprecated should use auditUser instead */ - userName?: string; - /** @deprecated should use auditUser instead */ - userId?: number; - auditUser: IAuditUser; -} - -export interface IImportData extends ImportCommon { - data: any; -} - // Create project aligns with #/components/schemas/createProjectSchema // joi is providing default values when the optional inputs are not provided // const data = await projectSchema.validateAsync(newProject);