@glissandoo/lib 1.104.20 → 1.104.22
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/models/Evento/types.d.ts +28 -0
- package/models/Evento/types.js +30 -1
- package/package.json +2 -2
- package/types/supabase/generated.d.ts +65 -521
- package/types/supabase/generated.js +0 -6
- package/types/supabase/generated.ts +80 -501
|
@@ -2,30 +2,8 @@ export type Json = string | number | boolean | null | {
|
|
|
2
2
|
[key: string]: Json | undefined;
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[_ in never]: never;
|
|
8
|
-
};
|
|
9
|
-
Views: {
|
|
10
|
-
[_ in never]: never;
|
|
11
|
-
};
|
|
12
|
-
Functions: {
|
|
13
|
-
graphql: {
|
|
14
|
-
Args: {
|
|
15
|
-
operationName?: string;
|
|
16
|
-
query?: string;
|
|
17
|
-
variables?: Json;
|
|
18
|
-
extensions?: Json;
|
|
19
|
-
};
|
|
20
|
-
Returns: Json;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
Enums: {
|
|
24
|
-
[_ in never]: never;
|
|
25
|
-
};
|
|
26
|
-
CompositeTypes: {
|
|
27
|
-
[_ in never]: never;
|
|
28
|
-
};
|
|
5
|
+
__InternalSupabase: {
|
|
6
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
29
7
|
};
|
|
30
8
|
public: {
|
|
31
9
|
Tables: {
|
|
@@ -34,7 +12,7 @@ export type Database = {
|
|
|
34
12
|
activeInvitationLink: boolean;
|
|
35
13
|
coverURL: string | null;
|
|
36
14
|
createdAt: string;
|
|
37
|
-
createdOn: Database['public']['Enums']['created_on'];
|
|
15
|
+
createdOn: Database['public']['Enums']['created_on'] | null;
|
|
38
16
|
datetime: string;
|
|
39
17
|
datetimeEnd: string;
|
|
40
18
|
deletedAt: string | null;
|
|
@@ -80,7 +58,7 @@ export type Database = {
|
|
|
80
58
|
activeInvitationLink: boolean;
|
|
81
59
|
coverURL?: string | null;
|
|
82
60
|
createdAt?: string;
|
|
83
|
-
createdOn
|
|
61
|
+
createdOn?: Database['public']['Enums']['created_on'] | null;
|
|
84
62
|
datetime: string;
|
|
85
63
|
datetimeEnd: string;
|
|
86
64
|
deletedAt?: string | null;
|
|
@@ -126,7 +104,7 @@ export type Database = {
|
|
|
126
104
|
activeInvitationLink?: boolean;
|
|
127
105
|
coverURL?: string | null;
|
|
128
106
|
createdAt?: string;
|
|
129
|
-
createdOn?: Database['public']['Enums']['created_on'];
|
|
107
|
+
createdOn?: Database['public']['Enums']['created_on'] | null;
|
|
130
108
|
datetime?: string;
|
|
131
109
|
datetimeEnd?: string;
|
|
132
110
|
deletedAt?: string | null;
|
|
@@ -178,6 +156,39 @@ export type Database = {
|
|
|
178
156
|
}
|
|
179
157
|
];
|
|
180
158
|
};
|
|
159
|
+
event_history: {
|
|
160
|
+
Row: {
|
|
161
|
+
action: string;
|
|
162
|
+
created_at: string;
|
|
163
|
+
event_id: string;
|
|
164
|
+
group_id: string;
|
|
165
|
+
id: number;
|
|
166
|
+
prev_value: Json | null;
|
|
167
|
+
user_id: string;
|
|
168
|
+
value: Json | null;
|
|
169
|
+
};
|
|
170
|
+
Insert: {
|
|
171
|
+
action: string;
|
|
172
|
+
created_at: string;
|
|
173
|
+
event_id: string;
|
|
174
|
+
group_id: string;
|
|
175
|
+
id?: number;
|
|
176
|
+
prev_value?: Json | null;
|
|
177
|
+
user_id: string;
|
|
178
|
+
value?: Json | null;
|
|
179
|
+
};
|
|
180
|
+
Update: {
|
|
181
|
+
action?: string;
|
|
182
|
+
created_at?: string;
|
|
183
|
+
event_id?: string;
|
|
184
|
+
group_id?: string;
|
|
185
|
+
id?: number;
|
|
186
|
+
prev_value?: Json | null;
|
|
187
|
+
user_id?: string;
|
|
188
|
+
value?: Json | null;
|
|
189
|
+
};
|
|
190
|
+
Relationships: [];
|
|
191
|
+
};
|
|
181
192
|
group: {
|
|
182
193
|
Row: {
|
|
183
194
|
activeInvitationLink: boolean;
|
|
@@ -412,29 +423,6 @@ export type Database = {
|
|
|
412
423
|
}
|
|
413
424
|
];
|
|
414
425
|
};
|
|
415
|
-
event_history: {
|
|
416
|
-
Row: {
|
|
417
|
-
id: string;
|
|
418
|
-
event_id: string;
|
|
419
|
-
user_id: string;
|
|
420
|
-
group_id: string;
|
|
421
|
-
action: string;
|
|
422
|
-
created_at: string;
|
|
423
|
-
value: Record<string, unknown> | null;
|
|
424
|
-
prev_value: Record<string, unknown> | null;
|
|
425
|
-
};
|
|
426
|
-
Insert: {
|
|
427
|
-
id: string;
|
|
428
|
-
event_id: string;
|
|
429
|
-
user_id: string;
|
|
430
|
-
group_id: string;
|
|
431
|
-
action: string;
|
|
432
|
-
created_at: string;
|
|
433
|
-
value: Record<string, unknown> | null;
|
|
434
|
-
prev_value: Record<string, unknown> | null;
|
|
435
|
-
};
|
|
436
|
-
Relationships: [];
|
|
437
|
-
};
|
|
438
426
|
};
|
|
439
427
|
Views: {
|
|
440
428
|
[_ in never]: never;
|
|
@@ -459,498 +447,57 @@ export type Database = {
|
|
|
459
447
|
};
|
|
460
448
|
};
|
|
461
449
|
};
|
|
462
|
-
storage: {
|
|
463
|
-
Tables: {
|
|
464
|
-
buckets: {
|
|
465
|
-
Row: {
|
|
466
|
-
allowed_mime_types: string[] | null;
|
|
467
|
-
avif_autodetection: boolean | null;
|
|
468
|
-
created_at: string | null;
|
|
469
|
-
file_size_limit: number | null;
|
|
470
|
-
id: string;
|
|
471
|
-
name: string;
|
|
472
|
-
owner: string | null;
|
|
473
|
-
owner_id: string | null;
|
|
474
|
-
public: boolean | null;
|
|
475
|
-
updated_at: string | null;
|
|
476
|
-
};
|
|
477
|
-
Insert: {
|
|
478
|
-
allowed_mime_types?: string[] | null;
|
|
479
|
-
avif_autodetection?: boolean | null;
|
|
480
|
-
created_at?: string | null;
|
|
481
|
-
file_size_limit?: number | null;
|
|
482
|
-
id: string;
|
|
483
|
-
name: string;
|
|
484
|
-
owner?: string | null;
|
|
485
|
-
owner_id?: string | null;
|
|
486
|
-
public?: boolean | null;
|
|
487
|
-
updated_at?: string | null;
|
|
488
|
-
};
|
|
489
|
-
Update: {
|
|
490
|
-
allowed_mime_types?: string[] | null;
|
|
491
|
-
avif_autodetection?: boolean | null;
|
|
492
|
-
created_at?: string | null;
|
|
493
|
-
file_size_limit?: number | null;
|
|
494
|
-
id?: string;
|
|
495
|
-
name?: string;
|
|
496
|
-
owner?: string | null;
|
|
497
|
-
owner_id?: string | null;
|
|
498
|
-
public?: boolean | null;
|
|
499
|
-
updated_at?: string | null;
|
|
500
|
-
};
|
|
501
|
-
Relationships: [];
|
|
502
|
-
};
|
|
503
|
-
migrations: {
|
|
504
|
-
Row: {
|
|
505
|
-
executed_at: string | null;
|
|
506
|
-
hash: string;
|
|
507
|
-
id: number;
|
|
508
|
-
name: string;
|
|
509
|
-
};
|
|
510
|
-
Insert: {
|
|
511
|
-
executed_at?: string | null;
|
|
512
|
-
hash: string;
|
|
513
|
-
id: number;
|
|
514
|
-
name: string;
|
|
515
|
-
};
|
|
516
|
-
Update: {
|
|
517
|
-
executed_at?: string | null;
|
|
518
|
-
hash?: string;
|
|
519
|
-
id?: number;
|
|
520
|
-
name?: string;
|
|
521
|
-
};
|
|
522
|
-
Relationships: [];
|
|
523
|
-
};
|
|
524
|
-
objects: {
|
|
525
|
-
Row: {
|
|
526
|
-
bucket_id: string | null;
|
|
527
|
-
created_at: string | null;
|
|
528
|
-
id: string;
|
|
529
|
-
last_accessed_at: string | null;
|
|
530
|
-
level: number | null;
|
|
531
|
-
metadata: Json | null;
|
|
532
|
-
name: string | null;
|
|
533
|
-
owner: string | null;
|
|
534
|
-
owner_id: string | null;
|
|
535
|
-
path_tokens: string[] | null;
|
|
536
|
-
updated_at: string | null;
|
|
537
|
-
user_metadata: Json | null;
|
|
538
|
-
version: string | null;
|
|
539
|
-
};
|
|
540
|
-
Insert: {
|
|
541
|
-
bucket_id?: string | null;
|
|
542
|
-
created_at?: string | null;
|
|
543
|
-
id?: string;
|
|
544
|
-
last_accessed_at?: string | null;
|
|
545
|
-
level?: number | null;
|
|
546
|
-
metadata?: Json | null;
|
|
547
|
-
name?: string | null;
|
|
548
|
-
owner?: string | null;
|
|
549
|
-
owner_id?: string | null;
|
|
550
|
-
path_tokens?: string[] | null;
|
|
551
|
-
updated_at?: string | null;
|
|
552
|
-
user_metadata?: Json | null;
|
|
553
|
-
version?: string | null;
|
|
554
|
-
};
|
|
555
|
-
Update: {
|
|
556
|
-
bucket_id?: string | null;
|
|
557
|
-
created_at?: string | null;
|
|
558
|
-
id?: string;
|
|
559
|
-
last_accessed_at?: string | null;
|
|
560
|
-
level?: number | null;
|
|
561
|
-
metadata?: Json | null;
|
|
562
|
-
name?: string | null;
|
|
563
|
-
owner?: string | null;
|
|
564
|
-
owner_id?: string | null;
|
|
565
|
-
path_tokens?: string[] | null;
|
|
566
|
-
updated_at?: string | null;
|
|
567
|
-
user_metadata?: Json | null;
|
|
568
|
-
version?: string | null;
|
|
569
|
-
};
|
|
570
|
-
Relationships: [
|
|
571
|
-
{
|
|
572
|
-
foreignKeyName: 'objects_bucketId_fkey';
|
|
573
|
-
columns: ['bucket_id'];
|
|
574
|
-
isOneToOne: false;
|
|
575
|
-
referencedRelation: 'buckets';
|
|
576
|
-
referencedColumns: ['id'];
|
|
577
|
-
}
|
|
578
|
-
];
|
|
579
|
-
};
|
|
580
|
-
prefixes: {
|
|
581
|
-
Row: {
|
|
582
|
-
bucket_id: string;
|
|
583
|
-
created_at: string | null;
|
|
584
|
-
level: number;
|
|
585
|
-
name: string;
|
|
586
|
-
updated_at: string | null;
|
|
587
|
-
};
|
|
588
|
-
Insert: {
|
|
589
|
-
bucket_id: string;
|
|
590
|
-
created_at?: string | null;
|
|
591
|
-
level?: number;
|
|
592
|
-
name: string;
|
|
593
|
-
updated_at?: string | null;
|
|
594
|
-
};
|
|
595
|
-
Update: {
|
|
596
|
-
bucket_id?: string;
|
|
597
|
-
created_at?: string | null;
|
|
598
|
-
level?: number;
|
|
599
|
-
name?: string;
|
|
600
|
-
updated_at?: string | null;
|
|
601
|
-
};
|
|
602
|
-
Relationships: [
|
|
603
|
-
{
|
|
604
|
-
foreignKeyName: 'prefixes_bucketId_fkey';
|
|
605
|
-
columns: ['bucket_id'];
|
|
606
|
-
isOneToOne: false;
|
|
607
|
-
referencedRelation: 'buckets';
|
|
608
|
-
referencedColumns: ['id'];
|
|
609
|
-
}
|
|
610
|
-
];
|
|
611
|
-
};
|
|
612
|
-
s3_multipart_uploads: {
|
|
613
|
-
Row: {
|
|
614
|
-
bucket_id: string;
|
|
615
|
-
created_at: string;
|
|
616
|
-
id: string;
|
|
617
|
-
in_progress_size: number;
|
|
618
|
-
key: string;
|
|
619
|
-
owner_id: string | null;
|
|
620
|
-
upload_signature: string;
|
|
621
|
-
user_metadata: Json | null;
|
|
622
|
-
version: string;
|
|
623
|
-
};
|
|
624
|
-
Insert: {
|
|
625
|
-
bucket_id: string;
|
|
626
|
-
created_at?: string;
|
|
627
|
-
id: string;
|
|
628
|
-
in_progress_size?: number;
|
|
629
|
-
key: string;
|
|
630
|
-
owner_id?: string | null;
|
|
631
|
-
upload_signature: string;
|
|
632
|
-
user_metadata?: Json | null;
|
|
633
|
-
version: string;
|
|
634
|
-
};
|
|
635
|
-
Update: {
|
|
636
|
-
bucket_id?: string;
|
|
637
|
-
created_at?: string;
|
|
638
|
-
id?: string;
|
|
639
|
-
in_progress_size?: number;
|
|
640
|
-
key?: string;
|
|
641
|
-
owner_id?: string | null;
|
|
642
|
-
upload_signature?: string;
|
|
643
|
-
user_metadata?: Json | null;
|
|
644
|
-
version?: string;
|
|
645
|
-
};
|
|
646
|
-
Relationships: [
|
|
647
|
-
{
|
|
648
|
-
foreignKeyName: 's3_multipart_uploads_bucket_id_fkey';
|
|
649
|
-
columns: ['bucket_id'];
|
|
650
|
-
isOneToOne: false;
|
|
651
|
-
referencedRelation: 'buckets';
|
|
652
|
-
referencedColumns: ['id'];
|
|
653
|
-
}
|
|
654
|
-
];
|
|
655
|
-
};
|
|
656
|
-
s3_multipart_uploads_parts: {
|
|
657
|
-
Row: {
|
|
658
|
-
bucket_id: string;
|
|
659
|
-
created_at: string;
|
|
660
|
-
etag: string;
|
|
661
|
-
id: string;
|
|
662
|
-
key: string;
|
|
663
|
-
owner_id: string | null;
|
|
664
|
-
part_number: number;
|
|
665
|
-
size: number;
|
|
666
|
-
upload_id: string;
|
|
667
|
-
version: string;
|
|
668
|
-
};
|
|
669
|
-
Insert: {
|
|
670
|
-
bucket_id: string;
|
|
671
|
-
created_at?: string;
|
|
672
|
-
etag: string;
|
|
673
|
-
id?: string;
|
|
674
|
-
key: string;
|
|
675
|
-
owner_id?: string | null;
|
|
676
|
-
part_number: number;
|
|
677
|
-
size?: number;
|
|
678
|
-
upload_id: string;
|
|
679
|
-
version: string;
|
|
680
|
-
};
|
|
681
|
-
Update: {
|
|
682
|
-
bucket_id?: string;
|
|
683
|
-
created_at?: string;
|
|
684
|
-
etag?: string;
|
|
685
|
-
id?: string;
|
|
686
|
-
key?: string;
|
|
687
|
-
owner_id?: string | null;
|
|
688
|
-
part_number?: number;
|
|
689
|
-
size?: number;
|
|
690
|
-
upload_id?: string;
|
|
691
|
-
version?: string;
|
|
692
|
-
};
|
|
693
|
-
Relationships: [
|
|
694
|
-
{
|
|
695
|
-
foreignKeyName: 's3_multipart_uploads_parts_bucket_id_fkey';
|
|
696
|
-
columns: ['bucket_id'];
|
|
697
|
-
isOneToOne: false;
|
|
698
|
-
referencedRelation: 'buckets';
|
|
699
|
-
referencedColumns: ['id'];
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
foreignKeyName: 's3_multipart_uploads_parts_upload_id_fkey';
|
|
703
|
-
columns: ['upload_id'];
|
|
704
|
-
isOneToOne: false;
|
|
705
|
-
referencedRelation: 's3_multipart_uploads';
|
|
706
|
-
referencedColumns: ['id'];
|
|
707
|
-
}
|
|
708
|
-
];
|
|
709
|
-
};
|
|
710
|
-
};
|
|
711
|
-
Views: {
|
|
712
|
-
[_ in never]: never;
|
|
713
|
-
};
|
|
714
|
-
Functions: {
|
|
715
|
-
add_prefixes: {
|
|
716
|
-
Args: {
|
|
717
|
-
_bucket_id: string;
|
|
718
|
-
_name: string;
|
|
719
|
-
};
|
|
720
|
-
Returns: undefined;
|
|
721
|
-
};
|
|
722
|
-
can_insert_object: {
|
|
723
|
-
Args: {
|
|
724
|
-
bucketid: string;
|
|
725
|
-
name: string;
|
|
726
|
-
owner: string;
|
|
727
|
-
metadata: Json;
|
|
728
|
-
};
|
|
729
|
-
Returns: undefined;
|
|
730
|
-
};
|
|
731
|
-
delete_prefix: {
|
|
732
|
-
Args: {
|
|
733
|
-
_bucket_id: string;
|
|
734
|
-
_name: string;
|
|
735
|
-
};
|
|
736
|
-
Returns: boolean;
|
|
737
|
-
};
|
|
738
|
-
extension: {
|
|
739
|
-
Args: {
|
|
740
|
-
name: string;
|
|
741
|
-
};
|
|
742
|
-
Returns: string;
|
|
743
|
-
};
|
|
744
|
-
filename: {
|
|
745
|
-
Args: {
|
|
746
|
-
name: string;
|
|
747
|
-
};
|
|
748
|
-
Returns: string;
|
|
749
|
-
};
|
|
750
|
-
foldername: {
|
|
751
|
-
Args: {
|
|
752
|
-
name: string;
|
|
753
|
-
};
|
|
754
|
-
Returns: string[];
|
|
755
|
-
};
|
|
756
|
-
get_level: {
|
|
757
|
-
Args: {
|
|
758
|
-
name: string;
|
|
759
|
-
};
|
|
760
|
-
Returns: number;
|
|
761
|
-
};
|
|
762
|
-
get_prefix: {
|
|
763
|
-
Args: {
|
|
764
|
-
name: string;
|
|
765
|
-
};
|
|
766
|
-
Returns: string;
|
|
767
|
-
};
|
|
768
|
-
get_prefixes: {
|
|
769
|
-
Args: {
|
|
770
|
-
name: string;
|
|
771
|
-
};
|
|
772
|
-
Returns: string[];
|
|
773
|
-
};
|
|
774
|
-
get_size_by_bucket: {
|
|
775
|
-
Args: Record<PropertyKey, never>;
|
|
776
|
-
Returns: {
|
|
777
|
-
size: number;
|
|
778
|
-
bucket_id: string;
|
|
779
|
-
}[];
|
|
780
|
-
};
|
|
781
|
-
list_multipart_uploads_with_delimiter: {
|
|
782
|
-
Args: {
|
|
783
|
-
bucket_id: string;
|
|
784
|
-
prefix_param: string;
|
|
785
|
-
delimiter_param: string;
|
|
786
|
-
max_keys?: number;
|
|
787
|
-
next_key_token?: string;
|
|
788
|
-
next_upload_token?: string;
|
|
789
|
-
};
|
|
790
|
-
Returns: {
|
|
791
|
-
key: string;
|
|
792
|
-
id: string;
|
|
793
|
-
created_at: string;
|
|
794
|
-
}[];
|
|
795
|
-
};
|
|
796
|
-
list_objects_with_delimiter: {
|
|
797
|
-
Args: {
|
|
798
|
-
bucket_id: string;
|
|
799
|
-
prefix_param: string;
|
|
800
|
-
delimiter_param: string;
|
|
801
|
-
max_keys?: number;
|
|
802
|
-
start_after?: string;
|
|
803
|
-
next_token?: string;
|
|
804
|
-
};
|
|
805
|
-
Returns: {
|
|
806
|
-
name: string;
|
|
807
|
-
id: string;
|
|
808
|
-
metadata: Json;
|
|
809
|
-
updated_at: string;
|
|
810
|
-
}[];
|
|
811
|
-
};
|
|
812
|
-
operation: {
|
|
813
|
-
Args: Record<PropertyKey, never>;
|
|
814
|
-
Returns: string;
|
|
815
|
-
};
|
|
816
|
-
search: {
|
|
817
|
-
Args: {
|
|
818
|
-
prefix: string;
|
|
819
|
-
bucketname: string;
|
|
820
|
-
limits?: number;
|
|
821
|
-
levels?: number;
|
|
822
|
-
offsets?: number;
|
|
823
|
-
search?: string;
|
|
824
|
-
sortcolumn?: string;
|
|
825
|
-
sortorder?: string;
|
|
826
|
-
};
|
|
827
|
-
Returns: {
|
|
828
|
-
name: string;
|
|
829
|
-
id: string;
|
|
830
|
-
updated_at: string;
|
|
831
|
-
created_at: string;
|
|
832
|
-
last_accessed_at: string;
|
|
833
|
-
metadata: Json;
|
|
834
|
-
}[];
|
|
835
|
-
};
|
|
836
|
-
search_legacy_v1: {
|
|
837
|
-
Args: {
|
|
838
|
-
prefix: string;
|
|
839
|
-
bucketname: string;
|
|
840
|
-
limits?: number;
|
|
841
|
-
levels?: number;
|
|
842
|
-
offsets?: number;
|
|
843
|
-
search?: string;
|
|
844
|
-
sortcolumn?: string;
|
|
845
|
-
sortorder?: string;
|
|
846
|
-
};
|
|
847
|
-
Returns: {
|
|
848
|
-
name: string;
|
|
849
|
-
id: string;
|
|
850
|
-
updated_at: string;
|
|
851
|
-
created_at: string;
|
|
852
|
-
last_accessed_at: string;
|
|
853
|
-
metadata: Json;
|
|
854
|
-
}[];
|
|
855
|
-
};
|
|
856
|
-
search_v1_optimised: {
|
|
857
|
-
Args: {
|
|
858
|
-
prefix: string;
|
|
859
|
-
bucketname: string;
|
|
860
|
-
limits?: number;
|
|
861
|
-
levels?: number;
|
|
862
|
-
offsets?: number;
|
|
863
|
-
search?: string;
|
|
864
|
-
sortcolumn?: string;
|
|
865
|
-
sortorder?: string;
|
|
866
|
-
};
|
|
867
|
-
Returns: {
|
|
868
|
-
name: string;
|
|
869
|
-
id: string;
|
|
870
|
-
updated_at: string;
|
|
871
|
-
created_at: string;
|
|
872
|
-
last_accessed_at: string;
|
|
873
|
-
metadata: Json;
|
|
874
|
-
}[];
|
|
875
|
-
};
|
|
876
|
-
search_v2: {
|
|
877
|
-
Args: {
|
|
878
|
-
prefix: string;
|
|
879
|
-
bucket_name: string;
|
|
880
|
-
limits?: number;
|
|
881
|
-
levels?: number;
|
|
882
|
-
start_after?: string;
|
|
883
|
-
};
|
|
884
|
-
Returns: {
|
|
885
|
-
key: string;
|
|
886
|
-
name: string;
|
|
887
|
-
id: string;
|
|
888
|
-
updated_at: string;
|
|
889
|
-
created_at: string;
|
|
890
|
-
metadata: Json;
|
|
891
|
-
}[];
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
Enums: {
|
|
895
|
-
[_ in never]: never;
|
|
896
|
-
};
|
|
897
|
-
CompositeTypes: {
|
|
898
|
-
[_ in never]: never;
|
|
899
|
-
};
|
|
900
|
-
};
|
|
901
450
|
};
|
|
902
|
-
type
|
|
451
|
+
type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
|
|
452
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
|
|
903
453
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
|
|
904
|
-
schema: keyof
|
|
454
|
+
schema: keyof DatabaseWithoutInternals;
|
|
905
455
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
906
|
-
schema: keyof
|
|
907
|
-
} ? keyof (
|
|
908
|
-
schema: keyof
|
|
909
|
-
} ? (
|
|
456
|
+
schema: keyof DatabaseWithoutInternals;
|
|
457
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
458
|
+
schema: keyof DatabaseWithoutInternals;
|
|
459
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
|
|
910
460
|
Row: infer R;
|
|
911
461
|
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
|
|
912
462
|
Row: infer R;
|
|
913
463
|
} ? R : never : never;
|
|
914
464
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] | {
|
|
915
|
-
schema: keyof
|
|
465
|
+
schema: keyof DatabaseWithoutInternals;
|
|
916
466
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
917
|
-
schema: keyof
|
|
918
|
-
} ? keyof
|
|
919
|
-
schema: keyof
|
|
920
|
-
} ?
|
|
467
|
+
schema: keyof DatabaseWithoutInternals;
|
|
468
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
469
|
+
schema: keyof DatabaseWithoutInternals;
|
|
470
|
+
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
|
|
921
471
|
Insert: infer I;
|
|
922
472
|
} ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
|
|
923
473
|
Insert: infer I;
|
|
924
474
|
} ? I : never : never;
|
|
925
475
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] | {
|
|
926
|
-
schema: keyof
|
|
476
|
+
schema: keyof DatabaseWithoutInternals;
|
|
927
477
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
928
|
-
schema: keyof
|
|
929
|
-
} ? keyof
|
|
930
|
-
schema: keyof
|
|
931
|
-
} ?
|
|
478
|
+
schema: keyof DatabaseWithoutInternals;
|
|
479
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
480
|
+
schema: keyof DatabaseWithoutInternals;
|
|
481
|
+
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
|
|
932
482
|
Update: infer U;
|
|
933
483
|
} ? U : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables'] ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
|
|
934
484
|
Update: infer U;
|
|
935
485
|
} ? U : never : never;
|
|
936
486
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema['Enums'] | {
|
|
937
|
-
schema: keyof
|
|
487
|
+
schema: keyof DatabaseWithoutInternals;
|
|
938
488
|
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
939
|
-
schema: keyof
|
|
940
|
-
} ? keyof
|
|
941
|
-
schema: keyof
|
|
942
|
-
} ?
|
|
489
|
+
schema: keyof DatabaseWithoutInternals;
|
|
490
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums'] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
491
|
+
schema: keyof DatabaseWithoutInternals;
|
|
492
|
+
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums'][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema['Enums'] ? DefaultSchema['Enums'][DefaultSchemaEnumNameOrOptions] : never;
|
|
943
493
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes'] | {
|
|
944
|
-
schema: keyof
|
|
494
|
+
schema: keyof DatabaseWithoutInternals;
|
|
945
495
|
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
946
|
-
schema: keyof
|
|
947
|
-
} ? keyof
|
|
948
|
-
schema: keyof
|
|
949
|
-
} ?
|
|
496
|
+
schema: keyof DatabaseWithoutInternals;
|
|
497
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
498
|
+
schema: keyof DatabaseWithoutInternals;
|
|
499
|
+
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes'] ? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions] : never;
|
|
950
500
|
export declare const Constants: {
|
|
951
|
-
readonly graphql_public: {
|
|
952
|
-
readonly Enums: {};
|
|
953
|
-
};
|
|
954
501
|
readonly public: {
|
|
955
502
|
readonly Enums: {
|
|
956
503
|
readonly created_on: readonly ["app", "dashboard", "auth", "web"];
|
|
@@ -963,8 +510,5 @@ export declare const Constants: {
|
|
|
963
510
|
readonly social_network: readonly ["facebook", "twitter", "instagram", "youtube"];
|
|
964
511
|
};
|
|
965
512
|
};
|
|
966
|
-
readonly storage: {
|
|
967
|
-
readonly Enums: {};
|
|
968
|
-
};
|
|
969
513
|
};
|
|
970
514
|
export {};
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Constants = void 0;
|
|
4
4
|
exports.Constants = {
|
|
5
|
-
graphql_public: {
|
|
6
|
-
Enums: {},
|
|
7
|
-
},
|
|
8
5
|
public: {
|
|
9
6
|
Enums: {
|
|
10
7
|
created_on: ['app', 'dashboard', 'auth', 'web'],
|
|
@@ -17,7 +14,4 @@ exports.Constants = {
|
|
|
17
14
|
social_network: ['facebook', 'twitter', 'instagram', 'youtube'],
|
|
18
15
|
},
|
|
19
16
|
},
|
|
20
|
-
storage: {
|
|
21
|
-
Enums: {},
|
|
22
|
-
},
|
|
23
17
|
};
|