@elevasis/ui 1.14.3 → 1.14.4
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/{chunk-HGNP6EVB.js → chunk-4J3GVBB7.js} +0 -1
- package/dist/{chunk-Y5CWAXPF.js → chunk-5OJM7FHM.js} +123 -14
- package/dist/{chunk-AMLON3UW.js → chunk-NOGBWAGU.js} +1 -1
- package/dist/{chunk-VPQU5BRN.js → chunk-PMSLNXUS.js} +2 -2
- package/dist/{chunk-LTVTSDWO.js → chunk-RHHWAM22.js} +1 -1
- package/dist/{chunk-BUN337J3.js → chunk-YCOTIVEZ.js} +1 -1
- package/dist/components/index.d.ts +274 -256
- package/dist/components/index.js +7 -7
- package/dist/hooks/index.d.ts +274 -256
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/published.d.ts +274 -256
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +274 -256
- package/dist/index.js +5 -5
- package/dist/initialization/index.d.ts +274 -256
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +1 -1
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +274 -256
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.js +2 -2
- package/dist/supabase/index.d.ts +317 -281
- package/dist/types/index.d.ts +274 -256
- package/package.json +1 -2
package/dist/supabase/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ type Json = string | number | boolean | null | {
|
|
|
5
5
|
} | Json[];
|
|
6
6
|
type Database = {
|
|
7
7
|
__InternalSupabase: {
|
|
8
|
-
PostgrestVersion:
|
|
8
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
9
9
|
};
|
|
10
10
|
public: {
|
|
11
11
|
Tables: {
|
|
@@ -84,11 +84,11 @@ type Database = {
|
|
|
84
84
|
};
|
|
85
85
|
Relationships: [
|
|
86
86
|
{
|
|
87
|
-
foreignKeyName:
|
|
88
|
-
columns: [
|
|
87
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
88
|
+
columns: ['organization_id'];
|
|
89
89
|
isOneToOne: false;
|
|
90
|
-
referencedRelation:
|
|
91
|
-
referencedColumns: [
|
|
90
|
+
referencedRelation: 'organizations';
|
|
91
|
+
referencedColumns: ['id'];
|
|
92
92
|
}
|
|
93
93
|
];
|
|
94
94
|
};
|
|
@@ -173,18 +173,18 @@ type Database = {
|
|
|
173
173
|
};
|
|
174
174
|
Relationships: [
|
|
175
175
|
{
|
|
176
|
-
foreignKeyName:
|
|
177
|
-
columns: [
|
|
176
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
177
|
+
columns: ['company_id'];
|
|
178
178
|
isOneToOne: false;
|
|
179
|
-
referencedRelation:
|
|
180
|
-
referencedColumns: [
|
|
179
|
+
referencedRelation: 'acq_companies';
|
|
180
|
+
referencedColumns: ['id'];
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
foreignKeyName:
|
|
184
|
-
columns: [
|
|
183
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
184
|
+
columns: ['organization_id'];
|
|
185
185
|
isOneToOne: false;
|
|
186
|
-
referencedRelation:
|
|
187
|
-
referencedColumns: [
|
|
186
|
+
referencedRelation: 'organizations';
|
|
187
|
+
referencedColumns: ['id'];
|
|
188
188
|
}
|
|
189
189
|
];
|
|
190
190
|
};
|
|
@@ -221,11 +221,11 @@ type Database = {
|
|
|
221
221
|
};
|
|
222
222
|
Relationships: [
|
|
223
223
|
{
|
|
224
|
-
foreignKeyName:
|
|
225
|
-
columns: [
|
|
224
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
225
|
+
columns: ['organization_id'];
|
|
226
226
|
isOneToOne: false;
|
|
227
|
-
referencedRelation:
|
|
228
|
-
referencedColumns: [
|
|
227
|
+
referencedRelation: 'organizations';
|
|
228
|
+
referencedColumns: ['id'];
|
|
229
229
|
}
|
|
230
230
|
];
|
|
231
231
|
};
|
|
@@ -289,18 +289,18 @@ type Database = {
|
|
|
289
289
|
};
|
|
290
290
|
Relationships: [
|
|
291
291
|
{
|
|
292
|
-
foreignKeyName:
|
|
293
|
-
columns: [
|
|
292
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
293
|
+
columns: ['content_id'];
|
|
294
294
|
isOneToOne: false;
|
|
295
|
-
referencedRelation:
|
|
296
|
-
referencedColumns: [
|
|
295
|
+
referencedRelation: 'acq_content';
|
|
296
|
+
referencedColumns: ['id'];
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
|
-
foreignKeyName:
|
|
300
|
-
columns: [
|
|
299
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
300
|
+
columns: ['organization_id'];
|
|
301
301
|
isOneToOne: false;
|
|
302
|
-
referencedRelation:
|
|
303
|
-
referencedColumns: [
|
|
302
|
+
referencedRelation: 'organizations';
|
|
303
|
+
referencedColumns: ['id'];
|
|
304
304
|
}
|
|
305
305
|
];
|
|
306
306
|
};
|
|
@@ -412,25 +412,25 @@ type Database = {
|
|
|
412
412
|
};
|
|
413
413
|
Relationships: [
|
|
414
414
|
{
|
|
415
|
-
foreignKeyName:
|
|
416
|
-
columns: [
|
|
415
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
416
|
+
columns: ['contact_id'];
|
|
417
417
|
isOneToOne: false;
|
|
418
|
-
referencedRelation:
|
|
419
|
-
referencedColumns: [
|
|
418
|
+
referencedRelation: 'acq_contacts';
|
|
419
|
+
referencedColumns: ['id'];
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
|
-
foreignKeyName:
|
|
423
|
-
columns: [
|
|
422
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
423
|
+
columns: ['organization_id'];
|
|
424
424
|
isOneToOne: false;
|
|
425
|
-
referencedRelation:
|
|
426
|
-
referencedColumns: [
|
|
425
|
+
referencedRelation: 'organizations';
|
|
426
|
+
referencedColumns: ['id'];
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
foreignKeyName:
|
|
430
|
-
columns: [
|
|
429
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
430
|
+
columns: ['source_list_id'];
|
|
431
431
|
isOneToOne: false;
|
|
432
|
-
referencedRelation:
|
|
433
|
-
referencedColumns: [
|
|
432
|
+
referencedRelation: 'acq_lists';
|
|
433
|
+
referencedColumns: ['id'];
|
|
434
434
|
}
|
|
435
435
|
];
|
|
436
436
|
};
|
|
@@ -458,18 +458,18 @@ type Database = {
|
|
|
458
458
|
};
|
|
459
459
|
Relationships: [
|
|
460
460
|
{
|
|
461
|
-
foreignKeyName:
|
|
462
|
-
columns: [
|
|
461
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
462
|
+
columns: ['contact_id'];
|
|
463
463
|
isOneToOne: false;
|
|
464
|
-
referencedRelation:
|
|
465
|
-
referencedColumns: [
|
|
464
|
+
referencedRelation: 'acq_contacts';
|
|
465
|
+
referencedColumns: ['id'];
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
|
-
foreignKeyName:
|
|
469
|
-
columns: [
|
|
468
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
469
|
+
columns: ['list_id'];
|
|
470
470
|
isOneToOne: false;
|
|
471
|
-
referencedRelation:
|
|
472
|
-
referencedColumns: [
|
|
471
|
+
referencedRelation: 'acq_lists';
|
|
472
|
+
referencedColumns: ['id'];
|
|
473
473
|
}
|
|
474
474
|
];
|
|
475
475
|
};
|
|
@@ -518,11 +518,11 @@ type Database = {
|
|
|
518
518
|
};
|
|
519
519
|
Relationships: [
|
|
520
520
|
{
|
|
521
|
-
foreignKeyName:
|
|
522
|
-
columns: [
|
|
521
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
522
|
+
columns: ['organization_id'];
|
|
523
523
|
isOneToOne: false;
|
|
524
|
-
referencedRelation:
|
|
525
|
-
referencedColumns: [
|
|
524
|
+
referencedRelation: 'organizations';
|
|
525
|
+
referencedColumns: ['id'];
|
|
526
526
|
}
|
|
527
527
|
];
|
|
528
528
|
};
|
|
@@ -598,18 +598,18 @@ type Database = {
|
|
|
598
598
|
};
|
|
599
599
|
Relationships: [
|
|
600
600
|
{
|
|
601
|
-
foreignKeyName:
|
|
602
|
-
columns: [
|
|
601
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
602
|
+
columns: ['organization_id'];
|
|
603
603
|
isOneToOne: false;
|
|
604
|
-
referencedRelation:
|
|
605
|
-
referencedColumns: [
|
|
604
|
+
referencedRelation: 'organizations';
|
|
605
|
+
referencedColumns: ['id'];
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
|
-
foreignKeyName:
|
|
609
|
-
columns: [
|
|
608
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
609
|
+
columns: ['seo_page_id'];
|
|
610
610
|
isOneToOne: false;
|
|
611
|
-
referencedRelation:
|
|
612
|
-
referencedColumns: [
|
|
611
|
+
referencedRelation: 'acq_seo_pages';
|
|
612
|
+
referencedColumns: ['id'];
|
|
613
613
|
}
|
|
614
614
|
];
|
|
615
615
|
};
|
|
@@ -685,11 +685,11 @@ type Database = {
|
|
|
685
685
|
};
|
|
686
686
|
Relationships: [
|
|
687
687
|
{
|
|
688
|
-
foreignKeyName:
|
|
689
|
-
columns: [
|
|
688
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
689
|
+
columns: ['organization_id'];
|
|
690
690
|
isOneToOne: false;
|
|
691
|
-
referencedRelation:
|
|
692
|
-
referencedColumns: [
|
|
691
|
+
referencedRelation: 'organizations';
|
|
692
|
+
referencedColumns: ['id'];
|
|
693
693
|
}
|
|
694
694
|
];
|
|
695
695
|
};
|
|
@@ -786,11 +786,11 @@ type Database = {
|
|
|
786
786
|
};
|
|
787
787
|
Relationships: [
|
|
788
788
|
{
|
|
789
|
-
foreignKeyName:
|
|
790
|
-
columns: [
|
|
789
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
790
|
+
columns: ['organization_id'];
|
|
791
791
|
isOneToOne: false;
|
|
792
|
-
referencedRelation:
|
|
793
|
-
referencedColumns: [
|
|
792
|
+
referencedRelation: 'organizations';
|
|
793
|
+
referencedColumns: ['id'];
|
|
794
794
|
}
|
|
795
795
|
];
|
|
796
796
|
};
|
|
@@ -845,11 +845,11 @@ type Database = {
|
|
|
845
845
|
};
|
|
846
846
|
Relationships: [
|
|
847
847
|
{
|
|
848
|
-
foreignKeyName:
|
|
849
|
-
columns: [
|
|
848
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
849
|
+
columns: ['organization_id'];
|
|
850
850
|
isOneToOne: false;
|
|
851
|
-
referencedRelation:
|
|
852
|
-
referencedColumns: [
|
|
851
|
+
referencedRelation: 'organizations';
|
|
852
|
+
referencedColumns: ['id'];
|
|
853
853
|
}
|
|
854
854
|
];
|
|
855
855
|
};
|
|
@@ -880,11 +880,11 @@ type Database = {
|
|
|
880
880
|
};
|
|
881
881
|
Relationships: [
|
|
882
882
|
{
|
|
883
|
-
foreignKeyName:
|
|
884
|
-
columns: [
|
|
883
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
884
|
+
columns: ['organization_id'];
|
|
885
885
|
isOneToOne: false;
|
|
886
|
-
referencedRelation:
|
|
887
|
-
referencedColumns: [
|
|
886
|
+
referencedRelation: 'organizations';
|
|
887
|
+
referencedColumns: ['id'];
|
|
888
888
|
}
|
|
889
889
|
];
|
|
890
890
|
};
|
|
@@ -921,11 +921,11 @@ type Database = {
|
|
|
921
921
|
};
|
|
922
922
|
Relationships: [
|
|
923
923
|
{
|
|
924
|
-
foreignKeyName:
|
|
925
|
-
columns: [
|
|
924
|
+
foreignKeyName: 'calibration_projects_organization_id_fkey';
|
|
925
|
+
columns: ['organization_id'];
|
|
926
926
|
isOneToOne: false;
|
|
927
|
-
referencedRelation:
|
|
928
|
-
referencedColumns: [
|
|
927
|
+
referencedRelation: 'organizations';
|
|
928
|
+
referencedColumns: ['id'];
|
|
929
929
|
}
|
|
930
930
|
];
|
|
931
931
|
};
|
|
@@ -980,18 +980,18 @@ type Database = {
|
|
|
980
980
|
};
|
|
981
981
|
Relationships: [
|
|
982
982
|
{
|
|
983
|
-
foreignKeyName:
|
|
984
|
-
columns: [
|
|
983
|
+
foreignKeyName: 'calibration_runs_organization_id_fkey';
|
|
984
|
+
columns: ['organization_id'];
|
|
985
985
|
isOneToOne: false;
|
|
986
|
-
referencedRelation:
|
|
987
|
-
referencedColumns: [
|
|
986
|
+
referencedRelation: 'organizations';
|
|
987
|
+
referencedColumns: ['id'];
|
|
988
988
|
},
|
|
989
989
|
{
|
|
990
|
-
foreignKeyName:
|
|
991
|
-
columns: [
|
|
990
|
+
foreignKeyName: 'calibration_runs_project_id_fkey';
|
|
991
|
+
columns: ['project_id'];
|
|
992
992
|
isOneToOne: false;
|
|
993
|
-
referencedRelation:
|
|
994
|
-
referencedColumns: [
|
|
993
|
+
referencedRelation: 'calibration_projects';
|
|
994
|
+
referencedColumns: ['id'];
|
|
995
995
|
}
|
|
996
996
|
];
|
|
997
997
|
};
|
|
@@ -1070,25 +1070,25 @@ type Database = {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
Relationships: [
|
|
1072
1072
|
{
|
|
1073
|
-
foreignKeyName:
|
|
1074
|
-
columns: [
|
|
1073
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1074
|
+
columns: ['completed_by'];
|
|
1075
1075
|
isOneToOne: false;
|
|
1076
|
-
referencedRelation:
|
|
1077
|
-
referencedColumns: [
|
|
1076
|
+
referencedRelation: 'users';
|
|
1077
|
+
referencedColumns: ['id'];
|
|
1078
1078
|
},
|
|
1079
1079
|
{
|
|
1080
|
-
foreignKeyName:
|
|
1081
|
-
columns: [
|
|
1080
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1081
|
+
columns: ['organization_id'];
|
|
1082
1082
|
isOneToOne: false;
|
|
1083
|
-
referencedRelation:
|
|
1084
|
-
referencedColumns: [
|
|
1083
|
+
referencedRelation: 'organizations';
|
|
1084
|
+
referencedColumns: ['id'];
|
|
1085
1085
|
},
|
|
1086
1086
|
{
|
|
1087
|
-
foreignKeyName:
|
|
1088
|
-
columns: [
|
|
1087
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1088
|
+
columns: ['target_execution_id'];
|
|
1089
1089
|
isOneToOne: false;
|
|
1090
|
-
referencedRelation:
|
|
1091
|
-
referencedColumns: [
|
|
1090
|
+
referencedRelation: 'execution_logs';
|
|
1091
|
+
referencedColumns: ['execution_id'];
|
|
1092
1092
|
}
|
|
1093
1093
|
];
|
|
1094
1094
|
};
|
|
@@ -1128,95 +1128,104 @@ type Database = {
|
|
|
1128
1128
|
};
|
|
1129
1129
|
Relationships: [
|
|
1130
1130
|
{
|
|
1131
|
-
foreignKeyName:
|
|
1132
|
-
columns: [
|
|
1131
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1132
|
+
columns: ['created_by'];
|
|
1133
1133
|
isOneToOne: false;
|
|
1134
|
-
referencedRelation:
|
|
1135
|
-
referencedColumns: [
|
|
1134
|
+
referencedRelation: 'users';
|
|
1135
|
+
referencedColumns: ['id'];
|
|
1136
1136
|
},
|
|
1137
1137
|
{
|
|
1138
|
-
foreignKeyName:
|
|
1139
|
-
columns: [
|
|
1138
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1139
|
+
columns: ['organization_id'];
|
|
1140
1140
|
isOneToOne: false;
|
|
1141
|
-
referencedRelation:
|
|
1142
|
-
referencedColumns: [
|
|
1141
|
+
referencedRelation: 'organizations';
|
|
1142
|
+
referencedColumns: ['id'];
|
|
1143
1143
|
}
|
|
1144
1144
|
];
|
|
1145
1145
|
};
|
|
1146
|
-
|
|
1146
|
+
prj_tasks: {
|
|
1147
1147
|
Row: {
|
|
1148
|
+
checklist: Json | null;
|
|
1148
1149
|
completed_at: string | null;
|
|
1149
1150
|
created_at: string;
|
|
1150
1151
|
description: string | null;
|
|
1151
1152
|
due_date: string | null;
|
|
1152
|
-
engagement_id: string;
|
|
1153
1153
|
file_url: string | null;
|
|
1154
1154
|
id: string;
|
|
1155
1155
|
metadata: Json | null;
|
|
1156
1156
|
milestone_id: string | null;
|
|
1157
1157
|
name: string;
|
|
1158
1158
|
organization_id: string;
|
|
1159
|
+
parent_task_id: string | null;
|
|
1160
|
+
project_id: string;
|
|
1161
|
+
resume_context: Json | null;
|
|
1159
1162
|
status: string;
|
|
1160
1163
|
type: string;
|
|
1161
1164
|
updated_at: string;
|
|
1162
1165
|
};
|
|
1163
1166
|
Insert: {
|
|
1167
|
+
checklist?: Json | null;
|
|
1164
1168
|
completed_at?: string | null;
|
|
1165
1169
|
created_at?: string;
|
|
1166
1170
|
description?: string | null;
|
|
1167
1171
|
due_date?: string | null;
|
|
1168
|
-
engagement_id: string;
|
|
1169
1172
|
file_url?: string | null;
|
|
1170
1173
|
id?: string;
|
|
1171
1174
|
metadata?: Json | null;
|
|
1172
1175
|
milestone_id?: string | null;
|
|
1173
1176
|
name: string;
|
|
1174
1177
|
organization_id: string;
|
|
1178
|
+
parent_task_id?: string | null;
|
|
1179
|
+
project_id: string;
|
|
1180
|
+
resume_context?: Json | null;
|
|
1175
1181
|
status?: string;
|
|
1176
1182
|
type?: string;
|
|
1177
1183
|
updated_at?: string;
|
|
1178
1184
|
};
|
|
1179
1185
|
Update: {
|
|
1186
|
+
checklist?: Json | null;
|
|
1180
1187
|
completed_at?: string | null;
|
|
1181
1188
|
created_at?: string;
|
|
1182
1189
|
description?: string | null;
|
|
1183
1190
|
due_date?: string | null;
|
|
1184
|
-
engagement_id?: string;
|
|
1185
1191
|
file_url?: string | null;
|
|
1186
1192
|
id?: string;
|
|
1187
1193
|
metadata?: Json | null;
|
|
1188
1194
|
milestone_id?: string | null;
|
|
1189
1195
|
name?: string;
|
|
1190
1196
|
organization_id?: string;
|
|
1197
|
+
parent_task_id?: string | null;
|
|
1198
|
+
project_id?: string;
|
|
1199
|
+
resume_context?: Json | null;
|
|
1191
1200
|
status?: string;
|
|
1192
1201
|
type?: string;
|
|
1193
1202
|
updated_at?: string;
|
|
1194
1203
|
};
|
|
1195
1204
|
Relationships: [
|
|
1196
1205
|
{
|
|
1197
|
-
foreignKeyName:
|
|
1198
|
-
columns: [
|
|
1206
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
1207
|
+
columns: ['project_id'];
|
|
1199
1208
|
isOneToOne: false;
|
|
1200
|
-
referencedRelation:
|
|
1201
|
-
referencedColumns: [
|
|
1209
|
+
referencedRelation: 'prj_projects';
|
|
1210
|
+
referencedColumns: ['id'];
|
|
1202
1211
|
},
|
|
1203
1212
|
{
|
|
1204
|
-
foreignKeyName:
|
|
1205
|
-
columns: [
|
|
1213
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
1214
|
+
columns: ['milestone_id'];
|
|
1206
1215
|
isOneToOne: false;
|
|
1207
|
-
referencedRelation:
|
|
1208
|
-
referencedColumns: [
|
|
1216
|
+
referencedRelation: 'prj_milestones';
|
|
1217
|
+
referencedColumns: ['id'];
|
|
1209
1218
|
},
|
|
1210
1219
|
{
|
|
1211
|
-
foreignKeyName:
|
|
1212
|
-
columns: [
|
|
1220
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
1221
|
+
columns: ['organization_id'];
|
|
1213
1222
|
isOneToOne: false;
|
|
1214
|
-
referencedRelation:
|
|
1215
|
-
referencedColumns: [
|
|
1223
|
+
referencedRelation: 'organizations';
|
|
1224
|
+
referencedColumns: ['id'];
|
|
1216
1225
|
}
|
|
1217
1226
|
];
|
|
1218
1227
|
};
|
|
1219
|
-
|
|
1228
|
+
prj_projects: {
|
|
1220
1229
|
Row: {
|
|
1221
1230
|
actual_end_date: string | null;
|
|
1222
1231
|
client_company_id: string | null;
|
|
@@ -1225,6 +1234,7 @@ type Database = {
|
|
|
1225
1234
|
deal_id: string | null;
|
|
1226
1235
|
description: string | null;
|
|
1227
1236
|
id: string;
|
|
1237
|
+
kind: string;
|
|
1228
1238
|
metadata: Json | null;
|
|
1229
1239
|
name: string;
|
|
1230
1240
|
organization_id: string;
|
|
@@ -1241,6 +1251,7 @@ type Database = {
|
|
|
1241
1251
|
deal_id?: string | null;
|
|
1242
1252
|
description?: string | null;
|
|
1243
1253
|
id?: string;
|
|
1254
|
+
kind?: string;
|
|
1244
1255
|
metadata?: Json | null;
|
|
1245
1256
|
name: string;
|
|
1246
1257
|
organization_id: string;
|
|
@@ -1257,6 +1268,7 @@ type Database = {
|
|
|
1257
1268
|
deal_id?: string | null;
|
|
1258
1269
|
description?: string | null;
|
|
1259
1270
|
id?: string;
|
|
1271
|
+
kind?: string;
|
|
1260
1272
|
metadata?: Json | null;
|
|
1261
1273
|
name?: string;
|
|
1262
1274
|
organization_id?: string;
|
|
@@ -1267,40 +1279,40 @@ type Database = {
|
|
|
1267
1279
|
};
|
|
1268
1280
|
Relationships: [
|
|
1269
1281
|
{
|
|
1270
|
-
foreignKeyName:
|
|
1271
|
-
columns: [
|
|
1282
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
1283
|
+
columns: ['client_company_id'];
|
|
1272
1284
|
isOneToOne: false;
|
|
1273
|
-
referencedRelation:
|
|
1274
|
-
referencedColumns: [
|
|
1285
|
+
referencedRelation: 'acq_companies';
|
|
1286
|
+
referencedColumns: ['id'];
|
|
1275
1287
|
},
|
|
1276
1288
|
{
|
|
1277
|
-
foreignKeyName:
|
|
1278
|
-
columns: [
|
|
1289
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
1290
|
+
columns: ['deal_id'];
|
|
1279
1291
|
isOneToOne: false;
|
|
1280
|
-
referencedRelation:
|
|
1281
|
-
referencedColumns: [
|
|
1292
|
+
referencedRelation: 'acq_deals';
|
|
1293
|
+
referencedColumns: ['id'];
|
|
1282
1294
|
},
|
|
1283
1295
|
{
|
|
1284
|
-
foreignKeyName:
|
|
1285
|
-
columns: [
|
|
1296
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
1297
|
+
columns: ['organization_id'];
|
|
1286
1298
|
isOneToOne: false;
|
|
1287
|
-
referencedRelation:
|
|
1288
|
-
referencedColumns: [
|
|
1299
|
+
referencedRelation: 'organizations';
|
|
1300
|
+
referencedColumns: ['id'];
|
|
1289
1301
|
}
|
|
1290
1302
|
];
|
|
1291
1303
|
};
|
|
1292
|
-
|
|
1304
|
+
prj_milestones: {
|
|
1293
1305
|
Row: {
|
|
1294
1306
|
checklist: Json | null;
|
|
1295
1307
|
completed_at: string | null;
|
|
1296
1308
|
created_at: string;
|
|
1297
1309
|
description: string | null;
|
|
1298
1310
|
due_date: string | null;
|
|
1299
|
-
engagement_id: string;
|
|
1300
1311
|
id: string;
|
|
1301
1312
|
metadata: Json | null;
|
|
1302
1313
|
name: string;
|
|
1303
1314
|
organization_id: string;
|
|
1315
|
+
project_id: string;
|
|
1304
1316
|
sequence: number;
|
|
1305
1317
|
status: string;
|
|
1306
1318
|
updated_at: string;
|
|
@@ -1311,11 +1323,11 @@ type Database = {
|
|
|
1311
1323
|
created_at?: string;
|
|
1312
1324
|
description?: string | null;
|
|
1313
1325
|
due_date?: string | null;
|
|
1314
|
-
engagement_id: string;
|
|
1315
1326
|
id?: string;
|
|
1316
1327
|
metadata?: Json | null;
|
|
1317
1328
|
name: string;
|
|
1318
1329
|
organization_id: string;
|
|
1330
|
+
project_id: string;
|
|
1319
1331
|
sequence?: number;
|
|
1320
1332
|
status?: string;
|
|
1321
1333
|
updated_at?: string;
|
|
@@ -1326,90 +1338,96 @@ type Database = {
|
|
|
1326
1338
|
created_at?: string;
|
|
1327
1339
|
description?: string | null;
|
|
1328
1340
|
due_date?: string | null;
|
|
1329
|
-
engagement_id?: string;
|
|
1330
1341
|
id?: string;
|
|
1331
1342
|
metadata?: Json | null;
|
|
1332
1343
|
name?: string;
|
|
1333
1344
|
organization_id?: string;
|
|
1345
|
+
project_id?: string;
|
|
1334
1346
|
sequence?: number;
|
|
1335
1347
|
status?: string;
|
|
1336
1348
|
updated_at?: string;
|
|
1337
1349
|
};
|
|
1338
1350
|
Relationships: [
|
|
1339
1351
|
{
|
|
1340
|
-
foreignKeyName:
|
|
1341
|
-
columns: [
|
|
1352
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
1353
|
+
columns: ['project_id'];
|
|
1342
1354
|
isOneToOne: false;
|
|
1343
|
-
referencedRelation:
|
|
1344
|
-
referencedColumns: [
|
|
1355
|
+
referencedRelation: 'prj_projects';
|
|
1356
|
+
referencedColumns: ['id'];
|
|
1345
1357
|
},
|
|
1346
1358
|
{
|
|
1347
|
-
foreignKeyName:
|
|
1348
|
-
columns: [
|
|
1359
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
1360
|
+
columns: ['organization_id'];
|
|
1349
1361
|
isOneToOne: false;
|
|
1350
|
-
referencedRelation:
|
|
1351
|
-
referencedColumns: [
|
|
1362
|
+
referencedRelation: 'organizations';
|
|
1363
|
+
referencedColumns: ['id'];
|
|
1352
1364
|
}
|
|
1353
1365
|
];
|
|
1354
1366
|
};
|
|
1355
|
-
|
|
1367
|
+
prj_notes: {
|
|
1356
1368
|
Row: {
|
|
1357
1369
|
content: string;
|
|
1358
1370
|
created_at: string;
|
|
1359
1371
|
created_by: string | null;
|
|
1360
|
-
engagement_id: string;
|
|
1361
1372
|
id: string;
|
|
1362
1373
|
metadata: Json | null;
|
|
1374
|
+
milestone_id: string | null;
|
|
1363
1375
|
occurred_at: string;
|
|
1364
1376
|
organization_id: string;
|
|
1377
|
+
project_id: string;
|
|
1365
1378
|
summary: string | null;
|
|
1379
|
+
task_id: string | null;
|
|
1366
1380
|
type: string;
|
|
1367
1381
|
};
|
|
1368
1382
|
Insert: {
|
|
1369
1383
|
content: string;
|
|
1370
1384
|
created_at?: string;
|
|
1371
1385
|
created_by?: string | null;
|
|
1372
|
-
engagement_id: string;
|
|
1373
1386
|
id?: string;
|
|
1374
1387
|
metadata?: Json | null;
|
|
1388
|
+
milestone_id?: string | null;
|
|
1375
1389
|
occurred_at?: string;
|
|
1376
1390
|
organization_id: string;
|
|
1391
|
+
project_id: string;
|
|
1377
1392
|
summary?: string | null;
|
|
1393
|
+
task_id?: string | null;
|
|
1378
1394
|
type?: string;
|
|
1379
1395
|
};
|
|
1380
1396
|
Update: {
|
|
1381
1397
|
content?: string;
|
|
1382
1398
|
created_at?: string;
|
|
1383
1399
|
created_by?: string | null;
|
|
1384
|
-
engagement_id?: string;
|
|
1385
1400
|
id?: string;
|
|
1386
1401
|
metadata?: Json | null;
|
|
1402
|
+
milestone_id?: string | null;
|
|
1387
1403
|
occurred_at?: string;
|
|
1388
1404
|
organization_id?: string;
|
|
1405
|
+
project_id?: string;
|
|
1389
1406
|
summary?: string | null;
|
|
1407
|
+
task_id?: string | null;
|
|
1390
1408
|
type?: string;
|
|
1391
1409
|
};
|
|
1392
1410
|
Relationships: [
|
|
1393
1411
|
{
|
|
1394
|
-
foreignKeyName:
|
|
1395
|
-
columns: [
|
|
1412
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
1413
|
+
columns: ['created_by'];
|
|
1396
1414
|
isOneToOne: false;
|
|
1397
|
-
referencedRelation:
|
|
1398
|
-
referencedColumns: [
|
|
1415
|
+
referencedRelation: 'users';
|
|
1416
|
+
referencedColumns: ['id'];
|
|
1399
1417
|
},
|
|
1400
1418
|
{
|
|
1401
|
-
foreignKeyName:
|
|
1402
|
-
columns: [
|
|
1419
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
1420
|
+
columns: ['project_id'];
|
|
1403
1421
|
isOneToOne: false;
|
|
1404
|
-
referencedRelation:
|
|
1405
|
-
referencedColumns: [
|
|
1422
|
+
referencedRelation: 'prj_projects';
|
|
1423
|
+
referencedColumns: ['id'];
|
|
1406
1424
|
},
|
|
1407
1425
|
{
|
|
1408
|
-
foreignKeyName:
|
|
1409
|
-
columns: [
|
|
1426
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
1427
|
+
columns: ['organization_id'];
|
|
1410
1428
|
isOneToOne: false;
|
|
1411
|
-
referencedRelation:
|
|
1412
|
-
referencedColumns: [
|
|
1429
|
+
referencedRelation: 'organizations';
|
|
1430
|
+
referencedColumns: ['id'];
|
|
1413
1431
|
}
|
|
1414
1432
|
];
|
|
1415
1433
|
};
|
|
@@ -1461,11 +1479,11 @@ type Database = {
|
|
|
1461
1479
|
};
|
|
1462
1480
|
Relationships: [
|
|
1463
1481
|
{
|
|
1464
|
-
foreignKeyName:
|
|
1465
|
-
columns: [
|
|
1482
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1483
|
+
columns: ['organization_id'];
|
|
1466
1484
|
isOneToOne: false;
|
|
1467
|
-
referencedRelation:
|
|
1468
|
-
referencedColumns: [
|
|
1485
|
+
referencedRelation: 'organizations';
|
|
1486
|
+
referencedColumns: ['id'];
|
|
1469
1487
|
}
|
|
1470
1488
|
];
|
|
1471
1489
|
};
|
|
@@ -1520,25 +1538,25 @@ type Database = {
|
|
|
1520
1538
|
};
|
|
1521
1539
|
Relationships: [
|
|
1522
1540
|
{
|
|
1523
|
-
foreignKeyName:
|
|
1524
|
-
columns: [
|
|
1541
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
1542
|
+
columns: ['execution_id'];
|
|
1525
1543
|
isOneToOne: false;
|
|
1526
|
-
referencedRelation:
|
|
1527
|
-
referencedColumns: [
|
|
1544
|
+
referencedRelation: 'execution_logs';
|
|
1545
|
+
referencedColumns: ['execution_id'];
|
|
1528
1546
|
},
|
|
1529
1547
|
{
|
|
1530
|
-
foreignKeyName:
|
|
1531
|
-
columns: [
|
|
1548
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
1549
|
+
columns: ['organization_id'];
|
|
1532
1550
|
isOneToOne: false;
|
|
1533
|
-
referencedRelation:
|
|
1534
|
-
referencedColumns: [
|
|
1551
|
+
referencedRelation: 'organizations';
|
|
1552
|
+
referencedColumns: ['id'];
|
|
1535
1553
|
},
|
|
1536
1554
|
{
|
|
1537
|
-
foreignKeyName:
|
|
1538
|
-
columns: [
|
|
1555
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
1556
|
+
columns: ['resolved_by'];
|
|
1539
1557
|
isOneToOne: false;
|
|
1540
|
-
referencedRelation:
|
|
1541
|
-
referencedColumns: [
|
|
1558
|
+
referencedRelation: 'users';
|
|
1559
|
+
referencedColumns: ['id'];
|
|
1542
1560
|
}
|
|
1543
1561
|
];
|
|
1544
1562
|
};
|
|
@@ -1620,32 +1638,32 @@ type Database = {
|
|
|
1620
1638
|
};
|
|
1621
1639
|
Relationships: [
|
|
1622
1640
|
{
|
|
1623
|
-
foreignKeyName:
|
|
1624
|
-
columns: [
|
|
1641
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
1642
|
+
columns: ['organization_id'];
|
|
1625
1643
|
isOneToOne: false;
|
|
1626
|
-
referencedRelation:
|
|
1627
|
-
referencedColumns: [
|
|
1644
|
+
referencedRelation: 'organizations';
|
|
1645
|
+
referencedColumns: ['id'];
|
|
1628
1646
|
},
|
|
1629
1647
|
{
|
|
1630
|
-
foreignKeyName:
|
|
1631
|
-
columns: [
|
|
1648
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
1649
|
+
columns: ['origin_execution_id'];
|
|
1632
1650
|
isOneToOne: false;
|
|
1633
|
-
referencedRelation:
|
|
1634
|
-
referencedColumns: [
|
|
1651
|
+
referencedRelation: 'execution_logs';
|
|
1652
|
+
referencedColumns: ['execution_id'];
|
|
1635
1653
|
},
|
|
1636
1654
|
{
|
|
1637
|
-
foreignKeyName:
|
|
1638
|
-
columns: [
|
|
1655
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
1656
|
+
columns: ['session_id'];
|
|
1639
1657
|
isOneToOne: false;
|
|
1640
|
-
referencedRelation:
|
|
1641
|
-
referencedColumns: [
|
|
1658
|
+
referencedRelation: 'sessions';
|
|
1659
|
+
referencedColumns: ['session_id'];
|
|
1642
1660
|
},
|
|
1643
1661
|
{
|
|
1644
|
-
foreignKeyName:
|
|
1645
|
-
columns: [
|
|
1662
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
1663
|
+
columns: ['user_id'];
|
|
1646
1664
|
isOneToOne: false;
|
|
1647
|
-
referencedRelation:
|
|
1648
|
-
referencedColumns: [
|
|
1665
|
+
referencedRelation: 'users';
|
|
1666
|
+
referencedColumns: ['id'];
|
|
1649
1667
|
}
|
|
1650
1668
|
];
|
|
1651
1669
|
};
|
|
@@ -1691,18 +1709,18 @@ type Database = {
|
|
|
1691
1709
|
};
|
|
1692
1710
|
Relationships: [
|
|
1693
1711
|
{
|
|
1694
|
-
foreignKeyName:
|
|
1695
|
-
columns: [
|
|
1712
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
1713
|
+
columns: ['execution_id'];
|
|
1696
1714
|
isOneToOne: true;
|
|
1697
|
-
referencedRelation:
|
|
1698
|
-
referencedColumns: [
|
|
1715
|
+
referencedRelation: 'execution_logs';
|
|
1716
|
+
referencedColumns: ['execution_id'];
|
|
1699
1717
|
},
|
|
1700
1718
|
{
|
|
1701
|
-
foreignKeyName:
|
|
1702
|
-
columns: [
|
|
1719
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
1720
|
+
columns: ['organization_id'];
|
|
1703
1721
|
isOneToOne: false;
|
|
1704
|
-
referencedRelation:
|
|
1705
|
-
referencedColumns: [
|
|
1722
|
+
referencedRelation: 'organizations';
|
|
1723
|
+
referencedColumns: ['id'];
|
|
1706
1724
|
}
|
|
1707
1725
|
];
|
|
1708
1726
|
};
|
|
@@ -1745,18 +1763,18 @@ type Database = {
|
|
|
1745
1763
|
};
|
|
1746
1764
|
Relationships: [
|
|
1747
1765
|
{
|
|
1748
|
-
foreignKeyName:
|
|
1749
|
-
columns: [
|
|
1766
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
1767
|
+
columns: ['organization_id'];
|
|
1750
1768
|
isOneToOne: false;
|
|
1751
|
-
referencedRelation:
|
|
1752
|
-
referencedColumns: [
|
|
1769
|
+
referencedRelation: 'organizations';
|
|
1770
|
+
referencedColumns: ['id'];
|
|
1753
1771
|
},
|
|
1754
1772
|
{
|
|
1755
|
-
foreignKeyName:
|
|
1756
|
-
columns: [
|
|
1773
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
1774
|
+
columns: ['user_id'];
|
|
1757
1775
|
isOneToOne: false;
|
|
1758
|
-
referencedRelation:
|
|
1759
|
-
referencedColumns: [
|
|
1776
|
+
referencedRelation: 'users';
|
|
1777
|
+
referencedColumns: ['id'];
|
|
1760
1778
|
}
|
|
1761
1779
|
];
|
|
1762
1780
|
};
|
|
@@ -1811,18 +1829,18 @@ type Database = {
|
|
|
1811
1829
|
};
|
|
1812
1830
|
Relationships: [
|
|
1813
1831
|
{
|
|
1814
|
-
foreignKeyName:
|
|
1815
|
-
columns: [
|
|
1832
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
1833
|
+
columns: ['inviter_user_id'];
|
|
1816
1834
|
isOneToOne: false;
|
|
1817
|
-
referencedRelation:
|
|
1818
|
-
referencedColumns: [
|
|
1835
|
+
referencedRelation: 'users';
|
|
1836
|
+
referencedColumns: ['id'];
|
|
1819
1837
|
},
|
|
1820
1838
|
{
|
|
1821
|
-
foreignKeyName:
|
|
1822
|
-
columns: [
|
|
1839
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
1840
|
+
columns: ['organization_id'];
|
|
1823
1841
|
isOneToOne: false;
|
|
1824
|
-
referencedRelation:
|
|
1825
|
-
referencedColumns: [
|
|
1842
|
+
referencedRelation: 'organizations';
|
|
1843
|
+
referencedColumns: ['id'];
|
|
1826
1844
|
}
|
|
1827
1845
|
];
|
|
1828
1846
|
};
|
|
@@ -1862,18 +1880,18 @@ type Database = {
|
|
|
1862
1880
|
};
|
|
1863
1881
|
Relationships: [
|
|
1864
1882
|
{
|
|
1865
|
-
foreignKeyName:
|
|
1866
|
-
columns: [
|
|
1883
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
1884
|
+
columns: ['organization_id'];
|
|
1867
1885
|
isOneToOne: false;
|
|
1868
|
-
referencedRelation:
|
|
1869
|
-
referencedColumns: [
|
|
1886
|
+
referencedRelation: 'organizations';
|
|
1887
|
+
referencedColumns: ['id'];
|
|
1870
1888
|
},
|
|
1871
1889
|
{
|
|
1872
|
-
foreignKeyName:
|
|
1873
|
-
columns: [
|
|
1890
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
1891
|
+
columns: ['user_id'];
|
|
1874
1892
|
isOneToOne: false;
|
|
1875
|
-
referencedRelation:
|
|
1876
|
-
referencedColumns: [
|
|
1893
|
+
referencedRelation: 'users';
|
|
1894
|
+
referencedColumns: ['id'];
|
|
1877
1895
|
}
|
|
1878
1896
|
];
|
|
1879
1897
|
};
|
|
@@ -1949,11 +1967,11 @@ type Database = {
|
|
|
1949
1967
|
};
|
|
1950
1968
|
Relationships: [
|
|
1951
1969
|
{
|
|
1952
|
-
foreignKeyName:
|
|
1953
|
-
columns: [
|
|
1970
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
1971
|
+
columns: ['session_id'];
|
|
1954
1972
|
isOneToOne: false;
|
|
1955
|
-
referencedRelation:
|
|
1956
|
-
referencedColumns: [
|
|
1973
|
+
referencedRelation: 'sessions';
|
|
1974
|
+
referencedColumns: ['session_id'];
|
|
1957
1975
|
}
|
|
1958
1976
|
];
|
|
1959
1977
|
};
|
|
@@ -2008,18 +2026,18 @@ type Database = {
|
|
|
2008
2026
|
};
|
|
2009
2027
|
Relationships: [
|
|
2010
2028
|
{
|
|
2011
|
-
foreignKeyName:
|
|
2012
|
-
columns: [
|
|
2029
|
+
foreignKeyName: 'fk_organization';
|
|
2030
|
+
columns: ['organization_id'];
|
|
2013
2031
|
isOneToOne: false;
|
|
2014
|
-
referencedRelation:
|
|
2015
|
-
referencedColumns: [
|
|
2032
|
+
referencedRelation: 'organizations';
|
|
2033
|
+
referencedColumns: ['id'];
|
|
2016
2034
|
},
|
|
2017
2035
|
{
|
|
2018
|
-
foreignKeyName:
|
|
2019
|
-
columns: [
|
|
2036
|
+
foreignKeyName: 'fk_user';
|
|
2037
|
+
columns: ['user_id'];
|
|
2020
2038
|
isOneToOne: false;
|
|
2021
|
-
referencedRelation:
|
|
2022
|
-
referencedColumns: [
|
|
2039
|
+
referencedRelation: 'users';
|
|
2040
|
+
referencedColumns: ['id'];
|
|
2023
2041
|
}
|
|
2024
2042
|
];
|
|
2025
2043
|
};
|
|
@@ -2095,11 +2113,11 @@ type Database = {
|
|
|
2095
2113
|
};
|
|
2096
2114
|
Relationships: [
|
|
2097
2115
|
{
|
|
2098
|
-
foreignKeyName:
|
|
2099
|
-
columns: [
|
|
2116
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
2117
|
+
columns: ['organization_id'];
|
|
2100
2118
|
isOneToOne: false;
|
|
2101
|
-
referencedRelation:
|
|
2102
|
-
referencedColumns: [
|
|
2119
|
+
referencedRelation: 'organizations';
|
|
2120
|
+
referencedColumns: ['id'];
|
|
2103
2121
|
}
|
|
2104
2122
|
];
|
|
2105
2123
|
};
|
|
@@ -2154,11 +2172,11 @@ type Database = {
|
|
|
2154
2172
|
};
|
|
2155
2173
|
Relationships: [
|
|
2156
2174
|
{
|
|
2157
|
-
foreignKeyName:
|
|
2158
|
-
columns: [
|
|
2175
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
2176
|
+
columns: ['last_visited_org'];
|
|
2159
2177
|
isOneToOne: false;
|
|
2160
|
-
referencedRelation:
|
|
2161
|
-
referencedColumns: [
|
|
2178
|
+
referencedRelation: 'organizations';
|
|
2179
|
+
referencedColumns: ['id'];
|
|
2162
2180
|
}
|
|
2163
2181
|
];
|
|
2164
2182
|
};
|
|
@@ -2204,11 +2222,11 @@ type Database = {
|
|
|
2204
2222
|
};
|
|
2205
2223
|
Relationships: [
|
|
2206
2224
|
{
|
|
2207
|
-
foreignKeyName:
|
|
2208
|
-
columns: [
|
|
2225
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
2226
|
+
columns: ['organization_id'];
|
|
2209
2227
|
isOneToOne: false;
|
|
2210
|
-
referencedRelation:
|
|
2211
|
-
referencedColumns: [
|
|
2228
|
+
referencedRelation: 'organizations';
|
|
2229
|
+
referencedColumns: ['id'];
|
|
2212
2230
|
}
|
|
2213
2231
|
];
|
|
2214
2232
|
};
|
|
@@ -3424,76 +3442,85 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3424
3442
|
referencedColumns: ["id"];
|
|
3425
3443
|
}];
|
|
3426
3444
|
};
|
|
3427
|
-
|
|
3445
|
+
prj_tasks: {
|
|
3428
3446
|
Row: {
|
|
3447
|
+
checklist: Json | null;
|
|
3429
3448
|
completed_at: string | null;
|
|
3430
3449
|
created_at: string;
|
|
3431
3450
|
description: string | null;
|
|
3432
3451
|
due_date: string | null;
|
|
3433
|
-
engagement_id: string;
|
|
3434
3452
|
file_url: string | null;
|
|
3435
3453
|
id: string;
|
|
3436
3454
|
metadata: Json | null;
|
|
3437
3455
|
milestone_id: string | null;
|
|
3438
3456
|
name: string;
|
|
3439
3457
|
organization_id: string;
|
|
3458
|
+
parent_task_id: string | null;
|
|
3459
|
+
project_id: string;
|
|
3460
|
+
resume_context: Json | null;
|
|
3440
3461
|
status: string;
|
|
3441
3462
|
type: string;
|
|
3442
3463
|
updated_at: string;
|
|
3443
3464
|
};
|
|
3444
3465
|
Insert: {
|
|
3466
|
+
checklist?: Json | null;
|
|
3445
3467
|
completed_at?: string | null;
|
|
3446
3468
|
created_at?: string;
|
|
3447
3469
|
description?: string | null;
|
|
3448
3470
|
due_date?: string | null;
|
|
3449
|
-
engagement_id: string;
|
|
3450
3471
|
file_url?: string | null;
|
|
3451
3472
|
id?: string;
|
|
3452
3473
|
metadata?: Json | null;
|
|
3453
3474
|
milestone_id?: string | null;
|
|
3454
3475
|
name: string;
|
|
3455
3476
|
organization_id: string;
|
|
3477
|
+
parent_task_id?: string | null;
|
|
3478
|
+
project_id: string;
|
|
3479
|
+
resume_context?: Json | null;
|
|
3456
3480
|
status?: string;
|
|
3457
3481
|
type?: string;
|
|
3458
3482
|
updated_at?: string;
|
|
3459
3483
|
};
|
|
3460
3484
|
Update: {
|
|
3485
|
+
checklist?: Json | null;
|
|
3461
3486
|
completed_at?: string | null;
|
|
3462
3487
|
created_at?: string;
|
|
3463
3488
|
description?: string | null;
|
|
3464
3489
|
due_date?: string | null;
|
|
3465
|
-
engagement_id?: string;
|
|
3466
3490
|
file_url?: string | null;
|
|
3467
3491
|
id?: string;
|
|
3468
3492
|
metadata?: Json | null;
|
|
3469
3493
|
milestone_id?: string | null;
|
|
3470
3494
|
name?: string;
|
|
3471
3495
|
organization_id?: string;
|
|
3496
|
+
parent_task_id?: string | null;
|
|
3497
|
+
project_id?: string;
|
|
3498
|
+
resume_context?: Json | null;
|
|
3472
3499
|
status?: string;
|
|
3473
3500
|
type?: string;
|
|
3474
3501
|
updated_at?: string;
|
|
3475
3502
|
};
|
|
3476
3503
|
Relationships: [{
|
|
3477
|
-
foreignKeyName: "
|
|
3478
|
-
columns: ["
|
|
3504
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
3505
|
+
columns: ["project_id"];
|
|
3479
3506
|
isOneToOne: false;
|
|
3480
|
-
referencedRelation: "
|
|
3507
|
+
referencedRelation: "prj_projects";
|
|
3481
3508
|
referencedColumns: ["id"];
|
|
3482
3509
|
}, {
|
|
3483
|
-
foreignKeyName: "
|
|
3510
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
3484
3511
|
columns: ["milestone_id"];
|
|
3485
3512
|
isOneToOne: false;
|
|
3486
|
-
referencedRelation: "
|
|
3513
|
+
referencedRelation: "prj_milestones";
|
|
3487
3514
|
referencedColumns: ["id"];
|
|
3488
3515
|
}, {
|
|
3489
|
-
foreignKeyName: "
|
|
3516
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
3490
3517
|
columns: ["organization_id"];
|
|
3491
3518
|
isOneToOne: false;
|
|
3492
3519
|
referencedRelation: "organizations";
|
|
3493
3520
|
referencedColumns: ["id"];
|
|
3494
3521
|
}];
|
|
3495
3522
|
};
|
|
3496
|
-
|
|
3523
|
+
prj_projects: {
|
|
3497
3524
|
Row: {
|
|
3498
3525
|
actual_end_date: string | null;
|
|
3499
3526
|
client_company_id: string | null;
|
|
@@ -3502,6 +3529,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3502
3529
|
deal_id: string | null;
|
|
3503
3530
|
description: string | null;
|
|
3504
3531
|
id: string;
|
|
3532
|
+
kind: string;
|
|
3505
3533
|
metadata: Json | null;
|
|
3506
3534
|
name: string;
|
|
3507
3535
|
organization_id: string;
|
|
@@ -3518,6 +3546,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3518
3546
|
deal_id?: string | null;
|
|
3519
3547
|
description?: string | null;
|
|
3520
3548
|
id?: string;
|
|
3549
|
+
kind?: string;
|
|
3521
3550
|
metadata?: Json | null;
|
|
3522
3551
|
name: string;
|
|
3523
3552
|
organization_id: string;
|
|
@@ -3534,6 +3563,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3534
3563
|
deal_id?: string | null;
|
|
3535
3564
|
description?: string | null;
|
|
3536
3565
|
id?: string;
|
|
3566
|
+
kind?: string;
|
|
3537
3567
|
metadata?: Json | null;
|
|
3538
3568
|
name?: string;
|
|
3539
3569
|
organization_id?: string;
|
|
@@ -3543,37 +3573,37 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3543
3573
|
updated_at?: string;
|
|
3544
3574
|
};
|
|
3545
3575
|
Relationships: [{
|
|
3546
|
-
foreignKeyName: "
|
|
3576
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
3547
3577
|
columns: ["client_company_id"];
|
|
3548
3578
|
isOneToOne: false;
|
|
3549
3579
|
referencedRelation: "acq_companies";
|
|
3550
3580
|
referencedColumns: ["id"];
|
|
3551
3581
|
}, {
|
|
3552
|
-
foreignKeyName: "
|
|
3582
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
3553
3583
|
columns: ["deal_id"];
|
|
3554
3584
|
isOneToOne: false;
|
|
3555
3585
|
referencedRelation: "acq_deals";
|
|
3556
3586
|
referencedColumns: ["id"];
|
|
3557
3587
|
}, {
|
|
3558
|
-
foreignKeyName: "
|
|
3588
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
3559
3589
|
columns: ["organization_id"];
|
|
3560
3590
|
isOneToOne: false;
|
|
3561
3591
|
referencedRelation: "organizations";
|
|
3562
3592
|
referencedColumns: ["id"];
|
|
3563
3593
|
}];
|
|
3564
3594
|
};
|
|
3565
|
-
|
|
3595
|
+
prj_milestones: {
|
|
3566
3596
|
Row: {
|
|
3567
3597
|
checklist: Json | null;
|
|
3568
3598
|
completed_at: string | null;
|
|
3569
3599
|
created_at: string;
|
|
3570
3600
|
description: string | null;
|
|
3571
3601
|
due_date: string | null;
|
|
3572
|
-
engagement_id: string;
|
|
3573
3602
|
id: string;
|
|
3574
3603
|
metadata: Json | null;
|
|
3575
3604
|
name: string;
|
|
3576
3605
|
organization_id: string;
|
|
3606
|
+
project_id: string;
|
|
3577
3607
|
sequence: number;
|
|
3578
3608
|
status: string;
|
|
3579
3609
|
updated_at: string;
|
|
@@ -3584,11 +3614,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3584
3614
|
created_at?: string;
|
|
3585
3615
|
description?: string | null;
|
|
3586
3616
|
due_date?: string | null;
|
|
3587
|
-
engagement_id: string;
|
|
3588
3617
|
id?: string;
|
|
3589
3618
|
metadata?: Json | null;
|
|
3590
3619
|
name: string;
|
|
3591
3620
|
organization_id: string;
|
|
3621
|
+
project_id: string;
|
|
3592
3622
|
sequence?: number;
|
|
3593
3623
|
status?: string;
|
|
3594
3624
|
updated_at?: string;
|
|
@@ -3599,80 +3629,86 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3599
3629
|
created_at?: string;
|
|
3600
3630
|
description?: string | null;
|
|
3601
3631
|
due_date?: string | null;
|
|
3602
|
-
engagement_id?: string;
|
|
3603
3632
|
id?: string;
|
|
3604
3633
|
metadata?: Json | null;
|
|
3605
3634
|
name?: string;
|
|
3606
3635
|
organization_id?: string;
|
|
3636
|
+
project_id?: string;
|
|
3607
3637
|
sequence?: number;
|
|
3608
3638
|
status?: string;
|
|
3609
3639
|
updated_at?: string;
|
|
3610
3640
|
};
|
|
3611
3641
|
Relationships: [{
|
|
3612
|
-
foreignKeyName: "
|
|
3613
|
-
columns: ["
|
|
3642
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
3643
|
+
columns: ["project_id"];
|
|
3614
3644
|
isOneToOne: false;
|
|
3615
|
-
referencedRelation: "
|
|
3645
|
+
referencedRelation: "prj_projects";
|
|
3616
3646
|
referencedColumns: ["id"];
|
|
3617
3647
|
}, {
|
|
3618
|
-
foreignKeyName: "
|
|
3648
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
3619
3649
|
columns: ["organization_id"];
|
|
3620
3650
|
isOneToOne: false;
|
|
3621
3651
|
referencedRelation: "organizations";
|
|
3622
3652
|
referencedColumns: ["id"];
|
|
3623
3653
|
}];
|
|
3624
3654
|
};
|
|
3625
|
-
|
|
3655
|
+
prj_notes: {
|
|
3626
3656
|
Row: {
|
|
3627
3657
|
content: string;
|
|
3628
3658
|
created_at: string;
|
|
3629
3659
|
created_by: string | null;
|
|
3630
|
-
engagement_id: string;
|
|
3631
3660
|
id: string;
|
|
3632
3661
|
metadata: Json | null;
|
|
3662
|
+
milestone_id: string | null;
|
|
3633
3663
|
occurred_at: string;
|
|
3634
3664
|
organization_id: string;
|
|
3665
|
+
project_id: string;
|
|
3635
3666
|
summary: string | null;
|
|
3667
|
+
task_id: string | null;
|
|
3636
3668
|
type: string;
|
|
3637
3669
|
};
|
|
3638
3670
|
Insert: {
|
|
3639
3671
|
content: string;
|
|
3640
3672
|
created_at?: string;
|
|
3641
3673
|
created_by?: string | null;
|
|
3642
|
-
engagement_id: string;
|
|
3643
3674
|
id?: string;
|
|
3644
3675
|
metadata?: Json | null;
|
|
3676
|
+
milestone_id?: string | null;
|
|
3645
3677
|
occurred_at?: string;
|
|
3646
3678
|
organization_id: string;
|
|
3679
|
+
project_id: string;
|
|
3647
3680
|
summary?: string | null;
|
|
3681
|
+
task_id?: string | null;
|
|
3648
3682
|
type?: string;
|
|
3649
3683
|
};
|
|
3650
3684
|
Update: {
|
|
3651
3685
|
content?: string;
|
|
3652
3686
|
created_at?: string;
|
|
3653
3687
|
created_by?: string | null;
|
|
3654
|
-
engagement_id?: string;
|
|
3655
3688
|
id?: string;
|
|
3656
3689
|
metadata?: Json | null;
|
|
3690
|
+
milestone_id?: string | null;
|
|
3657
3691
|
occurred_at?: string;
|
|
3658
3692
|
organization_id?: string;
|
|
3693
|
+
project_id?: string;
|
|
3659
3694
|
summary?: string | null;
|
|
3695
|
+
task_id?: string | null;
|
|
3660
3696
|
type?: string;
|
|
3661
3697
|
};
|
|
3662
3698
|
Relationships: [{
|
|
3663
|
-
foreignKeyName: "
|
|
3699
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
3664
3700
|
columns: ["created_by"];
|
|
3665
3701
|
isOneToOne: false;
|
|
3666
3702
|
referencedRelation: "users";
|
|
3667
3703
|
referencedColumns: ["id"];
|
|
3668
3704
|
}, {
|
|
3669
|
-
foreignKeyName: "
|
|
3670
|
-
columns: ["
|
|
3705
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
3706
|
+
columns: ["project_id"];
|
|
3671
3707
|
isOneToOne: false;
|
|
3672
|
-
referencedRelation: "
|
|
3708
|
+
referencedRelation: "prj_projects";
|
|
3673
3709
|
referencedColumns: ["id"];
|
|
3674
3710
|
}, {
|
|
3675
|
-
foreignKeyName: "
|
|
3711
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
3676
3712
|
columns: ["organization_id"];
|
|
3677
3713
|
isOneToOne: false;
|
|
3678
3714
|
referencedRelation: "organizations";
|