Skip to content

Commit 02d958b

Browse files
committed
Remove missed file and types
1 parent 063ef0d commit 02d958b

File tree

2 files changed

+0
-60
lines changed

2 files changed

+0
-60
lines changed

server/lib/extractProjectKey.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

types/models.ts

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,6 @@ import { Database } from './supabase';
22

33
type Tables = Database['public']['Tables'];
44

5-
export type Api = Tables['apis']['Row'];
6-
export type ProjectKey = Tables['project_keys']['Row'];
7-
export type Project = Tables['projects']['Row'];
8-
9-
export type ResourceData = Omit<Tables['resource_data']['Row'], 'data'> & {
10-
data: { [key: string]: string | number | boolean };
11-
};
12-
13-
export type ResourceModel = Omit<
14-
Tables['resource_models']['Row'],
15-
'structure'
16-
> & {
17-
structure: {
18-
default: string | number | boolean;
19-
id: string;
20-
name: string;
21-
type: string;
22-
}[];
23-
};
24-
25-
export type ApiWithResourceModel = Api & {
26-
resource_models: ResourceModel;
27-
};
28-
29-
export type ProjectKeyWithProject = ProjectKey & {
30-
projects: Project;
31-
};
32-
33-
export type ProjectWithProjectKey = Project & {
34-
project_keys: ProjectKey[];
35-
};
36-
37-
// ===================== REVAMP
38-
395
export type AppKey = Tables['app_keys']['Row'];
406
export type App = Tables['apps']['Row'];
417

0 commit comments

Comments
 (0)