File tree Expand file tree Collapse file tree 2 files changed +0
-60
lines changed Expand file tree Collapse file tree 2 files changed +0
-60
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,40 +2,6 @@ import { Database } from './supabase';
2
2
3
3
type Tables = Database [ 'public' ] [ 'Tables' ] ;
4
4
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
-
39
5
export type AppKey = Tables [ 'app_keys' ] [ 'Row' ] ;
40
6
export type App = Tables [ 'apps' ] [ 'Row' ] ;
41
7
You can’t perform that action at this time.
0 commit comments