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