@glissandoo/lib 1.104.29 → 1.104.31
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/package.json +1 -1
- package/types/supabase/generated.d.ts +840 -156
- package/types/supabase/generated.js +8 -0
- package/types/supabase/generated.ts +763 -129
- package/types/supabase/index.d.ts +4 -0
- package/types/supabase/index.ts +4 -0
- package/types/supabase/overwrites/comm.d.ts +18 -0
- package/types/supabase/overwrites/comm.js +2 -0
- package/types/supabase/overwrites/comm.ts +18 -0
- package/types/supabase/overwrites/repertoire.d.ts +12 -0
- package/types/supabase/overwrites/repertoire.js +2 -0
- package/types/supabase/overwrites/repertoire.ts +12 -0
|
@@ -5,8 +5,123 @@ export type Database = {
|
|
|
5
5
|
__InternalSupabase: {
|
|
6
6
|
PostgrestVersion: '12.2.3 (519615d)';
|
|
7
7
|
};
|
|
8
|
+
graphql_public: {
|
|
9
|
+
Tables: {
|
|
10
|
+
[_ in never]: never;
|
|
11
|
+
};
|
|
12
|
+
Views: {
|
|
13
|
+
[_ in never]: never;
|
|
14
|
+
};
|
|
15
|
+
Functions: {
|
|
16
|
+
graphql: {
|
|
17
|
+
Args: {
|
|
18
|
+
extensions?: Json;
|
|
19
|
+
operationName?: string;
|
|
20
|
+
query?: string;
|
|
21
|
+
variables?: Json;
|
|
22
|
+
};
|
|
23
|
+
Returns: Json;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
Enums: {
|
|
27
|
+
[_ in never]: never;
|
|
28
|
+
};
|
|
29
|
+
CompositeTypes: {
|
|
30
|
+
[_ in never]: never;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
8
33
|
public: {
|
|
9
34
|
Tables: {
|
|
35
|
+
comm: {
|
|
36
|
+
Row: {
|
|
37
|
+
block_answers: boolean | null;
|
|
38
|
+
comments_count: number | null;
|
|
39
|
+
created_at: string;
|
|
40
|
+
deleted_at: string | null;
|
|
41
|
+
deleted_by: string | null;
|
|
42
|
+
edited_at: string | null;
|
|
43
|
+
edited_by: string | null;
|
|
44
|
+
group_id: string;
|
|
45
|
+
id: string;
|
|
46
|
+
owner_id: string;
|
|
47
|
+
recipients: string[];
|
|
48
|
+
server: boolean | null;
|
|
49
|
+
server_template: string | null;
|
|
50
|
+
template_id: string | null;
|
|
51
|
+
title: string;
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
Insert: {
|
|
55
|
+
block_answers?: boolean | null;
|
|
56
|
+
comments_count?: number | null;
|
|
57
|
+
created_at?: string;
|
|
58
|
+
deleted_at?: string | null;
|
|
59
|
+
deleted_by?: string | null;
|
|
60
|
+
edited_at?: string | null;
|
|
61
|
+
edited_by?: string | null;
|
|
62
|
+
group_id: string;
|
|
63
|
+
id: string;
|
|
64
|
+
owner_id: string;
|
|
65
|
+
recipients: string[];
|
|
66
|
+
server?: boolean | null;
|
|
67
|
+
server_template?: string | null;
|
|
68
|
+
template_id?: string | null;
|
|
69
|
+
title: string;
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
72
|
+
Update: {
|
|
73
|
+
block_answers?: boolean | null;
|
|
74
|
+
comments_count?: number | null;
|
|
75
|
+
created_at?: string;
|
|
76
|
+
deleted_at?: string | null;
|
|
77
|
+
deleted_by?: string | null;
|
|
78
|
+
edited_at?: string | null;
|
|
79
|
+
edited_by?: string | null;
|
|
80
|
+
group_id?: string;
|
|
81
|
+
id?: string;
|
|
82
|
+
owner_id?: string;
|
|
83
|
+
recipients?: string[];
|
|
84
|
+
server?: boolean | null;
|
|
85
|
+
server_template?: string | null;
|
|
86
|
+
template_id?: string | null;
|
|
87
|
+
title?: string;
|
|
88
|
+
type?: string;
|
|
89
|
+
};
|
|
90
|
+
Relationships: [];
|
|
91
|
+
};
|
|
92
|
+
comm_history: {
|
|
93
|
+
Row: {
|
|
94
|
+
action: string;
|
|
95
|
+
comm_id: string;
|
|
96
|
+
created_at: string;
|
|
97
|
+
group_id: string;
|
|
98
|
+
id: number;
|
|
99
|
+
prev_value: Json | null;
|
|
100
|
+
user_id: string;
|
|
101
|
+
value: Json | null;
|
|
102
|
+
};
|
|
103
|
+
Insert: {
|
|
104
|
+
action: string;
|
|
105
|
+
comm_id: string;
|
|
106
|
+
created_at: string;
|
|
107
|
+
group_id: string;
|
|
108
|
+
id?: number;
|
|
109
|
+
prev_value?: Json | null;
|
|
110
|
+
user_id: string;
|
|
111
|
+
value?: Json | null;
|
|
112
|
+
};
|
|
113
|
+
Update: {
|
|
114
|
+
action?: string;
|
|
115
|
+
comm_id?: string;
|
|
116
|
+
created_at?: string;
|
|
117
|
+
group_id?: string;
|
|
118
|
+
id?: number;
|
|
119
|
+
prev_value?: Json | null;
|
|
120
|
+
user_id?: string;
|
|
121
|
+
value?: Json | null;
|
|
122
|
+
};
|
|
123
|
+
Relationships: [];
|
|
124
|
+
};
|
|
10
125
|
event: {
|
|
11
126
|
Row: {
|
|
12
127
|
activeInvitationLink: boolean;
|
|
@@ -189,135 +304,6 @@ export type Database = {
|
|
|
189
304
|
};
|
|
190
305
|
Relationships: [];
|
|
191
306
|
};
|
|
192
|
-
repertoire_history: {
|
|
193
|
-
Row: {
|
|
194
|
-
action: string;
|
|
195
|
-
created_at: string;
|
|
196
|
-
theme_id: string;
|
|
197
|
-
group_id: string;
|
|
198
|
-
id: number;
|
|
199
|
-
prev_value: Json | null;
|
|
200
|
-
user_id: string;
|
|
201
|
-
value: Json | null;
|
|
202
|
-
};
|
|
203
|
-
Insert: {
|
|
204
|
-
action: string;
|
|
205
|
-
created_at: string;
|
|
206
|
-
theme_id: string;
|
|
207
|
-
group_id: string;
|
|
208
|
-
id?: number;
|
|
209
|
-
prev_value?: Json | null;
|
|
210
|
-
user_id: string;
|
|
211
|
-
value?: Json | null;
|
|
212
|
-
};
|
|
213
|
-
Update: {
|
|
214
|
-
action?: string;
|
|
215
|
-
created_at?: string;
|
|
216
|
-
theme_id?: string;
|
|
217
|
-
group_id?: string;
|
|
218
|
-
id?: number;
|
|
219
|
-
prev_value?: Json | null;
|
|
220
|
-
user_id?: string;
|
|
221
|
-
value?: Json | null;
|
|
222
|
-
};
|
|
223
|
-
Relationships: [];
|
|
224
|
-
};
|
|
225
|
-
group_history: {
|
|
226
|
-
Row: {
|
|
227
|
-
action: string;
|
|
228
|
-
created_at: string;
|
|
229
|
-
group_id: string;
|
|
230
|
-
id: number;
|
|
231
|
-
prev_value: Json | null;
|
|
232
|
-
user_id: string;
|
|
233
|
-
value: Json | null;
|
|
234
|
-
};
|
|
235
|
-
Insert: {
|
|
236
|
-
action: string;
|
|
237
|
-
created_at: string;
|
|
238
|
-
group_id: string;
|
|
239
|
-
id?: number;
|
|
240
|
-
prev_value?: Json | null;
|
|
241
|
-
user_id: string;
|
|
242
|
-
value?: Json | null;
|
|
243
|
-
};
|
|
244
|
-
Update: {
|
|
245
|
-
action?: string;
|
|
246
|
-
created_at?: string;
|
|
247
|
-
group_id?: string;
|
|
248
|
-
id?: number;
|
|
249
|
-
prev_value?: Json | null;
|
|
250
|
-
user_id?: string;
|
|
251
|
-
value?: Json | null;
|
|
252
|
-
};
|
|
253
|
-
Relationships: [];
|
|
254
|
-
};
|
|
255
|
-
comm_history: {
|
|
256
|
-
Row: {
|
|
257
|
-
action: string;
|
|
258
|
-
created_at: string;
|
|
259
|
-
comm_id: string;
|
|
260
|
-
group_id: string;
|
|
261
|
-
id: number;
|
|
262
|
-
prev_value: Json | null;
|
|
263
|
-
user_id: string;
|
|
264
|
-
value: Json | null;
|
|
265
|
-
};
|
|
266
|
-
Insert: {
|
|
267
|
-
action: string;
|
|
268
|
-
created_at: string;
|
|
269
|
-
comm_id: string;
|
|
270
|
-
group_id: string;
|
|
271
|
-
id?: number;
|
|
272
|
-
prev_value?: Json | null;
|
|
273
|
-
user_id: string;
|
|
274
|
-
value?: Json | null;
|
|
275
|
-
};
|
|
276
|
-
Update: {
|
|
277
|
-
action?: string;
|
|
278
|
-
comm_id?: string;
|
|
279
|
-
created_at?: string;
|
|
280
|
-
group_id?: string;
|
|
281
|
-
id?: number;
|
|
282
|
-
prev_value?: Json | null;
|
|
283
|
-
user_id?: string;
|
|
284
|
-
value?: Json | null;
|
|
285
|
-
};
|
|
286
|
-
Relationships: [];
|
|
287
|
-
};
|
|
288
|
-
offer_history: {
|
|
289
|
-
Row: {
|
|
290
|
-
action: string;
|
|
291
|
-
created_at: string;
|
|
292
|
-
offer_id: string;
|
|
293
|
-
group_id: string;
|
|
294
|
-
id: number;
|
|
295
|
-
prev_value: Json | null;
|
|
296
|
-
user_id: string;
|
|
297
|
-
value: Json | null;
|
|
298
|
-
};
|
|
299
|
-
Insert: {
|
|
300
|
-
action: string;
|
|
301
|
-
created_at: string;
|
|
302
|
-
offer_id: string;
|
|
303
|
-
group_id: string;
|
|
304
|
-
id?: number;
|
|
305
|
-
prev_value?: Json | null;
|
|
306
|
-
user_id: string;
|
|
307
|
-
value?: Json | null;
|
|
308
|
-
};
|
|
309
|
-
Update: {
|
|
310
|
-
action?: string;
|
|
311
|
-
offer_id?: string;
|
|
312
|
-
created_at?: string;
|
|
313
|
-
group_id?: string;
|
|
314
|
-
id?: number;
|
|
315
|
-
prev_value?: Json | null;
|
|
316
|
-
user_id?: string;
|
|
317
|
-
value?: Json | null;
|
|
318
|
-
};
|
|
319
|
-
Relationships: [];
|
|
320
|
-
};
|
|
321
307
|
group: {
|
|
322
308
|
Row: {
|
|
323
309
|
activeInvitationLink: boolean;
|
|
@@ -453,6 +439,36 @@ export type Database = {
|
|
|
453
439
|
};
|
|
454
440
|
Relationships: [];
|
|
455
441
|
};
|
|
442
|
+
group_history: {
|
|
443
|
+
Row: {
|
|
444
|
+
action: string;
|
|
445
|
+
created_at: string;
|
|
446
|
+
group_id: string;
|
|
447
|
+
id: number;
|
|
448
|
+
prev_value: Json | null;
|
|
449
|
+
user_id: string;
|
|
450
|
+
value: Json | null;
|
|
451
|
+
};
|
|
452
|
+
Insert: {
|
|
453
|
+
action: string;
|
|
454
|
+
created_at: string;
|
|
455
|
+
group_id: string;
|
|
456
|
+
id?: number;
|
|
457
|
+
prev_value?: Json | null;
|
|
458
|
+
user_id: string;
|
|
459
|
+
value?: Json | null;
|
|
460
|
+
};
|
|
461
|
+
Update: {
|
|
462
|
+
action?: string;
|
|
463
|
+
created_at?: string;
|
|
464
|
+
group_id?: string;
|
|
465
|
+
id?: number;
|
|
466
|
+
prev_value?: Json | null;
|
|
467
|
+
user_id?: string;
|
|
468
|
+
value?: Json | null;
|
|
469
|
+
};
|
|
470
|
+
Relationships: [];
|
|
471
|
+
};
|
|
456
472
|
offer: {
|
|
457
473
|
Row: {
|
|
458
474
|
applicants: Json;
|
|
@@ -552,33 +568,693 @@ export type Database = {
|
|
|
552
568
|
}
|
|
553
569
|
];
|
|
554
570
|
};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
571
|
+
offer_history: {
|
|
572
|
+
Row: {
|
|
573
|
+
action: string;
|
|
574
|
+
created_at: string;
|
|
575
|
+
group_id: string;
|
|
576
|
+
id: number;
|
|
577
|
+
offer_id: string;
|
|
578
|
+
prev_value: Json | null;
|
|
579
|
+
user_id: string;
|
|
580
|
+
value: Json | null;
|
|
581
|
+
};
|
|
582
|
+
Insert: {
|
|
583
|
+
action: string;
|
|
584
|
+
created_at: string;
|
|
585
|
+
group_id: string;
|
|
586
|
+
id?: number;
|
|
587
|
+
offer_id: string;
|
|
588
|
+
prev_value?: Json | null;
|
|
589
|
+
user_id: string;
|
|
590
|
+
value?: Json | null;
|
|
591
|
+
};
|
|
592
|
+
Update: {
|
|
593
|
+
action?: string;
|
|
594
|
+
created_at?: string;
|
|
595
|
+
group_id?: string;
|
|
596
|
+
id?: number;
|
|
597
|
+
offer_id?: string;
|
|
598
|
+
prev_value?: Json | null;
|
|
599
|
+
user_id?: string;
|
|
600
|
+
value?: Json | null;
|
|
601
|
+
};
|
|
602
|
+
Relationships: [];
|
|
603
|
+
};
|
|
604
|
+
repertoire: {
|
|
605
|
+
Row: {
|
|
606
|
+
compositor: string | null;
|
|
607
|
+
created_at: string;
|
|
608
|
+
events: string[];
|
|
609
|
+
group_id: string | null;
|
|
610
|
+
id: string;
|
|
611
|
+
last_event_datetime: string | null;
|
|
612
|
+
ownerId: string;
|
|
613
|
+
tags: string[];
|
|
614
|
+
title: string;
|
|
615
|
+
visibility: string;
|
|
616
|
+
};
|
|
617
|
+
Insert: {
|
|
618
|
+
compositor?: string | null;
|
|
619
|
+
created_at?: string;
|
|
620
|
+
events: string[];
|
|
621
|
+
group_id?: string | null;
|
|
622
|
+
id: string;
|
|
623
|
+
last_event_datetime?: string | null;
|
|
624
|
+
ownerId: string;
|
|
625
|
+
tags: string[];
|
|
626
|
+
title: string;
|
|
627
|
+
visibility: string;
|
|
628
|
+
};
|
|
629
|
+
Update: {
|
|
630
|
+
compositor?: string | null;
|
|
631
|
+
created_at?: string;
|
|
632
|
+
events?: string[];
|
|
633
|
+
group_id?: string | null;
|
|
634
|
+
id?: string;
|
|
635
|
+
last_event_datetime?: string | null;
|
|
636
|
+
ownerId?: string;
|
|
637
|
+
tags?: string[];
|
|
638
|
+
title?: string;
|
|
639
|
+
visibility?: string;
|
|
640
|
+
};
|
|
641
|
+
Relationships: [];
|
|
642
|
+
};
|
|
643
|
+
repertoire_history: {
|
|
644
|
+
Row: {
|
|
645
|
+
action: string;
|
|
646
|
+
created_at: string;
|
|
647
|
+
group_id: string;
|
|
648
|
+
id: number;
|
|
649
|
+
prev_value: Json | null;
|
|
650
|
+
theme_id: string;
|
|
651
|
+
user_id: string;
|
|
652
|
+
value: Json | null;
|
|
653
|
+
};
|
|
654
|
+
Insert: {
|
|
655
|
+
action: string;
|
|
656
|
+
created_at: string;
|
|
657
|
+
group_id: string;
|
|
658
|
+
id?: number;
|
|
659
|
+
prev_value?: Json | null;
|
|
660
|
+
theme_id: string;
|
|
661
|
+
user_id: string;
|
|
662
|
+
value?: Json | null;
|
|
663
|
+
};
|
|
664
|
+
Update: {
|
|
665
|
+
action?: string;
|
|
666
|
+
created_at?: string;
|
|
667
|
+
group_id?: string;
|
|
668
|
+
id?: number;
|
|
669
|
+
prev_value?: Json | null;
|
|
670
|
+
theme_id?: string;
|
|
671
|
+
user_id?: string;
|
|
672
|
+
value?: Json | null;
|
|
673
|
+
};
|
|
674
|
+
Relationships: [];
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
Views: {
|
|
678
|
+
[_ in never]: never;
|
|
679
|
+
};
|
|
680
|
+
Functions: {
|
|
681
|
+
[_ in never]: never;
|
|
682
|
+
};
|
|
683
|
+
Enums: {
|
|
684
|
+
created_on: 'app' | 'dashboard' | 'auth' | 'web';
|
|
685
|
+
event_selection_mode: 'open' | 'closed';
|
|
686
|
+
event_type: 'practice' | 'performance';
|
|
687
|
+
group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
|
|
688
|
+
group_plan_period: 'yearly' | 'monthly';
|
|
689
|
+
group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
|
|
690
|
+
offer_type: 'group' | 'event';
|
|
691
|
+
social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
|
|
692
|
+
};
|
|
693
|
+
CompositeTypes: {
|
|
694
|
+
lonlat: {
|
|
695
|
+
longitude: number | null;
|
|
696
|
+
latitude: number | null;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
storage: {
|
|
701
|
+
Tables: {
|
|
702
|
+
buckets: {
|
|
703
|
+
Row: {
|
|
704
|
+
allowed_mime_types: string[] | null;
|
|
705
|
+
avif_autodetection: boolean | null;
|
|
706
|
+
created_at: string | null;
|
|
707
|
+
file_size_limit: number | null;
|
|
708
|
+
id: string;
|
|
709
|
+
name: string;
|
|
710
|
+
owner: string | null;
|
|
711
|
+
owner_id: string | null;
|
|
712
|
+
public: boolean | null;
|
|
713
|
+
type: Database['storage']['Enums']['buckettype'];
|
|
714
|
+
updated_at: string | null;
|
|
715
|
+
};
|
|
716
|
+
Insert: {
|
|
717
|
+
allowed_mime_types?: string[] | null;
|
|
718
|
+
avif_autodetection?: boolean | null;
|
|
719
|
+
created_at?: string | null;
|
|
720
|
+
file_size_limit?: number | null;
|
|
721
|
+
id: string;
|
|
722
|
+
name: string;
|
|
723
|
+
owner?: string | null;
|
|
724
|
+
owner_id?: string | null;
|
|
725
|
+
public?: boolean | null;
|
|
726
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
727
|
+
updated_at?: string | null;
|
|
728
|
+
};
|
|
729
|
+
Update: {
|
|
730
|
+
allowed_mime_types?: string[] | null;
|
|
731
|
+
avif_autodetection?: boolean | null;
|
|
732
|
+
created_at?: string | null;
|
|
733
|
+
file_size_limit?: number | null;
|
|
734
|
+
id?: string;
|
|
735
|
+
name?: string;
|
|
736
|
+
owner?: string | null;
|
|
737
|
+
owner_id?: string | null;
|
|
738
|
+
public?: boolean | null;
|
|
739
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
740
|
+
updated_at?: string | null;
|
|
741
|
+
};
|
|
742
|
+
Relationships: [];
|
|
743
|
+
};
|
|
744
|
+
buckets_analytics: {
|
|
745
|
+
Row: {
|
|
746
|
+
created_at: string;
|
|
747
|
+
deleted_at: string | null;
|
|
748
|
+
format: string;
|
|
749
|
+
id: string;
|
|
750
|
+
name: string;
|
|
751
|
+
type: Database['storage']['Enums']['buckettype'];
|
|
752
|
+
updated_at: string;
|
|
753
|
+
};
|
|
754
|
+
Insert: {
|
|
755
|
+
created_at?: string;
|
|
756
|
+
deleted_at?: string | null;
|
|
757
|
+
format?: string;
|
|
758
|
+
id?: string;
|
|
759
|
+
name: string;
|
|
760
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
761
|
+
updated_at?: string;
|
|
762
|
+
};
|
|
763
|
+
Update: {
|
|
764
|
+
created_at?: string;
|
|
765
|
+
deleted_at?: string | null;
|
|
766
|
+
format?: string;
|
|
767
|
+
id?: string;
|
|
768
|
+
name?: string;
|
|
769
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
770
|
+
updated_at?: string;
|
|
771
|
+
};
|
|
772
|
+
Relationships: [];
|
|
773
|
+
};
|
|
774
|
+
buckets_vectors: {
|
|
775
|
+
Row: {
|
|
776
|
+
created_at: string;
|
|
777
|
+
id: string;
|
|
778
|
+
type: Database['storage']['Enums']['buckettype'];
|
|
779
|
+
updated_at: string;
|
|
780
|
+
};
|
|
781
|
+
Insert: {
|
|
782
|
+
created_at?: string;
|
|
783
|
+
id: string;
|
|
784
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
785
|
+
updated_at?: string;
|
|
786
|
+
};
|
|
787
|
+
Update: {
|
|
788
|
+
created_at?: string;
|
|
789
|
+
id?: string;
|
|
790
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
791
|
+
updated_at?: string;
|
|
792
|
+
};
|
|
793
|
+
Relationships: [];
|
|
794
|
+
};
|
|
795
|
+
migrations: {
|
|
796
|
+
Row: {
|
|
797
|
+
executed_at: string | null;
|
|
798
|
+
hash: string;
|
|
799
|
+
id: number;
|
|
800
|
+
name: string;
|
|
801
|
+
};
|
|
802
|
+
Insert: {
|
|
803
|
+
executed_at?: string | null;
|
|
804
|
+
hash: string;
|
|
805
|
+
id: number;
|
|
806
|
+
name: string;
|
|
807
|
+
};
|
|
808
|
+
Update: {
|
|
809
|
+
executed_at?: string | null;
|
|
810
|
+
hash?: string;
|
|
811
|
+
id?: number;
|
|
812
|
+
name?: string;
|
|
813
|
+
};
|
|
814
|
+
Relationships: [];
|
|
815
|
+
};
|
|
816
|
+
objects: {
|
|
817
|
+
Row: {
|
|
818
|
+
bucket_id: string | null;
|
|
819
|
+
created_at: string | null;
|
|
820
|
+
id: string;
|
|
821
|
+
last_accessed_at: string | null;
|
|
822
|
+
level: number | null;
|
|
823
|
+
metadata: Json | null;
|
|
824
|
+
name: string | null;
|
|
825
|
+
owner: string | null;
|
|
826
|
+
owner_id: string | null;
|
|
827
|
+
path_tokens: string[] | null;
|
|
828
|
+
updated_at: string | null;
|
|
829
|
+
user_metadata: Json | null;
|
|
830
|
+
version: string | null;
|
|
831
|
+
};
|
|
832
|
+
Insert: {
|
|
833
|
+
bucket_id?: string | null;
|
|
834
|
+
created_at?: string | null;
|
|
835
|
+
id?: string;
|
|
836
|
+
last_accessed_at?: string | null;
|
|
837
|
+
level?: number | null;
|
|
838
|
+
metadata?: Json | null;
|
|
839
|
+
name?: string | null;
|
|
840
|
+
owner?: string | null;
|
|
841
|
+
owner_id?: string | null;
|
|
842
|
+
path_tokens?: string[] | null;
|
|
843
|
+
updated_at?: string | null;
|
|
844
|
+
user_metadata?: Json | null;
|
|
845
|
+
version?: string | null;
|
|
846
|
+
};
|
|
847
|
+
Update: {
|
|
848
|
+
bucket_id?: string | null;
|
|
849
|
+
created_at?: string | null;
|
|
850
|
+
id?: string;
|
|
851
|
+
last_accessed_at?: string | null;
|
|
852
|
+
level?: number | null;
|
|
853
|
+
metadata?: Json | null;
|
|
854
|
+
name?: string | null;
|
|
855
|
+
owner?: string | null;
|
|
856
|
+
owner_id?: string | null;
|
|
857
|
+
path_tokens?: string[] | null;
|
|
858
|
+
updated_at?: string | null;
|
|
859
|
+
user_metadata?: Json | null;
|
|
860
|
+
version?: string | null;
|
|
861
|
+
};
|
|
862
|
+
Relationships: [
|
|
863
|
+
{
|
|
864
|
+
foreignKeyName: 'objects_bucketId_fkey';
|
|
865
|
+
columns: ['bucket_id'];
|
|
866
|
+
isOneToOne: false;
|
|
867
|
+
referencedRelation: 'buckets';
|
|
868
|
+
referencedColumns: ['id'];
|
|
869
|
+
}
|
|
870
|
+
];
|
|
871
|
+
};
|
|
872
|
+
prefixes: {
|
|
873
|
+
Row: {
|
|
874
|
+
bucket_id: string;
|
|
875
|
+
created_at: string | null;
|
|
876
|
+
level: number;
|
|
877
|
+
name: string;
|
|
878
|
+
updated_at: string | null;
|
|
879
|
+
};
|
|
880
|
+
Insert: {
|
|
881
|
+
bucket_id: string;
|
|
882
|
+
created_at?: string | null;
|
|
883
|
+
level?: number;
|
|
884
|
+
name: string;
|
|
885
|
+
updated_at?: string | null;
|
|
886
|
+
};
|
|
887
|
+
Update: {
|
|
888
|
+
bucket_id?: string;
|
|
889
|
+
created_at?: string | null;
|
|
890
|
+
level?: number;
|
|
891
|
+
name?: string;
|
|
892
|
+
updated_at?: string | null;
|
|
893
|
+
};
|
|
894
|
+
Relationships: [
|
|
895
|
+
{
|
|
896
|
+
foreignKeyName: 'prefixes_bucketId_fkey';
|
|
897
|
+
columns: ['bucket_id'];
|
|
898
|
+
isOneToOne: false;
|
|
899
|
+
referencedRelation: 'buckets';
|
|
900
|
+
referencedColumns: ['id'];
|
|
901
|
+
}
|
|
902
|
+
];
|
|
903
|
+
};
|
|
904
|
+
s3_multipart_uploads: {
|
|
905
|
+
Row: {
|
|
906
|
+
bucket_id: string;
|
|
907
|
+
created_at: string;
|
|
908
|
+
id: string;
|
|
909
|
+
in_progress_size: number;
|
|
910
|
+
key: string;
|
|
911
|
+
owner_id: string | null;
|
|
912
|
+
upload_signature: string;
|
|
913
|
+
user_metadata: Json | null;
|
|
914
|
+
version: string;
|
|
915
|
+
};
|
|
916
|
+
Insert: {
|
|
917
|
+
bucket_id: string;
|
|
918
|
+
created_at?: string;
|
|
919
|
+
id: string;
|
|
920
|
+
in_progress_size?: number;
|
|
921
|
+
key: string;
|
|
922
|
+
owner_id?: string | null;
|
|
923
|
+
upload_signature: string;
|
|
924
|
+
user_metadata?: Json | null;
|
|
925
|
+
version: string;
|
|
926
|
+
};
|
|
927
|
+
Update: {
|
|
928
|
+
bucket_id?: string;
|
|
929
|
+
created_at?: string;
|
|
930
|
+
id?: string;
|
|
931
|
+
in_progress_size?: number;
|
|
932
|
+
key?: string;
|
|
933
|
+
owner_id?: string | null;
|
|
934
|
+
upload_signature?: string;
|
|
935
|
+
user_metadata?: Json | null;
|
|
936
|
+
version?: string;
|
|
937
|
+
};
|
|
938
|
+
Relationships: [
|
|
939
|
+
{
|
|
940
|
+
foreignKeyName: 's3_multipart_uploads_bucket_id_fkey';
|
|
941
|
+
columns: ['bucket_id'];
|
|
942
|
+
isOneToOne: false;
|
|
943
|
+
referencedRelation: 'buckets';
|
|
944
|
+
referencedColumns: ['id'];
|
|
945
|
+
}
|
|
946
|
+
];
|
|
947
|
+
};
|
|
948
|
+
s3_multipart_uploads_parts: {
|
|
949
|
+
Row: {
|
|
950
|
+
bucket_id: string;
|
|
951
|
+
created_at: string;
|
|
952
|
+
etag: string;
|
|
953
|
+
id: string;
|
|
954
|
+
key: string;
|
|
955
|
+
owner_id: string | null;
|
|
956
|
+
part_number: number;
|
|
957
|
+
size: number;
|
|
958
|
+
upload_id: string;
|
|
959
|
+
version: string;
|
|
960
|
+
};
|
|
961
|
+
Insert: {
|
|
962
|
+
bucket_id: string;
|
|
963
|
+
created_at?: string;
|
|
964
|
+
etag: string;
|
|
965
|
+
id?: string;
|
|
966
|
+
key: string;
|
|
967
|
+
owner_id?: string | null;
|
|
968
|
+
part_number: number;
|
|
969
|
+
size?: number;
|
|
970
|
+
upload_id: string;
|
|
971
|
+
version: string;
|
|
972
|
+
};
|
|
973
|
+
Update: {
|
|
974
|
+
bucket_id?: string;
|
|
975
|
+
created_at?: string;
|
|
976
|
+
etag?: string;
|
|
977
|
+
id?: string;
|
|
978
|
+
key?: string;
|
|
979
|
+
owner_id?: string | null;
|
|
980
|
+
part_number?: number;
|
|
981
|
+
size?: number;
|
|
982
|
+
upload_id?: string;
|
|
983
|
+
version?: string;
|
|
984
|
+
};
|
|
985
|
+
Relationships: [
|
|
986
|
+
{
|
|
987
|
+
foreignKeyName: 's3_multipart_uploads_parts_bucket_id_fkey';
|
|
988
|
+
columns: ['bucket_id'];
|
|
989
|
+
isOneToOne: false;
|
|
990
|
+
referencedRelation: 'buckets';
|
|
991
|
+
referencedColumns: ['id'];
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
foreignKeyName: 's3_multipart_uploads_parts_upload_id_fkey';
|
|
995
|
+
columns: ['upload_id'];
|
|
996
|
+
isOneToOne: false;
|
|
997
|
+
referencedRelation: 's3_multipart_uploads';
|
|
998
|
+
referencedColumns: ['id'];
|
|
999
|
+
}
|
|
1000
|
+
];
|
|
1001
|
+
};
|
|
1002
|
+
vector_indexes: {
|
|
1003
|
+
Row: {
|
|
1004
|
+
bucket_id: string;
|
|
1005
|
+
created_at: string;
|
|
1006
|
+
data_type: string;
|
|
1007
|
+
dimension: number;
|
|
1008
|
+
distance_metric: string;
|
|
1009
|
+
id: string;
|
|
1010
|
+
metadata_configuration: Json | null;
|
|
1011
|
+
name: string;
|
|
1012
|
+
updated_at: string;
|
|
1013
|
+
};
|
|
1014
|
+
Insert: {
|
|
1015
|
+
bucket_id: string;
|
|
1016
|
+
created_at?: string;
|
|
1017
|
+
data_type: string;
|
|
1018
|
+
dimension: number;
|
|
1019
|
+
distance_metric: string;
|
|
1020
|
+
id?: string;
|
|
1021
|
+
metadata_configuration?: Json | null;
|
|
1022
|
+
name: string;
|
|
1023
|
+
updated_at?: string;
|
|
1024
|
+
};
|
|
1025
|
+
Update: {
|
|
1026
|
+
bucket_id?: string;
|
|
1027
|
+
created_at?: string;
|
|
1028
|
+
data_type?: string;
|
|
1029
|
+
dimension?: number;
|
|
1030
|
+
distance_metric?: string;
|
|
1031
|
+
id?: string;
|
|
1032
|
+
metadata_configuration?: Json | null;
|
|
1033
|
+
name?: string;
|
|
1034
|
+
updated_at?: string;
|
|
1035
|
+
};
|
|
1036
|
+
Relationships: [
|
|
1037
|
+
{
|
|
1038
|
+
foreignKeyName: 'vector_indexes_bucket_id_fkey';
|
|
1039
|
+
columns: ['bucket_id'];
|
|
1040
|
+
isOneToOne: false;
|
|
1041
|
+
referencedRelation: 'buckets_vectors';
|
|
1042
|
+
referencedColumns: ['id'];
|
|
1043
|
+
}
|
|
1044
|
+
];
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
Views: {
|
|
1048
|
+
[_ in never]: never;
|
|
1049
|
+
};
|
|
1050
|
+
Functions: {
|
|
1051
|
+
add_prefixes: {
|
|
1052
|
+
Args: {
|
|
1053
|
+
_bucket_id: string;
|
|
1054
|
+
_name: string;
|
|
1055
|
+
};
|
|
1056
|
+
Returns: undefined;
|
|
1057
|
+
};
|
|
1058
|
+
can_insert_object: {
|
|
1059
|
+
Args: {
|
|
1060
|
+
bucketid: string;
|
|
1061
|
+
metadata: Json;
|
|
1062
|
+
name: string;
|
|
1063
|
+
owner: string;
|
|
1064
|
+
};
|
|
1065
|
+
Returns: undefined;
|
|
1066
|
+
};
|
|
1067
|
+
delete_leaf_prefixes: {
|
|
1068
|
+
Args: {
|
|
1069
|
+
bucket_ids: string[];
|
|
1070
|
+
names: string[];
|
|
1071
|
+
};
|
|
1072
|
+
Returns: undefined;
|
|
1073
|
+
};
|
|
1074
|
+
delete_prefix: {
|
|
1075
|
+
Args: {
|
|
1076
|
+
_bucket_id: string;
|
|
1077
|
+
_name: string;
|
|
1078
|
+
};
|
|
1079
|
+
Returns: boolean;
|
|
1080
|
+
};
|
|
1081
|
+
extension: {
|
|
1082
|
+
Args: {
|
|
1083
|
+
name: string;
|
|
1084
|
+
};
|
|
1085
|
+
Returns: string;
|
|
1086
|
+
};
|
|
1087
|
+
filename: {
|
|
1088
|
+
Args: {
|
|
1089
|
+
name: string;
|
|
1090
|
+
};
|
|
1091
|
+
Returns: string;
|
|
1092
|
+
};
|
|
1093
|
+
foldername: {
|
|
1094
|
+
Args: {
|
|
1095
|
+
name: string;
|
|
1096
|
+
};
|
|
1097
|
+
Returns: string[];
|
|
1098
|
+
};
|
|
1099
|
+
get_level: {
|
|
1100
|
+
Args: {
|
|
1101
|
+
name: string;
|
|
1102
|
+
};
|
|
1103
|
+
Returns: number;
|
|
1104
|
+
};
|
|
1105
|
+
get_prefix: {
|
|
1106
|
+
Args: {
|
|
1107
|
+
name: string;
|
|
1108
|
+
};
|
|
1109
|
+
Returns: string;
|
|
1110
|
+
};
|
|
1111
|
+
get_prefixes: {
|
|
1112
|
+
Args: {
|
|
1113
|
+
name: string;
|
|
1114
|
+
};
|
|
1115
|
+
Returns: string[];
|
|
1116
|
+
};
|
|
1117
|
+
get_size_by_bucket: {
|
|
1118
|
+
Args: never;
|
|
1119
|
+
Returns: {
|
|
1120
|
+
bucket_id: string;
|
|
1121
|
+
size: number;
|
|
1122
|
+
}[];
|
|
1123
|
+
};
|
|
1124
|
+
list_multipart_uploads_with_delimiter: {
|
|
1125
|
+
Args: {
|
|
1126
|
+
bucket_id: string;
|
|
1127
|
+
delimiter_param: string;
|
|
1128
|
+
max_keys?: number;
|
|
1129
|
+
next_key_token?: string;
|
|
1130
|
+
next_upload_token?: string;
|
|
1131
|
+
prefix_param: string;
|
|
1132
|
+
};
|
|
1133
|
+
Returns: {
|
|
1134
|
+
created_at: string;
|
|
1135
|
+
id: string;
|
|
1136
|
+
key: string;
|
|
1137
|
+
}[];
|
|
1138
|
+
};
|
|
1139
|
+
list_objects_with_delimiter: {
|
|
1140
|
+
Args: {
|
|
1141
|
+
bucket_id: string;
|
|
1142
|
+
delimiter_param: string;
|
|
1143
|
+
max_keys?: number;
|
|
1144
|
+
next_token?: string;
|
|
1145
|
+
prefix_param: string;
|
|
1146
|
+
start_after?: string;
|
|
1147
|
+
};
|
|
1148
|
+
Returns: {
|
|
1149
|
+
id: string;
|
|
1150
|
+
metadata: Json;
|
|
1151
|
+
name: string;
|
|
1152
|
+
updated_at: string;
|
|
1153
|
+
}[];
|
|
1154
|
+
};
|
|
1155
|
+
lock_top_prefixes: {
|
|
1156
|
+
Args: {
|
|
1157
|
+
bucket_ids: string[];
|
|
1158
|
+
names: string[];
|
|
1159
|
+
};
|
|
1160
|
+
Returns: undefined;
|
|
1161
|
+
};
|
|
1162
|
+
operation: {
|
|
1163
|
+
Args: never;
|
|
1164
|
+
Returns: string;
|
|
1165
|
+
};
|
|
1166
|
+
search: {
|
|
1167
|
+
Args: {
|
|
1168
|
+
bucketname: string;
|
|
1169
|
+
levels?: number;
|
|
1170
|
+
limits?: number;
|
|
1171
|
+
offsets?: number;
|
|
1172
|
+
prefix: string;
|
|
1173
|
+
search?: string;
|
|
1174
|
+
sortcolumn?: string;
|
|
1175
|
+
sortorder?: string;
|
|
1176
|
+
};
|
|
1177
|
+
Returns: {
|
|
1178
|
+
created_at: string;
|
|
1179
|
+
id: string;
|
|
1180
|
+
last_accessed_at: string;
|
|
1181
|
+
metadata: Json;
|
|
1182
|
+
name: string;
|
|
1183
|
+
updated_at: string;
|
|
1184
|
+
}[];
|
|
1185
|
+
};
|
|
1186
|
+
search_legacy_v1: {
|
|
1187
|
+
Args: {
|
|
1188
|
+
bucketname: string;
|
|
1189
|
+
levels?: number;
|
|
1190
|
+
limits?: number;
|
|
1191
|
+
offsets?: number;
|
|
1192
|
+
prefix: string;
|
|
1193
|
+
search?: string;
|
|
1194
|
+
sortcolumn?: string;
|
|
1195
|
+
sortorder?: string;
|
|
1196
|
+
};
|
|
1197
|
+
Returns: {
|
|
1198
|
+
created_at: string;
|
|
1199
|
+
id: string;
|
|
1200
|
+
last_accessed_at: string;
|
|
1201
|
+
metadata: Json;
|
|
1202
|
+
name: string;
|
|
1203
|
+
updated_at: string;
|
|
1204
|
+
}[];
|
|
1205
|
+
};
|
|
1206
|
+
search_v1_optimised: {
|
|
1207
|
+
Args: {
|
|
1208
|
+
bucketname: string;
|
|
1209
|
+
levels?: number;
|
|
1210
|
+
limits?: number;
|
|
1211
|
+
offsets?: number;
|
|
1212
|
+
prefix: string;
|
|
1213
|
+
search?: string;
|
|
1214
|
+
sortcolumn?: string;
|
|
1215
|
+
sortorder?: string;
|
|
1216
|
+
};
|
|
1217
|
+
Returns: {
|
|
1218
|
+
created_at: string;
|
|
1219
|
+
id: string;
|
|
1220
|
+
last_accessed_at: string;
|
|
1221
|
+
metadata: Json;
|
|
1222
|
+
name: string;
|
|
1223
|
+
updated_at: string;
|
|
1224
|
+
}[];
|
|
1225
|
+
};
|
|
1226
|
+
search_v2: {
|
|
1227
|
+
Args: {
|
|
1228
|
+
bucket_name: string;
|
|
1229
|
+
levels?: number;
|
|
1230
|
+
limits?: number;
|
|
1231
|
+
prefix: string;
|
|
1232
|
+
sort_column?: string;
|
|
1233
|
+
sort_column_after?: string;
|
|
1234
|
+
sort_order?: string;
|
|
1235
|
+
start_after?: string;
|
|
1236
|
+
};
|
|
1237
|
+
Returns: {
|
|
1238
|
+
created_at: string;
|
|
1239
|
+
id: string;
|
|
1240
|
+
key: string;
|
|
1241
|
+
last_accessed_at: string;
|
|
1242
|
+
metadata: Json;
|
|
1243
|
+
name: string;
|
|
1244
|
+
updated_at: string;
|
|
1245
|
+
}[];
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
Enums: {
|
|
1249
|
+
buckettype: 'STANDARD' | 'ANALYTICS' | 'VECTOR';
|
|
1250
|
+
};
|
|
1251
|
+
CompositeTypes: {
|
|
1252
|
+
[_ in never]: never;
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
|
|
1257
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
|
|
582
1258
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
|
|
583
1259
|
schema: keyof DatabaseWithoutInternals;
|
|
584
1260
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
@@ -627,6 +1303,9 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
627
1303
|
schema: keyof DatabaseWithoutInternals;
|
|
628
1304
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes'] ? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions] : never;
|
|
629
1305
|
export declare const Constants: {
|
|
1306
|
+
readonly graphql_public: {
|
|
1307
|
+
readonly Enums: {};
|
|
1308
|
+
};
|
|
630
1309
|
readonly public: {
|
|
631
1310
|
readonly Enums: {
|
|
632
1311
|
readonly created_on: readonly ["app", "dashboard", "auth", "web"];
|
|
@@ -639,5 +1318,10 @@ export declare const Constants: {
|
|
|
639
1318
|
readonly social_network: readonly ["facebook", "twitter", "instagram", "youtube"];
|
|
640
1319
|
};
|
|
641
1320
|
};
|
|
1321
|
+
readonly storage: {
|
|
1322
|
+
readonly Enums: {
|
|
1323
|
+
readonly buckettype: readonly ["STANDARD", "ANALYTICS", "VECTOR"];
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
642
1326
|
};
|
|
643
1327
|
export {};
|