@elevasis/ui 2.23.0 → 2.24.0
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/dist/app/index.d.ts +2915 -0
- package/dist/app/index.js +5 -4
- package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
- package/dist/{chunk-D3KQAABP.js → chunk-4NWNS7TX.js} +1 -1
- package/dist/{chunk-7PGEGSUM.js → chunk-FUEXGRFR.js} +2 -2
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-YU6MBDVO.js → chunk-KCJ6VATY.js} +4 -68
- package/dist/{chunk-FXWETLEB.js → chunk-KLFIJDTD.js} +1 -1
- package/dist/{chunk-PXGSJNBH.js → chunk-M2HWJY6O.js} +704 -375
- package/dist/{chunk-N6WLOWOD.js → chunk-MTR6AN2C.js} +3 -12
- package/dist/chunk-OWHQ65EQ.js +211 -0
- package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
- package/dist/{chunk-GUJUK6EH.js → chunk-QULLZ5PE.js} +172 -2
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
- package/dist/{chunk-EPV7NU2E.js → chunk-VGNAV3TH.js} +385 -188
- package/dist/{chunk-PTUOINQ2.js → chunk-YBZT7MJR.js} +3 -3
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/components/index.d.ts +488 -452
- package/dist/components/index.js +58 -22
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +463 -377
- package/dist/features/crm/index.d.ts +459 -379
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +457 -371
- package/dist/features/delivery/index.js +8 -8
- package/dist/features/lead-gen/index.d.ts +213 -65
- package/dist/features/lead-gen/index.js +9 -8
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/operations/index.js +11 -10
- package/dist/features/settings/index.d.ts +463 -377
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/delivery/index.d.ts +457 -371
- package/dist/hooks/index.d.ts +936 -718
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +936 -718
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1313 -1027
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +463 -377
- package/dist/organization/index.d.ts +11 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +463 -377
- package/dist/provider/index.d.ts +3132 -169
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +3098 -168
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +559 -389
- package/dist/test-utils/index.d.ts +21 -1
- package/dist/test-utils/index.js +13 -4
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +463 -377
- package/package.json +4 -4
- package/src/test-utils/README.md +2 -0
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
|
@@ -7,10 +7,57 @@ type Json = string | number | boolean | null | {
|
|
|
7
7
|
} | Json[];
|
|
8
8
|
type Database = {
|
|
9
9
|
__InternalSupabase: {
|
|
10
|
-
PostgrestVersion:
|
|
10
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
11
11
|
};
|
|
12
12
|
public: {
|
|
13
13
|
Tables: {
|
|
14
|
+
acq_artifacts: {
|
|
15
|
+
Row: {
|
|
16
|
+
content: Json;
|
|
17
|
+
created_at: string;
|
|
18
|
+
created_by: string | null;
|
|
19
|
+
id: string;
|
|
20
|
+
kind: string;
|
|
21
|
+
organization_id: string;
|
|
22
|
+
owner_id: string;
|
|
23
|
+
owner_kind: string;
|
|
24
|
+
source_execution_id: string | null;
|
|
25
|
+
version: number;
|
|
26
|
+
};
|
|
27
|
+
Insert: {
|
|
28
|
+
content: Json;
|
|
29
|
+
created_at?: string;
|
|
30
|
+
created_by?: string | null;
|
|
31
|
+
id?: string;
|
|
32
|
+
kind: string;
|
|
33
|
+
organization_id: string;
|
|
34
|
+
owner_id: string;
|
|
35
|
+
owner_kind: string;
|
|
36
|
+
source_execution_id?: string | null;
|
|
37
|
+
version?: number;
|
|
38
|
+
};
|
|
39
|
+
Update: {
|
|
40
|
+
content?: Json;
|
|
41
|
+
created_at?: string;
|
|
42
|
+
created_by?: string | null;
|
|
43
|
+
id?: string;
|
|
44
|
+
kind?: string;
|
|
45
|
+
organization_id?: string;
|
|
46
|
+
owner_id?: string;
|
|
47
|
+
owner_kind?: string;
|
|
48
|
+
source_execution_id?: string | null;
|
|
49
|
+
version?: number;
|
|
50
|
+
};
|
|
51
|
+
Relationships: [
|
|
52
|
+
{
|
|
53
|
+
foreignKeyName: 'acq_artifacts_organization_id_fkey';
|
|
54
|
+
columns: ['organization_id'];
|
|
55
|
+
isOneToOne: false;
|
|
56
|
+
referencedRelation: 'organizations';
|
|
57
|
+
referencedColumns: ['id'];
|
|
58
|
+
}
|
|
59
|
+
];
|
|
60
|
+
};
|
|
14
61
|
acq_companies: {
|
|
15
62
|
Row: {
|
|
16
63
|
batch_id: string | null;
|
|
@@ -29,6 +76,9 @@ type Database = {
|
|
|
29
76
|
num_employees: number | null;
|
|
30
77
|
organization_id: string;
|
|
31
78
|
pipeline_status: Json;
|
|
79
|
+
qualification_rubric_key: string | null;
|
|
80
|
+
qualification_score: number | null;
|
|
81
|
+
qualification_signals: Json | null;
|
|
32
82
|
segment: string | null;
|
|
33
83
|
source: string | null;
|
|
34
84
|
status: string;
|
|
@@ -52,6 +102,9 @@ type Database = {
|
|
|
52
102
|
num_employees?: number | null;
|
|
53
103
|
organization_id: string;
|
|
54
104
|
pipeline_status?: Json;
|
|
105
|
+
qualification_rubric_key?: string | null;
|
|
106
|
+
qualification_score?: number | null;
|
|
107
|
+
qualification_signals?: Json | null;
|
|
55
108
|
segment?: string | null;
|
|
56
109
|
source?: string | null;
|
|
57
110
|
status?: string;
|
|
@@ -75,6 +128,9 @@ type Database = {
|
|
|
75
128
|
num_employees?: number | null;
|
|
76
129
|
organization_id?: string;
|
|
77
130
|
pipeline_status?: Json;
|
|
131
|
+
qualification_rubric_key?: string | null;
|
|
132
|
+
qualification_score?: number | null;
|
|
133
|
+
qualification_signals?: Json | null;
|
|
78
134
|
segment?: string | null;
|
|
79
135
|
source?: string | null;
|
|
80
136
|
status?: string;
|
|
@@ -83,11 +139,11 @@ type Database = {
|
|
|
83
139
|
};
|
|
84
140
|
Relationships: [
|
|
85
141
|
{
|
|
86
|
-
foreignKeyName:
|
|
87
|
-
columns: [
|
|
142
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
143
|
+
columns: ['organization_id'];
|
|
88
144
|
isOneToOne: false;
|
|
89
|
-
referencedRelation:
|
|
90
|
-
referencedColumns: [
|
|
145
|
+
referencedRelation: 'organizations';
|
|
146
|
+
referencedColumns: ['id'];
|
|
91
147
|
}
|
|
92
148
|
];
|
|
93
149
|
};
|
|
@@ -111,6 +167,9 @@ type Database = {
|
|
|
111
167
|
opening_line: string | null;
|
|
112
168
|
organization_id: string;
|
|
113
169
|
pipeline_status: Json;
|
|
170
|
+
qualification_rubric_key: string | null;
|
|
171
|
+
qualification_score: number | null;
|
|
172
|
+
qualification_signals: Json | null;
|
|
114
173
|
source: string | null;
|
|
115
174
|
source_id: string | null;
|
|
116
175
|
status: string;
|
|
@@ -136,6 +195,9 @@ type Database = {
|
|
|
136
195
|
opening_line?: string | null;
|
|
137
196
|
organization_id: string;
|
|
138
197
|
pipeline_status?: Json;
|
|
198
|
+
qualification_rubric_key?: string | null;
|
|
199
|
+
qualification_score?: number | null;
|
|
200
|
+
qualification_signals?: Json | null;
|
|
139
201
|
source?: string | null;
|
|
140
202
|
source_id?: string | null;
|
|
141
203
|
status?: string;
|
|
@@ -161,6 +223,9 @@ type Database = {
|
|
|
161
223
|
opening_line?: string | null;
|
|
162
224
|
organization_id?: string;
|
|
163
225
|
pipeline_status?: Json;
|
|
226
|
+
qualification_rubric_key?: string | null;
|
|
227
|
+
qualification_score?: number | null;
|
|
228
|
+
qualification_signals?: Json | null;
|
|
164
229
|
source?: string | null;
|
|
165
230
|
source_id?: string | null;
|
|
166
231
|
status?: string;
|
|
@@ -169,18 +234,18 @@ type Database = {
|
|
|
169
234
|
};
|
|
170
235
|
Relationships: [
|
|
171
236
|
{
|
|
172
|
-
foreignKeyName:
|
|
173
|
-
columns: [
|
|
237
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
238
|
+
columns: ['company_id'];
|
|
174
239
|
isOneToOne: false;
|
|
175
|
-
referencedRelation:
|
|
176
|
-
referencedColumns: [
|
|
240
|
+
referencedRelation: 'acq_companies';
|
|
241
|
+
referencedColumns: ['id'];
|
|
177
242
|
},
|
|
178
243
|
{
|
|
179
|
-
foreignKeyName:
|
|
180
|
-
columns: [
|
|
244
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
245
|
+
columns: ['organization_id'];
|
|
181
246
|
isOneToOne: false;
|
|
182
|
-
referencedRelation:
|
|
183
|
-
referencedColumns: [
|
|
247
|
+
referencedRelation: 'organizations';
|
|
248
|
+
referencedColumns: ['id'];
|
|
184
249
|
}
|
|
185
250
|
];
|
|
186
251
|
};
|
|
@@ -217,11 +282,11 @@ type Database = {
|
|
|
217
282
|
};
|
|
218
283
|
Relationships: [
|
|
219
284
|
{
|
|
220
|
-
foreignKeyName:
|
|
221
|
-
columns: [
|
|
285
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
286
|
+
columns: ['organization_id'];
|
|
222
287
|
isOneToOne: false;
|
|
223
|
-
referencedRelation:
|
|
224
|
-
referencedColumns: [
|
|
288
|
+
referencedRelation: 'organizations';
|
|
289
|
+
referencedColumns: ['id'];
|
|
225
290
|
}
|
|
226
291
|
];
|
|
227
292
|
};
|
|
@@ -285,18 +350,18 @@ type Database = {
|
|
|
285
350
|
};
|
|
286
351
|
Relationships: [
|
|
287
352
|
{
|
|
288
|
-
foreignKeyName:
|
|
289
|
-
columns: [
|
|
353
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
354
|
+
columns: ['content_id'];
|
|
290
355
|
isOneToOne: false;
|
|
291
|
-
referencedRelation:
|
|
292
|
-
referencedColumns: [
|
|
356
|
+
referencedRelation: 'acq_content';
|
|
357
|
+
referencedColumns: ['id'];
|
|
293
358
|
},
|
|
294
359
|
{
|
|
295
|
-
foreignKeyName:
|
|
296
|
-
columns: [
|
|
360
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
361
|
+
columns: ['organization_id'];
|
|
297
362
|
isOneToOne: false;
|
|
298
|
-
referencedRelation:
|
|
299
|
-
referencedColumns: [
|
|
363
|
+
referencedRelation: 'organizations';
|
|
364
|
+
referencedColumns: ['id'];
|
|
300
365
|
}
|
|
301
366
|
];
|
|
302
367
|
};
|
|
@@ -330,18 +395,18 @@ type Database = {
|
|
|
330
395
|
};
|
|
331
396
|
Relationships: [
|
|
332
397
|
{
|
|
333
|
-
foreignKeyName:
|
|
334
|
-
columns: [
|
|
398
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
399
|
+
columns: ['deal_id'];
|
|
335
400
|
isOneToOne: false;
|
|
336
|
-
referencedRelation:
|
|
337
|
-
referencedColumns: [
|
|
401
|
+
referencedRelation: 'acq_deals';
|
|
402
|
+
referencedColumns: ['id'];
|
|
338
403
|
},
|
|
339
404
|
{
|
|
340
|
-
foreignKeyName:
|
|
341
|
-
columns: [
|
|
405
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
406
|
+
columns: ['organization_id'];
|
|
342
407
|
isOneToOne: false;
|
|
343
|
-
referencedRelation:
|
|
344
|
-
referencedColumns: [
|
|
408
|
+
referencedRelation: 'organizations';
|
|
409
|
+
referencedColumns: ['id'];
|
|
345
410
|
}
|
|
346
411
|
];
|
|
347
412
|
};
|
|
@@ -393,18 +458,18 @@ type Database = {
|
|
|
393
458
|
};
|
|
394
459
|
Relationships: [
|
|
395
460
|
{
|
|
396
|
-
foreignKeyName:
|
|
397
|
-
columns: [
|
|
461
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
462
|
+
columns: ['deal_id'];
|
|
398
463
|
isOneToOne: false;
|
|
399
|
-
referencedRelation:
|
|
400
|
-
referencedColumns: [
|
|
464
|
+
referencedRelation: 'acq_deals';
|
|
465
|
+
referencedColumns: ['id'];
|
|
401
466
|
},
|
|
402
467
|
{
|
|
403
|
-
foreignKeyName:
|
|
404
|
-
columns: [
|
|
468
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
469
|
+
columns: ['organization_id'];
|
|
405
470
|
isOneToOne: false;
|
|
406
|
-
referencedRelation:
|
|
407
|
-
referencedColumns: [
|
|
471
|
+
referencedRelation: 'organizations';
|
|
472
|
+
referencedColumns: ['id'];
|
|
408
473
|
}
|
|
409
474
|
];
|
|
410
475
|
};
|
|
@@ -516,86 +581,95 @@ type Database = {
|
|
|
516
581
|
};
|
|
517
582
|
Relationships: [
|
|
518
583
|
{
|
|
519
|
-
foreignKeyName:
|
|
520
|
-
columns: [
|
|
584
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
585
|
+
columns: ['contact_id'];
|
|
521
586
|
isOneToOne: false;
|
|
522
|
-
referencedRelation:
|
|
523
|
-
referencedColumns: [
|
|
587
|
+
referencedRelation: 'acq_contacts';
|
|
588
|
+
referencedColumns: ['id'];
|
|
524
589
|
},
|
|
525
590
|
{
|
|
526
|
-
foreignKeyName:
|
|
527
|
-
columns: [
|
|
591
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
592
|
+
columns: ['organization_id'];
|
|
528
593
|
isOneToOne: false;
|
|
529
|
-
referencedRelation:
|
|
530
|
-
referencedColumns: [
|
|
594
|
+
referencedRelation: 'organizations';
|
|
595
|
+
referencedColumns: ['id'];
|
|
531
596
|
},
|
|
532
597
|
{
|
|
533
|
-
foreignKeyName:
|
|
534
|
-
columns: [
|
|
598
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
599
|
+
columns: ['source_list_id'];
|
|
535
600
|
isOneToOne: false;
|
|
536
|
-
referencedRelation:
|
|
537
|
-
referencedColumns: [
|
|
601
|
+
referencedRelation: 'acq_lists';
|
|
602
|
+
referencedColumns: ['id'];
|
|
538
603
|
}
|
|
539
604
|
];
|
|
540
605
|
};
|
|
541
606
|
acq_list_companies: {
|
|
542
607
|
Row: {
|
|
608
|
+
activity_log: Json;
|
|
543
609
|
added_at: string;
|
|
544
610
|
added_by: string | null;
|
|
545
611
|
company_id: string;
|
|
546
612
|
id: string;
|
|
547
613
|
list_id: string;
|
|
614
|
+
pipeline_key: string;
|
|
615
|
+
processing_state: Json;
|
|
548
616
|
source_execution_id: string | null;
|
|
549
617
|
source_input_hash: string | null;
|
|
550
618
|
source_resource_id: string | null;
|
|
551
|
-
|
|
552
|
-
|
|
619
|
+
stage_key: string;
|
|
620
|
+
state_key: string;
|
|
553
621
|
};
|
|
554
622
|
Insert: {
|
|
623
|
+
activity_log?: Json;
|
|
555
624
|
added_at?: string;
|
|
556
625
|
added_by?: string | null;
|
|
557
626
|
company_id: string;
|
|
558
627
|
id?: string;
|
|
559
628
|
list_id: string;
|
|
629
|
+
pipeline_key?: string;
|
|
630
|
+
processing_state?: Json;
|
|
560
631
|
source_execution_id?: string | null;
|
|
561
632
|
source_input_hash?: string | null;
|
|
562
633
|
source_resource_id?: string | null;
|
|
563
|
-
|
|
564
|
-
|
|
634
|
+
stage_key: string;
|
|
635
|
+
state_key: string;
|
|
565
636
|
};
|
|
566
637
|
Update: {
|
|
638
|
+
activity_log?: Json;
|
|
567
639
|
added_at?: string;
|
|
568
640
|
added_by?: string | null;
|
|
569
641
|
company_id?: string;
|
|
570
642
|
id?: string;
|
|
571
643
|
list_id?: string;
|
|
644
|
+
pipeline_key?: string;
|
|
645
|
+
processing_state?: Json;
|
|
572
646
|
source_execution_id?: string | null;
|
|
573
647
|
source_input_hash?: string | null;
|
|
574
648
|
source_resource_id?: string | null;
|
|
575
|
-
|
|
576
|
-
|
|
649
|
+
stage_key?: string;
|
|
650
|
+
state_key?: string;
|
|
577
651
|
};
|
|
578
652
|
Relationships: [
|
|
579
653
|
{
|
|
580
|
-
foreignKeyName:
|
|
581
|
-
columns: [
|
|
654
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
655
|
+
columns: ['company_id'];
|
|
582
656
|
isOneToOne: false;
|
|
583
|
-
referencedRelation:
|
|
584
|
-
referencedColumns: [
|
|
657
|
+
referencedRelation: 'acq_companies';
|
|
658
|
+
referencedColumns: ['id'];
|
|
585
659
|
},
|
|
586
660
|
{
|
|
587
|
-
foreignKeyName:
|
|
588
|
-
columns: [
|
|
661
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
662
|
+
columns: ['list_id'];
|
|
589
663
|
isOneToOne: false;
|
|
590
|
-
referencedRelation:
|
|
591
|
-
referencedColumns: [
|
|
664
|
+
referencedRelation: 'acq_lists';
|
|
665
|
+
referencedColumns: ['id'];
|
|
592
666
|
},
|
|
593
667
|
{
|
|
594
|
-
foreignKeyName:
|
|
595
|
-
columns: [
|
|
668
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
669
|
+
columns: ['source_execution_id'];
|
|
596
670
|
isOneToOne: false;
|
|
597
|
-
referencedRelation:
|
|
598
|
-
referencedColumns: [
|
|
671
|
+
referencedRelation: 'execution_logs';
|
|
672
|
+
referencedColumns: ['execution_id'];
|
|
599
673
|
}
|
|
600
674
|
];
|
|
601
675
|
};
|
|
@@ -623,79 +697,88 @@ type Database = {
|
|
|
623
697
|
};
|
|
624
698
|
Relationships: [
|
|
625
699
|
{
|
|
626
|
-
foreignKeyName:
|
|
627
|
-
columns: [
|
|
700
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
701
|
+
columns: ['execution_id'];
|
|
628
702
|
isOneToOne: false;
|
|
629
|
-
referencedRelation:
|
|
630
|
-
referencedColumns: [
|
|
703
|
+
referencedRelation: 'execution_logs';
|
|
704
|
+
referencedColumns: ['execution_id'];
|
|
631
705
|
},
|
|
632
706
|
{
|
|
633
|
-
foreignKeyName:
|
|
634
|
-
columns: [
|
|
707
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
708
|
+
columns: ['list_id'];
|
|
635
709
|
isOneToOne: false;
|
|
636
|
-
referencedRelation:
|
|
637
|
-
referencedColumns: [
|
|
710
|
+
referencedRelation: 'acq_lists';
|
|
711
|
+
referencedColumns: ['id'];
|
|
638
712
|
}
|
|
639
713
|
];
|
|
640
714
|
};
|
|
641
715
|
acq_list_members: {
|
|
642
716
|
Row: {
|
|
717
|
+
activity_log: Json;
|
|
643
718
|
added_at: string;
|
|
644
719
|
added_by: string | null;
|
|
645
720
|
contact_id: string;
|
|
646
721
|
id: string;
|
|
647
722
|
list_id: string;
|
|
723
|
+
pipeline_key: string;
|
|
724
|
+
processing_state: Json;
|
|
648
725
|
source_execution_id: string | null;
|
|
649
726
|
source_input_hash: string | null;
|
|
650
727
|
source_resource_id: string | null;
|
|
651
|
-
|
|
652
|
-
|
|
728
|
+
stage_key: string;
|
|
729
|
+
state_key: string;
|
|
653
730
|
};
|
|
654
731
|
Insert: {
|
|
732
|
+
activity_log?: Json;
|
|
655
733
|
added_at?: string;
|
|
656
734
|
added_by?: string | null;
|
|
657
735
|
contact_id: string;
|
|
658
736
|
id?: string;
|
|
659
737
|
list_id: string;
|
|
738
|
+
pipeline_key?: string;
|
|
739
|
+
processing_state?: Json;
|
|
660
740
|
source_execution_id?: string | null;
|
|
661
741
|
source_input_hash?: string | null;
|
|
662
742
|
source_resource_id?: string | null;
|
|
663
|
-
|
|
664
|
-
|
|
743
|
+
stage_key: string;
|
|
744
|
+
state_key: string;
|
|
665
745
|
};
|
|
666
746
|
Update: {
|
|
747
|
+
activity_log?: Json;
|
|
667
748
|
added_at?: string;
|
|
668
749
|
added_by?: string | null;
|
|
669
750
|
contact_id?: string;
|
|
670
751
|
id?: string;
|
|
671
752
|
list_id?: string;
|
|
753
|
+
pipeline_key?: string;
|
|
754
|
+
processing_state?: Json;
|
|
672
755
|
source_execution_id?: string | null;
|
|
673
756
|
source_input_hash?: string | null;
|
|
674
757
|
source_resource_id?: string | null;
|
|
675
|
-
|
|
676
|
-
|
|
758
|
+
stage_key?: string;
|
|
759
|
+
state_key?: string;
|
|
677
760
|
};
|
|
678
761
|
Relationships: [
|
|
679
762
|
{
|
|
680
|
-
foreignKeyName:
|
|
681
|
-
columns: [
|
|
763
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
764
|
+
columns: ['contact_id'];
|
|
682
765
|
isOneToOne: false;
|
|
683
|
-
referencedRelation:
|
|
684
|
-
referencedColumns: [
|
|
766
|
+
referencedRelation: 'acq_contacts';
|
|
767
|
+
referencedColumns: ['id'];
|
|
685
768
|
},
|
|
686
769
|
{
|
|
687
|
-
foreignKeyName:
|
|
688
|
-
columns: [
|
|
770
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
771
|
+
columns: ['list_id'];
|
|
689
772
|
isOneToOne: false;
|
|
690
|
-
referencedRelation:
|
|
691
|
-
referencedColumns: [
|
|
773
|
+
referencedRelation: 'acq_lists';
|
|
774
|
+
referencedColumns: ['id'];
|
|
692
775
|
},
|
|
693
776
|
{
|
|
694
|
-
foreignKeyName:
|
|
695
|
-
columns: [
|
|
777
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
778
|
+
columns: ['source_execution_id'];
|
|
696
779
|
isOneToOne: false;
|
|
697
|
-
referencedRelation:
|
|
698
|
-
referencedColumns: [
|
|
780
|
+
referencedRelation: 'execution_logs';
|
|
781
|
+
referencedColumns: ['execution_id'];
|
|
699
782
|
}
|
|
700
783
|
];
|
|
701
784
|
};
|
|
@@ -703,55 +786,58 @@ type Database = {
|
|
|
703
786
|
Row: {
|
|
704
787
|
batch_ids: string[];
|
|
705
788
|
completed_at: string | null;
|
|
706
|
-
config: Json;
|
|
707
789
|
created_at: string;
|
|
708
790
|
description: string | null;
|
|
791
|
+
icp: Json;
|
|
709
792
|
id: string;
|
|
710
793
|
instantly_campaign_id: string | null;
|
|
711
794
|
launched_at: string | null;
|
|
712
795
|
metadata: Json;
|
|
713
796
|
name: string;
|
|
714
797
|
organization_id: string;
|
|
798
|
+
pipeline_config: Json;
|
|
799
|
+
scraping_config: Json;
|
|
715
800
|
status: string;
|
|
716
|
-
type: string;
|
|
717
801
|
};
|
|
718
802
|
Insert: {
|
|
719
803
|
batch_ids?: string[];
|
|
720
804
|
completed_at?: string | null;
|
|
721
|
-
config?: Json;
|
|
722
805
|
created_at?: string;
|
|
723
806
|
description?: string | null;
|
|
807
|
+
icp?: Json;
|
|
724
808
|
id?: string;
|
|
725
809
|
instantly_campaign_id?: string | null;
|
|
726
810
|
launched_at?: string | null;
|
|
727
811
|
metadata?: Json;
|
|
728
812
|
name: string;
|
|
729
813
|
organization_id: string;
|
|
814
|
+
pipeline_config?: Json;
|
|
815
|
+
scraping_config?: Json;
|
|
730
816
|
status?: string;
|
|
731
|
-
type?: string;
|
|
732
817
|
};
|
|
733
818
|
Update: {
|
|
734
819
|
batch_ids?: string[];
|
|
735
820
|
completed_at?: string | null;
|
|
736
|
-
config?: Json;
|
|
737
821
|
created_at?: string;
|
|
738
822
|
description?: string | null;
|
|
823
|
+
icp?: Json;
|
|
739
824
|
id?: string;
|
|
740
825
|
instantly_campaign_id?: string | null;
|
|
741
826
|
launched_at?: string | null;
|
|
742
827
|
metadata?: Json;
|
|
743
828
|
name?: string;
|
|
744
829
|
organization_id?: string;
|
|
830
|
+
pipeline_config?: Json;
|
|
831
|
+
scraping_config?: Json;
|
|
745
832
|
status?: string;
|
|
746
|
-
type?: string;
|
|
747
833
|
};
|
|
748
834
|
Relationships: [
|
|
749
835
|
{
|
|
750
|
-
foreignKeyName:
|
|
751
|
-
columns: [
|
|
836
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
837
|
+
columns: ['organization_id'];
|
|
752
838
|
isOneToOne: false;
|
|
753
|
-
referencedRelation:
|
|
754
|
-
referencedColumns: [
|
|
839
|
+
referencedRelation: 'organizations';
|
|
840
|
+
referencedColumns: ['id'];
|
|
755
841
|
}
|
|
756
842
|
];
|
|
757
843
|
};
|
|
@@ -827,18 +913,18 @@ type Database = {
|
|
|
827
913
|
};
|
|
828
914
|
Relationships: [
|
|
829
915
|
{
|
|
830
|
-
foreignKeyName:
|
|
831
|
-
columns: [
|
|
916
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
917
|
+
columns: ['organization_id'];
|
|
832
918
|
isOneToOne: false;
|
|
833
|
-
referencedRelation:
|
|
834
|
-
referencedColumns: [
|
|
919
|
+
referencedRelation: 'organizations';
|
|
920
|
+
referencedColumns: ['id'];
|
|
835
921
|
},
|
|
836
922
|
{
|
|
837
|
-
foreignKeyName:
|
|
838
|
-
columns: [
|
|
923
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
924
|
+
columns: ['seo_page_id'];
|
|
839
925
|
isOneToOne: false;
|
|
840
|
-
referencedRelation:
|
|
841
|
-
referencedColumns: [
|
|
926
|
+
referencedRelation: 'acq_seo_pages';
|
|
927
|
+
referencedColumns: ['id'];
|
|
842
928
|
}
|
|
843
929
|
];
|
|
844
930
|
};
|
|
@@ -914,11 +1000,11 @@ type Database = {
|
|
|
914
1000
|
};
|
|
915
1001
|
Relationships: [
|
|
916
1002
|
{
|
|
917
|
-
foreignKeyName:
|
|
918
|
-
columns: [
|
|
1003
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1004
|
+
columns: ['organization_id'];
|
|
919
1005
|
isOneToOne: false;
|
|
920
|
-
referencedRelation:
|
|
921
|
-
referencedColumns: [
|
|
1006
|
+
referencedRelation: 'organizations';
|
|
1007
|
+
referencedColumns: ['id'];
|
|
922
1008
|
}
|
|
923
1009
|
];
|
|
924
1010
|
};
|
|
@@ -1015,11 +1101,11 @@ type Database = {
|
|
|
1015
1101
|
};
|
|
1016
1102
|
Relationships: [
|
|
1017
1103
|
{
|
|
1018
|
-
foreignKeyName:
|
|
1019
|
-
columns: [
|
|
1104
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
1105
|
+
columns: ['organization_id'];
|
|
1020
1106
|
isOneToOne: false;
|
|
1021
|
-
referencedRelation:
|
|
1022
|
-
referencedColumns: [
|
|
1107
|
+
referencedRelation: 'organizations';
|
|
1108
|
+
referencedColumns: ['id'];
|
|
1023
1109
|
}
|
|
1024
1110
|
];
|
|
1025
1111
|
};
|
|
@@ -1074,11 +1160,11 @@ type Database = {
|
|
|
1074
1160
|
};
|
|
1075
1161
|
Relationships: [
|
|
1076
1162
|
{
|
|
1077
|
-
foreignKeyName:
|
|
1078
|
-
columns: [
|
|
1163
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1164
|
+
columns: ['organization_id'];
|
|
1079
1165
|
isOneToOne: false;
|
|
1080
|
-
referencedRelation:
|
|
1081
|
-
referencedColumns: [
|
|
1166
|
+
referencedRelation: 'organizations';
|
|
1167
|
+
referencedColumns: ['id'];
|
|
1082
1168
|
}
|
|
1083
1169
|
];
|
|
1084
1170
|
};
|
|
@@ -1109,11 +1195,11 @@ type Database = {
|
|
|
1109
1195
|
};
|
|
1110
1196
|
Relationships: [
|
|
1111
1197
|
{
|
|
1112
|
-
foreignKeyName:
|
|
1113
|
-
columns: [
|
|
1198
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1199
|
+
columns: ['organization_id'];
|
|
1114
1200
|
isOneToOne: false;
|
|
1115
|
-
referencedRelation:
|
|
1116
|
-
referencedColumns: [
|
|
1201
|
+
referencedRelation: 'organizations';
|
|
1202
|
+
referencedColumns: ['id'];
|
|
1117
1203
|
}
|
|
1118
1204
|
];
|
|
1119
1205
|
};
|
|
@@ -1192,25 +1278,25 @@ type Database = {
|
|
|
1192
1278
|
};
|
|
1193
1279
|
Relationships: [
|
|
1194
1280
|
{
|
|
1195
|
-
foreignKeyName:
|
|
1196
|
-
columns: [
|
|
1281
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1282
|
+
columns: ['completed_by'];
|
|
1197
1283
|
isOneToOne: false;
|
|
1198
|
-
referencedRelation:
|
|
1199
|
-
referencedColumns: [
|
|
1284
|
+
referencedRelation: 'users';
|
|
1285
|
+
referencedColumns: ['id'];
|
|
1200
1286
|
},
|
|
1201
1287
|
{
|
|
1202
|
-
foreignKeyName:
|
|
1203
|
-
columns: [
|
|
1288
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1289
|
+
columns: ['organization_id'];
|
|
1204
1290
|
isOneToOne: false;
|
|
1205
|
-
referencedRelation:
|
|
1206
|
-
referencedColumns: [
|
|
1291
|
+
referencedRelation: 'organizations';
|
|
1292
|
+
referencedColumns: ['id'];
|
|
1207
1293
|
},
|
|
1208
1294
|
{
|
|
1209
|
-
foreignKeyName:
|
|
1210
|
-
columns: [
|
|
1295
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1296
|
+
columns: ['target_execution_id'];
|
|
1211
1297
|
isOneToOne: false;
|
|
1212
|
-
referencedRelation:
|
|
1213
|
-
referencedColumns: [
|
|
1298
|
+
referencedRelation: 'execution_logs';
|
|
1299
|
+
referencedColumns: ['execution_id'];
|
|
1214
1300
|
}
|
|
1215
1301
|
];
|
|
1216
1302
|
};
|
|
@@ -1250,18 +1336,18 @@ type Database = {
|
|
|
1250
1336
|
};
|
|
1251
1337
|
Relationships: [
|
|
1252
1338
|
{
|
|
1253
|
-
foreignKeyName:
|
|
1254
|
-
columns: [
|
|
1339
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1340
|
+
columns: ['created_by'];
|
|
1255
1341
|
isOneToOne: false;
|
|
1256
|
-
referencedRelation:
|
|
1257
|
-
referencedColumns: [
|
|
1342
|
+
referencedRelation: 'users';
|
|
1343
|
+
referencedColumns: ['id'];
|
|
1258
1344
|
},
|
|
1259
1345
|
{
|
|
1260
|
-
foreignKeyName:
|
|
1261
|
-
columns: [
|
|
1346
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1347
|
+
columns: ['organization_id'];
|
|
1262
1348
|
isOneToOne: false;
|
|
1263
|
-
referencedRelation:
|
|
1264
|
-
referencedColumns: [
|
|
1349
|
+
referencedRelation: 'organizations';
|
|
1350
|
+
referencedColumns: ['id'];
|
|
1265
1351
|
}
|
|
1266
1352
|
];
|
|
1267
1353
|
};
|
|
@@ -1307,11 +1393,11 @@ type Database = {
|
|
|
1307
1393
|
};
|
|
1308
1394
|
Relationships: [
|
|
1309
1395
|
{
|
|
1310
|
-
foreignKeyName:
|
|
1311
|
-
columns: [
|
|
1396
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1397
|
+
columns: ['organization_id'];
|
|
1312
1398
|
isOneToOne: false;
|
|
1313
|
-
referencedRelation:
|
|
1314
|
-
referencedColumns: [
|
|
1399
|
+
referencedRelation: 'organizations';
|
|
1400
|
+
referencedColumns: ['id'];
|
|
1315
1401
|
}
|
|
1316
1402
|
];
|
|
1317
1403
|
};
|
|
@@ -1366,25 +1452,25 @@ type Database = {
|
|
|
1366
1452
|
};
|
|
1367
1453
|
Relationships: [
|
|
1368
1454
|
{
|
|
1369
|
-
foreignKeyName:
|
|
1370
|
-
columns: [
|
|
1455
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
1456
|
+
columns: ['execution_id'];
|
|
1371
1457
|
isOneToOne: false;
|
|
1372
|
-
referencedRelation:
|
|
1373
|
-
referencedColumns: [
|
|
1458
|
+
referencedRelation: 'execution_logs';
|
|
1459
|
+
referencedColumns: ['execution_id'];
|
|
1374
1460
|
},
|
|
1375
1461
|
{
|
|
1376
|
-
foreignKeyName:
|
|
1377
|
-
columns: [
|
|
1462
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
1463
|
+
columns: ['organization_id'];
|
|
1378
1464
|
isOneToOne: false;
|
|
1379
|
-
referencedRelation:
|
|
1380
|
-
referencedColumns: [
|
|
1465
|
+
referencedRelation: 'organizations';
|
|
1466
|
+
referencedColumns: ['id'];
|
|
1381
1467
|
},
|
|
1382
1468
|
{
|
|
1383
|
-
foreignKeyName:
|
|
1384
|
-
columns: [
|
|
1469
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
1470
|
+
columns: ['resolved_by'];
|
|
1385
1471
|
isOneToOne: false;
|
|
1386
|
-
referencedRelation:
|
|
1387
|
-
referencedColumns: [
|
|
1472
|
+
referencedRelation: 'users';
|
|
1473
|
+
referencedColumns: ['id'];
|
|
1388
1474
|
}
|
|
1389
1475
|
];
|
|
1390
1476
|
};
|
|
@@ -1466,32 +1552,32 @@ type Database = {
|
|
|
1466
1552
|
};
|
|
1467
1553
|
Relationships: [
|
|
1468
1554
|
{
|
|
1469
|
-
foreignKeyName:
|
|
1470
|
-
columns: [
|
|
1555
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
1556
|
+
columns: ['organization_id'];
|
|
1471
1557
|
isOneToOne: false;
|
|
1472
|
-
referencedRelation:
|
|
1473
|
-
referencedColumns: [
|
|
1558
|
+
referencedRelation: 'organizations';
|
|
1559
|
+
referencedColumns: ['id'];
|
|
1474
1560
|
},
|
|
1475
1561
|
{
|
|
1476
|
-
foreignKeyName:
|
|
1477
|
-
columns: [
|
|
1562
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
1563
|
+
columns: ['origin_execution_id'];
|
|
1478
1564
|
isOneToOne: false;
|
|
1479
|
-
referencedRelation:
|
|
1480
|
-
referencedColumns: [
|
|
1565
|
+
referencedRelation: 'execution_logs';
|
|
1566
|
+
referencedColumns: ['execution_id'];
|
|
1481
1567
|
},
|
|
1482
1568
|
{
|
|
1483
|
-
foreignKeyName:
|
|
1484
|
-
columns: [
|
|
1569
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
1570
|
+
columns: ['session_id'];
|
|
1485
1571
|
isOneToOne: false;
|
|
1486
|
-
referencedRelation:
|
|
1487
|
-
referencedColumns: [
|
|
1572
|
+
referencedRelation: 'sessions';
|
|
1573
|
+
referencedColumns: ['session_id'];
|
|
1488
1574
|
},
|
|
1489
1575
|
{
|
|
1490
|
-
foreignKeyName:
|
|
1491
|
-
columns: [
|
|
1576
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
1577
|
+
columns: ['user_id'];
|
|
1492
1578
|
isOneToOne: false;
|
|
1493
|
-
referencedRelation:
|
|
1494
|
-
referencedColumns: [
|
|
1579
|
+
referencedRelation: 'users';
|
|
1580
|
+
referencedColumns: ['id'];
|
|
1495
1581
|
}
|
|
1496
1582
|
];
|
|
1497
1583
|
};
|
|
@@ -1537,18 +1623,18 @@ type Database = {
|
|
|
1537
1623
|
};
|
|
1538
1624
|
Relationships: [
|
|
1539
1625
|
{
|
|
1540
|
-
foreignKeyName:
|
|
1541
|
-
columns: [
|
|
1626
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
1627
|
+
columns: ['execution_id'];
|
|
1542
1628
|
isOneToOne: true;
|
|
1543
|
-
referencedRelation:
|
|
1544
|
-
referencedColumns: [
|
|
1629
|
+
referencedRelation: 'execution_logs';
|
|
1630
|
+
referencedColumns: ['execution_id'];
|
|
1545
1631
|
},
|
|
1546
1632
|
{
|
|
1547
|
-
foreignKeyName:
|
|
1548
|
-
columns: [
|
|
1633
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
1634
|
+
columns: ['organization_id'];
|
|
1549
1635
|
isOneToOne: false;
|
|
1550
|
-
referencedRelation:
|
|
1551
|
-
referencedColumns: [
|
|
1636
|
+
referencedRelation: 'organizations';
|
|
1637
|
+
referencedColumns: ['id'];
|
|
1552
1638
|
}
|
|
1553
1639
|
];
|
|
1554
1640
|
};
|
|
@@ -1591,18 +1677,18 @@ type Database = {
|
|
|
1591
1677
|
};
|
|
1592
1678
|
Relationships: [
|
|
1593
1679
|
{
|
|
1594
|
-
foreignKeyName:
|
|
1595
|
-
columns: [
|
|
1680
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
1681
|
+
columns: ['organization_id'];
|
|
1596
1682
|
isOneToOne: false;
|
|
1597
|
-
referencedRelation:
|
|
1598
|
-
referencedColumns: [
|
|
1683
|
+
referencedRelation: 'organizations';
|
|
1684
|
+
referencedColumns: ['id'];
|
|
1599
1685
|
},
|
|
1600
1686
|
{
|
|
1601
|
-
foreignKeyName:
|
|
1602
|
-
columns: [
|
|
1687
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
1688
|
+
columns: ['user_id'];
|
|
1603
1689
|
isOneToOne: false;
|
|
1604
|
-
referencedRelation:
|
|
1605
|
-
referencedColumns: [
|
|
1690
|
+
referencedRelation: 'users';
|
|
1691
|
+
referencedColumns: ['id'];
|
|
1606
1692
|
}
|
|
1607
1693
|
];
|
|
1608
1694
|
};
|
|
@@ -1657,18 +1743,18 @@ type Database = {
|
|
|
1657
1743
|
};
|
|
1658
1744
|
Relationships: [
|
|
1659
1745
|
{
|
|
1660
|
-
foreignKeyName:
|
|
1661
|
-
columns: [
|
|
1746
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
1747
|
+
columns: ['inviter_user_id'];
|
|
1662
1748
|
isOneToOne: false;
|
|
1663
|
-
referencedRelation:
|
|
1664
|
-
referencedColumns: [
|
|
1749
|
+
referencedRelation: 'users';
|
|
1750
|
+
referencedColumns: ['id'];
|
|
1665
1751
|
},
|
|
1666
1752
|
{
|
|
1667
|
-
foreignKeyName:
|
|
1668
|
-
columns: [
|
|
1753
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
1754
|
+
columns: ['organization_id'];
|
|
1669
1755
|
isOneToOne: false;
|
|
1670
|
-
referencedRelation:
|
|
1671
|
-
referencedColumns: [
|
|
1756
|
+
referencedRelation: 'organizations';
|
|
1757
|
+
referencedColumns: ['id'];
|
|
1672
1758
|
}
|
|
1673
1759
|
];
|
|
1674
1760
|
};
|
|
@@ -1711,18 +1797,18 @@ type Database = {
|
|
|
1711
1797
|
};
|
|
1712
1798
|
Relationships: [
|
|
1713
1799
|
{
|
|
1714
|
-
foreignKeyName:
|
|
1715
|
-
columns: [
|
|
1800
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
1801
|
+
columns: ['organization_id'];
|
|
1716
1802
|
isOneToOne: false;
|
|
1717
|
-
referencedRelation:
|
|
1718
|
-
referencedColumns: [
|
|
1803
|
+
referencedRelation: 'organizations';
|
|
1804
|
+
referencedColumns: ['id'];
|
|
1719
1805
|
},
|
|
1720
1806
|
{
|
|
1721
|
-
foreignKeyName:
|
|
1722
|
-
columns: [
|
|
1807
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
1808
|
+
columns: ['user_id'];
|
|
1723
1809
|
isOneToOne: false;
|
|
1724
|
-
referencedRelation:
|
|
1725
|
-
referencedColumns: [
|
|
1810
|
+
referencedRelation: 'users';
|
|
1811
|
+
referencedColumns: ['id'];
|
|
1726
1812
|
}
|
|
1727
1813
|
];
|
|
1728
1814
|
};
|
|
@@ -1747,25 +1833,25 @@ type Database = {
|
|
|
1747
1833
|
};
|
|
1748
1834
|
Relationships: [
|
|
1749
1835
|
{
|
|
1750
|
-
foreignKeyName:
|
|
1751
|
-
columns: [
|
|
1836
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
1837
|
+
columns: ['granted_by'];
|
|
1752
1838
|
isOneToOne: false;
|
|
1753
|
-
referencedRelation:
|
|
1754
|
-
referencedColumns: [
|
|
1839
|
+
referencedRelation: 'users';
|
|
1840
|
+
referencedColumns: ['id'];
|
|
1755
1841
|
},
|
|
1756
1842
|
{
|
|
1757
|
-
foreignKeyName:
|
|
1758
|
-
columns: [
|
|
1843
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
1844
|
+
columns: ['membership_id'];
|
|
1759
1845
|
isOneToOne: false;
|
|
1760
|
-
referencedRelation:
|
|
1761
|
-
referencedColumns: [
|
|
1846
|
+
referencedRelation: 'org_memberships';
|
|
1847
|
+
referencedColumns: ['id'];
|
|
1762
1848
|
},
|
|
1763
1849
|
{
|
|
1764
|
-
foreignKeyName:
|
|
1765
|
-
columns: [
|
|
1850
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
1851
|
+
columns: ['role_id'];
|
|
1766
1852
|
isOneToOne: false;
|
|
1767
|
-
referencedRelation:
|
|
1768
|
-
referencedColumns: [
|
|
1853
|
+
referencedRelation: 'org_rol_definitions';
|
|
1854
|
+
referencedColumns: ['id'];
|
|
1769
1855
|
}
|
|
1770
1856
|
];
|
|
1771
1857
|
};
|
|
@@ -1802,11 +1888,11 @@ type Database = {
|
|
|
1802
1888
|
};
|
|
1803
1889
|
Relationships: [
|
|
1804
1890
|
{
|
|
1805
|
-
foreignKeyName:
|
|
1806
|
-
columns: [
|
|
1891
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
1892
|
+
columns: ['organization_id'];
|
|
1807
1893
|
isOneToOne: false;
|
|
1808
|
-
referencedRelation:
|
|
1809
|
-
referencedColumns: [
|
|
1894
|
+
referencedRelation: 'organizations';
|
|
1895
|
+
referencedColumns: ['id'];
|
|
1810
1896
|
}
|
|
1811
1897
|
];
|
|
1812
1898
|
};
|
|
@@ -1828,18 +1914,18 @@ type Database = {
|
|
|
1828
1914
|
};
|
|
1829
1915
|
Relationships: [
|
|
1830
1916
|
{
|
|
1831
|
-
foreignKeyName:
|
|
1832
|
-
columns: [
|
|
1917
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
1918
|
+
columns: ['permission_key'];
|
|
1833
1919
|
isOneToOne: false;
|
|
1834
|
-
referencedRelation:
|
|
1835
|
-
referencedColumns: [
|
|
1920
|
+
referencedRelation: 'org_rol_permissions';
|
|
1921
|
+
referencedColumns: ['key'];
|
|
1836
1922
|
},
|
|
1837
1923
|
{
|
|
1838
|
-
foreignKeyName:
|
|
1839
|
-
columns: [
|
|
1924
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
1925
|
+
columns: ['role_id'];
|
|
1840
1926
|
isOneToOne: false;
|
|
1841
|
-
referencedRelation:
|
|
1842
|
-
referencedColumns: [
|
|
1927
|
+
referencedRelation: 'org_rol_definitions';
|
|
1928
|
+
referencedColumns: ['id'];
|
|
1843
1929
|
}
|
|
1844
1930
|
];
|
|
1845
1931
|
};
|
|
@@ -1951,25 +2037,25 @@ type Database = {
|
|
|
1951
2037
|
};
|
|
1952
2038
|
Relationships: [
|
|
1953
2039
|
{
|
|
1954
|
-
foreignKeyName:
|
|
1955
|
-
columns: [
|
|
2040
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2041
|
+
columns: ['project_id'];
|
|
1956
2042
|
isOneToOne: false;
|
|
1957
|
-
referencedRelation:
|
|
1958
|
-
referencedColumns: [
|
|
2043
|
+
referencedRelation: 'prj_projects';
|
|
2044
|
+
referencedColumns: ['id'];
|
|
1959
2045
|
},
|
|
1960
2046
|
{
|
|
1961
|
-
foreignKeyName:
|
|
1962
|
-
columns: [
|
|
2047
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2048
|
+
columns: ['organization_id'];
|
|
1963
2049
|
isOneToOne: false;
|
|
1964
|
-
referencedRelation:
|
|
1965
|
-
referencedColumns: [
|
|
2050
|
+
referencedRelation: 'organizations';
|
|
2051
|
+
referencedColumns: ['id'];
|
|
1966
2052
|
},
|
|
1967
2053
|
{
|
|
1968
|
-
foreignKeyName:
|
|
1969
|
-
columns: [
|
|
2054
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2055
|
+
columns: ['project_id'];
|
|
1970
2056
|
isOneToOne: false;
|
|
1971
|
-
referencedRelation:
|
|
1972
|
-
referencedColumns: [
|
|
2057
|
+
referencedRelation: 'prj_projects';
|
|
2058
|
+
referencedColumns: ['id'];
|
|
1973
2059
|
}
|
|
1974
2060
|
];
|
|
1975
2061
|
};
|
|
@@ -2018,67 +2104,67 @@ type Database = {
|
|
|
2018
2104
|
};
|
|
2019
2105
|
Relationships: [
|
|
2020
2106
|
{
|
|
2021
|
-
foreignKeyName:
|
|
2022
|
-
columns: [
|
|
2107
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2108
|
+
columns: ['created_by'];
|
|
2023
2109
|
isOneToOne: false;
|
|
2024
|
-
referencedRelation:
|
|
2025
|
-
referencedColumns: [
|
|
2110
|
+
referencedRelation: 'users';
|
|
2111
|
+
referencedColumns: ['id'];
|
|
2026
2112
|
},
|
|
2027
2113
|
{
|
|
2028
|
-
foreignKeyName:
|
|
2029
|
-
columns: [
|
|
2114
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2115
|
+
columns: ['milestone_id'];
|
|
2030
2116
|
isOneToOne: false;
|
|
2031
|
-
referencedRelation:
|
|
2032
|
-
referencedColumns: [
|
|
2117
|
+
referencedRelation: 'prj_milestones';
|
|
2118
|
+
referencedColumns: ['id'];
|
|
2033
2119
|
},
|
|
2034
2120
|
{
|
|
2035
|
-
foreignKeyName:
|
|
2036
|
-
columns: [
|
|
2121
|
+
foreignKeyName: 'fk_notes_project';
|
|
2122
|
+
columns: ['project_id'];
|
|
2037
2123
|
isOneToOne: false;
|
|
2038
|
-
referencedRelation:
|
|
2039
|
-
referencedColumns: [
|
|
2124
|
+
referencedRelation: 'prj_projects';
|
|
2125
|
+
referencedColumns: ['id'];
|
|
2040
2126
|
},
|
|
2041
2127
|
{
|
|
2042
|
-
foreignKeyName:
|
|
2043
|
-
columns: [
|
|
2128
|
+
foreignKeyName: 'fk_notes_task';
|
|
2129
|
+
columns: ['task_id'];
|
|
2044
2130
|
isOneToOne: false;
|
|
2045
|
-
referencedRelation:
|
|
2046
|
-
referencedColumns: [
|
|
2131
|
+
referencedRelation: 'prj_tasks';
|
|
2132
|
+
referencedColumns: ['id'];
|
|
2047
2133
|
},
|
|
2048
2134
|
{
|
|
2049
|
-
foreignKeyName:
|
|
2050
|
-
columns: [
|
|
2135
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2136
|
+
columns: ['created_by'];
|
|
2051
2137
|
isOneToOne: false;
|
|
2052
|
-
referencedRelation:
|
|
2053
|
-
referencedColumns: [
|
|
2138
|
+
referencedRelation: 'users';
|
|
2139
|
+
referencedColumns: ['id'];
|
|
2054
2140
|
},
|
|
2055
2141
|
{
|
|
2056
|
-
foreignKeyName:
|
|
2057
|
-
columns: [
|
|
2142
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2143
|
+
columns: ['milestone_id'];
|
|
2058
2144
|
isOneToOne: false;
|
|
2059
|
-
referencedRelation:
|
|
2060
|
-
referencedColumns: [
|
|
2145
|
+
referencedRelation: 'prj_milestones';
|
|
2146
|
+
referencedColumns: ['id'];
|
|
2061
2147
|
},
|
|
2062
2148
|
{
|
|
2063
|
-
foreignKeyName:
|
|
2064
|
-
columns: [
|
|
2149
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2150
|
+
columns: ['organization_id'];
|
|
2065
2151
|
isOneToOne: false;
|
|
2066
|
-
referencedRelation:
|
|
2067
|
-
referencedColumns: [
|
|
2152
|
+
referencedRelation: 'organizations';
|
|
2153
|
+
referencedColumns: ['id'];
|
|
2068
2154
|
},
|
|
2069
2155
|
{
|
|
2070
|
-
foreignKeyName:
|
|
2071
|
-
columns: [
|
|
2156
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2157
|
+
columns: ['project_id'];
|
|
2072
2158
|
isOneToOne: false;
|
|
2073
|
-
referencedRelation:
|
|
2074
|
-
referencedColumns: [
|
|
2159
|
+
referencedRelation: 'prj_projects';
|
|
2160
|
+
referencedColumns: ['id'];
|
|
2075
2161
|
},
|
|
2076
2162
|
{
|
|
2077
|
-
foreignKeyName:
|
|
2078
|
-
columns: [
|
|
2163
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2164
|
+
columns: ['task_id'];
|
|
2079
2165
|
isOneToOne: false;
|
|
2080
|
-
referencedRelation:
|
|
2081
|
-
referencedColumns: [
|
|
2166
|
+
referencedRelation: 'prj_tasks';
|
|
2167
|
+
referencedColumns: ['id'];
|
|
2082
2168
|
}
|
|
2083
2169
|
];
|
|
2084
2170
|
};
|
|
@@ -2136,39 +2222,39 @@ type Database = {
|
|
|
2136
2222
|
};
|
|
2137
2223
|
Relationships: [
|
|
2138
2224
|
{
|
|
2139
|
-
foreignKeyName:
|
|
2140
|
-
columns: [
|
|
2225
|
+
foreignKeyName: 'fk_projects_company';
|
|
2226
|
+
columns: ['client_company_id'];
|
|
2141
2227
|
isOneToOne: false;
|
|
2142
|
-
referencedRelation:
|
|
2143
|
-
referencedColumns: [
|
|
2228
|
+
referencedRelation: 'acq_companies';
|
|
2229
|
+
referencedColumns: ['id'];
|
|
2144
2230
|
},
|
|
2145
2231
|
{
|
|
2146
|
-
foreignKeyName:
|
|
2147
|
-
columns: [
|
|
2232
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2233
|
+
columns: ['deal_id'];
|
|
2148
2234
|
isOneToOne: false;
|
|
2149
|
-
referencedRelation:
|
|
2150
|
-
referencedColumns: [
|
|
2235
|
+
referencedRelation: 'acq_deals';
|
|
2236
|
+
referencedColumns: ['id'];
|
|
2151
2237
|
},
|
|
2152
2238
|
{
|
|
2153
|
-
foreignKeyName:
|
|
2154
|
-
columns: [
|
|
2239
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2240
|
+
columns: ['client_company_id'];
|
|
2155
2241
|
isOneToOne: false;
|
|
2156
|
-
referencedRelation:
|
|
2157
|
-
referencedColumns: [
|
|
2242
|
+
referencedRelation: 'acq_companies';
|
|
2243
|
+
referencedColumns: ['id'];
|
|
2158
2244
|
},
|
|
2159
2245
|
{
|
|
2160
|
-
foreignKeyName:
|
|
2161
|
-
columns: [
|
|
2246
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2247
|
+
columns: ['deal_id'];
|
|
2162
2248
|
isOneToOne: false;
|
|
2163
|
-
referencedRelation:
|
|
2164
|
-
referencedColumns: [
|
|
2249
|
+
referencedRelation: 'acq_deals';
|
|
2250
|
+
referencedColumns: ['id'];
|
|
2165
2251
|
},
|
|
2166
2252
|
{
|
|
2167
|
-
foreignKeyName:
|
|
2168
|
-
columns: [
|
|
2253
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2254
|
+
columns: ['organization_id'];
|
|
2169
2255
|
isOneToOne: false;
|
|
2170
|
-
referencedRelation:
|
|
2171
|
-
referencedColumns: [
|
|
2256
|
+
referencedRelation: 'organizations';
|
|
2257
|
+
referencedColumns: ['id'];
|
|
2172
2258
|
}
|
|
2173
2259
|
];
|
|
2174
2260
|
};
|
|
@@ -2232,53 +2318,53 @@ type Database = {
|
|
|
2232
2318
|
};
|
|
2233
2319
|
Relationships: [
|
|
2234
2320
|
{
|
|
2235
|
-
foreignKeyName:
|
|
2236
|
-
columns: [
|
|
2321
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2322
|
+
columns: ['milestone_id'];
|
|
2237
2323
|
isOneToOne: false;
|
|
2238
|
-
referencedRelation:
|
|
2239
|
-
referencedColumns: [
|
|
2324
|
+
referencedRelation: 'prj_milestones';
|
|
2325
|
+
referencedColumns: ['id'];
|
|
2240
2326
|
},
|
|
2241
2327
|
{
|
|
2242
|
-
foreignKeyName:
|
|
2243
|
-
columns: [
|
|
2328
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2329
|
+
columns: ['parent_task_id'];
|
|
2244
2330
|
isOneToOne: false;
|
|
2245
|
-
referencedRelation:
|
|
2246
|
-
referencedColumns: [
|
|
2331
|
+
referencedRelation: 'prj_tasks';
|
|
2332
|
+
referencedColumns: ['id'];
|
|
2247
2333
|
},
|
|
2248
2334
|
{
|
|
2249
|
-
foreignKeyName:
|
|
2250
|
-
columns: [
|
|
2335
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2336
|
+
columns: ['project_id'];
|
|
2251
2337
|
isOneToOne: false;
|
|
2252
|
-
referencedRelation:
|
|
2253
|
-
referencedColumns: [
|
|
2338
|
+
referencedRelation: 'prj_projects';
|
|
2339
|
+
referencedColumns: ['id'];
|
|
2254
2340
|
},
|
|
2255
2341
|
{
|
|
2256
|
-
foreignKeyName:
|
|
2257
|
-
columns: [
|
|
2342
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2343
|
+
columns: ['milestone_id'];
|
|
2258
2344
|
isOneToOne: false;
|
|
2259
|
-
referencedRelation:
|
|
2260
|
-
referencedColumns: [
|
|
2345
|
+
referencedRelation: 'prj_milestones';
|
|
2346
|
+
referencedColumns: ['id'];
|
|
2261
2347
|
},
|
|
2262
2348
|
{
|
|
2263
|
-
foreignKeyName:
|
|
2264
|
-
columns: [
|
|
2349
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2350
|
+
columns: ['organization_id'];
|
|
2265
2351
|
isOneToOne: false;
|
|
2266
|
-
referencedRelation:
|
|
2267
|
-
referencedColumns: [
|
|
2352
|
+
referencedRelation: 'organizations';
|
|
2353
|
+
referencedColumns: ['id'];
|
|
2268
2354
|
},
|
|
2269
2355
|
{
|
|
2270
|
-
foreignKeyName:
|
|
2271
|
-
columns: [
|
|
2356
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
2357
|
+
columns: ['parent_task_id'];
|
|
2272
2358
|
isOneToOne: false;
|
|
2273
|
-
referencedRelation:
|
|
2274
|
-
referencedColumns: [
|
|
2359
|
+
referencedRelation: 'prj_tasks';
|
|
2360
|
+
referencedColumns: ['id'];
|
|
2275
2361
|
},
|
|
2276
2362
|
{
|
|
2277
|
-
foreignKeyName:
|
|
2278
|
-
columns: [
|
|
2363
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2364
|
+
columns: ['project_id'];
|
|
2279
2365
|
isOneToOne: false;
|
|
2280
|
-
referencedRelation:
|
|
2281
|
-
referencedColumns: [
|
|
2366
|
+
referencedRelation: 'prj_projects';
|
|
2367
|
+
referencedColumns: ['id'];
|
|
2282
2368
|
}
|
|
2283
2369
|
];
|
|
2284
2370
|
};
|
|
@@ -2348,25 +2434,25 @@ type Database = {
|
|
|
2348
2434
|
};
|
|
2349
2435
|
Relationships: [
|
|
2350
2436
|
{
|
|
2351
|
-
foreignKeyName:
|
|
2352
|
-
columns: [
|
|
2437
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
2438
|
+
columns: ['organization_id'];
|
|
2353
2439
|
isOneToOne: false;
|
|
2354
|
-
referencedRelation:
|
|
2355
|
-
referencedColumns: [
|
|
2440
|
+
referencedRelation: 'organizations';
|
|
2441
|
+
referencedColumns: ['id'];
|
|
2356
2442
|
},
|
|
2357
2443
|
{
|
|
2358
|
-
foreignKeyName:
|
|
2359
|
-
columns: [
|
|
2444
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
2445
|
+
columns: ['project_id'];
|
|
2360
2446
|
isOneToOne: false;
|
|
2361
|
-
referencedRelation:
|
|
2362
|
-
referencedColumns: [
|
|
2447
|
+
referencedRelation: 'prj_projects';
|
|
2448
|
+
referencedColumns: ['id'];
|
|
2363
2449
|
},
|
|
2364
2450
|
{
|
|
2365
|
-
foreignKeyName:
|
|
2366
|
-
columns: [
|
|
2451
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
2452
|
+
columns: ['task_id'];
|
|
2367
2453
|
isOneToOne: false;
|
|
2368
|
-
referencedRelation:
|
|
2369
|
-
referencedColumns: [
|
|
2454
|
+
referencedRelation: 'prj_tasks';
|
|
2455
|
+
referencedColumns: ['id'];
|
|
2370
2456
|
}
|
|
2371
2457
|
];
|
|
2372
2458
|
};
|
|
@@ -2406,11 +2492,11 @@ type Database = {
|
|
|
2406
2492
|
};
|
|
2407
2493
|
Relationships: [
|
|
2408
2494
|
{
|
|
2409
|
-
foreignKeyName:
|
|
2410
|
-
columns: [
|
|
2495
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
2496
|
+
columns: ['session_id'];
|
|
2411
2497
|
isOneToOne: false;
|
|
2412
|
-
referencedRelation:
|
|
2413
|
-
referencedColumns: [
|
|
2498
|
+
referencedRelation: 'sessions';
|
|
2499
|
+
referencedColumns: ['session_id'];
|
|
2414
2500
|
}
|
|
2415
2501
|
];
|
|
2416
2502
|
};
|
|
@@ -2465,18 +2551,18 @@ type Database = {
|
|
|
2465
2551
|
};
|
|
2466
2552
|
Relationships: [
|
|
2467
2553
|
{
|
|
2468
|
-
foreignKeyName:
|
|
2469
|
-
columns: [
|
|
2554
|
+
foreignKeyName: 'fk_organization';
|
|
2555
|
+
columns: ['organization_id'];
|
|
2470
2556
|
isOneToOne: false;
|
|
2471
|
-
referencedRelation:
|
|
2472
|
-
referencedColumns: [
|
|
2557
|
+
referencedRelation: 'organizations';
|
|
2558
|
+
referencedColumns: ['id'];
|
|
2473
2559
|
},
|
|
2474
2560
|
{
|
|
2475
|
-
foreignKeyName:
|
|
2476
|
-
columns: [
|
|
2561
|
+
foreignKeyName: 'fk_user';
|
|
2562
|
+
columns: ['user_id'];
|
|
2477
2563
|
isOneToOne: false;
|
|
2478
|
-
referencedRelation:
|
|
2479
|
-
referencedColumns: [
|
|
2564
|
+
referencedRelation: 'users';
|
|
2565
|
+
referencedColumns: ['id'];
|
|
2480
2566
|
}
|
|
2481
2567
|
];
|
|
2482
2568
|
};
|
|
@@ -2552,11 +2638,11 @@ type Database = {
|
|
|
2552
2638
|
};
|
|
2553
2639
|
Relationships: [
|
|
2554
2640
|
{
|
|
2555
|
-
foreignKeyName:
|
|
2556
|
-
columns: [
|
|
2641
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
2642
|
+
columns: ['organization_id'];
|
|
2557
2643
|
isOneToOne: false;
|
|
2558
|
-
referencedRelation:
|
|
2559
|
-
referencedColumns: [
|
|
2644
|
+
referencedRelation: 'organizations';
|
|
2645
|
+
referencedColumns: ['id'];
|
|
2560
2646
|
}
|
|
2561
2647
|
];
|
|
2562
2648
|
};
|
|
@@ -2611,11 +2697,11 @@ type Database = {
|
|
|
2611
2697
|
};
|
|
2612
2698
|
Relationships: [
|
|
2613
2699
|
{
|
|
2614
|
-
foreignKeyName:
|
|
2615
|
-
columns: [
|
|
2700
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
2701
|
+
columns: ['last_visited_org'];
|
|
2616
2702
|
isOneToOne: false;
|
|
2617
|
-
referencedRelation:
|
|
2618
|
-
referencedColumns: [
|
|
2703
|
+
referencedRelation: 'organizations';
|
|
2704
|
+
referencedColumns: ['id'];
|
|
2619
2705
|
}
|
|
2620
2706
|
];
|
|
2621
2707
|
};
|
|
@@ -2664,11 +2750,11 @@ type Database = {
|
|
|
2664
2750
|
};
|
|
2665
2751
|
Relationships: [
|
|
2666
2752
|
{
|
|
2667
|
-
foreignKeyName:
|
|
2668
|
-
columns: [
|
|
2753
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
2754
|
+
columns: ['organization_id'];
|
|
2669
2755
|
isOneToOne: false;
|
|
2670
|
-
referencedRelation:
|
|
2671
|
-
referencedColumns: [
|
|
2756
|
+
referencedRelation: 'organizations';
|
|
2757
|
+
referencedColumns: ['id'];
|
|
2672
2758
|
}
|
|
2673
2759
|
];
|
|
2674
2760
|
};
|
|
@@ -2816,17 +2902,17 @@ type Database = {
|
|
|
2816
2902
|
};
|
|
2817
2903
|
};
|
|
2818
2904
|
};
|
|
2819
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
2820
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
2821
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
2905
|
+
type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
|
|
2906
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
|
|
2907
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
|
|
2822
2908
|
schema: keyof DatabaseWithoutInternals;
|
|
2823
2909
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
2824
2910
|
schema: keyof DatabaseWithoutInternals;
|
|
2825
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
2911
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
2826
2912
|
schema: keyof DatabaseWithoutInternals;
|
|
2827
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
2913
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
|
|
2828
2914
|
Row: infer R;
|
|
2829
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
2915
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
|
|
2830
2916
|
Row: infer R;
|
|
2831
2917
|
} ? R : never : never;
|
|
2832
2918
|
|