@glissandoo/lib 1.104.0 → 1.104.2
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/helpers/communicationTemplate/index.d.ts +32 -0
- package/helpers/communicationTemplate/index.js +45 -0
- package/helpers/communicationTemplate/newGroup.d.ts +3 -0
- package/helpers/communicationTemplate/newGroup.js +611 -0
- package/helpers/communicationTemplate/newMember.d.ts +3 -0
- package/helpers/communicationTemplate/newMember.js +176 -0
- package/lang/ca.json +8 -0
- package/lang/de.json +8 -0
- package/lang/en.json +8 -0
- package/lang/es.json +8 -0
- package/lang/eu.json +8 -0
- package/lang/fr.json +8 -0
- package/lang/gl.json +8 -0
- package/lang/it.json +8 -0
- package/lang/nl.json +8 -0
- package/lang/pt.json +8 -0
- package/models/Communication/index.d.ts +5 -2
- package/models/Communication/index.js +5 -5
- package/models/Communication/types.d.ts +6 -0
- package/models/Evento/index.js +3 -2
- package/models/Group/index.d.ts +1 -1
- package/models/Group/index.js +3 -3
- package/models/Notification/types.d.ts +1 -0
- package/models/Notification/types.js +1 -0
- package/package.json +2 -2
- package/types/supabase/generated.d.ts +208 -0
- package/types/supabase/generated.ts +196 -86
|
@@ -31,7 +31,50 @@ export type Database = {
|
|
|
31
31
|
Tables: {
|
|
32
32
|
event: {
|
|
33
33
|
Row: {
|
|
34
|
+
activeInvitationLink: boolean;
|
|
35
|
+
coverURL: string | null;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
38
|
+
datetime: string;
|
|
39
|
+
datetimeEnd: string;
|
|
40
|
+
deletedAt: string | null;
|
|
41
|
+
deletedBy: string | null;
|
|
42
|
+
description: string | null;
|
|
43
|
+
descriptionSlate: Json[];
|
|
44
|
+
displayName: string | null;
|
|
45
|
+
id: string;
|
|
46
|
+
invitationLink: string | null;
|
|
47
|
+
locality: string | null;
|
|
48
|
+
location: unknown;
|
|
49
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
50
|
+
maxAttendance: number | null;
|
|
51
|
+
notifyAt: string;
|
|
52
|
+
online: boolean;
|
|
53
|
+
owner: string | null;
|
|
54
|
+
playerIds: string[];
|
|
55
|
+
players: Json;
|
|
34
56
|
promoter: string | null;
|
|
57
|
+
relEvents: string[];
|
|
58
|
+
repeat: Json | null;
|
|
59
|
+
repertory: Json;
|
|
60
|
+
repertoryIds: string[];
|
|
61
|
+
responseDeadline: Json;
|
|
62
|
+
responseDeadlineAt: string;
|
|
63
|
+
rollCalledAt: string | null;
|
|
64
|
+
rollCalledBy: string | null;
|
|
65
|
+
rollCallHistory: Json[];
|
|
66
|
+
rollCallReminderAt: string | null;
|
|
67
|
+
selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
|
|
68
|
+
selectionModeClosedAt: string | null;
|
|
69
|
+
shortDynamicLink: string | null;
|
|
70
|
+
sites: boolean;
|
|
71
|
+
stage: Json | null;
|
|
72
|
+
stageTemplateId: string | null;
|
|
73
|
+
templateId: string | null;
|
|
74
|
+
timezone: string;
|
|
75
|
+
type: Database['public']['Enums']['event_type'];
|
|
76
|
+
updatedAt: string;
|
|
77
|
+
videoURL: string | null;
|
|
35
78
|
};
|
|
36
79
|
Insert: {
|
|
37
80
|
activeInvitationLink: boolean;
|
|
@@ -137,7 +180,48 @@ export type Database = {
|
|
|
137
180
|
};
|
|
138
181
|
group: {
|
|
139
182
|
Row: {
|
|
183
|
+
activeInvitationLink: boolean;
|
|
184
|
+
addresses: Json[];
|
|
185
|
+
administrators: string[];
|
|
186
|
+
config: Json;
|
|
187
|
+
configSites: Json;
|
|
188
|
+
country: string;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
191
|
+
customerId: string | null;
|
|
192
|
+
deletedAt: string | null;
|
|
193
|
+
deletedBy: string | null;
|
|
194
|
+
description: string | null;
|
|
195
|
+
displayName: string;
|
|
140
196
|
id: string;
|
|
197
|
+
instruments: Json;
|
|
198
|
+
intercomId: string | null;
|
|
199
|
+
invitationEmails: string[];
|
|
200
|
+
invitationLink: string | null;
|
|
201
|
+
locality: string;
|
|
202
|
+
location: unknown;
|
|
203
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
204
|
+
metadata: Json;
|
|
205
|
+
musicStyle: string;
|
|
206
|
+
onboardingMessages: Json[];
|
|
207
|
+
owner: string | null;
|
|
208
|
+
partnershipId: string | null;
|
|
209
|
+
photoURL: string;
|
|
210
|
+
planId: Database['public']['Enums']['group_plan'];
|
|
211
|
+
playerIds: string[];
|
|
212
|
+
players: Json;
|
|
213
|
+
repertoireTags: Json;
|
|
214
|
+
rollcallLink: string | null;
|
|
215
|
+
satisfactionIndex: Json;
|
|
216
|
+
shortDynamicLink: string | null;
|
|
217
|
+
socialNetworks: Json | null;
|
|
218
|
+
status: Database['public']['Enums']['group_status'];
|
|
219
|
+
subscriptionId: string | null;
|
|
220
|
+
templates: Json;
|
|
221
|
+
trialEndAt: string | null;
|
|
222
|
+
updatedAt: string;
|
|
223
|
+
username: string;
|
|
224
|
+
visitedDashboardAt: Json;
|
|
141
225
|
};
|
|
142
226
|
Insert: {
|
|
143
227
|
activeInvitationLink: boolean;
|
|
@@ -420,6 +504,7 @@ export type Database = {
|
|
|
420
504
|
created_at: string | null;
|
|
421
505
|
id: string;
|
|
422
506
|
last_accessed_at: string | null;
|
|
507
|
+
level: number | null;
|
|
423
508
|
metadata: Json | null;
|
|
424
509
|
name: string | null;
|
|
425
510
|
owner: string | null;
|
|
@@ -434,6 +519,7 @@ export type Database = {
|
|
|
434
519
|
created_at?: string | null;
|
|
435
520
|
id?: string;
|
|
436
521
|
last_accessed_at?: string | null;
|
|
522
|
+
level?: number | null;
|
|
437
523
|
metadata?: Json | null;
|
|
438
524
|
name?: string | null;
|
|
439
525
|
owner?: string | null;
|
|
@@ -448,6 +534,7 @@ export type Database = {
|
|
|
448
534
|
created_at?: string | null;
|
|
449
535
|
id?: string;
|
|
450
536
|
last_accessed_at?: string | null;
|
|
537
|
+
level?: number | null;
|
|
451
538
|
metadata?: Json | null;
|
|
452
539
|
name?: string | null;
|
|
453
540
|
owner?: string | null;
|
|
@@ -467,6 +554,38 @@ export type Database = {
|
|
|
467
554
|
}
|
|
468
555
|
];
|
|
469
556
|
};
|
|
557
|
+
prefixes: {
|
|
558
|
+
Row: {
|
|
559
|
+
bucket_id: string;
|
|
560
|
+
created_at: string | null;
|
|
561
|
+
level: number;
|
|
562
|
+
name: string;
|
|
563
|
+
updated_at: string | null;
|
|
564
|
+
};
|
|
565
|
+
Insert: {
|
|
566
|
+
bucket_id: string;
|
|
567
|
+
created_at?: string | null;
|
|
568
|
+
level?: number;
|
|
569
|
+
name: string;
|
|
570
|
+
updated_at?: string | null;
|
|
571
|
+
};
|
|
572
|
+
Update: {
|
|
573
|
+
bucket_id?: string;
|
|
574
|
+
created_at?: string | null;
|
|
575
|
+
level?: number;
|
|
576
|
+
name?: string;
|
|
577
|
+
updated_at?: string | null;
|
|
578
|
+
};
|
|
579
|
+
Relationships: [
|
|
580
|
+
{
|
|
581
|
+
foreignKeyName: 'prefixes_bucketId_fkey';
|
|
582
|
+
columns: ['bucket_id'];
|
|
583
|
+
isOneToOne: false;
|
|
584
|
+
referencedRelation: 'buckets';
|
|
585
|
+
referencedColumns: ['id'];
|
|
586
|
+
}
|
|
587
|
+
];
|
|
588
|
+
};
|
|
470
589
|
s3_multipart_uploads: {
|
|
471
590
|
Row: {
|
|
472
591
|
bucket_id: string;
|
|
@@ -570,6 +689,13 @@ export type Database = {
|
|
|
570
689
|
[_ in never]: never;
|
|
571
690
|
};
|
|
572
691
|
Functions: {
|
|
692
|
+
add_prefixes: {
|
|
693
|
+
Args: {
|
|
694
|
+
_bucket_id: string;
|
|
695
|
+
_name: string;
|
|
696
|
+
};
|
|
697
|
+
Returns: undefined;
|
|
698
|
+
};
|
|
573
699
|
can_insert_object: {
|
|
574
700
|
Args: {
|
|
575
701
|
bucketid: string;
|
|
@@ -579,6 +705,13 @@ export type Database = {
|
|
|
579
705
|
};
|
|
580
706
|
Returns: undefined;
|
|
581
707
|
};
|
|
708
|
+
delete_prefix: {
|
|
709
|
+
Args: {
|
|
710
|
+
_bucket_id: string;
|
|
711
|
+
_name: string;
|
|
712
|
+
};
|
|
713
|
+
Returns: boolean;
|
|
714
|
+
};
|
|
582
715
|
extension: {
|
|
583
716
|
Args: {
|
|
584
717
|
name: string;
|
|
@@ -597,6 +730,24 @@ export type Database = {
|
|
|
597
730
|
};
|
|
598
731
|
Returns: string[];
|
|
599
732
|
};
|
|
733
|
+
get_level: {
|
|
734
|
+
Args: {
|
|
735
|
+
name: string;
|
|
736
|
+
};
|
|
737
|
+
Returns: number;
|
|
738
|
+
};
|
|
739
|
+
get_prefix: {
|
|
740
|
+
Args: {
|
|
741
|
+
name: string;
|
|
742
|
+
};
|
|
743
|
+
Returns: string;
|
|
744
|
+
};
|
|
745
|
+
get_prefixes: {
|
|
746
|
+
Args: {
|
|
747
|
+
name: string;
|
|
748
|
+
};
|
|
749
|
+
Returns: string[];
|
|
750
|
+
};
|
|
600
751
|
get_size_by_bucket: {
|
|
601
752
|
Args: Record<PropertyKey, never>;
|
|
602
753
|
Returns: {
|
|
@@ -659,6 +810,63 @@ export type Database = {
|
|
|
659
810
|
metadata: Json;
|
|
660
811
|
}[];
|
|
661
812
|
};
|
|
813
|
+
search_legacy_v1: {
|
|
814
|
+
Args: {
|
|
815
|
+
prefix: string;
|
|
816
|
+
bucketname: string;
|
|
817
|
+
limits?: number;
|
|
818
|
+
levels?: number;
|
|
819
|
+
offsets?: number;
|
|
820
|
+
search?: string;
|
|
821
|
+
sortcolumn?: string;
|
|
822
|
+
sortorder?: string;
|
|
823
|
+
};
|
|
824
|
+
Returns: {
|
|
825
|
+
name: string;
|
|
826
|
+
id: string;
|
|
827
|
+
updated_at: string;
|
|
828
|
+
created_at: string;
|
|
829
|
+
last_accessed_at: string;
|
|
830
|
+
metadata: Json;
|
|
831
|
+
}[];
|
|
832
|
+
};
|
|
833
|
+
search_v1_optimised: {
|
|
834
|
+
Args: {
|
|
835
|
+
prefix: string;
|
|
836
|
+
bucketname: string;
|
|
837
|
+
limits?: number;
|
|
838
|
+
levels?: number;
|
|
839
|
+
offsets?: number;
|
|
840
|
+
search?: string;
|
|
841
|
+
sortcolumn?: string;
|
|
842
|
+
sortorder?: string;
|
|
843
|
+
};
|
|
844
|
+
Returns: {
|
|
845
|
+
name: string;
|
|
846
|
+
id: string;
|
|
847
|
+
updated_at: string;
|
|
848
|
+
created_at: string;
|
|
849
|
+
last_accessed_at: string;
|
|
850
|
+
metadata: Json;
|
|
851
|
+
}[];
|
|
852
|
+
};
|
|
853
|
+
search_v2: {
|
|
854
|
+
Args: {
|
|
855
|
+
prefix: string;
|
|
856
|
+
bucket_name: string;
|
|
857
|
+
limits?: number;
|
|
858
|
+
levels?: number;
|
|
859
|
+
start_after?: string;
|
|
860
|
+
};
|
|
861
|
+
Returns: {
|
|
862
|
+
key: string;
|
|
863
|
+
name: string;
|
|
864
|
+
id: string;
|
|
865
|
+
updated_at: string;
|
|
866
|
+
created_at: string;
|
|
867
|
+
metadata: Json;
|
|
868
|
+
}[];
|
|
869
|
+
};
|
|
662
870
|
};
|
|
663
871
|
Enums: {
|
|
664
872
|
[_ in never]: never;
|
|
@@ -30,51 +30,50 @@ export type Database = {
|
|
|
30
30
|
Tables: {
|
|
31
31
|
event: {
|
|
32
32
|
Row: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
// relEvents: string[];
|
|
57
|
-
// repeat: Json | null;
|
|
58
|
-
// repertory: Json;
|
|
59
|
-
// repertoryIds: string[];
|
|
60
|
-
// responseDeadline: Json;
|
|
61
|
-
// responseDeadlineAt: string;
|
|
62
|
-
// rollCalledAt: string | null;
|
|
63
|
-
// rollCalledBy: string | null;
|
|
64
|
-
// rollCallHistory: Json[];
|
|
65
|
-
// rollCallReminderAt: string | null;
|
|
66
|
-
// selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
|
|
67
|
-
// selectionModeClosedAt: string | null;
|
|
68
|
-
// shortDynamicLink: string | null;
|
|
69
|
-
// sites: boolean;
|
|
70
|
-
// stage: Json | null;
|
|
71
|
-
// stageTemplateId: string | null;
|
|
72
|
-
// templateId: string | null;
|
|
73
|
-
// timezone: string;
|
|
74
|
-
// type: Database['public']['Enums']['event_type'];
|
|
75
|
-
// updatedAt: string;
|
|
76
|
-
// videoURL: string | null;
|
|
33
|
+
activeInvitationLink: boolean;
|
|
34
|
+
coverURL: string | null;
|
|
35
|
+
createdAt: string;
|
|
36
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
37
|
+
datetime: string;
|
|
38
|
+
datetimeEnd: string;
|
|
39
|
+
deletedAt: string | null;
|
|
40
|
+
deletedBy: string | null;
|
|
41
|
+
description: string | null;
|
|
42
|
+
descriptionSlate: Json[];
|
|
43
|
+
displayName: string | null;
|
|
44
|
+
id: string;
|
|
45
|
+
invitationLink: string | null;
|
|
46
|
+
locality: string | null;
|
|
47
|
+
location: unknown;
|
|
48
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
49
|
+
maxAttendance: number | null;
|
|
50
|
+
notifyAt: string;
|
|
51
|
+
online: boolean;
|
|
52
|
+
owner: string | null;
|
|
53
|
+
playerIds: string[];
|
|
54
|
+
players: Json;
|
|
77
55
|
promoter: string | null;
|
|
56
|
+
relEvents: string[];
|
|
57
|
+
repeat: Json | null;
|
|
58
|
+
repertory: Json;
|
|
59
|
+
repertoryIds: string[];
|
|
60
|
+
responseDeadline: Json;
|
|
61
|
+
responseDeadlineAt: string;
|
|
62
|
+
rollCalledAt: string | null;
|
|
63
|
+
rollCalledBy: string | null;
|
|
64
|
+
rollCallHistory: Json[];
|
|
65
|
+
rollCallReminderAt: string | null;
|
|
66
|
+
selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
|
|
67
|
+
selectionModeClosedAt: string | null;
|
|
68
|
+
shortDynamicLink: string | null;
|
|
69
|
+
sites: boolean;
|
|
70
|
+
stage: Json | null;
|
|
71
|
+
stageTemplateId: string | null;
|
|
72
|
+
templateId: string | null;
|
|
73
|
+
timezone: string;
|
|
74
|
+
type: Database['public']['Enums']['event_type'];
|
|
75
|
+
updatedAt: string;
|
|
76
|
+
videoURL: string | null;
|
|
78
77
|
};
|
|
79
78
|
Insert: {
|
|
80
79
|
activeInvitationLink: boolean;
|
|
@@ -180,49 +179,48 @@ export type Database = {
|
|
|
180
179
|
};
|
|
181
180
|
group: {
|
|
182
181
|
Row: {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// instruments: Json;
|
|
198
|
-
// intercomId: string | null;
|
|
199
|
-
// invitationEmails: string[];
|
|
200
|
-
// invitationLink: string | null;
|
|
201
|
-
// locality: string;
|
|
202
|
-
// location: unknown;
|
|
203
|
-
// location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
204
|
-
// metadata: Json;
|
|
205
|
-
// musicStyle: string;
|
|
206
|
-
// onboardingMessages: Json[];
|
|
207
|
-
// owner: string | null;
|
|
208
|
-
// partnershipId: string | null;
|
|
209
|
-
// photoURL: string;
|
|
210
|
-
// planId: Database['public']['Enums']['group_plan'];
|
|
211
|
-
// playerIds: string[];
|
|
212
|
-
// players: Json;
|
|
213
|
-
// repertoireTags: Json;
|
|
214
|
-
// rollcallLink: string | null;
|
|
215
|
-
// satisfactionIndex: Json;
|
|
216
|
-
// shortDynamicLink: string | null;
|
|
217
|
-
// socialNetworks: Json | null;
|
|
218
|
-
// status: Database['public']['Enums']['group_status'];
|
|
219
|
-
// subscriptionId: string | null;
|
|
220
|
-
// templates: Json;
|
|
221
|
-
// trialEndAt: string | null;
|
|
222
|
-
// updatedAt: string;
|
|
223
|
-
// username: string;
|
|
224
|
-
// visitedDashboardAt: Json;
|
|
182
|
+
activeInvitationLink: boolean;
|
|
183
|
+
addresses: Json[];
|
|
184
|
+
administrators: string[];
|
|
185
|
+
config: Json;
|
|
186
|
+
configSites: Json;
|
|
187
|
+
country: string;
|
|
188
|
+
createdAt: string;
|
|
189
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
190
|
+
customerId: string | null;
|
|
191
|
+
deletedAt: string | null;
|
|
192
|
+
deletedBy: string | null;
|
|
193
|
+
description: string | null;
|
|
194
|
+
displayName: string;
|
|
225
195
|
id: string;
|
|
196
|
+
instruments: Json;
|
|
197
|
+
intercomId: string | null;
|
|
198
|
+
invitationEmails: string[];
|
|
199
|
+
invitationLink: string | null;
|
|
200
|
+
locality: string;
|
|
201
|
+
location: unknown;
|
|
202
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
203
|
+
metadata: Json;
|
|
204
|
+
musicStyle: string;
|
|
205
|
+
onboardingMessages: Json[];
|
|
206
|
+
owner: string | null;
|
|
207
|
+
partnershipId: string | null;
|
|
208
|
+
photoURL: string;
|
|
209
|
+
planId: Database['public']['Enums']['group_plan'];
|
|
210
|
+
playerIds: string[];
|
|
211
|
+
players: Json;
|
|
212
|
+
repertoireTags: Json;
|
|
213
|
+
rollcallLink: string | null;
|
|
214
|
+
satisfactionIndex: Json;
|
|
215
|
+
shortDynamicLink: string | null;
|
|
216
|
+
socialNetworks: Json | null;
|
|
217
|
+
status: Database['public']['Enums']['group_status'];
|
|
218
|
+
subscriptionId: string | null;
|
|
219
|
+
templates: Json;
|
|
220
|
+
trialEndAt: string | null;
|
|
221
|
+
updatedAt: string;
|
|
222
|
+
username: string;
|
|
223
|
+
visitedDashboardAt: Json;
|
|
226
224
|
};
|
|
227
225
|
Insert: {
|
|
228
226
|
activeInvitationLink: boolean;
|
|
@@ -505,6 +503,7 @@ export type Database = {
|
|
|
505
503
|
created_at: string | null;
|
|
506
504
|
id: string;
|
|
507
505
|
last_accessed_at: string | null;
|
|
506
|
+
level: number | null;
|
|
508
507
|
metadata: Json | null;
|
|
509
508
|
name: string | null;
|
|
510
509
|
owner: string | null;
|
|
@@ -519,6 +518,7 @@ export type Database = {
|
|
|
519
518
|
created_at?: string | null;
|
|
520
519
|
id?: string;
|
|
521
520
|
last_accessed_at?: string | null;
|
|
521
|
+
level?: number | null;
|
|
522
522
|
metadata?: Json | null;
|
|
523
523
|
name?: string | null;
|
|
524
524
|
owner?: string | null;
|
|
@@ -533,6 +533,7 @@ export type Database = {
|
|
|
533
533
|
created_at?: string | null;
|
|
534
534
|
id?: string;
|
|
535
535
|
last_accessed_at?: string | null;
|
|
536
|
+
level?: number | null;
|
|
536
537
|
metadata?: Json | null;
|
|
537
538
|
name?: string | null;
|
|
538
539
|
owner?: string | null;
|
|
@@ -552,6 +553,38 @@ export type Database = {
|
|
|
552
553
|
}
|
|
553
554
|
];
|
|
554
555
|
};
|
|
556
|
+
prefixes: {
|
|
557
|
+
Row: {
|
|
558
|
+
bucket_id: string;
|
|
559
|
+
created_at: string | null;
|
|
560
|
+
level: number;
|
|
561
|
+
name: string;
|
|
562
|
+
updated_at: string | null;
|
|
563
|
+
};
|
|
564
|
+
Insert: {
|
|
565
|
+
bucket_id: string;
|
|
566
|
+
created_at?: string | null;
|
|
567
|
+
level?: number;
|
|
568
|
+
name: string;
|
|
569
|
+
updated_at?: string | null;
|
|
570
|
+
};
|
|
571
|
+
Update: {
|
|
572
|
+
bucket_id?: string;
|
|
573
|
+
created_at?: string | null;
|
|
574
|
+
level?: number;
|
|
575
|
+
name?: string;
|
|
576
|
+
updated_at?: string | null;
|
|
577
|
+
};
|
|
578
|
+
Relationships: [
|
|
579
|
+
{
|
|
580
|
+
foreignKeyName: 'prefixes_bucketId_fkey';
|
|
581
|
+
columns: ['bucket_id'];
|
|
582
|
+
isOneToOne: false;
|
|
583
|
+
referencedRelation: 'buckets';
|
|
584
|
+
referencedColumns: ['id'];
|
|
585
|
+
}
|
|
586
|
+
];
|
|
587
|
+
};
|
|
555
588
|
s3_multipart_uploads: {
|
|
556
589
|
Row: {
|
|
557
590
|
bucket_id: string;
|
|
@@ -655,10 +688,18 @@ export type Database = {
|
|
|
655
688
|
[_ in never]: never;
|
|
656
689
|
};
|
|
657
690
|
Functions: {
|
|
691
|
+
add_prefixes: {
|
|
692
|
+
Args: { _bucket_id: string; _name: string };
|
|
693
|
+
Returns: undefined;
|
|
694
|
+
};
|
|
658
695
|
can_insert_object: {
|
|
659
696
|
Args: { bucketid: string; name: string; owner: string; metadata: Json };
|
|
660
697
|
Returns: undefined;
|
|
661
698
|
};
|
|
699
|
+
delete_prefix: {
|
|
700
|
+
Args: { _bucket_id: string; _name: string };
|
|
701
|
+
Returns: boolean;
|
|
702
|
+
};
|
|
662
703
|
extension: {
|
|
663
704
|
Args: { name: string };
|
|
664
705
|
Returns: string;
|
|
@@ -671,6 +712,18 @@ export type Database = {
|
|
|
671
712
|
Args: { name: string };
|
|
672
713
|
Returns: string[];
|
|
673
714
|
};
|
|
715
|
+
get_level: {
|
|
716
|
+
Args: { name: string };
|
|
717
|
+
Returns: number;
|
|
718
|
+
};
|
|
719
|
+
get_prefix: {
|
|
720
|
+
Args: { name: string };
|
|
721
|
+
Returns: string;
|
|
722
|
+
};
|
|
723
|
+
get_prefixes: {
|
|
724
|
+
Args: { name: string };
|
|
725
|
+
Returns: string[];
|
|
726
|
+
};
|
|
674
727
|
get_size_by_bucket: {
|
|
675
728
|
Args: Record<PropertyKey, never>;
|
|
676
729
|
Returns: {
|
|
@@ -733,6 +786,63 @@ export type Database = {
|
|
|
733
786
|
metadata: Json;
|
|
734
787
|
}[];
|
|
735
788
|
};
|
|
789
|
+
search_legacy_v1: {
|
|
790
|
+
Args: {
|
|
791
|
+
prefix: string;
|
|
792
|
+
bucketname: string;
|
|
793
|
+
limits?: number;
|
|
794
|
+
levels?: number;
|
|
795
|
+
offsets?: number;
|
|
796
|
+
search?: string;
|
|
797
|
+
sortcolumn?: string;
|
|
798
|
+
sortorder?: string;
|
|
799
|
+
};
|
|
800
|
+
Returns: {
|
|
801
|
+
name: string;
|
|
802
|
+
id: string;
|
|
803
|
+
updated_at: string;
|
|
804
|
+
created_at: string;
|
|
805
|
+
last_accessed_at: string;
|
|
806
|
+
metadata: Json;
|
|
807
|
+
}[];
|
|
808
|
+
};
|
|
809
|
+
search_v1_optimised: {
|
|
810
|
+
Args: {
|
|
811
|
+
prefix: string;
|
|
812
|
+
bucketname: string;
|
|
813
|
+
limits?: number;
|
|
814
|
+
levels?: number;
|
|
815
|
+
offsets?: number;
|
|
816
|
+
search?: string;
|
|
817
|
+
sortcolumn?: string;
|
|
818
|
+
sortorder?: string;
|
|
819
|
+
};
|
|
820
|
+
Returns: {
|
|
821
|
+
name: string;
|
|
822
|
+
id: string;
|
|
823
|
+
updated_at: string;
|
|
824
|
+
created_at: string;
|
|
825
|
+
last_accessed_at: string;
|
|
826
|
+
metadata: Json;
|
|
827
|
+
}[];
|
|
828
|
+
};
|
|
829
|
+
search_v2: {
|
|
830
|
+
Args: {
|
|
831
|
+
prefix: string;
|
|
832
|
+
bucket_name: string;
|
|
833
|
+
limits?: number;
|
|
834
|
+
levels?: number;
|
|
835
|
+
start_after?: string;
|
|
836
|
+
};
|
|
837
|
+
Returns: {
|
|
838
|
+
key: string;
|
|
839
|
+
name: string;
|
|
840
|
+
id: string;
|
|
841
|
+
updated_at: string;
|
|
842
|
+
created_at: string;
|
|
843
|
+
metadata: Json;
|
|
844
|
+
}[];
|
|
845
|
+
};
|
|
736
846
|
};
|
|
737
847
|
Enums: {
|
|
738
848
|
[_ in never]: never;
|