@betterinternship/schema.moa 2.3.2 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db.d.ts +987 -990
- package/dist/db.doc.types.d.ts +368 -371
- package/dist/db.doc.types.js.map +1 -1
- package/dist/db.internship.types.d.ts +251 -251
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/db.doc.types.d.ts
CHANGED
|
@@ -1,371 +1,368 @@
|
|
|
1
|
-
export type Json = string | number | boolean | null | {
|
|
2
|
-
[key: string]: Json | undefined;
|
|
3
|
-
} | Json[];
|
|
4
|
-
export type Database = {
|
|
5
|
-
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "13.0.5";
|
|
7
|
-
};
|
|
8
|
-
public: {
|
|
9
|
-
Tables: {
|
|
10
|
-
base_documents: {
|
|
11
|
-
Row: {
|
|
12
|
-
created_at: string;
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
url: string;
|
|
16
|
-
};
|
|
17
|
-
Insert: {
|
|
18
|
-
created_at?: string;
|
|
19
|
-
id?: string;
|
|
20
|
-
name: string;
|
|
21
|
-
url: string;
|
|
22
|
-
};
|
|
23
|
-
Update: {
|
|
24
|
-
created_at?: string;
|
|
25
|
-
id?: string;
|
|
26
|
-
name?: string;
|
|
27
|
-
url?: string;
|
|
28
|
-
};
|
|
29
|
-
Relationships: [];
|
|
30
|
-
};
|
|
31
|
-
base_images: {
|
|
32
|
-
Row: {
|
|
33
|
-
filename: string;
|
|
34
|
-
id: string;
|
|
35
|
-
source_text: string;
|
|
36
|
-
url: string;
|
|
37
|
-
};
|
|
38
|
-
Insert: {
|
|
39
|
-
filename: string;
|
|
40
|
-
id?: string;
|
|
41
|
-
source_text: string;
|
|
42
|
-
url: string;
|
|
43
|
-
};
|
|
44
|
-
Update: {
|
|
45
|
-
filename?: string;
|
|
46
|
-
id?: string;
|
|
47
|
-
source_text?: string;
|
|
48
|
-
url?: string;
|
|
49
|
-
};
|
|
50
|
-
Relationships: [];
|
|
51
|
-
};
|
|
52
|
-
external_documents: {
|
|
53
|
-
Row: {
|
|
54
|
-
effective_date: string | null;
|
|
55
|
-
expiry_date: string | null;
|
|
56
|
-
id: string;
|
|
57
|
-
uploaded_at: string;
|
|
58
|
-
url: string;
|
|
59
|
-
};
|
|
60
|
-
Insert: {
|
|
61
|
-
effective_date?: string | null;
|
|
62
|
-
expiry_date?: string | null;
|
|
63
|
-
id?: string;
|
|
64
|
-
uploaded_at?: string;
|
|
65
|
-
url: string;
|
|
66
|
-
};
|
|
67
|
-
Update: {
|
|
68
|
-
effective_date?: string | null;
|
|
69
|
-
expiry_date?: string | null;
|
|
70
|
-
id?: string;
|
|
71
|
-
uploaded_at?: string;
|
|
72
|
-
url?: string;
|
|
73
|
-
};
|
|
74
|
-
Relationships: [];
|
|
75
|
-
};
|
|
76
|
-
field_template_registry: {
|
|
77
|
-
Row: {
|
|
78
|
-
id: string;
|
|
79
|
-
is_phantom: boolean;
|
|
80
|
-
label: string;
|
|
81
|
-
name: string;
|
|
82
|
-
party: string | null;
|
|
83
|
-
prefiller: string | null;
|
|
84
|
-
preset: string;
|
|
85
|
-
shared: boolean;
|
|
86
|
-
source: string;
|
|
87
|
-
tooltip_label: string | null;
|
|
88
|
-
type: string;
|
|
89
|
-
validator: string | null;
|
|
90
|
-
};
|
|
91
|
-
Insert: {
|
|
92
|
-
id?: string;
|
|
93
|
-
is_phantom?: boolean;
|
|
94
|
-
label: string;
|
|
95
|
-
name: string;
|
|
96
|
-
party?: string | null;
|
|
97
|
-
prefiller?: string | null;
|
|
98
|
-
preset?: string;
|
|
99
|
-
shared?: boolean;
|
|
100
|
-
source: string;
|
|
101
|
-
tooltip_label?: string | null;
|
|
102
|
-
type?: string;
|
|
103
|
-
validator?: string | null;
|
|
104
|
-
};
|
|
105
|
-
Update: {
|
|
106
|
-
id?: string;
|
|
107
|
-
is_phantom?: boolean;
|
|
108
|
-
label?: string;
|
|
109
|
-
name?: string;
|
|
110
|
-
party?: string | null;
|
|
111
|
-
prefiller?: string | null;
|
|
112
|
-
preset?: string;
|
|
113
|
-
shared?: boolean;
|
|
114
|
-
source?: string;
|
|
115
|
-
tooltip_label?: string | null;
|
|
116
|
-
type?: string;
|
|
117
|
-
validator?: string | null;
|
|
118
|
-
};
|
|
119
|
-
Relationships: [];
|
|
120
|
-
};
|
|
121
|
-
form_groups: {
|
|
122
|
-
Row: {
|
|
123
|
-
description: string;
|
|
124
|
-
forms: string[];
|
|
125
|
-
id: string;
|
|
126
|
-
};
|
|
127
|
-
Insert: {
|
|
128
|
-
description: string;
|
|
129
|
-
forms: string[];
|
|
130
|
-
id?: string;
|
|
131
|
-
};
|
|
132
|
-
Update: {
|
|
133
|
-
description?: string;
|
|
134
|
-
forms?: string[];
|
|
135
|
-
id?: string;
|
|
136
|
-
};
|
|
137
|
-
Relationships: [];
|
|
138
|
-
};
|
|
139
|
-
form_template_registry: {
|
|
140
|
-
Row: {
|
|
141
|
-
base_document_id: string | null;
|
|
142
|
-
form_metadata_id: string;
|
|
143
|
-
id: string;
|
|
144
|
-
label: string | null;
|
|
145
|
-
name: string;
|
|
146
|
-
time_generated: string | null;
|
|
147
|
-
version: number;
|
|
148
|
-
};
|
|
149
|
-
Insert: {
|
|
150
|
-
base_document_id?: string | null;
|
|
151
|
-
form_metadata_id?: string;
|
|
152
|
-
id?: string;
|
|
153
|
-
label?: string | null;
|
|
154
|
-
name: string;
|
|
155
|
-
time_generated?: string | null;
|
|
156
|
-
version?: number;
|
|
157
|
-
};
|
|
158
|
-
Update: {
|
|
159
|
-
base_document_id?: string | null;
|
|
160
|
-
form_metadata_id?: string;
|
|
161
|
-
id?: string;
|
|
162
|
-
label?: string | null;
|
|
163
|
-
name?: string;
|
|
164
|
-
time_generated?: string | null;
|
|
165
|
-
version?: number;
|
|
166
|
-
};
|
|
167
|
-
Relationships: [
|
|
168
|
-
{
|
|
169
|
-
foreignKeyName: "form_schemas_base_document_id_fkey";
|
|
170
|
-
columns: ["base_document_id"];
|
|
171
|
-
isOneToOne: false;
|
|
172
|
-
referencedRelation: "base_documents";
|
|
173
|
-
referencedColumns: ["id"];
|
|
174
|
-
}
|
|
175
|
-
];
|
|
176
|
-
};
|
|
177
|
-
pending_forms: {
|
|
178
|
-
Row: {
|
|
179
|
-
audit: Json | null;
|
|
180
|
-
base_document_id: string | null;
|
|
181
|
-
date_made: string;
|
|
182
|
-
descriptors: Json;
|
|
183
|
-
form_label: string | null;
|
|
184
|
-
form_name: string | null;
|
|
185
|
-
id: string;
|
|
186
|
-
inputs: Json;
|
|
187
|
-
latest_document_url: string | null;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
[_ in never]: never;
|
|
301
|
-
};
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
schema: keyof DatabaseWithoutInternals;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
export {};
|
|
1
|
+
export type Json = string | number | boolean | null | {
|
|
2
|
+
[key: string]: Json | undefined;
|
|
3
|
+
} | Json[];
|
|
4
|
+
export type Database = {
|
|
5
|
+
__InternalSupabase: {
|
|
6
|
+
PostgrestVersion: "13.0.5";
|
|
7
|
+
};
|
|
8
|
+
public: {
|
|
9
|
+
Tables: {
|
|
10
|
+
base_documents: {
|
|
11
|
+
Row: {
|
|
12
|
+
created_at: string;
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
url: string;
|
|
16
|
+
};
|
|
17
|
+
Insert: {
|
|
18
|
+
created_at?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
name: string;
|
|
21
|
+
url: string;
|
|
22
|
+
};
|
|
23
|
+
Update: {
|
|
24
|
+
created_at?: string;
|
|
25
|
+
id?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
url?: string;
|
|
28
|
+
};
|
|
29
|
+
Relationships: [];
|
|
30
|
+
};
|
|
31
|
+
base_images: {
|
|
32
|
+
Row: {
|
|
33
|
+
filename: string;
|
|
34
|
+
id: string;
|
|
35
|
+
source_text: string;
|
|
36
|
+
url: string;
|
|
37
|
+
};
|
|
38
|
+
Insert: {
|
|
39
|
+
filename: string;
|
|
40
|
+
id?: string;
|
|
41
|
+
source_text: string;
|
|
42
|
+
url: string;
|
|
43
|
+
};
|
|
44
|
+
Update: {
|
|
45
|
+
filename?: string;
|
|
46
|
+
id?: string;
|
|
47
|
+
source_text?: string;
|
|
48
|
+
url?: string;
|
|
49
|
+
};
|
|
50
|
+
Relationships: [];
|
|
51
|
+
};
|
|
52
|
+
external_documents: {
|
|
53
|
+
Row: {
|
|
54
|
+
effective_date: string | null;
|
|
55
|
+
expiry_date: string | null;
|
|
56
|
+
id: string;
|
|
57
|
+
uploaded_at: string;
|
|
58
|
+
url: string;
|
|
59
|
+
};
|
|
60
|
+
Insert: {
|
|
61
|
+
effective_date?: string | null;
|
|
62
|
+
expiry_date?: string | null;
|
|
63
|
+
id?: string;
|
|
64
|
+
uploaded_at?: string;
|
|
65
|
+
url: string;
|
|
66
|
+
};
|
|
67
|
+
Update: {
|
|
68
|
+
effective_date?: string | null;
|
|
69
|
+
expiry_date?: string | null;
|
|
70
|
+
id?: string;
|
|
71
|
+
uploaded_at?: string;
|
|
72
|
+
url?: string;
|
|
73
|
+
};
|
|
74
|
+
Relationships: [];
|
|
75
|
+
};
|
|
76
|
+
field_template_registry: {
|
|
77
|
+
Row: {
|
|
78
|
+
id: string;
|
|
79
|
+
is_phantom: boolean;
|
|
80
|
+
label: string;
|
|
81
|
+
name: string;
|
|
82
|
+
party: string | null;
|
|
83
|
+
prefiller: string | null;
|
|
84
|
+
preset: string;
|
|
85
|
+
shared: boolean;
|
|
86
|
+
source: string;
|
|
87
|
+
tooltip_label: string | null;
|
|
88
|
+
type: string;
|
|
89
|
+
validator: string | null;
|
|
90
|
+
};
|
|
91
|
+
Insert: {
|
|
92
|
+
id?: string;
|
|
93
|
+
is_phantom?: boolean;
|
|
94
|
+
label: string;
|
|
95
|
+
name: string;
|
|
96
|
+
party?: string | null;
|
|
97
|
+
prefiller?: string | null;
|
|
98
|
+
preset?: string;
|
|
99
|
+
shared?: boolean;
|
|
100
|
+
source: string;
|
|
101
|
+
tooltip_label?: string | null;
|
|
102
|
+
type?: string;
|
|
103
|
+
validator?: string | null;
|
|
104
|
+
};
|
|
105
|
+
Update: {
|
|
106
|
+
id?: string;
|
|
107
|
+
is_phantom?: boolean;
|
|
108
|
+
label?: string;
|
|
109
|
+
name?: string;
|
|
110
|
+
party?: string | null;
|
|
111
|
+
prefiller?: string | null;
|
|
112
|
+
preset?: string;
|
|
113
|
+
shared?: boolean;
|
|
114
|
+
source?: string;
|
|
115
|
+
tooltip_label?: string | null;
|
|
116
|
+
type?: string;
|
|
117
|
+
validator?: string | null;
|
|
118
|
+
};
|
|
119
|
+
Relationships: [];
|
|
120
|
+
};
|
|
121
|
+
form_groups: {
|
|
122
|
+
Row: {
|
|
123
|
+
description: string;
|
|
124
|
+
forms: string[];
|
|
125
|
+
id: string;
|
|
126
|
+
};
|
|
127
|
+
Insert: {
|
|
128
|
+
description: string;
|
|
129
|
+
forms: string[];
|
|
130
|
+
id?: string;
|
|
131
|
+
};
|
|
132
|
+
Update: {
|
|
133
|
+
description?: string;
|
|
134
|
+
forms?: string[];
|
|
135
|
+
id?: string;
|
|
136
|
+
};
|
|
137
|
+
Relationships: [];
|
|
138
|
+
};
|
|
139
|
+
form_template_registry: {
|
|
140
|
+
Row: {
|
|
141
|
+
base_document_id: string | null;
|
|
142
|
+
form_metadata_id: string | null;
|
|
143
|
+
id: string;
|
|
144
|
+
label: string | null;
|
|
145
|
+
name: string;
|
|
146
|
+
time_generated: string | null;
|
|
147
|
+
version: number;
|
|
148
|
+
};
|
|
149
|
+
Insert: {
|
|
150
|
+
base_document_id?: string | null;
|
|
151
|
+
form_metadata_id?: string | null;
|
|
152
|
+
id?: string;
|
|
153
|
+
label?: string | null;
|
|
154
|
+
name: string;
|
|
155
|
+
time_generated?: string | null;
|
|
156
|
+
version?: number;
|
|
157
|
+
};
|
|
158
|
+
Update: {
|
|
159
|
+
base_document_id?: string | null;
|
|
160
|
+
form_metadata_id?: string | null;
|
|
161
|
+
id?: string;
|
|
162
|
+
label?: string | null;
|
|
163
|
+
name?: string;
|
|
164
|
+
time_generated?: string | null;
|
|
165
|
+
version?: number;
|
|
166
|
+
};
|
|
167
|
+
Relationships: [
|
|
168
|
+
{
|
|
169
|
+
foreignKeyName: "form_schemas_base_document_id_fkey";
|
|
170
|
+
columns: ["base_document_id"];
|
|
171
|
+
isOneToOne: false;
|
|
172
|
+
referencedRelation: "base_documents";
|
|
173
|
+
referencedColumns: ["id"];
|
|
174
|
+
}
|
|
175
|
+
];
|
|
176
|
+
};
|
|
177
|
+
pending_forms: {
|
|
178
|
+
Row: {
|
|
179
|
+
audit: Json | null;
|
|
180
|
+
base_document_id: string | null;
|
|
181
|
+
date_made: string;
|
|
182
|
+
descriptors: Json;
|
|
183
|
+
form_label: string | null;
|
|
184
|
+
form_name: string | null;
|
|
185
|
+
id: string;
|
|
186
|
+
inputs: Json;
|
|
187
|
+
latest_document_url: string | null;
|
|
188
|
+
signing_parties: Json;
|
|
189
|
+
subscribers: Json | null;
|
|
190
|
+
version: number | null;
|
|
191
|
+
};
|
|
192
|
+
Insert: {
|
|
193
|
+
audit?: Json | null;
|
|
194
|
+
base_document_id?: string | null;
|
|
195
|
+
date_made?: string;
|
|
196
|
+
descriptors?: Json;
|
|
197
|
+
form_label?: string | null;
|
|
198
|
+
form_name?: string | null;
|
|
199
|
+
id?: string;
|
|
200
|
+
inputs?: Json;
|
|
201
|
+
latest_document_url?: string | null;
|
|
202
|
+
signing_parties?: Json;
|
|
203
|
+
subscribers?: Json | null;
|
|
204
|
+
version?: number | null;
|
|
205
|
+
};
|
|
206
|
+
Update: {
|
|
207
|
+
audit?: Json | null;
|
|
208
|
+
base_document_id?: string | null;
|
|
209
|
+
date_made?: string;
|
|
210
|
+
descriptors?: Json;
|
|
211
|
+
form_label?: string | null;
|
|
212
|
+
form_name?: string | null;
|
|
213
|
+
id?: string;
|
|
214
|
+
inputs?: Json;
|
|
215
|
+
latest_document_url?: string | null;
|
|
216
|
+
signing_parties?: Json;
|
|
217
|
+
subscribers?: Json | null;
|
|
218
|
+
version?: number | null;
|
|
219
|
+
};
|
|
220
|
+
Relationships: [
|
|
221
|
+
{
|
|
222
|
+
foreignKeyName: "pending_documents_base_document_id_fkey";
|
|
223
|
+
columns: ["base_document_id"];
|
|
224
|
+
isOneToOne: false;
|
|
225
|
+
referencedRelation: "base_documents";
|
|
226
|
+
referencedColumns: ["id"];
|
|
227
|
+
}
|
|
228
|
+
];
|
|
229
|
+
};
|
|
230
|
+
signed_documents: {
|
|
231
|
+
Row: {
|
|
232
|
+
base_document_id: string | null;
|
|
233
|
+
date_made: string;
|
|
234
|
+
descriptors: Json;
|
|
235
|
+
effective_date: string | null;
|
|
236
|
+
expiry_date: string | null;
|
|
237
|
+
form_label: string | null;
|
|
238
|
+
form_name: string | null;
|
|
239
|
+
id: string;
|
|
240
|
+
inputs: Json | null;
|
|
241
|
+
inputs_hash: string | null;
|
|
242
|
+
notarized_url: string | null;
|
|
243
|
+
schema: Json | null;
|
|
244
|
+
schema_hash: string | null;
|
|
245
|
+
signatories: Json | null;
|
|
246
|
+
url: string;
|
|
247
|
+
verification_code: string | null;
|
|
248
|
+
};
|
|
249
|
+
Insert: {
|
|
250
|
+
base_document_id?: string | null;
|
|
251
|
+
date_made?: string;
|
|
252
|
+
descriptors?: Json;
|
|
253
|
+
effective_date?: string | null;
|
|
254
|
+
expiry_date?: string | null;
|
|
255
|
+
form_label?: string | null;
|
|
256
|
+
form_name?: string | null;
|
|
257
|
+
id?: string;
|
|
258
|
+
inputs?: Json | null;
|
|
259
|
+
inputs_hash?: string | null;
|
|
260
|
+
notarized_url?: string | null;
|
|
261
|
+
schema?: Json | null;
|
|
262
|
+
schema_hash?: string | null;
|
|
263
|
+
signatories?: Json | null;
|
|
264
|
+
url: string;
|
|
265
|
+
verification_code?: string | null;
|
|
266
|
+
};
|
|
267
|
+
Update: {
|
|
268
|
+
base_document_id?: string | null;
|
|
269
|
+
date_made?: string;
|
|
270
|
+
descriptors?: Json;
|
|
271
|
+
effective_date?: string | null;
|
|
272
|
+
expiry_date?: string | null;
|
|
273
|
+
form_label?: string | null;
|
|
274
|
+
form_name?: string | null;
|
|
275
|
+
id?: string;
|
|
276
|
+
inputs?: Json | null;
|
|
277
|
+
inputs_hash?: string | null;
|
|
278
|
+
notarized_url?: string | null;
|
|
279
|
+
schema?: Json | null;
|
|
280
|
+
schema_hash?: string | null;
|
|
281
|
+
signatories?: Json | null;
|
|
282
|
+
url?: string;
|
|
283
|
+
verification_code?: string | null;
|
|
284
|
+
};
|
|
285
|
+
Relationships: [
|
|
286
|
+
{
|
|
287
|
+
foreignKeyName: "signed_documents_base_document_id_fkey";
|
|
288
|
+
columns: ["base_document_id"];
|
|
289
|
+
isOneToOne: false;
|
|
290
|
+
referencedRelation: "base_documents";
|
|
291
|
+
referencedColumns: ["id"];
|
|
292
|
+
}
|
|
293
|
+
];
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
Views: {
|
|
297
|
+
[_ in never]: never;
|
|
298
|
+
};
|
|
299
|
+
Functions: {
|
|
300
|
+
[_ in never]: never;
|
|
301
|
+
};
|
|
302
|
+
Enums: {
|
|
303
|
+
input_type: "text" | "number" | "date" | "select" | "time" | "signature" | "reference" | "checkbox";
|
|
304
|
+
section: "student" | "entity" | "university" | "student-guardian" | "internship";
|
|
305
|
+
};
|
|
306
|
+
CompositeTypes: {
|
|
307
|
+
[_ in never]: never;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
312
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
313
|
+
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
314
|
+
schema: keyof DatabaseWithoutInternals;
|
|
315
|
+
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
316
|
+
schema: keyof DatabaseWithoutInternals;
|
|
317
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
318
|
+
schema: keyof DatabaseWithoutInternals;
|
|
319
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
320
|
+
Row: infer R;
|
|
321
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
322
|
+
Row: infer R;
|
|
323
|
+
} ? R : never : never;
|
|
324
|
+
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
325
|
+
schema: keyof DatabaseWithoutInternals;
|
|
326
|
+
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
327
|
+
schema: keyof DatabaseWithoutInternals;
|
|
328
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
329
|
+
schema: keyof DatabaseWithoutInternals;
|
|
330
|
+
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
331
|
+
Insert: infer I;
|
|
332
|
+
} ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends {
|
|
333
|
+
Insert: infer I;
|
|
334
|
+
} ? I : never : never;
|
|
335
|
+
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
336
|
+
schema: keyof DatabaseWithoutInternals;
|
|
337
|
+
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
338
|
+
schema: keyof DatabaseWithoutInternals;
|
|
339
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
340
|
+
schema: keyof DatabaseWithoutInternals;
|
|
341
|
+
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
342
|
+
Update: infer U;
|
|
343
|
+
} ? U : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends {
|
|
344
|
+
Update: infer U;
|
|
345
|
+
} ? U : never : never;
|
|
346
|
+
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
347
|
+
schema: keyof DatabaseWithoutInternals;
|
|
348
|
+
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
349
|
+
schema: keyof DatabaseWithoutInternals;
|
|
350
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
351
|
+
schema: keyof DatabaseWithoutInternals;
|
|
352
|
+
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
353
|
+
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
354
|
+
schema: keyof DatabaseWithoutInternals;
|
|
355
|
+
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
356
|
+
schema: keyof DatabaseWithoutInternals;
|
|
357
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
358
|
+
schema: keyof DatabaseWithoutInternals;
|
|
359
|
+
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
360
|
+
export declare const Constants: {
|
|
361
|
+
readonly public: {
|
|
362
|
+
readonly Enums: {
|
|
363
|
+
readonly input_type: readonly ["text", "number", "date", "select", "time", "signature", "reference", "checkbox"];
|
|
364
|
+
readonly section: readonly ["student", "entity", "university", "student-guardian", "internship"];
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
export {};
|