@glissandoo/lib 1.104.30 → 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.
@@ -5,101 +5,122 @@ export type Database = {
5
5
  __InternalSupabase: {
6
6
  PostgrestVersion: '12.2.3 (519615d)';
7
7
  };
8
- public: {
8
+ graphql_public: {
9
9
  Tables: {
10
- repertoire: {
11
- Row: {
12
- id: string;
13
- group_id: string;
14
- title: string;
15
- compositor: string;
16
- tags: string[];
17
- events: string[];
18
- owner_id: string;
19
- created_at: string;
20
- visibility: string;
21
- last_event_datetime: string | null;
22
- };
23
- Insert: {
24
- id: string;
25
- group_id: string;
26
- title: string;
27
- compositor: string;
28
- tags: string[];
29
- events: string[];
30
- owner_id: string;
31
- created_at: string;
32
- visibility: string;
33
- last_event_datetime?: string | null;
34
- };
35
- Update: {
36
- id?: string;
37
- group_id?: string;
38
- title?: string;
39
- compositor?: string;
40
- tags?: string[];
41
- events?: string[];
42
- owner_id?: string;
43
- created_at?: string;
44
- visibility?: string;
45
- last_event_datetime?: string | null;
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;
46
22
  };
23
+ Returns: Json;
47
24
  };
25
+ };
26
+ Enums: {
27
+ [_ in never]: never;
28
+ };
29
+ CompositeTypes: {
30
+ [_ in never]: never;
31
+ };
32
+ };
33
+ public: {
34
+ Tables: {
48
35
  comm: {
49
36
  Row: {
50
- id: string;
51
- group_id: string;
52
- owner_id: string;
53
- title: string;
54
- type: string;
55
- comments_count: number;
56
- block_answers: boolean;
57
- template_id: string | null;
58
- server_template: string | null;
59
- server: boolean;
60
- recipients: string[];
37
+ block_answers: boolean | null;
38
+ comments_count: number | null;
39
+ created_at: string;
61
40
  deleted_at: string | null;
62
41
  deleted_by: string | null;
63
42
  edited_at: string | null;
64
43
  edited_by: string | null;
65
- created_at: string;
66
- };
67
- Insert: {
68
- id: string;
69
44
  group_id: string;
45
+ id: string;
70
46
  owner_id: string;
47
+ recipients: string[];
48
+ server: boolean | null;
49
+ server_template: string | null;
50
+ template_id: string | null;
71
51
  title: string;
72
52
  type: string;
73
- comments_count: number;
74
- block_answers: boolean;
75
- template_id?: string | null;
76
- server_template?: string | null;
77
- server: boolean;
78
- recipients: string[];
53
+ };
54
+ Insert: {
55
+ block_answers?: boolean | null;
56
+ comments_count?: number | null;
57
+ created_at?: string;
79
58
  deleted_at?: string | null;
80
59
  deleted_by?: string | null;
81
60
  edited_at?: string | null;
82
61
  edited_by?: string | null;
83
- created_at: string;
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;
84
71
  };
85
72
  Update: {
86
- id?: string;
87
- group_id?: string;
88
- owner_id?: string;
89
- title?: string;
90
- type?: string;
91
- comments_count?: number;
92
- block_answers?: boolean;
93
- template_id?: string | null;
94
- server_template?: string | null;
95
- server?: boolean;
96
- recipients?: string[];
73
+ block_answers?: boolean | null;
74
+ comments_count?: number | null;
75
+ created_at?: string;
97
76
  deleted_at?: string | null;
98
77
  deleted_by?: string | null;
99
78
  edited_at?: string | null;
100
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;
101
116
  created_at?: string;
117
+ group_id?: string;
118
+ id?: number;
119
+ prev_value?: Json | null;
120
+ user_id?: string;
121
+ value?: Json | null;
102
122
  };
123
+ Relationships: [];
103
124
  };
104
125
  event: {
105
126
  Row: {
@@ -283,223 +304,94 @@ export type Database = {
283
304
  };
284
305
  Relationships: [];
285
306
  };
286
- repertoire_history: {
307
+ group: {
287
308
  Row: {
288
- action: string;
289
- created_at: string;
290
- theme_id: string;
291
- group_id: string;
292
- id: number;
293
- prev_value: Json | null;
294
- user_id: string;
295
- value: Json | null;
309
+ activeInvitationLink: boolean;
310
+ addresses: Json[];
311
+ administrators: string[];
312
+ config: Json;
313
+ configSites: Json;
314
+ country: string;
315
+ createdAt: string;
316
+ createdOn: Database['public']['Enums']['created_on'];
317
+ customerId: string | null;
318
+ deletedAt: string | null;
319
+ deletedBy: string | null;
320
+ description: string | null;
321
+ displayName: string;
322
+ id: string;
323
+ instruments: Json;
324
+ intercomId: string | null;
325
+ invitationEmails: string[];
326
+ invitationLink: string | null;
327
+ locality: string;
328
+ location: unknown;
329
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
330
+ metadata: Json;
331
+ musicStyle: string;
332
+ onboardingMessages: Json[];
333
+ owner: string | null;
334
+ partnershipId: string | null;
335
+ photoURL: string;
336
+ planId: Database['public']['Enums']['group_plan'];
337
+ playerIds: string[];
338
+ players: Json;
339
+ repertoireTags: Json;
340
+ rollcallLink: string | null;
341
+ satisfactionIndex: Json;
342
+ shortDynamicLink: string | null;
343
+ socialNetworks: Json | null;
344
+ status: Database['public']['Enums']['group_status'];
345
+ subscriptionId: string | null;
346
+ templates: Json;
347
+ trialEndAt: string | null;
348
+ updatedAt: string;
349
+ username: string;
350
+ visitedDashboardAt: Json;
296
351
  };
297
352
  Insert: {
298
- action: string;
299
- created_at: string;
300
- theme_id: string;
301
- group_id: string;
302
- id?: number;
303
- prev_value?: Json | null;
304
- user_id: string;
305
- value?: Json | null;
306
- };
307
- Update: {
308
- action?: string;
309
- created_at?: string;
310
- theme_id?: string;
311
- group_id?: string;
312
- id?: number;
313
- prev_value?: Json | null;
314
- user_id?: string;
315
- value?: Json | null;
316
- };
317
- Relationships: [];
318
- };
319
- group_history: {
320
- Row: {
321
- action: string;
322
- created_at: string;
323
- group_id: string;
324
- id: number;
325
- prev_value: Json | null;
326
- user_id: string;
327
- value: Json | null;
328
- };
329
- Insert: {
330
- action: string;
331
- created_at: string;
332
- group_id: string;
333
- id?: number;
334
- prev_value?: Json | null;
335
- user_id: string;
336
- value?: Json | null;
337
- };
338
- Update: {
339
- action?: string;
340
- created_at?: string;
341
- group_id?: string;
342
- id?: number;
343
- prev_value?: Json | null;
344
- user_id?: string;
345
- value?: Json | null;
346
- };
347
- Relationships: [];
348
- };
349
- comm_history: {
350
- Row: {
351
- action: string;
352
- created_at: string;
353
- comm_id: string;
354
- group_id: string;
355
- id: number;
356
- prev_value: Json | null;
357
- user_id: string;
358
- value: Json | null;
359
- };
360
- Insert: {
361
- action: string;
362
- created_at: string;
363
- comm_id: string;
364
- group_id: string;
365
- id?: number;
366
- prev_value?: Json | null;
367
- user_id: string;
368
- value?: Json | null;
369
- };
370
- Update: {
371
- action?: string;
372
- comm_id?: string;
373
- created_at?: string;
374
- group_id?: string;
375
- id?: number;
376
- prev_value?: Json | null;
377
- user_id?: string;
378
- value?: Json | null;
379
- };
380
- Relationships: [];
381
- };
382
- offer_history: {
383
- Row: {
384
- action: string;
385
- created_at: string;
386
- offer_id: string;
387
- group_id: string;
388
- id: number;
389
- prev_value: Json | null;
390
- user_id: string;
391
- value: Json | null;
392
- };
393
- Insert: {
394
- action: string;
395
- created_at: string;
396
- offer_id: string;
397
- group_id: string;
398
- id?: number;
399
- prev_value?: Json | null;
400
- user_id: string;
401
- value?: Json | null;
402
- };
403
- Update: {
404
- action?: string;
405
- offer_id?: string;
406
- created_at?: string;
407
- group_id?: string;
408
- id?: number;
409
- prev_value?: Json | null;
410
- user_id?: string;
411
- value?: Json | null;
412
- };
413
- Relationships: [];
414
- };
415
- group: {
416
- Row: {
417
- activeInvitationLink: boolean;
418
- addresses: Json[];
419
- administrators: string[];
420
- config: Json;
421
- configSites: Json;
422
- country: string;
423
- createdAt: string;
424
- createdOn: Database['public']['Enums']['created_on'];
425
- customerId: string | null;
426
- deletedAt: string | null;
427
- deletedBy: string | null;
428
- description: string | null;
429
- displayName: string;
430
- id: string;
431
- instruments: Json;
432
- intercomId: string | null;
433
- invitationEmails: string[];
434
- invitationLink: string | null;
435
- locality: string;
436
- location: unknown;
437
- location_lonlat: Database['public']['CompositeTypes']['lonlat'];
438
- metadata: Json;
439
- musicStyle: string;
440
- onboardingMessages: Json[];
441
- owner: string | null;
442
- partnershipId: string | null;
443
- photoURL: string;
444
- planId: Database['public']['Enums']['group_plan'];
445
- playerIds: string[];
446
- players: Json;
447
- repertoireTags: Json;
448
- rollcallLink: string | null;
449
- satisfactionIndex: Json;
450
- shortDynamicLink: string | null;
451
- socialNetworks: Json | null;
452
- status: Database['public']['Enums']['group_status'];
453
- subscriptionId: string | null;
454
- templates: Json;
455
- trialEndAt: string | null;
456
- updatedAt: string;
457
- username: string;
458
- visitedDashboardAt: Json;
459
- };
460
- Insert: {
461
- activeInvitationLink: boolean;
462
- addresses: Json[];
463
- administrators: string[];
464
- config: Json;
465
- configSites?: Json;
466
- country: string;
467
- createdAt?: string;
468
- createdOn: Database['public']['Enums']['created_on'];
469
- customerId?: string | null;
470
- deletedAt?: string | null;
471
- deletedBy?: string | null;
472
- description?: string | null;
473
- displayName: string;
474
- id: string;
475
- instruments: Json;
476
- intercomId?: string | null;
477
- invitationEmails: string[];
478
- invitationLink?: string | null;
479
- locality: string;
480
- location: unknown;
481
- location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
482
- metadata: Json;
483
- musicStyle: string;
484
- onboardingMessages: Json[];
485
- owner?: string | null;
486
- partnershipId?: string | null;
487
- photoURL: string;
488
- planId: Database['public']['Enums']['group_plan'];
489
- playerIds: string[];
490
- players: Json;
491
- repertoireTags: Json;
492
- rollcallLink?: string | null;
493
- satisfactionIndex: Json;
494
- shortDynamicLink?: string | null;
495
- socialNetworks?: Json | null;
496
- status: Database['public']['Enums']['group_status'];
497
- subscriptionId?: string | null;
498
- templates: Json;
499
- trialEndAt?: string | null;
500
- updatedAt?: string;
501
- username: string;
502
- visitedDashboardAt: Json;
353
+ activeInvitationLink: boolean;
354
+ addresses: Json[];
355
+ administrators: string[];
356
+ config: Json;
357
+ configSites?: Json;
358
+ country: string;
359
+ createdAt?: string;
360
+ createdOn: Database['public']['Enums']['created_on'];
361
+ customerId?: string | null;
362
+ deletedAt?: string | null;
363
+ deletedBy?: string | null;
364
+ description?: string | null;
365
+ displayName: string;
366
+ id: string;
367
+ instruments: Json;
368
+ intercomId?: string | null;
369
+ invitationEmails: string[];
370
+ invitationLink?: string | null;
371
+ locality: string;
372
+ location: unknown;
373
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
374
+ metadata: Json;
375
+ musicStyle: string;
376
+ onboardingMessages: Json[];
377
+ owner?: string | null;
378
+ partnershipId?: string | null;
379
+ photoURL: string;
380
+ planId: Database['public']['Enums']['group_plan'];
381
+ playerIds: string[];
382
+ players: Json;
383
+ repertoireTags: Json;
384
+ rollcallLink?: string | null;
385
+ satisfactionIndex: Json;
386
+ shortDynamicLink?: string | null;
387
+ socialNetworks?: Json | null;
388
+ status: Database['public']['Enums']['group_status'];
389
+ subscriptionId?: string | null;
390
+ templates: Json;
391
+ trialEndAt?: string | null;
392
+ updatedAt?: string;
393
+ username: string;
394
+ visitedDashboardAt: Json;
503
395
  };
504
396
  Update: {
505
397
  activeInvitationLink?: boolean;
@@ -547,6 +439,36 @@ export type Database = {
547
439
  };
548
440
  Relationships: [];
549
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
+ };
550
472
  offer: {
551
473
  Row: {
552
474
  applicants: Json;
@@ -646,57 +568,717 @@ export type Database = {
646
568
  }
647
569
  ];
648
570
  };
649
- };
650
- Views: {
651
- [_ in never]: never;
652
- };
653
- Functions: {
654
- [_ in never]: never;
655
- };
656
- Enums: {
657
- created_on: 'app' | 'dashboard' | 'auth' | 'web';
658
- event_selection_mode: 'open' | 'closed';
659
- event_type: 'practice' | 'performance';
660
- group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
661
- group_plan_period: 'yearly' | 'monthly';
662
- group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
663
- offer_type: 'group' | 'event';
664
- social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
665
- };
666
- CompositeTypes: {
667
- lonlat: {
668
- longitude: number | null;
669
- latitude: number | null;
670
- };
671
- };
672
- };
673
- };
674
- type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
675
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
676
- export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
677
- schema: keyof DatabaseWithoutInternals;
678
- }, TableName extends DefaultSchemaTableNameOrOptions extends {
679
- schema: keyof DatabaseWithoutInternals;
680
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
681
- schema: keyof DatabaseWithoutInternals;
682
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
683
- Row: infer R;
684
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
685
- Row: infer R;
686
- } ? R : never : never;
687
- export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] | {
688
- schema: keyof DatabaseWithoutInternals;
689
- }, TableName extends DefaultSchemaTableNameOrOptions extends {
690
- schema: keyof DatabaseWithoutInternals;
691
- } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] : never = never> = DefaultSchemaTableNameOrOptions extends {
692
- schema: keyof DatabaseWithoutInternals;
693
- } ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
694
- Insert: infer I;
695
- } ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
696
- Insert: infer I;
697
- } ? I : never : never;
698
- export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] | {
699
- schema: keyof DatabaseWithoutInternals;
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'>];
1258
+ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
1259
+ schema: keyof DatabaseWithoutInternals;
1260
+ }, TableName extends DefaultSchemaTableNameOrOptions extends {
1261
+ schema: keyof DatabaseWithoutInternals;
1262
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
1263
+ schema: keyof DatabaseWithoutInternals;
1264
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
1265
+ Row: infer R;
1266
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
1267
+ Row: infer R;
1268
+ } ? R : never : never;
1269
+ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] | {
1270
+ schema: keyof DatabaseWithoutInternals;
1271
+ }, TableName extends DefaultSchemaTableNameOrOptions extends {
1272
+ schema: keyof DatabaseWithoutInternals;
1273
+ } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] : never = never> = DefaultSchemaTableNameOrOptions extends {
1274
+ schema: keyof DatabaseWithoutInternals;
1275
+ } ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
1276
+ Insert: infer I;
1277
+ } ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
1278
+ Insert: infer I;
1279
+ } ? I : never : never;
1280
+ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] | {
1281
+ schema: keyof DatabaseWithoutInternals;
700
1282
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
701
1283
  schema: keyof DatabaseWithoutInternals;
702
1284
  } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] : never = never> = DefaultSchemaTableNameOrOptions extends {
@@ -721,6 +1303,9 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
721
1303
  schema: keyof DatabaseWithoutInternals;
722
1304
  } ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes'] ? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions] : never;
723
1305
  export declare const Constants: {
1306
+ readonly graphql_public: {
1307
+ readonly Enums: {};
1308
+ };
724
1309
  readonly public: {
725
1310
  readonly Enums: {
726
1311
  readonly created_on: readonly ["app", "dashboard", "auth", "web"];
@@ -733,5 +1318,10 @@ export declare const Constants: {
733
1318
  readonly social_network: readonly ["facebook", "twitter", "instagram", "youtube"];
734
1319
  };
735
1320
  };
1321
+ readonly storage: {
1322
+ readonly Enums: {
1323
+ readonly buckettype: readonly ["STANDARD", "ANALYTICS", "VECTOR"];
1324
+ };
1325
+ };
736
1326
  };
737
1327
  export {};