@elevasis/ui 1.15.3 → 1.17.1
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/charts/index.d.ts +25 -2
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-FEZ2TGSH.js → chunk-7ATCF6UL.js} +282 -14
- package/dist/{chunk-4NHYV42S.js → chunk-7S5FS7WW.js} +35 -4
- package/dist/chunk-ADSSLKKP.js +10 -0
- package/dist/{chunk-WY2BCL5F.js → chunk-F25DUOWI.js} +2 -2
- package/dist/chunk-MHW43EOH.js +47 -0
- package/dist/{chunk-6YIE72M2.js → chunk-NUULWBAD.js} +1 -1
- package/dist/{chunk-E6Q6A5TU.js → chunk-QCEUL5QG.js} +2 -6
- package/dist/{chunk-4NAZQ7WO.js → chunk-RYSPAQGW.js} +2 -2
- package/dist/{chunk-XY7VKOKI.js → chunk-UEYUPTAD.js} +80 -777
- package/dist/chunk-ZGK6XZVY.js +1208 -0
- package/dist/components/index.d.ts +511 -488
- package/dist/components/index.js +28 -1221
- package/dist/features/operations/index.css +565 -0
- package/dist/features/operations/index.d.ts +90 -0
- package/dist/features/operations/index.js +241 -0
- package/dist/hooks/index.d.ts +509 -488
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +509 -488
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +522 -490
- package/dist/index.js +6 -6
- package/dist/initialization/index.d.ts +508 -487
- package/dist/layout/index.d.ts +196 -6
- package/dist/layout/index.js +5 -4
- package/dist/profile/index.d.ts +508 -487
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +1 -1
- package/dist/router/index.d.ts +12 -1
- package/dist/router/index.js +1 -1
- package/dist/supabase/index.d.ts +890 -851
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/types/index.d.ts +509 -488
- package/package.json +5 -1
- package/dist/chunk-LHQTTUL2.js +0 -27
- package/dist/components/layout/backgrounds/CyberParticles.d.ts +0 -30
- package/dist/components/layout/backgrounds/CyberParticles.d.ts.map +0 -1
- package/dist/components/layout/backgrounds/CyberParticles.js +0 -138
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,306 +1128,18 @@ 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: [
|
|
1143
|
-
}
|
|
1144
|
-
];
|
|
1145
|
-
};
|
|
1146
|
-
prj_tasks: {
|
|
1147
|
-
Row: {
|
|
1148
|
-
checklist: Json | null;
|
|
1149
|
-
completed_at: string | null;
|
|
1150
|
-
created_at: string;
|
|
1151
|
-
description: string | null;
|
|
1152
|
-
due_date: string | null;
|
|
1153
|
-
file_url: string | null;
|
|
1154
|
-
id: string;
|
|
1155
|
-
metadata: Json | null;
|
|
1156
|
-
milestone_id: string | null;
|
|
1157
|
-
name: string;
|
|
1158
|
-
organization_id: string;
|
|
1159
|
-
parent_task_id: string | null;
|
|
1160
|
-
project_id: string;
|
|
1161
|
-
resume_context: Json | null;
|
|
1162
|
-
status: string;
|
|
1163
|
-
type: string;
|
|
1164
|
-
updated_at: string;
|
|
1165
|
-
};
|
|
1166
|
-
Insert: {
|
|
1167
|
-
checklist?: Json | null;
|
|
1168
|
-
completed_at?: string | null;
|
|
1169
|
-
created_at?: string;
|
|
1170
|
-
description?: string | null;
|
|
1171
|
-
due_date?: string | null;
|
|
1172
|
-
file_url?: string | null;
|
|
1173
|
-
id?: string;
|
|
1174
|
-
metadata?: Json | null;
|
|
1175
|
-
milestone_id?: string | null;
|
|
1176
|
-
name: string;
|
|
1177
|
-
organization_id: string;
|
|
1178
|
-
parent_task_id?: string | null;
|
|
1179
|
-
project_id: string;
|
|
1180
|
-
resume_context?: Json | null;
|
|
1181
|
-
status?: string;
|
|
1182
|
-
type?: string;
|
|
1183
|
-
updated_at?: string;
|
|
1184
|
-
};
|
|
1185
|
-
Update: {
|
|
1186
|
-
checklist?: Json | null;
|
|
1187
|
-
completed_at?: string | null;
|
|
1188
|
-
created_at?: string;
|
|
1189
|
-
description?: string | null;
|
|
1190
|
-
due_date?: string | null;
|
|
1191
|
-
file_url?: string | null;
|
|
1192
|
-
id?: string;
|
|
1193
|
-
metadata?: Json | null;
|
|
1194
|
-
milestone_id?: string | null;
|
|
1195
|
-
name?: string;
|
|
1196
|
-
organization_id?: string;
|
|
1197
|
-
parent_task_id?: string | null;
|
|
1198
|
-
project_id?: string;
|
|
1199
|
-
resume_context?: Json | null;
|
|
1200
|
-
status?: string;
|
|
1201
|
-
type?: string;
|
|
1202
|
-
updated_at?: string;
|
|
1203
|
-
};
|
|
1204
|
-
Relationships: [
|
|
1205
|
-
{
|
|
1206
|
-
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
1207
|
-
columns: ['project_id'];
|
|
1208
|
-
isOneToOne: false;
|
|
1209
|
-
referencedRelation: 'prj_projects';
|
|
1210
|
-
referencedColumns: ['id'];
|
|
1211
|
-
},
|
|
1212
|
-
{
|
|
1213
|
-
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
1214
|
-
columns: ['milestone_id'];
|
|
1215
|
-
isOneToOne: false;
|
|
1216
|
-
referencedRelation: 'prj_milestones';
|
|
1217
|
-
referencedColumns: ['id'];
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
1221
|
-
columns: ['organization_id'];
|
|
1222
|
-
isOneToOne: false;
|
|
1223
|
-
referencedRelation: 'organizations';
|
|
1224
|
-
referencedColumns: ['id'];
|
|
1225
|
-
}
|
|
1226
|
-
];
|
|
1227
|
-
};
|
|
1228
|
-
prj_projects: {
|
|
1229
|
-
Row: {
|
|
1230
|
-
actual_end_date: string | null;
|
|
1231
|
-
client_company_id: string | null;
|
|
1232
|
-
contract_value: number | null;
|
|
1233
|
-
created_at: string;
|
|
1234
|
-
deal_id: string | null;
|
|
1235
|
-
description: string | null;
|
|
1236
|
-
id: string;
|
|
1237
|
-
kind: string;
|
|
1238
|
-
metadata: Json | null;
|
|
1239
|
-
name: string;
|
|
1240
|
-
organization_id: string;
|
|
1241
|
-
start_date: string | null;
|
|
1242
|
-
status: string;
|
|
1243
|
-
target_end_date: string | null;
|
|
1244
|
-
updated_at: string;
|
|
1245
|
-
};
|
|
1246
|
-
Insert: {
|
|
1247
|
-
actual_end_date?: string | null;
|
|
1248
|
-
client_company_id?: string | null;
|
|
1249
|
-
contract_value?: number | null;
|
|
1250
|
-
created_at?: string;
|
|
1251
|
-
deal_id?: string | null;
|
|
1252
|
-
description?: string | null;
|
|
1253
|
-
id?: string;
|
|
1254
|
-
kind?: string;
|
|
1255
|
-
metadata?: Json | null;
|
|
1256
|
-
name: string;
|
|
1257
|
-
organization_id: string;
|
|
1258
|
-
start_date?: string | null;
|
|
1259
|
-
status?: string;
|
|
1260
|
-
target_end_date?: string | null;
|
|
1261
|
-
updated_at?: string;
|
|
1262
|
-
};
|
|
1263
|
-
Update: {
|
|
1264
|
-
actual_end_date?: string | null;
|
|
1265
|
-
client_company_id?: string | null;
|
|
1266
|
-
contract_value?: number | null;
|
|
1267
|
-
created_at?: string;
|
|
1268
|
-
deal_id?: string | null;
|
|
1269
|
-
description?: string | null;
|
|
1270
|
-
id?: string;
|
|
1271
|
-
kind?: string;
|
|
1272
|
-
metadata?: Json | null;
|
|
1273
|
-
name?: string;
|
|
1274
|
-
organization_id?: string;
|
|
1275
|
-
start_date?: string | null;
|
|
1276
|
-
status?: string;
|
|
1277
|
-
target_end_date?: string | null;
|
|
1278
|
-
updated_at?: string;
|
|
1279
|
-
};
|
|
1280
|
-
Relationships: [
|
|
1281
|
-
{
|
|
1282
|
-
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
1283
|
-
columns: ['client_company_id'];
|
|
1284
|
-
isOneToOne: false;
|
|
1285
|
-
referencedRelation: 'acq_companies';
|
|
1286
|
-
referencedColumns: ['id'];
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
1290
|
-
columns: ['deal_id'];
|
|
1291
|
-
isOneToOne: false;
|
|
1292
|
-
referencedRelation: 'acq_deals';
|
|
1293
|
-
referencedColumns: ['id'];
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
1297
|
-
columns: ['organization_id'];
|
|
1298
|
-
isOneToOne: false;
|
|
1299
|
-
referencedRelation: 'organizations';
|
|
1300
|
-
referencedColumns: ['id'];
|
|
1301
|
-
}
|
|
1302
|
-
];
|
|
1303
|
-
};
|
|
1304
|
-
prj_milestones: {
|
|
1305
|
-
Row: {
|
|
1306
|
-
checklist: Json | null;
|
|
1307
|
-
completed_at: string | null;
|
|
1308
|
-
created_at: string;
|
|
1309
|
-
description: string | null;
|
|
1310
|
-
due_date: string | null;
|
|
1311
|
-
id: string;
|
|
1312
|
-
metadata: Json | null;
|
|
1313
|
-
name: string;
|
|
1314
|
-
organization_id: string;
|
|
1315
|
-
project_id: string;
|
|
1316
|
-
sequence: number;
|
|
1317
|
-
status: string;
|
|
1318
|
-
updated_at: string;
|
|
1319
|
-
};
|
|
1320
|
-
Insert: {
|
|
1321
|
-
checklist?: Json | null;
|
|
1322
|
-
completed_at?: string | null;
|
|
1323
|
-
created_at?: string;
|
|
1324
|
-
description?: string | null;
|
|
1325
|
-
due_date?: string | null;
|
|
1326
|
-
id?: string;
|
|
1327
|
-
metadata?: Json | null;
|
|
1328
|
-
name: string;
|
|
1329
|
-
organization_id: string;
|
|
1330
|
-
project_id: string;
|
|
1331
|
-
sequence?: number;
|
|
1332
|
-
status?: string;
|
|
1333
|
-
updated_at?: string;
|
|
1334
|
-
};
|
|
1335
|
-
Update: {
|
|
1336
|
-
checklist?: Json | null;
|
|
1337
|
-
completed_at?: string | null;
|
|
1338
|
-
created_at?: string;
|
|
1339
|
-
description?: string | null;
|
|
1340
|
-
due_date?: string | null;
|
|
1341
|
-
id?: string;
|
|
1342
|
-
metadata?: Json | null;
|
|
1343
|
-
name?: string;
|
|
1344
|
-
organization_id?: string;
|
|
1345
|
-
project_id?: string;
|
|
1346
|
-
sequence?: number;
|
|
1347
|
-
status?: string;
|
|
1348
|
-
updated_at?: string;
|
|
1349
|
-
};
|
|
1350
|
-
Relationships: [
|
|
1351
|
-
{
|
|
1352
|
-
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
1353
|
-
columns: ['project_id'];
|
|
1354
|
-
isOneToOne: false;
|
|
1355
|
-
referencedRelation: 'prj_projects';
|
|
1356
|
-
referencedColumns: ['id'];
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
1360
|
-
columns: ['organization_id'];
|
|
1361
|
-
isOneToOne: false;
|
|
1362
|
-
referencedRelation: 'organizations';
|
|
1363
|
-
referencedColumns: ['id'];
|
|
1364
|
-
}
|
|
1365
|
-
];
|
|
1366
|
-
};
|
|
1367
|
-
prj_notes: {
|
|
1368
|
-
Row: {
|
|
1369
|
-
content: string;
|
|
1370
|
-
created_at: string;
|
|
1371
|
-
created_by: string | null;
|
|
1372
|
-
id: string;
|
|
1373
|
-
metadata: Json | null;
|
|
1374
|
-
milestone_id: string | null;
|
|
1375
|
-
occurred_at: string;
|
|
1376
|
-
organization_id: string;
|
|
1377
|
-
project_id: string;
|
|
1378
|
-
summary: string | null;
|
|
1379
|
-
task_id: string | null;
|
|
1380
|
-
type: string;
|
|
1381
|
-
};
|
|
1382
|
-
Insert: {
|
|
1383
|
-
content: string;
|
|
1384
|
-
created_at?: string;
|
|
1385
|
-
created_by?: string | null;
|
|
1386
|
-
id?: string;
|
|
1387
|
-
metadata?: Json | null;
|
|
1388
|
-
milestone_id?: string | null;
|
|
1389
|
-
occurred_at?: string;
|
|
1390
|
-
organization_id: string;
|
|
1391
|
-
project_id: string;
|
|
1392
|
-
summary?: string | null;
|
|
1393
|
-
task_id?: string | null;
|
|
1394
|
-
type?: string;
|
|
1395
|
-
};
|
|
1396
|
-
Update: {
|
|
1397
|
-
content?: string;
|
|
1398
|
-
created_at?: string;
|
|
1399
|
-
created_by?: string | null;
|
|
1400
|
-
id?: string;
|
|
1401
|
-
metadata?: Json | null;
|
|
1402
|
-
milestone_id?: string | null;
|
|
1403
|
-
occurred_at?: string;
|
|
1404
|
-
organization_id?: string;
|
|
1405
|
-
project_id?: string;
|
|
1406
|
-
summary?: string | null;
|
|
1407
|
-
task_id?: string | null;
|
|
1408
|
-
type?: string;
|
|
1409
|
-
};
|
|
1410
|
-
Relationships: [
|
|
1411
|
-
{
|
|
1412
|
-
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
1413
|
-
columns: ['created_by'];
|
|
1414
|
-
isOneToOne: false;
|
|
1415
|
-
referencedRelation: 'users';
|
|
1416
|
-
referencedColumns: ['id'];
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
1420
|
-
columns: ['project_id'];
|
|
1421
|
-
isOneToOne: false;
|
|
1422
|
-
referencedRelation: 'prj_projects';
|
|
1423
|
-
referencedColumns: ['id'];
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
1427
|
-
columns: ['organization_id'];
|
|
1428
|
-
isOneToOne: false;
|
|
1429
|
-
referencedRelation: 'organizations';
|
|
1430
|
-
referencedColumns: ['id'];
|
|
1141
|
+
referencedRelation: "organizations";
|
|
1142
|
+
referencedColumns: ["id"];
|
|
1431
1143
|
}
|
|
1432
1144
|
];
|
|
1433
1145
|
};
|
|
@@ -1479,11 +1191,11 @@ type Database = {
|
|
|
1479
1191
|
};
|
|
1480
1192
|
Relationships: [
|
|
1481
1193
|
{
|
|
1482
|
-
foreignKeyName:
|
|
1483
|
-
columns: [
|
|
1194
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
1195
|
+
columns: ["organization_id"];
|
|
1484
1196
|
isOneToOne: false;
|
|
1485
|
-
referencedRelation:
|
|
1486
|
-
referencedColumns: [
|
|
1197
|
+
referencedRelation: "organizations";
|
|
1198
|
+
referencedColumns: ["id"];
|
|
1487
1199
|
}
|
|
1488
1200
|
];
|
|
1489
1201
|
};
|
|
@@ -1538,25 +1250,25 @@ type Database = {
|
|
|
1538
1250
|
};
|
|
1539
1251
|
Relationships: [
|
|
1540
1252
|
{
|
|
1541
|
-
foreignKeyName:
|
|
1542
|
-
columns: [
|
|
1253
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
1254
|
+
columns: ["execution_id"];
|
|
1543
1255
|
isOneToOne: false;
|
|
1544
|
-
referencedRelation:
|
|
1545
|
-
referencedColumns: [
|
|
1256
|
+
referencedRelation: "execution_logs";
|
|
1257
|
+
referencedColumns: ["execution_id"];
|
|
1546
1258
|
},
|
|
1547
1259
|
{
|
|
1548
|
-
foreignKeyName:
|
|
1549
|
-
columns: [
|
|
1260
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
1261
|
+
columns: ["organization_id"];
|
|
1550
1262
|
isOneToOne: false;
|
|
1551
|
-
referencedRelation:
|
|
1552
|
-
referencedColumns: [
|
|
1263
|
+
referencedRelation: "organizations";
|
|
1264
|
+
referencedColumns: ["id"];
|
|
1553
1265
|
},
|
|
1554
1266
|
{
|
|
1555
|
-
foreignKeyName:
|
|
1556
|
-
columns: [
|
|
1267
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
1268
|
+
columns: ["resolved_by"];
|
|
1557
1269
|
isOneToOne: false;
|
|
1558
|
-
referencedRelation:
|
|
1559
|
-
referencedColumns: [
|
|
1270
|
+
referencedRelation: "users";
|
|
1271
|
+
referencedColumns: ["id"];
|
|
1560
1272
|
}
|
|
1561
1273
|
];
|
|
1562
1274
|
};
|
|
@@ -1638,32 +1350,32 @@ type Database = {
|
|
|
1638
1350
|
};
|
|
1639
1351
|
Relationships: [
|
|
1640
1352
|
{
|
|
1641
|
-
foreignKeyName:
|
|
1642
|
-
columns: [
|
|
1353
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
1354
|
+
columns: ["organization_id"];
|
|
1643
1355
|
isOneToOne: false;
|
|
1644
|
-
referencedRelation:
|
|
1645
|
-
referencedColumns: [
|
|
1356
|
+
referencedRelation: "organizations";
|
|
1357
|
+
referencedColumns: ["id"];
|
|
1646
1358
|
},
|
|
1647
1359
|
{
|
|
1648
|
-
foreignKeyName:
|
|
1649
|
-
columns: [
|
|
1360
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
1361
|
+
columns: ["origin_execution_id"];
|
|
1650
1362
|
isOneToOne: false;
|
|
1651
|
-
referencedRelation:
|
|
1652
|
-
referencedColumns: [
|
|
1363
|
+
referencedRelation: "execution_logs";
|
|
1364
|
+
referencedColumns: ["execution_id"];
|
|
1653
1365
|
},
|
|
1654
1366
|
{
|
|
1655
|
-
foreignKeyName:
|
|
1656
|
-
columns: [
|
|
1367
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
1368
|
+
columns: ["session_id"];
|
|
1657
1369
|
isOneToOne: false;
|
|
1658
|
-
referencedRelation:
|
|
1659
|
-
referencedColumns: [
|
|
1370
|
+
referencedRelation: "sessions";
|
|
1371
|
+
referencedColumns: ["session_id"];
|
|
1660
1372
|
},
|
|
1661
1373
|
{
|
|
1662
|
-
foreignKeyName:
|
|
1663
|
-
columns: [
|
|
1374
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
1375
|
+
columns: ["user_id"];
|
|
1664
1376
|
isOneToOne: false;
|
|
1665
|
-
referencedRelation:
|
|
1666
|
-
referencedColumns: [
|
|
1377
|
+
referencedRelation: "users";
|
|
1378
|
+
referencedColumns: ["id"];
|
|
1667
1379
|
}
|
|
1668
1380
|
];
|
|
1669
1381
|
};
|
|
@@ -1709,18 +1421,18 @@ type Database = {
|
|
|
1709
1421
|
};
|
|
1710
1422
|
Relationships: [
|
|
1711
1423
|
{
|
|
1712
|
-
foreignKeyName:
|
|
1713
|
-
columns: [
|
|
1424
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
1425
|
+
columns: ["execution_id"];
|
|
1714
1426
|
isOneToOne: true;
|
|
1715
|
-
referencedRelation:
|
|
1716
|
-
referencedColumns: [
|
|
1427
|
+
referencedRelation: "execution_logs";
|
|
1428
|
+
referencedColumns: ["execution_id"];
|
|
1717
1429
|
},
|
|
1718
1430
|
{
|
|
1719
|
-
foreignKeyName:
|
|
1720
|
-
columns: [
|
|
1431
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
1432
|
+
columns: ["organization_id"];
|
|
1721
1433
|
isOneToOne: false;
|
|
1722
|
-
referencedRelation:
|
|
1723
|
-
referencedColumns: [
|
|
1434
|
+
referencedRelation: "organizations";
|
|
1435
|
+
referencedColumns: ["id"];
|
|
1724
1436
|
}
|
|
1725
1437
|
];
|
|
1726
1438
|
};
|
|
@@ -1763,18 +1475,18 @@ type Database = {
|
|
|
1763
1475
|
};
|
|
1764
1476
|
Relationships: [
|
|
1765
1477
|
{
|
|
1766
|
-
foreignKeyName:
|
|
1767
|
-
columns: [
|
|
1478
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
1479
|
+
columns: ["organization_id"];
|
|
1768
1480
|
isOneToOne: false;
|
|
1769
|
-
referencedRelation:
|
|
1770
|
-
referencedColumns: [
|
|
1481
|
+
referencedRelation: "organizations";
|
|
1482
|
+
referencedColumns: ["id"];
|
|
1771
1483
|
},
|
|
1772
1484
|
{
|
|
1773
|
-
foreignKeyName:
|
|
1774
|
-
columns: [
|
|
1485
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
1486
|
+
columns: ["user_id"];
|
|
1775
1487
|
isOneToOne: false;
|
|
1776
|
-
referencedRelation:
|
|
1777
|
-
referencedColumns: [
|
|
1488
|
+
referencedRelation: "users";
|
|
1489
|
+
referencedColumns: ["id"];
|
|
1778
1490
|
}
|
|
1779
1491
|
];
|
|
1780
1492
|
};
|
|
@@ -1829,18 +1541,18 @@ type Database = {
|
|
|
1829
1541
|
};
|
|
1830
1542
|
Relationships: [
|
|
1831
1543
|
{
|
|
1832
|
-
foreignKeyName:
|
|
1833
|
-
columns: [
|
|
1544
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
1545
|
+
columns: ["inviter_user_id"];
|
|
1834
1546
|
isOneToOne: false;
|
|
1835
|
-
referencedRelation:
|
|
1836
|
-
referencedColumns: [
|
|
1547
|
+
referencedRelation: "users";
|
|
1548
|
+
referencedColumns: ["id"];
|
|
1837
1549
|
},
|
|
1838
1550
|
{
|
|
1839
|
-
foreignKeyName:
|
|
1840
|
-
columns: [
|
|
1551
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
1552
|
+
columns: ["organization_id"];
|
|
1841
1553
|
isOneToOne: false;
|
|
1842
|
-
referencedRelation:
|
|
1843
|
-
referencedColumns: [
|
|
1554
|
+
referencedRelation: "organizations";
|
|
1555
|
+
referencedColumns: ["id"];
|
|
1844
1556
|
}
|
|
1845
1557
|
];
|
|
1846
1558
|
};
|
|
@@ -1880,18 +1592,18 @@ type Database = {
|
|
|
1880
1592
|
};
|
|
1881
1593
|
Relationships: [
|
|
1882
1594
|
{
|
|
1883
|
-
foreignKeyName:
|
|
1884
|
-
columns: [
|
|
1595
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
1596
|
+
columns: ["organization_id"];
|
|
1885
1597
|
isOneToOne: false;
|
|
1886
|
-
referencedRelation:
|
|
1887
|
-
referencedColumns: [
|
|
1598
|
+
referencedRelation: "organizations";
|
|
1599
|
+
referencedColumns: ["id"];
|
|
1888
1600
|
},
|
|
1889
1601
|
{
|
|
1890
|
-
foreignKeyName:
|
|
1891
|
-
columns: [
|
|
1602
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
1603
|
+
columns: ["user_id"];
|
|
1892
1604
|
isOneToOne: false;
|
|
1893
|
-
referencedRelation:
|
|
1894
|
-
referencedColumns: [
|
|
1605
|
+
referencedRelation: "users";
|
|
1606
|
+
referencedColumns: ["id"];
|
|
1895
1607
|
}
|
|
1896
1608
|
];
|
|
1897
1609
|
};
|
|
@@ -1931,15 +1643,324 @@ type Database = {
|
|
|
1931
1643
|
};
|
|
1932
1644
|
Relationships: [];
|
|
1933
1645
|
};
|
|
1934
|
-
|
|
1646
|
+
prj_milestones: {
|
|
1935
1647
|
Row: {
|
|
1936
|
-
|
|
1648
|
+
checklist: Json | null;
|
|
1649
|
+
completed_at: string | null;
|
|
1650
|
+
created_at: string;
|
|
1651
|
+
description: string | null;
|
|
1652
|
+
due_date: string | null;
|
|
1937
1653
|
id: string;
|
|
1938
|
-
message: string;
|
|
1939
|
-
message_index: number | null;
|
|
1940
|
-
message_type: string | null;
|
|
1941
1654
|
metadata: Json | null;
|
|
1942
|
-
|
|
1655
|
+
name: string;
|
|
1656
|
+
organization_id: string;
|
|
1657
|
+
project_id: string;
|
|
1658
|
+
sequence: number;
|
|
1659
|
+
status: string;
|
|
1660
|
+
updated_at: string;
|
|
1661
|
+
};
|
|
1662
|
+
Insert: {
|
|
1663
|
+
checklist?: Json | null;
|
|
1664
|
+
completed_at?: string | null;
|
|
1665
|
+
created_at?: string;
|
|
1666
|
+
description?: string | null;
|
|
1667
|
+
due_date?: string | null;
|
|
1668
|
+
id?: string;
|
|
1669
|
+
metadata?: Json | null;
|
|
1670
|
+
name: string;
|
|
1671
|
+
organization_id: string;
|
|
1672
|
+
project_id: string;
|
|
1673
|
+
sequence?: number;
|
|
1674
|
+
status?: string;
|
|
1675
|
+
updated_at?: string;
|
|
1676
|
+
};
|
|
1677
|
+
Update: {
|
|
1678
|
+
checklist?: Json | null;
|
|
1679
|
+
completed_at?: string | null;
|
|
1680
|
+
created_at?: string;
|
|
1681
|
+
description?: string | null;
|
|
1682
|
+
due_date?: string | null;
|
|
1683
|
+
id?: string;
|
|
1684
|
+
metadata?: Json | null;
|
|
1685
|
+
name?: string;
|
|
1686
|
+
organization_id?: string;
|
|
1687
|
+
project_id?: string;
|
|
1688
|
+
sequence?: number;
|
|
1689
|
+
status?: string;
|
|
1690
|
+
updated_at?: string;
|
|
1691
|
+
};
|
|
1692
|
+
Relationships: [
|
|
1693
|
+
{
|
|
1694
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
1695
|
+
columns: ["organization_id"];
|
|
1696
|
+
isOneToOne: false;
|
|
1697
|
+
referencedRelation: "organizations";
|
|
1698
|
+
referencedColumns: ["id"];
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
1702
|
+
columns: ["project_id"];
|
|
1703
|
+
isOneToOne: false;
|
|
1704
|
+
referencedRelation: "prj_projects";
|
|
1705
|
+
referencedColumns: ["id"];
|
|
1706
|
+
}
|
|
1707
|
+
];
|
|
1708
|
+
};
|
|
1709
|
+
prj_notes: {
|
|
1710
|
+
Row: {
|
|
1711
|
+
content: string;
|
|
1712
|
+
created_at: string;
|
|
1713
|
+
created_by: string | null;
|
|
1714
|
+
id: string;
|
|
1715
|
+
metadata: Json | null;
|
|
1716
|
+
milestone_id: string | null;
|
|
1717
|
+
occurred_at: string;
|
|
1718
|
+
organization_id: string;
|
|
1719
|
+
project_id: string;
|
|
1720
|
+
summary: string | null;
|
|
1721
|
+
task_id: string | null;
|
|
1722
|
+
type: string;
|
|
1723
|
+
};
|
|
1724
|
+
Insert: {
|
|
1725
|
+
content: string;
|
|
1726
|
+
created_at?: string;
|
|
1727
|
+
created_by?: string | null;
|
|
1728
|
+
id?: string;
|
|
1729
|
+
metadata?: Json | null;
|
|
1730
|
+
milestone_id?: string | null;
|
|
1731
|
+
occurred_at?: string;
|
|
1732
|
+
organization_id: string;
|
|
1733
|
+
project_id: string;
|
|
1734
|
+
summary?: string | null;
|
|
1735
|
+
task_id?: string | null;
|
|
1736
|
+
type?: string;
|
|
1737
|
+
};
|
|
1738
|
+
Update: {
|
|
1739
|
+
content?: string;
|
|
1740
|
+
created_at?: string;
|
|
1741
|
+
created_by?: string | null;
|
|
1742
|
+
id?: string;
|
|
1743
|
+
metadata?: Json | null;
|
|
1744
|
+
milestone_id?: string | null;
|
|
1745
|
+
occurred_at?: string;
|
|
1746
|
+
organization_id?: string;
|
|
1747
|
+
project_id?: string;
|
|
1748
|
+
summary?: string | null;
|
|
1749
|
+
task_id?: string | null;
|
|
1750
|
+
type?: string;
|
|
1751
|
+
};
|
|
1752
|
+
Relationships: [
|
|
1753
|
+
{
|
|
1754
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
1755
|
+
columns: ["created_by"];
|
|
1756
|
+
isOneToOne: false;
|
|
1757
|
+
referencedRelation: "users";
|
|
1758
|
+
referencedColumns: ["id"];
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
1762
|
+
columns: ["milestone_id"];
|
|
1763
|
+
isOneToOne: false;
|
|
1764
|
+
referencedRelation: "prj_milestones";
|
|
1765
|
+
referencedColumns: ["id"];
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
1769
|
+
columns: ["organization_id"];
|
|
1770
|
+
isOneToOne: false;
|
|
1771
|
+
referencedRelation: "organizations";
|
|
1772
|
+
referencedColumns: ["id"];
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
1776
|
+
columns: ["project_id"];
|
|
1777
|
+
isOneToOne: false;
|
|
1778
|
+
referencedRelation: "prj_projects";
|
|
1779
|
+
referencedColumns: ["id"];
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
1783
|
+
columns: ["task_id"];
|
|
1784
|
+
isOneToOne: false;
|
|
1785
|
+
referencedRelation: "prj_tasks";
|
|
1786
|
+
referencedColumns: ["id"];
|
|
1787
|
+
}
|
|
1788
|
+
];
|
|
1789
|
+
};
|
|
1790
|
+
prj_projects: {
|
|
1791
|
+
Row: {
|
|
1792
|
+
actual_end_date: string | null;
|
|
1793
|
+
client_company_id: string | null;
|
|
1794
|
+
contract_value: number | null;
|
|
1795
|
+
created_at: string;
|
|
1796
|
+
deal_id: string | null;
|
|
1797
|
+
description: string | null;
|
|
1798
|
+
id: string;
|
|
1799
|
+
kind: string;
|
|
1800
|
+
metadata: Json | null;
|
|
1801
|
+
name: string;
|
|
1802
|
+
organization_id: string;
|
|
1803
|
+
start_date: string | null;
|
|
1804
|
+
status: string;
|
|
1805
|
+
target_end_date: string | null;
|
|
1806
|
+
updated_at: string;
|
|
1807
|
+
};
|
|
1808
|
+
Insert: {
|
|
1809
|
+
actual_end_date?: string | null;
|
|
1810
|
+
client_company_id?: string | null;
|
|
1811
|
+
contract_value?: number | null;
|
|
1812
|
+
created_at?: string;
|
|
1813
|
+
deal_id?: string | null;
|
|
1814
|
+
description?: string | null;
|
|
1815
|
+
id?: string;
|
|
1816
|
+
kind?: string;
|
|
1817
|
+
metadata?: Json | null;
|
|
1818
|
+
name: string;
|
|
1819
|
+
organization_id: string;
|
|
1820
|
+
start_date?: string | null;
|
|
1821
|
+
status?: string;
|
|
1822
|
+
target_end_date?: string | null;
|
|
1823
|
+
updated_at?: string;
|
|
1824
|
+
};
|
|
1825
|
+
Update: {
|
|
1826
|
+
actual_end_date?: string | null;
|
|
1827
|
+
client_company_id?: string | null;
|
|
1828
|
+
contract_value?: number | null;
|
|
1829
|
+
created_at?: string;
|
|
1830
|
+
deal_id?: string | null;
|
|
1831
|
+
description?: string | null;
|
|
1832
|
+
id?: string;
|
|
1833
|
+
kind?: string;
|
|
1834
|
+
metadata?: Json | null;
|
|
1835
|
+
name?: string;
|
|
1836
|
+
organization_id?: string;
|
|
1837
|
+
start_date?: string | null;
|
|
1838
|
+
status?: string;
|
|
1839
|
+
target_end_date?: string | null;
|
|
1840
|
+
updated_at?: string;
|
|
1841
|
+
};
|
|
1842
|
+
Relationships: [
|
|
1843
|
+
{
|
|
1844
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
1845
|
+
columns: ["client_company_id"];
|
|
1846
|
+
isOneToOne: false;
|
|
1847
|
+
referencedRelation: "acq_companies";
|
|
1848
|
+
referencedColumns: ["id"];
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
1852
|
+
columns: ["deal_id"];
|
|
1853
|
+
isOneToOne: false;
|
|
1854
|
+
referencedRelation: "acq_deals";
|
|
1855
|
+
referencedColumns: ["id"];
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
1859
|
+
columns: ["organization_id"];
|
|
1860
|
+
isOneToOne: false;
|
|
1861
|
+
referencedRelation: "organizations";
|
|
1862
|
+
referencedColumns: ["id"];
|
|
1863
|
+
}
|
|
1864
|
+
];
|
|
1865
|
+
};
|
|
1866
|
+
prj_tasks: {
|
|
1867
|
+
Row: {
|
|
1868
|
+
checklist: Json;
|
|
1869
|
+
completed_at: string | null;
|
|
1870
|
+
created_at: string;
|
|
1871
|
+
description: string | null;
|
|
1872
|
+
due_date: string | null;
|
|
1873
|
+
file_url: string | null;
|
|
1874
|
+
id: string;
|
|
1875
|
+
metadata: Json | null;
|
|
1876
|
+
milestone_id: string | null;
|
|
1877
|
+
name: string;
|
|
1878
|
+
organization_id: string;
|
|
1879
|
+
parent_task_id: string | null;
|
|
1880
|
+
project_id: string;
|
|
1881
|
+
resume_context: Json | null;
|
|
1882
|
+
status: string;
|
|
1883
|
+
type: string;
|
|
1884
|
+
updated_at: string;
|
|
1885
|
+
};
|
|
1886
|
+
Insert: {
|
|
1887
|
+
checklist?: Json;
|
|
1888
|
+
completed_at?: string | null;
|
|
1889
|
+
created_at?: string;
|
|
1890
|
+
description?: string | null;
|
|
1891
|
+
due_date?: string | null;
|
|
1892
|
+
file_url?: string | null;
|
|
1893
|
+
id?: string;
|
|
1894
|
+
metadata?: Json | null;
|
|
1895
|
+
milestone_id?: string | null;
|
|
1896
|
+
name: string;
|
|
1897
|
+
organization_id: string;
|
|
1898
|
+
parent_task_id?: string | null;
|
|
1899
|
+
project_id: string;
|
|
1900
|
+
resume_context?: Json | null;
|
|
1901
|
+
status?: string;
|
|
1902
|
+
type?: string;
|
|
1903
|
+
updated_at?: string;
|
|
1904
|
+
};
|
|
1905
|
+
Update: {
|
|
1906
|
+
checklist?: Json;
|
|
1907
|
+
completed_at?: string | null;
|
|
1908
|
+
created_at?: string;
|
|
1909
|
+
description?: string | null;
|
|
1910
|
+
due_date?: string | null;
|
|
1911
|
+
file_url?: string | null;
|
|
1912
|
+
id?: string;
|
|
1913
|
+
metadata?: Json | null;
|
|
1914
|
+
milestone_id?: string | null;
|
|
1915
|
+
name?: string;
|
|
1916
|
+
organization_id?: string;
|
|
1917
|
+
parent_task_id?: string | null;
|
|
1918
|
+
project_id?: string;
|
|
1919
|
+
resume_context?: Json | null;
|
|
1920
|
+
status?: string;
|
|
1921
|
+
type?: string;
|
|
1922
|
+
updated_at?: string;
|
|
1923
|
+
};
|
|
1924
|
+
Relationships: [
|
|
1925
|
+
{
|
|
1926
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
1927
|
+
columns: ["milestone_id"];
|
|
1928
|
+
isOneToOne: false;
|
|
1929
|
+
referencedRelation: "prj_milestones";
|
|
1930
|
+
referencedColumns: ["id"];
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
1934
|
+
columns: ["organization_id"];
|
|
1935
|
+
isOneToOne: false;
|
|
1936
|
+
referencedRelation: "organizations";
|
|
1937
|
+
referencedColumns: ["id"];
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
1941
|
+
columns: ["parent_task_id"];
|
|
1942
|
+
isOneToOne: false;
|
|
1943
|
+
referencedRelation: "prj_tasks";
|
|
1944
|
+
referencedColumns: ["id"];
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
1948
|
+
columns: ["project_id"];
|
|
1949
|
+
isOneToOne: false;
|
|
1950
|
+
referencedRelation: "prj_projects";
|
|
1951
|
+
referencedColumns: ["id"];
|
|
1952
|
+
}
|
|
1953
|
+
];
|
|
1954
|
+
};
|
|
1955
|
+
session_messages: {
|
|
1956
|
+
Row: {
|
|
1957
|
+
created_at: string | null;
|
|
1958
|
+
id: string;
|
|
1959
|
+
message: string;
|
|
1960
|
+
message_index: number | null;
|
|
1961
|
+
message_type: string | null;
|
|
1962
|
+
metadata: Json | null;
|
|
1963
|
+
role: string;
|
|
1943
1964
|
session_id: string;
|
|
1944
1965
|
session_turn_number: number;
|
|
1945
1966
|
};
|
|
@@ -1967,11 +1988,11 @@ type Database = {
|
|
|
1967
1988
|
};
|
|
1968
1989
|
Relationships: [
|
|
1969
1990
|
{
|
|
1970
|
-
foreignKeyName:
|
|
1971
|
-
columns: [
|
|
1991
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
1992
|
+
columns: ["session_id"];
|
|
1972
1993
|
isOneToOne: false;
|
|
1973
|
-
referencedRelation:
|
|
1974
|
-
referencedColumns: [
|
|
1994
|
+
referencedRelation: "sessions";
|
|
1995
|
+
referencedColumns: ["session_id"];
|
|
1975
1996
|
}
|
|
1976
1997
|
];
|
|
1977
1998
|
};
|
|
@@ -2026,18 +2047,18 @@ type Database = {
|
|
|
2026
2047
|
};
|
|
2027
2048
|
Relationships: [
|
|
2028
2049
|
{
|
|
2029
|
-
foreignKeyName:
|
|
2030
|
-
columns: [
|
|
2050
|
+
foreignKeyName: "fk_organization";
|
|
2051
|
+
columns: ["organization_id"];
|
|
2031
2052
|
isOneToOne: false;
|
|
2032
|
-
referencedRelation:
|
|
2033
|
-
referencedColumns: [
|
|
2053
|
+
referencedRelation: "organizations";
|
|
2054
|
+
referencedColumns: ["id"];
|
|
2034
2055
|
},
|
|
2035
2056
|
{
|
|
2036
|
-
foreignKeyName:
|
|
2037
|
-
columns: [
|
|
2057
|
+
foreignKeyName: "fk_user";
|
|
2058
|
+
columns: ["user_id"];
|
|
2038
2059
|
isOneToOne: false;
|
|
2039
|
-
referencedRelation:
|
|
2040
|
-
referencedColumns: [
|
|
2060
|
+
referencedRelation: "users";
|
|
2061
|
+
referencedColumns: ["id"];
|
|
2041
2062
|
}
|
|
2042
2063
|
];
|
|
2043
2064
|
};
|
|
@@ -2113,11 +2134,11 @@ type Database = {
|
|
|
2113
2134
|
};
|
|
2114
2135
|
Relationships: [
|
|
2115
2136
|
{
|
|
2116
|
-
foreignKeyName:
|
|
2117
|
-
columns: [
|
|
2137
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
2138
|
+
columns: ["organization_id"];
|
|
2118
2139
|
isOneToOne: false;
|
|
2119
|
-
referencedRelation:
|
|
2120
|
-
referencedColumns: [
|
|
2140
|
+
referencedRelation: "organizations";
|
|
2141
|
+
referencedColumns: ["id"];
|
|
2121
2142
|
}
|
|
2122
2143
|
];
|
|
2123
2144
|
};
|
|
@@ -2172,11 +2193,11 @@ type Database = {
|
|
|
2172
2193
|
};
|
|
2173
2194
|
Relationships: [
|
|
2174
2195
|
{
|
|
2175
|
-
foreignKeyName:
|
|
2176
|
-
columns: [
|
|
2196
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
2197
|
+
columns: ["last_visited_org"];
|
|
2177
2198
|
isOneToOne: false;
|
|
2178
|
-
referencedRelation:
|
|
2179
|
-
referencedColumns: [
|
|
2199
|
+
referencedRelation: "organizations";
|
|
2200
|
+
referencedColumns: ["id"];
|
|
2180
2201
|
}
|
|
2181
2202
|
];
|
|
2182
2203
|
};
|
|
@@ -2222,11 +2243,11 @@ type Database = {
|
|
|
2222
2243
|
};
|
|
2223
2244
|
Relationships: [
|
|
2224
2245
|
{
|
|
2225
|
-
foreignKeyName:
|
|
2226
|
-
columns: [
|
|
2246
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
2247
|
+
columns: ["organization_id"];
|
|
2227
2248
|
isOneToOne: false;
|
|
2228
|
-
referencedRelation:
|
|
2229
|
-
referencedColumns: [
|
|
2249
|
+
referencedRelation: "organizations";
|
|
2250
|
+
referencedColumns: ["id"];
|
|
2230
2251
|
}
|
|
2231
2252
|
];
|
|
2232
2253
|
};
|
|
@@ -3442,282 +3463,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3442
3463
|
referencedColumns: ["id"];
|
|
3443
3464
|
}];
|
|
3444
3465
|
};
|
|
3445
|
-
|
|
3466
|
+
deployments: {
|
|
3446
3467
|
Row: {
|
|
3447
|
-
|
|
3448
|
-
completed_at: string | null;
|
|
3449
|
-
created_at: string;
|
|
3450
|
-
description: string | null;
|
|
3451
|
-
due_date: string | null;
|
|
3452
|
-
file_url: string | null;
|
|
3453
|
-
id: string;
|
|
3454
|
-
metadata: Json | null;
|
|
3455
|
-
milestone_id: string | null;
|
|
3456
|
-
name: string;
|
|
3457
|
-
organization_id: string;
|
|
3458
|
-
parent_task_id: string | null;
|
|
3459
|
-
project_id: string;
|
|
3460
|
-
resume_context: Json | null;
|
|
3461
|
-
status: string;
|
|
3462
|
-
type: string;
|
|
3463
|
-
updated_at: string;
|
|
3464
|
-
};
|
|
3465
|
-
Insert: {
|
|
3466
|
-
checklist?: Json | null;
|
|
3467
|
-
completed_at?: string | null;
|
|
3468
|
-
created_at?: string;
|
|
3469
|
-
description?: string | null;
|
|
3470
|
-
due_date?: string | null;
|
|
3471
|
-
file_url?: string | null;
|
|
3472
|
-
id?: string;
|
|
3473
|
-
metadata?: Json | null;
|
|
3474
|
-
milestone_id?: string | null;
|
|
3475
|
-
name: string;
|
|
3476
|
-
organization_id: string;
|
|
3477
|
-
parent_task_id?: string | null;
|
|
3478
|
-
project_id: string;
|
|
3479
|
-
resume_context?: Json | null;
|
|
3480
|
-
status?: string;
|
|
3481
|
-
type?: string;
|
|
3482
|
-
updated_at?: string;
|
|
3483
|
-
};
|
|
3484
|
-
Update: {
|
|
3485
|
-
checklist?: Json | null;
|
|
3486
|
-
completed_at?: string | null;
|
|
3487
|
-
created_at?: string;
|
|
3488
|
-
description?: string | null;
|
|
3489
|
-
due_date?: string | null;
|
|
3490
|
-
file_url?: string | null;
|
|
3491
|
-
id?: string;
|
|
3492
|
-
metadata?: Json | null;
|
|
3493
|
-
milestone_id?: string | null;
|
|
3494
|
-
name?: string;
|
|
3495
|
-
organization_id?: string;
|
|
3496
|
-
parent_task_id?: string | null;
|
|
3497
|
-
project_id?: string;
|
|
3498
|
-
resume_context?: Json | null;
|
|
3499
|
-
status?: string;
|
|
3500
|
-
type?: string;
|
|
3501
|
-
updated_at?: string;
|
|
3502
|
-
};
|
|
3503
|
-
Relationships: [{
|
|
3504
|
-
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
3505
|
-
columns: ["project_id"];
|
|
3506
|
-
isOneToOne: false;
|
|
3507
|
-
referencedRelation: "prj_projects";
|
|
3508
|
-
referencedColumns: ["id"];
|
|
3509
|
-
}, {
|
|
3510
|
-
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
3511
|
-
columns: ["milestone_id"];
|
|
3512
|
-
isOneToOne: false;
|
|
3513
|
-
referencedRelation: "prj_milestones";
|
|
3514
|
-
referencedColumns: ["id"];
|
|
3515
|
-
}, {
|
|
3516
|
-
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
3517
|
-
columns: ["organization_id"];
|
|
3518
|
-
isOneToOne: false;
|
|
3519
|
-
referencedRelation: "organizations";
|
|
3520
|
-
referencedColumns: ["id"];
|
|
3521
|
-
}];
|
|
3522
|
-
};
|
|
3523
|
-
prj_projects: {
|
|
3524
|
-
Row: {
|
|
3525
|
-
actual_end_date: string | null;
|
|
3526
|
-
client_company_id: string | null;
|
|
3527
|
-
contract_value: number | null;
|
|
3528
|
-
created_at: string;
|
|
3529
|
-
deal_id: string | null;
|
|
3530
|
-
description: string | null;
|
|
3531
|
-
id: string;
|
|
3532
|
-
kind: string;
|
|
3533
|
-
metadata: Json | null;
|
|
3534
|
-
name: string;
|
|
3535
|
-
organization_id: string;
|
|
3536
|
-
start_date: string | null;
|
|
3537
|
-
status: string;
|
|
3538
|
-
target_end_date: string | null;
|
|
3539
|
-
updated_at: string;
|
|
3540
|
-
};
|
|
3541
|
-
Insert: {
|
|
3542
|
-
actual_end_date?: string | null;
|
|
3543
|
-
client_company_id?: string | null;
|
|
3544
|
-
contract_value?: number | null;
|
|
3545
|
-
created_at?: string;
|
|
3546
|
-
deal_id?: string | null;
|
|
3547
|
-
description?: string | null;
|
|
3548
|
-
id?: string;
|
|
3549
|
-
kind?: string;
|
|
3550
|
-
metadata?: Json | null;
|
|
3551
|
-
name: string;
|
|
3552
|
-
organization_id: string;
|
|
3553
|
-
start_date?: string | null;
|
|
3554
|
-
status?: string;
|
|
3555
|
-
target_end_date?: string | null;
|
|
3556
|
-
updated_at?: string;
|
|
3557
|
-
};
|
|
3558
|
-
Update: {
|
|
3559
|
-
actual_end_date?: string | null;
|
|
3560
|
-
client_company_id?: string | null;
|
|
3561
|
-
contract_value?: number | null;
|
|
3562
|
-
created_at?: string;
|
|
3563
|
-
deal_id?: string | null;
|
|
3564
|
-
description?: string | null;
|
|
3565
|
-
id?: string;
|
|
3566
|
-
kind?: string;
|
|
3567
|
-
metadata?: Json | null;
|
|
3568
|
-
name?: string;
|
|
3569
|
-
organization_id?: string;
|
|
3570
|
-
start_date?: string | null;
|
|
3571
|
-
status?: string;
|
|
3572
|
-
target_end_date?: string | null;
|
|
3573
|
-
updated_at?: string;
|
|
3574
|
-
};
|
|
3575
|
-
Relationships: [{
|
|
3576
|
-
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
3577
|
-
columns: ["client_company_id"];
|
|
3578
|
-
isOneToOne: false;
|
|
3579
|
-
referencedRelation: "acq_companies";
|
|
3580
|
-
referencedColumns: ["id"];
|
|
3581
|
-
}, {
|
|
3582
|
-
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
3583
|
-
columns: ["deal_id"];
|
|
3584
|
-
isOneToOne: false;
|
|
3585
|
-
referencedRelation: "acq_deals";
|
|
3586
|
-
referencedColumns: ["id"];
|
|
3587
|
-
}, {
|
|
3588
|
-
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
3589
|
-
columns: ["organization_id"];
|
|
3590
|
-
isOneToOne: false;
|
|
3591
|
-
referencedRelation: "organizations";
|
|
3592
|
-
referencedColumns: ["id"];
|
|
3593
|
-
}];
|
|
3594
|
-
};
|
|
3595
|
-
prj_milestones: {
|
|
3596
|
-
Row: {
|
|
3597
|
-
checklist: Json | null;
|
|
3598
|
-
completed_at: string | null;
|
|
3599
|
-
created_at: string;
|
|
3600
|
-
description: string | null;
|
|
3601
|
-
due_date: string | null;
|
|
3602
|
-
id: string;
|
|
3603
|
-
metadata: Json | null;
|
|
3604
|
-
name: string;
|
|
3605
|
-
organization_id: string;
|
|
3606
|
-
project_id: string;
|
|
3607
|
-
sequence: number;
|
|
3608
|
-
status: string;
|
|
3609
|
-
updated_at: string;
|
|
3610
|
-
};
|
|
3611
|
-
Insert: {
|
|
3612
|
-
checklist?: Json | null;
|
|
3613
|
-
completed_at?: string | null;
|
|
3614
|
-
created_at?: string;
|
|
3615
|
-
description?: string | null;
|
|
3616
|
-
due_date?: string | null;
|
|
3617
|
-
id?: string;
|
|
3618
|
-
metadata?: Json | null;
|
|
3619
|
-
name: string;
|
|
3620
|
-
organization_id: string;
|
|
3621
|
-
project_id: string;
|
|
3622
|
-
sequence?: number;
|
|
3623
|
-
status?: string;
|
|
3624
|
-
updated_at?: string;
|
|
3625
|
-
};
|
|
3626
|
-
Update: {
|
|
3627
|
-
checklist?: Json | null;
|
|
3628
|
-
completed_at?: string | null;
|
|
3629
|
-
created_at?: string;
|
|
3630
|
-
description?: string | null;
|
|
3631
|
-
due_date?: string | null;
|
|
3632
|
-
id?: string;
|
|
3633
|
-
metadata?: Json | null;
|
|
3634
|
-
name?: string;
|
|
3635
|
-
organization_id?: string;
|
|
3636
|
-
project_id?: string;
|
|
3637
|
-
sequence?: number;
|
|
3638
|
-
status?: string;
|
|
3639
|
-
updated_at?: string;
|
|
3640
|
-
};
|
|
3641
|
-
Relationships: [{
|
|
3642
|
-
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
3643
|
-
columns: ["project_id"];
|
|
3644
|
-
isOneToOne: false;
|
|
3645
|
-
referencedRelation: "prj_projects";
|
|
3646
|
-
referencedColumns: ["id"];
|
|
3647
|
-
}, {
|
|
3648
|
-
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
3649
|
-
columns: ["organization_id"];
|
|
3650
|
-
isOneToOne: false;
|
|
3651
|
-
referencedRelation: "organizations";
|
|
3652
|
-
referencedColumns: ["id"];
|
|
3653
|
-
}];
|
|
3654
|
-
};
|
|
3655
|
-
prj_notes: {
|
|
3656
|
-
Row: {
|
|
3657
|
-
content: string;
|
|
3658
|
-
created_at: string;
|
|
3659
|
-
created_by: string | null;
|
|
3660
|
-
id: string;
|
|
3661
|
-
metadata: Json | null;
|
|
3662
|
-
milestone_id: string | null;
|
|
3663
|
-
occurred_at: string;
|
|
3664
|
-
organization_id: string;
|
|
3665
|
-
project_id: string;
|
|
3666
|
-
summary: string | null;
|
|
3667
|
-
task_id: string | null;
|
|
3668
|
-
type: string;
|
|
3669
|
-
};
|
|
3670
|
-
Insert: {
|
|
3671
|
-
content: string;
|
|
3672
|
-
created_at?: string;
|
|
3673
|
-
created_by?: string | null;
|
|
3674
|
-
id?: string;
|
|
3675
|
-
metadata?: Json | null;
|
|
3676
|
-
milestone_id?: string | null;
|
|
3677
|
-
occurred_at?: string;
|
|
3678
|
-
organization_id: string;
|
|
3679
|
-
project_id: string;
|
|
3680
|
-
summary?: string | null;
|
|
3681
|
-
task_id?: string | null;
|
|
3682
|
-
type?: string;
|
|
3683
|
-
};
|
|
3684
|
-
Update: {
|
|
3685
|
-
content?: string;
|
|
3686
|
-
created_at?: string;
|
|
3687
|
-
created_by?: string | null;
|
|
3688
|
-
id?: string;
|
|
3689
|
-
metadata?: Json | null;
|
|
3690
|
-
milestone_id?: string | null;
|
|
3691
|
-
occurred_at?: string;
|
|
3692
|
-
organization_id?: string;
|
|
3693
|
-
project_id?: string;
|
|
3694
|
-
summary?: string | null;
|
|
3695
|
-
task_id?: string | null;
|
|
3696
|
-
type?: string;
|
|
3697
|
-
};
|
|
3698
|
-
Relationships: [{
|
|
3699
|
-
foreignKeyName: "prj_notes_created_by_fkey";
|
|
3700
|
-
columns: ["created_by"];
|
|
3701
|
-
isOneToOne: false;
|
|
3702
|
-
referencedRelation: "users";
|
|
3703
|
-
referencedColumns: ["id"];
|
|
3704
|
-
}, {
|
|
3705
|
-
foreignKeyName: "prj_notes_project_id_fkey";
|
|
3706
|
-
columns: ["project_id"];
|
|
3707
|
-
isOneToOne: false;
|
|
3708
|
-
referencedRelation: "prj_projects";
|
|
3709
|
-
referencedColumns: ["id"];
|
|
3710
|
-
}, {
|
|
3711
|
-
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
3712
|
-
columns: ["organization_id"];
|
|
3713
|
-
isOneToOne: false;
|
|
3714
|
-
referencedRelation: "organizations";
|
|
3715
|
-
referencedColumns: ["id"];
|
|
3716
|
-
}];
|
|
3717
|
-
};
|
|
3718
|
-
deployments: {
|
|
3719
|
-
Row: {
|
|
3720
|
-
compiled_docs: Json | null;
|
|
3468
|
+
compiled_docs: Json | null;
|
|
3721
3469
|
created_at: string;
|
|
3722
3470
|
deployment_version: string | null;
|
|
3723
3471
|
documentation: Json | null;
|
|
@@ -4032,165 +3780,456 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
4032
3780
|
user_id?: string;
|
|
4033
3781
|
};
|
|
4034
3782
|
Relationships: [{
|
|
4035
|
-
foreignKeyName: "notifications_organization_id_fkey";
|
|
3783
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
3784
|
+
columns: ["organization_id"];
|
|
3785
|
+
isOneToOne: false;
|
|
3786
|
+
referencedRelation: "organizations";
|
|
3787
|
+
referencedColumns: ["id"];
|
|
3788
|
+
}, {
|
|
3789
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
3790
|
+
columns: ["user_id"];
|
|
3791
|
+
isOneToOne: false;
|
|
3792
|
+
referencedRelation: "users";
|
|
3793
|
+
referencedColumns: ["id"];
|
|
3794
|
+
}];
|
|
3795
|
+
};
|
|
3796
|
+
org_invitations: {
|
|
3797
|
+
Row: {
|
|
3798
|
+
accept_invitation_url: string | null;
|
|
3799
|
+
accepted_at: string | null;
|
|
3800
|
+
created_at: string | null;
|
|
3801
|
+
email: string;
|
|
3802
|
+
expires_at: string;
|
|
3803
|
+
id: string;
|
|
3804
|
+
invitation_state: string | null;
|
|
3805
|
+
invitation_token: string | null;
|
|
3806
|
+
inviter_user_id: string | null;
|
|
3807
|
+
organization_id: string | null;
|
|
3808
|
+
revoked_at: string | null;
|
|
3809
|
+
role_slug: string | null;
|
|
3810
|
+
updated_at: string | null;
|
|
3811
|
+
workos_invitation_id: string;
|
|
3812
|
+
};
|
|
3813
|
+
Insert: {
|
|
3814
|
+
accept_invitation_url?: string | null;
|
|
3815
|
+
accepted_at?: string | null;
|
|
3816
|
+
created_at?: string | null;
|
|
3817
|
+
email: string;
|
|
3818
|
+
expires_at: string;
|
|
3819
|
+
id?: string;
|
|
3820
|
+
invitation_state?: string | null;
|
|
3821
|
+
invitation_token?: string | null;
|
|
3822
|
+
inviter_user_id?: string | null;
|
|
3823
|
+
organization_id?: string | null;
|
|
3824
|
+
revoked_at?: string | null;
|
|
3825
|
+
role_slug?: string | null;
|
|
3826
|
+
updated_at?: string | null;
|
|
3827
|
+
workos_invitation_id: string;
|
|
3828
|
+
};
|
|
3829
|
+
Update: {
|
|
3830
|
+
accept_invitation_url?: string | null;
|
|
3831
|
+
accepted_at?: string | null;
|
|
3832
|
+
created_at?: string | null;
|
|
3833
|
+
email?: string;
|
|
3834
|
+
expires_at?: string;
|
|
3835
|
+
id?: string;
|
|
3836
|
+
invitation_state?: string | null;
|
|
3837
|
+
invitation_token?: string | null;
|
|
3838
|
+
inviter_user_id?: string | null;
|
|
3839
|
+
organization_id?: string | null;
|
|
3840
|
+
revoked_at?: string | null;
|
|
3841
|
+
role_slug?: string | null;
|
|
3842
|
+
updated_at?: string | null;
|
|
3843
|
+
workos_invitation_id?: string;
|
|
3844
|
+
};
|
|
3845
|
+
Relationships: [{
|
|
3846
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
3847
|
+
columns: ["inviter_user_id"];
|
|
3848
|
+
isOneToOne: false;
|
|
3849
|
+
referencedRelation: "users";
|
|
3850
|
+
referencedColumns: ["id"];
|
|
3851
|
+
}, {
|
|
3852
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
3853
|
+
columns: ["organization_id"];
|
|
3854
|
+
isOneToOne: false;
|
|
3855
|
+
referencedRelation: "organizations";
|
|
3856
|
+
referencedColumns: ["id"];
|
|
3857
|
+
}];
|
|
3858
|
+
};
|
|
3859
|
+
org_memberships: {
|
|
3860
|
+
Row: {
|
|
3861
|
+
config: Json;
|
|
3862
|
+
created_at: string | null;
|
|
3863
|
+
id: string;
|
|
3864
|
+
membership_status: string | null;
|
|
3865
|
+
organization_id: string;
|
|
3866
|
+
role_slug: string | null;
|
|
3867
|
+
updated_at: string | null;
|
|
3868
|
+
user_id: string;
|
|
3869
|
+
workos_membership_id: string | null;
|
|
3870
|
+
};
|
|
3871
|
+
Insert: {
|
|
3872
|
+
config?: Json;
|
|
3873
|
+
created_at?: string | null;
|
|
3874
|
+
id?: string;
|
|
3875
|
+
membership_status?: string | null;
|
|
3876
|
+
organization_id: string;
|
|
3877
|
+
role_slug?: string | null;
|
|
3878
|
+
updated_at?: string | null;
|
|
3879
|
+
user_id: string;
|
|
3880
|
+
workos_membership_id?: string | null;
|
|
3881
|
+
};
|
|
3882
|
+
Update: {
|
|
3883
|
+
config?: Json;
|
|
3884
|
+
created_at?: string | null;
|
|
3885
|
+
id?: string;
|
|
3886
|
+
membership_status?: string | null;
|
|
3887
|
+
organization_id?: string;
|
|
3888
|
+
role_slug?: string | null;
|
|
3889
|
+
updated_at?: string | null;
|
|
3890
|
+
user_id?: string;
|
|
3891
|
+
workos_membership_id?: string | null;
|
|
3892
|
+
};
|
|
3893
|
+
Relationships: [{
|
|
3894
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
3895
|
+
columns: ["organization_id"];
|
|
3896
|
+
isOneToOne: false;
|
|
3897
|
+
referencedRelation: "organizations";
|
|
3898
|
+
referencedColumns: ["id"];
|
|
3899
|
+
}, {
|
|
3900
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
3901
|
+
columns: ["user_id"];
|
|
3902
|
+
isOneToOne: false;
|
|
3903
|
+
referencedRelation: "users";
|
|
3904
|
+
referencedColumns: ["id"];
|
|
3905
|
+
}];
|
|
3906
|
+
};
|
|
3907
|
+
organizations: {
|
|
3908
|
+
Row: {
|
|
3909
|
+
config: Json;
|
|
3910
|
+
created_at: string;
|
|
3911
|
+
id: string;
|
|
3912
|
+
is_test: boolean;
|
|
3913
|
+
metadata: Json;
|
|
3914
|
+
name: string;
|
|
3915
|
+
status: string;
|
|
3916
|
+
updated_at: string;
|
|
3917
|
+
workos_org_id: string;
|
|
3918
|
+
};
|
|
3919
|
+
Insert: {
|
|
3920
|
+
config?: Json;
|
|
3921
|
+
created_at?: string;
|
|
3922
|
+
id?: string;
|
|
3923
|
+
is_test?: boolean;
|
|
3924
|
+
metadata?: Json;
|
|
3925
|
+
name: string;
|
|
3926
|
+
status?: string;
|
|
3927
|
+
updated_at?: string;
|
|
3928
|
+
workos_org_id: string;
|
|
3929
|
+
};
|
|
3930
|
+
Update: {
|
|
3931
|
+
config?: Json;
|
|
3932
|
+
created_at?: string;
|
|
3933
|
+
id?: string;
|
|
3934
|
+
is_test?: boolean;
|
|
3935
|
+
metadata?: Json;
|
|
3936
|
+
name?: string;
|
|
3937
|
+
status?: string;
|
|
3938
|
+
updated_at?: string;
|
|
3939
|
+
workos_org_id?: string;
|
|
3940
|
+
};
|
|
3941
|
+
Relationships: [];
|
|
3942
|
+
};
|
|
3943
|
+
prj_milestones: {
|
|
3944
|
+
Row: {
|
|
3945
|
+
checklist: Json | null;
|
|
3946
|
+
completed_at: string | null;
|
|
3947
|
+
created_at: string;
|
|
3948
|
+
description: string | null;
|
|
3949
|
+
due_date: string | null;
|
|
3950
|
+
id: string;
|
|
3951
|
+
metadata: Json | null;
|
|
3952
|
+
name: string;
|
|
3953
|
+
organization_id: string;
|
|
3954
|
+
project_id: string;
|
|
3955
|
+
sequence: number;
|
|
3956
|
+
status: string;
|
|
3957
|
+
updated_at: string;
|
|
3958
|
+
};
|
|
3959
|
+
Insert: {
|
|
3960
|
+
checklist?: Json | null;
|
|
3961
|
+
completed_at?: string | null;
|
|
3962
|
+
created_at?: string;
|
|
3963
|
+
description?: string | null;
|
|
3964
|
+
due_date?: string | null;
|
|
3965
|
+
id?: string;
|
|
3966
|
+
metadata?: Json | null;
|
|
3967
|
+
name: string;
|
|
3968
|
+
organization_id: string;
|
|
3969
|
+
project_id: string;
|
|
3970
|
+
sequence?: number;
|
|
3971
|
+
status?: string;
|
|
3972
|
+
updated_at?: string;
|
|
3973
|
+
};
|
|
3974
|
+
Update: {
|
|
3975
|
+
checklist?: Json | null;
|
|
3976
|
+
completed_at?: string | null;
|
|
3977
|
+
created_at?: string;
|
|
3978
|
+
description?: string | null;
|
|
3979
|
+
due_date?: string | null;
|
|
3980
|
+
id?: string;
|
|
3981
|
+
metadata?: Json | null;
|
|
3982
|
+
name?: string;
|
|
3983
|
+
organization_id?: string;
|
|
3984
|
+
project_id?: string;
|
|
3985
|
+
sequence?: number;
|
|
3986
|
+
status?: string;
|
|
3987
|
+
updated_at?: string;
|
|
3988
|
+
};
|
|
3989
|
+
Relationships: [{
|
|
3990
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
4036
3991
|
columns: ["organization_id"];
|
|
4037
3992
|
isOneToOne: false;
|
|
4038
3993
|
referencedRelation: "organizations";
|
|
4039
3994
|
referencedColumns: ["id"];
|
|
4040
3995
|
}, {
|
|
4041
|
-
foreignKeyName: "
|
|
4042
|
-
columns: ["
|
|
3996
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
3997
|
+
columns: ["project_id"];
|
|
4043
3998
|
isOneToOne: false;
|
|
4044
|
-
referencedRelation: "
|
|
3999
|
+
referencedRelation: "prj_projects";
|
|
4045
4000
|
referencedColumns: ["id"];
|
|
4046
4001
|
}];
|
|
4047
4002
|
};
|
|
4048
|
-
|
|
4003
|
+
prj_notes: {
|
|
4049
4004
|
Row: {
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
email: string;
|
|
4054
|
-
expires_at: string;
|
|
4005
|
+
content: string;
|
|
4006
|
+
created_at: string;
|
|
4007
|
+
created_by: string | null;
|
|
4055
4008
|
id: string;
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
organization_id: string
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4009
|
+
metadata: Json | null;
|
|
4010
|
+
milestone_id: string | null;
|
|
4011
|
+
occurred_at: string;
|
|
4012
|
+
organization_id: string;
|
|
4013
|
+
project_id: string;
|
|
4014
|
+
summary: string | null;
|
|
4015
|
+
task_id: string | null;
|
|
4016
|
+
type: string;
|
|
4064
4017
|
};
|
|
4065
4018
|
Insert: {
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
email: string;
|
|
4070
|
-
expires_at: string;
|
|
4019
|
+
content: string;
|
|
4020
|
+
created_at?: string;
|
|
4021
|
+
created_by?: string | null;
|
|
4071
4022
|
id?: string;
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
organization_id
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4023
|
+
metadata?: Json | null;
|
|
4024
|
+
milestone_id?: string | null;
|
|
4025
|
+
occurred_at?: string;
|
|
4026
|
+
organization_id: string;
|
|
4027
|
+
project_id: string;
|
|
4028
|
+
summary?: string | null;
|
|
4029
|
+
task_id?: string | null;
|
|
4030
|
+
type?: string;
|
|
4080
4031
|
};
|
|
4081
4032
|
Update: {
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
email?: string;
|
|
4086
|
-
expires_at?: string;
|
|
4033
|
+
content?: string;
|
|
4034
|
+
created_at?: string;
|
|
4035
|
+
created_by?: string | null;
|
|
4087
4036
|
id?: string;
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
organization_id?: string
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4037
|
+
metadata?: Json | null;
|
|
4038
|
+
milestone_id?: string | null;
|
|
4039
|
+
occurred_at?: string;
|
|
4040
|
+
organization_id?: string;
|
|
4041
|
+
project_id?: string;
|
|
4042
|
+
summary?: string | null;
|
|
4043
|
+
task_id?: string | null;
|
|
4044
|
+
type?: string;
|
|
4096
4045
|
};
|
|
4097
4046
|
Relationships: [{
|
|
4098
|
-
foreignKeyName: "
|
|
4099
|
-
columns: ["
|
|
4047
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
4048
|
+
columns: ["created_by"];
|
|
4100
4049
|
isOneToOne: false;
|
|
4101
4050
|
referencedRelation: "users";
|
|
4102
4051
|
referencedColumns: ["id"];
|
|
4103
4052
|
}, {
|
|
4104
|
-
foreignKeyName: "
|
|
4053
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
4054
|
+
columns: ["milestone_id"];
|
|
4055
|
+
isOneToOne: false;
|
|
4056
|
+
referencedRelation: "prj_milestones";
|
|
4057
|
+
referencedColumns: ["id"];
|
|
4058
|
+
}, {
|
|
4059
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
4105
4060
|
columns: ["organization_id"];
|
|
4106
4061
|
isOneToOne: false;
|
|
4107
4062
|
referencedRelation: "organizations";
|
|
4108
4063
|
referencedColumns: ["id"];
|
|
4064
|
+
}, {
|
|
4065
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
4066
|
+
columns: ["project_id"];
|
|
4067
|
+
isOneToOne: false;
|
|
4068
|
+
referencedRelation: "prj_projects";
|
|
4069
|
+
referencedColumns: ["id"];
|
|
4070
|
+
}, {
|
|
4071
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
4072
|
+
columns: ["task_id"];
|
|
4073
|
+
isOneToOne: false;
|
|
4074
|
+
referencedRelation: "prj_tasks";
|
|
4075
|
+
referencedColumns: ["id"];
|
|
4109
4076
|
}];
|
|
4110
4077
|
};
|
|
4111
|
-
|
|
4078
|
+
prj_projects: {
|
|
4112
4079
|
Row: {
|
|
4113
|
-
|
|
4114
|
-
|
|
4080
|
+
actual_end_date: string | null;
|
|
4081
|
+
client_company_id: string | null;
|
|
4082
|
+
contract_value: number | null;
|
|
4083
|
+
created_at: string;
|
|
4084
|
+
deal_id: string | null;
|
|
4085
|
+
description: string | null;
|
|
4115
4086
|
id: string;
|
|
4116
|
-
|
|
4087
|
+
kind: string;
|
|
4088
|
+
metadata: Json | null;
|
|
4089
|
+
name: string;
|
|
4117
4090
|
organization_id: string;
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4091
|
+
start_date: string | null;
|
|
4092
|
+
status: string;
|
|
4093
|
+
target_end_date: string | null;
|
|
4094
|
+
updated_at: string;
|
|
4122
4095
|
};
|
|
4123
4096
|
Insert: {
|
|
4124
|
-
|
|
4125
|
-
|
|
4097
|
+
actual_end_date?: string | null;
|
|
4098
|
+
client_company_id?: string | null;
|
|
4099
|
+
contract_value?: number | null;
|
|
4100
|
+
created_at?: string;
|
|
4101
|
+
deal_id?: string | null;
|
|
4102
|
+
description?: string | null;
|
|
4126
4103
|
id?: string;
|
|
4127
|
-
|
|
4104
|
+
kind?: string;
|
|
4105
|
+
metadata?: Json | null;
|
|
4106
|
+
name: string;
|
|
4128
4107
|
organization_id: string;
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4108
|
+
start_date?: string | null;
|
|
4109
|
+
status?: string;
|
|
4110
|
+
target_end_date?: string | null;
|
|
4111
|
+
updated_at?: string;
|
|
4133
4112
|
};
|
|
4134
4113
|
Update: {
|
|
4135
|
-
|
|
4136
|
-
|
|
4114
|
+
actual_end_date?: string | null;
|
|
4115
|
+
client_company_id?: string | null;
|
|
4116
|
+
contract_value?: number | null;
|
|
4117
|
+
created_at?: string;
|
|
4118
|
+
deal_id?: string | null;
|
|
4119
|
+
description?: string | null;
|
|
4137
4120
|
id?: string;
|
|
4138
|
-
|
|
4121
|
+
kind?: string;
|
|
4122
|
+
metadata?: Json | null;
|
|
4123
|
+
name?: string;
|
|
4139
4124
|
organization_id?: string;
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4125
|
+
start_date?: string | null;
|
|
4126
|
+
status?: string;
|
|
4127
|
+
target_end_date?: string | null;
|
|
4128
|
+
updated_at?: string;
|
|
4144
4129
|
};
|
|
4145
4130
|
Relationships: [{
|
|
4146
|
-
foreignKeyName: "
|
|
4147
|
-
columns: ["
|
|
4131
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
4132
|
+
columns: ["client_company_id"];
|
|
4148
4133
|
isOneToOne: false;
|
|
4149
|
-
referencedRelation: "
|
|
4134
|
+
referencedRelation: "acq_companies";
|
|
4150
4135
|
referencedColumns: ["id"];
|
|
4151
4136
|
}, {
|
|
4152
|
-
foreignKeyName: "
|
|
4153
|
-
columns: ["
|
|
4137
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
4138
|
+
columns: ["deal_id"];
|
|
4154
4139
|
isOneToOne: false;
|
|
4155
|
-
referencedRelation: "
|
|
4140
|
+
referencedRelation: "acq_deals";
|
|
4141
|
+
referencedColumns: ["id"];
|
|
4142
|
+
}, {
|
|
4143
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
4144
|
+
columns: ["organization_id"];
|
|
4145
|
+
isOneToOne: false;
|
|
4146
|
+
referencedRelation: "organizations";
|
|
4156
4147
|
referencedColumns: ["id"];
|
|
4157
4148
|
}];
|
|
4158
4149
|
};
|
|
4159
|
-
|
|
4150
|
+
prj_tasks: {
|
|
4160
4151
|
Row: {
|
|
4161
|
-
|
|
4152
|
+
checklist: Json;
|
|
4153
|
+
completed_at: string | null;
|
|
4162
4154
|
created_at: string;
|
|
4155
|
+
description: string | null;
|
|
4156
|
+
due_date: string | null;
|
|
4157
|
+
file_url: string | null;
|
|
4163
4158
|
id: string;
|
|
4164
|
-
|
|
4165
|
-
|
|
4159
|
+
metadata: Json | null;
|
|
4160
|
+
milestone_id: string | null;
|
|
4166
4161
|
name: string;
|
|
4162
|
+
organization_id: string;
|
|
4163
|
+
parent_task_id: string | null;
|
|
4164
|
+
project_id: string;
|
|
4165
|
+
resume_context: Json | null;
|
|
4167
4166
|
status: string;
|
|
4167
|
+
type: string;
|
|
4168
4168
|
updated_at: string;
|
|
4169
|
-
workos_org_id: string;
|
|
4170
4169
|
};
|
|
4171
4170
|
Insert: {
|
|
4172
|
-
|
|
4171
|
+
checklist?: Json;
|
|
4172
|
+
completed_at?: string | null;
|
|
4173
4173
|
created_at?: string;
|
|
4174
|
+
description?: string | null;
|
|
4175
|
+
due_date?: string | null;
|
|
4176
|
+
file_url?: string | null;
|
|
4174
4177
|
id?: string;
|
|
4175
|
-
|
|
4176
|
-
|
|
4178
|
+
metadata?: Json | null;
|
|
4179
|
+
milestone_id?: string | null;
|
|
4177
4180
|
name: string;
|
|
4181
|
+
organization_id: string;
|
|
4182
|
+
parent_task_id?: string | null;
|
|
4183
|
+
project_id: string;
|
|
4184
|
+
resume_context?: Json | null;
|
|
4178
4185
|
status?: string;
|
|
4186
|
+
type?: string;
|
|
4179
4187
|
updated_at?: string;
|
|
4180
|
-
workos_org_id: string;
|
|
4181
4188
|
};
|
|
4182
4189
|
Update: {
|
|
4183
|
-
|
|
4190
|
+
checklist?: Json;
|
|
4191
|
+
completed_at?: string | null;
|
|
4184
4192
|
created_at?: string;
|
|
4193
|
+
description?: string | null;
|
|
4194
|
+
due_date?: string | null;
|
|
4195
|
+
file_url?: string | null;
|
|
4185
4196
|
id?: string;
|
|
4186
|
-
|
|
4187
|
-
|
|
4197
|
+
metadata?: Json | null;
|
|
4198
|
+
milestone_id?: string | null;
|
|
4188
4199
|
name?: string;
|
|
4200
|
+
organization_id?: string;
|
|
4201
|
+
parent_task_id?: string | null;
|
|
4202
|
+
project_id?: string;
|
|
4203
|
+
resume_context?: Json | null;
|
|
4189
4204
|
status?: string;
|
|
4205
|
+
type?: string;
|
|
4190
4206
|
updated_at?: string;
|
|
4191
|
-
workos_org_id?: string;
|
|
4192
4207
|
};
|
|
4193
|
-
Relationships: [
|
|
4208
|
+
Relationships: [{
|
|
4209
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
4210
|
+
columns: ["milestone_id"];
|
|
4211
|
+
isOneToOne: false;
|
|
4212
|
+
referencedRelation: "prj_milestones";
|
|
4213
|
+
referencedColumns: ["id"];
|
|
4214
|
+
}, {
|
|
4215
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
4216
|
+
columns: ["organization_id"];
|
|
4217
|
+
isOneToOne: false;
|
|
4218
|
+
referencedRelation: "organizations";
|
|
4219
|
+
referencedColumns: ["id"];
|
|
4220
|
+
}, {
|
|
4221
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
4222
|
+
columns: ["parent_task_id"];
|
|
4223
|
+
isOneToOne: false;
|
|
4224
|
+
referencedRelation: "prj_tasks";
|
|
4225
|
+
referencedColumns: ["id"];
|
|
4226
|
+
}, {
|
|
4227
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
4228
|
+
columns: ["project_id"];
|
|
4229
|
+
isOneToOne: false;
|
|
4230
|
+
referencedRelation: "prj_projects";
|
|
4231
|
+
referencedColumns: ["id"];
|
|
4232
|
+
}];
|
|
4194
4233
|
};
|
|
4195
4234
|
session_messages: {
|
|
4196
4235
|
Row: {
|