@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/types/index.d.ts
CHANGED
|
@@ -447,7 +447,7 @@ type Json = string | number | boolean | null | {
|
|
|
447
447
|
} | Json[];
|
|
448
448
|
type Database = {
|
|
449
449
|
__InternalSupabase: {
|
|
450
|
-
PostgrestVersion:
|
|
450
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
451
451
|
};
|
|
452
452
|
public: {
|
|
453
453
|
Tables: {
|
|
@@ -526,11 +526,11 @@ type Database = {
|
|
|
526
526
|
};
|
|
527
527
|
Relationships: [
|
|
528
528
|
{
|
|
529
|
-
foreignKeyName:
|
|
530
|
-
columns: [
|
|
529
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
530
|
+
columns: ["organization_id"];
|
|
531
531
|
isOneToOne: false;
|
|
532
|
-
referencedRelation:
|
|
533
|
-
referencedColumns: [
|
|
532
|
+
referencedRelation: "organizations";
|
|
533
|
+
referencedColumns: ["id"];
|
|
534
534
|
}
|
|
535
535
|
];
|
|
536
536
|
};
|
|
@@ -615,18 +615,18 @@ type Database = {
|
|
|
615
615
|
};
|
|
616
616
|
Relationships: [
|
|
617
617
|
{
|
|
618
|
-
foreignKeyName:
|
|
619
|
-
columns: [
|
|
618
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
619
|
+
columns: ["company_id"];
|
|
620
620
|
isOneToOne: false;
|
|
621
|
-
referencedRelation:
|
|
622
|
-
referencedColumns: [
|
|
621
|
+
referencedRelation: "acq_companies";
|
|
622
|
+
referencedColumns: ["id"];
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
|
-
foreignKeyName:
|
|
626
|
-
columns: [
|
|
625
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
626
|
+
columns: ["organization_id"];
|
|
627
627
|
isOneToOne: false;
|
|
628
|
-
referencedRelation:
|
|
629
|
-
referencedColumns: [
|
|
628
|
+
referencedRelation: "organizations";
|
|
629
|
+
referencedColumns: ["id"];
|
|
630
630
|
}
|
|
631
631
|
];
|
|
632
632
|
};
|
|
@@ -663,11 +663,11 @@ type Database = {
|
|
|
663
663
|
};
|
|
664
664
|
Relationships: [
|
|
665
665
|
{
|
|
666
|
-
foreignKeyName:
|
|
667
|
-
columns: [
|
|
666
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
667
|
+
columns: ["organization_id"];
|
|
668
668
|
isOneToOne: false;
|
|
669
|
-
referencedRelation:
|
|
670
|
-
referencedColumns: [
|
|
669
|
+
referencedRelation: "organizations";
|
|
670
|
+
referencedColumns: ["id"];
|
|
671
671
|
}
|
|
672
672
|
];
|
|
673
673
|
};
|
|
@@ -731,18 +731,18 @@ type Database = {
|
|
|
731
731
|
};
|
|
732
732
|
Relationships: [
|
|
733
733
|
{
|
|
734
|
-
foreignKeyName:
|
|
735
|
-
columns: [
|
|
734
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
735
|
+
columns: ["content_id"];
|
|
736
736
|
isOneToOne: false;
|
|
737
|
-
referencedRelation:
|
|
738
|
-
referencedColumns: [
|
|
737
|
+
referencedRelation: "acq_content";
|
|
738
|
+
referencedColumns: ["id"];
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
|
-
foreignKeyName:
|
|
742
|
-
columns: [
|
|
741
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
742
|
+
columns: ["organization_id"];
|
|
743
743
|
isOneToOne: false;
|
|
744
|
-
referencedRelation:
|
|
745
|
-
referencedColumns: [
|
|
744
|
+
referencedRelation: "organizations";
|
|
745
|
+
referencedColumns: ["id"];
|
|
746
746
|
}
|
|
747
747
|
];
|
|
748
748
|
};
|
|
@@ -854,25 +854,25 @@ type Database = {
|
|
|
854
854
|
};
|
|
855
855
|
Relationships: [
|
|
856
856
|
{
|
|
857
|
-
foreignKeyName:
|
|
858
|
-
columns: [
|
|
857
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
858
|
+
columns: ["contact_id"];
|
|
859
859
|
isOneToOne: false;
|
|
860
|
-
referencedRelation:
|
|
861
|
-
referencedColumns: [
|
|
860
|
+
referencedRelation: "acq_contacts";
|
|
861
|
+
referencedColumns: ["id"];
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
|
-
foreignKeyName:
|
|
865
|
-
columns: [
|
|
864
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
865
|
+
columns: ["organization_id"];
|
|
866
866
|
isOneToOne: false;
|
|
867
|
-
referencedRelation:
|
|
868
|
-
referencedColumns: [
|
|
867
|
+
referencedRelation: "organizations";
|
|
868
|
+
referencedColumns: ["id"];
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
|
-
foreignKeyName:
|
|
872
|
-
columns: [
|
|
871
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
872
|
+
columns: ["source_list_id"];
|
|
873
873
|
isOneToOne: false;
|
|
874
|
-
referencedRelation:
|
|
875
|
-
referencedColumns: [
|
|
874
|
+
referencedRelation: "acq_lists";
|
|
875
|
+
referencedColumns: ["id"];
|
|
876
876
|
}
|
|
877
877
|
];
|
|
878
878
|
};
|
|
@@ -900,18 +900,18 @@ type Database = {
|
|
|
900
900
|
};
|
|
901
901
|
Relationships: [
|
|
902
902
|
{
|
|
903
|
-
foreignKeyName:
|
|
904
|
-
columns: [
|
|
903
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
904
|
+
columns: ["contact_id"];
|
|
905
905
|
isOneToOne: false;
|
|
906
|
-
referencedRelation:
|
|
907
|
-
referencedColumns: [
|
|
906
|
+
referencedRelation: "acq_contacts";
|
|
907
|
+
referencedColumns: ["id"];
|
|
908
908
|
},
|
|
909
909
|
{
|
|
910
|
-
foreignKeyName:
|
|
911
|
-
columns: [
|
|
910
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
911
|
+
columns: ["list_id"];
|
|
912
912
|
isOneToOne: false;
|
|
913
|
-
referencedRelation:
|
|
914
|
-
referencedColumns: [
|
|
913
|
+
referencedRelation: "acq_lists";
|
|
914
|
+
referencedColumns: ["id"];
|
|
915
915
|
}
|
|
916
916
|
];
|
|
917
917
|
};
|
|
@@ -960,11 +960,11 @@ type Database = {
|
|
|
960
960
|
};
|
|
961
961
|
Relationships: [
|
|
962
962
|
{
|
|
963
|
-
foreignKeyName:
|
|
964
|
-
columns: [
|
|
963
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
964
|
+
columns: ["organization_id"];
|
|
965
965
|
isOneToOne: false;
|
|
966
|
-
referencedRelation:
|
|
967
|
-
referencedColumns: [
|
|
966
|
+
referencedRelation: "organizations";
|
|
967
|
+
referencedColumns: ["id"];
|
|
968
968
|
}
|
|
969
969
|
];
|
|
970
970
|
};
|
|
@@ -1040,18 +1040,18 @@ type Database = {
|
|
|
1040
1040
|
};
|
|
1041
1041
|
Relationships: [
|
|
1042
1042
|
{
|
|
1043
|
-
foreignKeyName:
|
|
1044
|
-
columns: [
|
|
1043
|
+
foreignKeyName: "acq_seo_metrics_organization_id_fkey";
|
|
1044
|
+
columns: ["organization_id"];
|
|
1045
1045
|
isOneToOne: false;
|
|
1046
|
-
referencedRelation:
|
|
1047
|
-
referencedColumns: [
|
|
1046
|
+
referencedRelation: "organizations";
|
|
1047
|
+
referencedColumns: ["id"];
|
|
1048
1048
|
},
|
|
1049
1049
|
{
|
|
1050
|
-
foreignKeyName:
|
|
1051
|
-
columns: [
|
|
1050
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1051
|
+
columns: ["seo_page_id"];
|
|
1052
1052
|
isOneToOne: false;
|
|
1053
|
-
referencedRelation:
|
|
1054
|
-
referencedColumns: [
|
|
1053
|
+
referencedRelation: "acq_seo_pages";
|
|
1054
|
+
referencedColumns: ["id"];
|
|
1055
1055
|
}
|
|
1056
1056
|
];
|
|
1057
1057
|
};
|
|
@@ -1127,11 +1127,11 @@ type Database = {
|
|
|
1127
1127
|
};
|
|
1128
1128
|
Relationships: [
|
|
1129
1129
|
{
|
|
1130
|
-
foreignKeyName:
|
|
1131
|
-
columns: [
|
|
1130
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1131
|
+
columns: ["organization_id"];
|
|
1132
1132
|
isOneToOne: false;
|
|
1133
|
-
referencedRelation:
|
|
1134
|
-
referencedColumns: [
|
|
1133
|
+
referencedRelation: "organizations";
|
|
1134
|
+
referencedColumns: ["id"];
|
|
1135
1135
|
}
|
|
1136
1136
|
];
|
|
1137
1137
|
};
|
|
@@ -1228,11 +1228,11 @@ type Database = {
|
|
|
1228
1228
|
};
|
|
1229
1229
|
Relationships: [
|
|
1230
1230
|
{
|
|
1231
|
-
foreignKeyName:
|
|
1232
|
-
columns: [
|
|
1231
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1232
|
+
columns: ["organization_id"];
|
|
1233
1233
|
isOneToOne: false;
|
|
1234
|
-
referencedRelation:
|
|
1235
|
-
referencedColumns: [
|
|
1234
|
+
referencedRelation: "organizations";
|
|
1235
|
+
referencedColumns: ["id"];
|
|
1236
1236
|
}
|
|
1237
1237
|
];
|
|
1238
1238
|
};
|
|
@@ -1287,11 +1287,11 @@ type Database = {
|
|
|
1287
1287
|
};
|
|
1288
1288
|
Relationships: [
|
|
1289
1289
|
{
|
|
1290
|
-
foreignKeyName:
|
|
1291
|
-
columns: [
|
|
1290
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
1291
|
+
columns: ["organization_id"];
|
|
1292
1292
|
isOneToOne: false;
|
|
1293
|
-
referencedRelation:
|
|
1294
|
-
referencedColumns: [
|
|
1293
|
+
referencedRelation: "organizations";
|
|
1294
|
+
referencedColumns: ["id"];
|
|
1295
1295
|
}
|
|
1296
1296
|
];
|
|
1297
1297
|
};
|
|
@@ -1322,11 +1322,11 @@ type Database = {
|
|
|
1322
1322
|
};
|
|
1323
1323
|
Relationships: [
|
|
1324
1324
|
{
|
|
1325
|
-
foreignKeyName:
|
|
1326
|
-
columns: [
|
|
1325
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1326
|
+
columns: ["organization_id"];
|
|
1327
1327
|
isOneToOne: false;
|
|
1328
|
-
referencedRelation:
|
|
1329
|
-
referencedColumns: [
|
|
1328
|
+
referencedRelation: "organizations";
|
|
1329
|
+
referencedColumns: ["id"];
|
|
1330
1330
|
}
|
|
1331
1331
|
];
|
|
1332
1332
|
};
|
|
@@ -1363,11 +1363,11 @@ type Database = {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
Relationships: [
|
|
1365
1365
|
{
|
|
1366
|
-
foreignKeyName:
|
|
1367
|
-
columns: [
|
|
1366
|
+
foreignKeyName: "calibration_projects_organization_id_fkey";
|
|
1367
|
+
columns: ["organization_id"];
|
|
1368
1368
|
isOneToOne: false;
|
|
1369
|
-
referencedRelation:
|
|
1370
|
-
referencedColumns: [
|
|
1369
|
+
referencedRelation: "organizations";
|
|
1370
|
+
referencedColumns: ["id"];
|
|
1371
1371
|
}
|
|
1372
1372
|
];
|
|
1373
1373
|
};
|
|
@@ -1422,18 +1422,18 @@ type Database = {
|
|
|
1422
1422
|
};
|
|
1423
1423
|
Relationships: [
|
|
1424
1424
|
{
|
|
1425
|
-
foreignKeyName:
|
|
1426
|
-
columns: [
|
|
1425
|
+
foreignKeyName: "calibration_runs_organization_id_fkey";
|
|
1426
|
+
columns: ["organization_id"];
|
|
1427
1427
|
isOneToOne: false;
|
|
1428
|
-
referencedRelation:
|
|
1429
|
-
referencedColumns: [
|
|
1428
|
+
referencedRelation: "organizations";
|
|
1429
|
+
referencedColumns: ["id"];
|
|
1430
1430
|
},
|
|
1431
1431
|
{
|
|
1432
|
-
foreignKeyName:
|
|
1433
|
-
columns: [
|
|
1432
|
+
foreignKeyName: "calibration_runs_project_id_fkey";
|
|
1433
|
+
columns: ["project_id"];
|
|
1434
1434
|
isOneToOne: false;
|
|
1435
|
-
referencedRelation:
|
|
1436
|
-
referencedColumns: [
|
|
1435
|
+
referencedRelation: "calibration_projects";
|
|
1436
|
+
referencedColumns: ["id"];
|
|
1437
1437
|
}
|
|
1438
1438
|
];
|
|
1439
1439
|
};
|
|
@@ -1512,25 +1512,25 @@ type Database = {
|
|
|
1512
1512
|
};
|
|
1513
1513
|
Relationships: [
|
|
1514
1514
|
{
|
|
1515
|
-
foreignKeyName:
|
|
1516
|
-
columns: [
|
|
1515
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
1516
|
+
columns: ["completed_by"];
|
|
1517
1517
|
isOneToOne: false;
|
|
1518
|
-
referencedRelation:
|
|
1519
|
-
referencedColumns: [
|
|
1518
|
+
referencedRelation: "users";
|
|
1519
|
+
referencedColumns: ["id"];
|
|
1520
1520
|
},
|
|
1521
1521
|
{
|
|
1522
|
-
foreignKeyName:
|
|
1523
|
-
columns: [
|
|
1522
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
1523
|
+
columns: ["organization_id"];
|
|
1524
1524
|
isOneToOne: false;
|
|
1525
|
-
referencedRelation:
|
|
1526
|
-
referencedColumns: [
|
|
1525
|
+
referencedRelation: "organizations";
|
|
1526
|
+
referencedColumns: ["id"];
|
|
1527
1527
|
},
|
|
1528
1528
|
{
|
|
1529
|
-
foreignKeyName:
|
|
1530
|
-
columns: [
|
|
1529
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
1530
|
+
columns: ["target_execution_id"];
|
|
1531
1531
|
isOneToOne: false;
|
|
1532
|
-
referencedRelation:
|
|
1533
|
-
referencedColumns: [
|
|
1532
|
+
referencedRelation: "execution_logs";
|
|
1533
|
+
referencedColumns: ["execution_id"];
|
|
1534
1534
|
}
|
|
1535
1535
|
];
|
|
1536
1536
|
};
|
|
@@ -1570,306 +1570,18 @@ type Database = {
|
|
|
1570
1570
|
};
|
|
1571
1571
|
Relationships: [
|
|
1572
1572
|
{
|
|
1573
|
-
foreignKeyName:
|
|
1574
|
-
columns: [
|
|
1573
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
1574
|
+
columns: ["created_by"];
|
|
1575
1575
|
isOneToOne: false;
|
|
1576
|
-
referencedRelation:
|
|
1577
|
-
referencedColumns: [
|
|
1576
|
+
referencedRelation: "users";
|
|
1577
|
+
referencedColumns: ["id"];
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
1580
|
-
foreignKeyName:
|
|
1581
|
-
columns: [
|
|
1580
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
1581
|
+
columns: ["organization_id"];
|
|
1582
1582
|
isOneToOne: false;
|
|
1583
|
-
referencedRelation:
|
|
1584
|
-
referencedColumns: [
|
|
1585
|
-
}
|
|
1586
|
-
];
|
|
1587
|
-
};
|
|
1588
|
-
prj_tasks: {
|
|
1589
|
-
Row: {
|
|
1590
|
-
checklist: Json | null;
|
|
1591
|
-
completed_at: string | null;
|
|
1592
|
-
created_at: string;
|
|
1593
|
-
description: string | null;
|
|
1594
|
-
due_date: string | null;
|
|
1595
|
-
file_url: string | null;
|
|
1596
|
-
id: string;
|
|
1597
|
-
metadata: Json | null;
|
|
1598
|
-
milestone_id: string | null;
|
|
1599
|
-
name: string;
|
|
1600
|
-
organization_id: string;
|
|
1601
|
-
parent_task_id: string | null;
|
|
1602
|
-
project_id: string;
|
|
1603
|
-
resume_context: Json | null;
|
|
1604
|
-
status: string;
|
|
1605
|
-
type: string;
|
|
1606
|
-
updated_at: string;
|
|
1607
|
-
};
|
|
1608
|
-
Insert: {
|
|
1609
|
-
checklist?: Json | null;
|
|
1610
|
-
completed_at?: string | null;
|
|
1611
|
-
created_at?: string;
|
|
1612
|
-
description?: string | null;
|
|
1613
|
-
due_date?: string | null;
|
|
1614
|
-
file_url?: string | null;
|
|
1615
|
-
id?: string;
|
|
1616
|
-
metadata?: Json | null;
|
|
1617
|
-
milestone_id?: string | null;
|
|
1618
|
-
name: string;
|
|
1619
|
-
organization_id: string;
|
|
1620
|
-
parent_task_id?: string | null;
|
|
1621
|
-
project_id: string;
|
|
1622
|
-
resume_context?: Json | null;
|
|
1623
|
-
status?: string;
|
|
1624
|
-
type?: string;
|
|
1625
|
-
updated_at?: string;
|
|
1626
|
-
};
|
|
1627
|
-
Update: {
|
|
1628
|
-
checklist?: Json | null;
|
|
1629
|
-
completed_at?: string | null;
|
|
1630
|
-
created_at?: string;
|
|
1631
|
-
description?: string | null;
|
|
1632
|
-
due_date?: string | null;
|
|
1633
|
-
file_url?: string | null;
|
|
1634
|
-
id?: string;
|
|
1635
|
-
metadata?: Json | null;
|
|
1636
|
-
milestone_id?: string | null;
|
|
1637
|
-
name?: string;
|
|
1638
|
-
organization_id?: string;
|
|
1639
|
-
parent_task_id?: string | null;
|
|
1640
|
-
project_id?: string;
|
|
1641
|
-
resume_context?: Json | null;
|
|
1642
|
-
status?: string;
|
|
1643
|
-
type?: string;
|
|
1644
|
-
updated_at?: string;
|
|
1645
|
-
};
|
|
1646
|
-
Relationships: [
|
|
1647
|
-
{
|
|
1648
|
-
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
1649
|
-
columns: ['project_id'];
|
|
1650
|
-
isOneToOne: false;
|
|
1651
|
-
referencedRelation: 'prj_projects';
|
|
1652
|
-
referencedColumns: ['id'];
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
1656
|
-
columns: ['milestone_id'];
|
|
1657
|
-
isOneToOne: false;
|
|
1658
|
-
referencedRelation: 'prj_milestones';
|
|
1659
|
-
referencedColumns: ['id'];
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
1663
|
-
columns: ['organization_id'];
|
|
1664
|
-
isOneToOne: false;
|
|
1665
|
-
referencedRelation: 'organizations';
|
|
1666
|
-
referencedColumns: ['id'];
|
|
1667
|
-
}
|
|
1668
|
-
];
|
|
1669
|
-
};
|
|
1670
|
-
prj_projects: {
|
|
1671
|
-
Row: {
|
|
1672
|
-
actual_end_date: string | null;
|
|
1673
|
-
client_company_id: string | null;
|
|
1674
|
-
contract_value: number | null;
|
|
1675
|
-
created_at: string;
|
|
1676
|
-
deal_id: string | null;
|
|
1677
|
-
description: string | null;
|
|
1678
|
-
id: string;
|
|
1679
|
-
kind: string;
|
|
1680
|
-
metadata: Json | null;
|
|
1681
|
-
name: string;
|
|
1682
|
-
organization_id: string;
|
|
1683
|
-
start_date: string | null;
|
|
1684
|
-
status: string;
|
|
1685
|
-
target_end_date: string | null;
|
|
1686
|
-
updated_at: string;
|
|
1687
|
-
};
|
|
1688
|
-
Insert: {
|
|
1689
|
-
actual_end_date?: string | null;
|
|
1690
|
-
client_company_id?: string | null;
|
|
1691
|
-
contract_value?: number | null;
|
|
1692
|
-
created_at?: string;
|
|
1693
|
-
deal_id?: string | null;
|
|
1694
|
-
description?: string | null;
|
|
1695
|
-
id?: string;
|
|
1696
|
-
kind?: string;
|
|
1697
|
-
metadata?: Json | null;
|
|
1698
|
-
name: string;
|
|
1699
|
-
organization_id: string;
|
|
1700
|
-
start_date?: string | null;
|
|
1701
|
-
status?: string;
|
|
1702
|
-
target_end_date?: string | null;
|
|
1703
|
-
updated_at?: string;
|
|
1704
|
-
};
|
|
1705
|
-
Update: {
|
|
1706
|
-
actual_end_date?: string | null;
|
|
1707
|
-
client_company_id?: string | null;
|
|
1708
|
-
contract_value?: number | null;
|
|
1709
|
-
created_at?: string;
|
|
1710
|
-
deal_id?: string | null;
|
|
1711
|
-
description?: string | null;
|
|
1712
|
-
id?: string;
|
|
1713
|
-
kind?: string;
|
|
1714
|
-
metadata?: Json | null;
|
|
1715
|
-
name?: string;
|
|
1716
|
-
organization_id?: string;
|
|
1717
|
-
start_date?: string | null;
|
|
1718
|
-
status?: string;
|
|
1719
|
-
target_end_date?: string | null;
|
|
1720
|
-
updated_at?: string;
|
|
1721
|
-
};
|
|
1722
|
-
Relationships: [
|
|
1723
|
-
{
|
|
1724
|
-
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
1725
|
-
columns: ['client_company_id'];
|
|
1726
|
-
isOneToOne: false;
|
|
1727
|
-
referencedRelation: 'acq_companies';
|
|
1728
|
-
referencedColumns: ['id'];
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
1732
|
-
columns: ['deal_id'];
|
|
1733
|
-
isOneToOne: false;
|
|
1734
|
-
referencedRelation: 'acq_deals';
|
|
1735
|
-
referencedColumns: ['id'];
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
1739
|
-
columns: ['organization_id'];
|
|
1740
|
-
isOneToOne: false;
|
|
1741
|
-
referencedRelation: 'organizations';
|
|
1742
|
-
referencedColumns: ['id'];
|
|
1743
|
-
}
|
|
1744
|
-
];
|
|
1745
|
-
};
|
|
1746
|
-
prj_milestones: {
|
|
1747
|
-
Row: {
|
|
1748
|
-
checklist: Json | null;
|
|
1749
|
-
completed_at: string | null;
|
|
1750
|
-
created_at: string;
|
|
1751
|
-
description: string | null;
|
|
1752
|
-
due_date: string | null;
|
|
1753
|
-
id: string;
|
|
1754
|
-
metadata: Json | null;
|
|
1755
|
-
name: string;
|
|
1756
|
-
organization_id: string;
|
|
1757
|
-
project_id: string;
|
|
1758
|
-
sequence: number;
|
|
1759
|
-
status: string;
|
|
1760
|
-
updated_at: string;
|
|
1761
|
-
};
|
|
1762
|
-
Insert: {
|
|
1763
|
-
checklist?: Json | null;
|
|
1764
|
-
completed_at?: string | null;
|
|
1765
|
-
created_at?: string;
|
|
1766
|
-
description?: string | null;
|
|
1767
|
-
due_date?: string | null;
|
|
1768
|
-
id?: string;
|
|
1769
|
-
metadata?: Json | null;
|
|
1770
|
-
name: string;
|
|
1771
|
-
organization_id: string;
|
|
1772
|
-
project_id: string;
|
|
1773
|
-
sequence?: number;
|
|
1774
|
-
status?: string;
|
|
1775
|
-
updated_at?: string;
|
|
1776
|
-
};
|
|
1777
|
-
Update: {
|
|
1778
|
-
checklist?: Json | null;
|
|
1779
|
-
completed_at?: string | null;
|
|
1780
|
-
created_at?: string;
|
|
1781
|
-
description?: string | null;
|
|
1782
|
-
due_date?: string | null;
|
|
1783
|
-
id?: string;
|
|
1784
|
-
metadata?: Json | null;
|
|
1785
|
-
name?: string;
|
|
1786
|
-
organization_id?: string;
|
|
1787
|
-
project_id?: string;
|
|
1788
|
-
sequence?: number;
|
|
1789
|
-
status?: string;
|
|
1790
|
-
updated_at?: string;
|
|
1791
|
-
};
|
|
1792
|
-
Relationships: [
|
|
1793
|
-
{
|
|
1794
|
-
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
1795
|
-
columns: ['project_id'];
|
|
1796
|
-
isOneToOne: false;
|
|
1797
|
-
referencedRelation: 'prj_projects';
|
|
1798
|
-
referencedColumns: ['id'];
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
1802
|
-
columns: ['organization_id'];
|
|
1803
|
-
isOneToOne: false;
|
|
1804
|
-
referencedRelation: 'organizations';
|
|
1805
|
-
referencedColumns: ['id'];
|
|
1806
|
-
}
|
|
1807
|
-
];
|
|
1808
|
-
};
|
|
1809
|
-
prj_notes: {
|
|
1810
|
-
Row: {
|
|
1811
|
-
content: string;
|
|
1812
|
-
created_at: string;
|
|
1813
|
-
created_by: string | null;
|
|
1814
|
-
id: string;
|
|
1815
|
-
metadata: Json | null;
|
|
1816
|
-
milestone_id: string | null;
|
|
1817
|
-
occurred_at: string;
|
|
1818
|
-
organization_id: string;
|
|
1819
|
-
project_id: string;
|
|
1820
|
-
summary: string | null;
|
|
1821
|
-
task_id: string | null;
|
|
1822
|
-
type: string;
|
|
1823
|
-
};
|
|
1824
|
-
Insert: {
|
|
1825
|
-
content: string;
|
|
1826
|
-
created_at?: string;
|
|
1827
|
-
created_by?: string | null;
|
|
1828
|
-
id?: string;
|
|
1829
|
-
metadata?: Json | null;
|
|
1830
|
-
milestone_id?: string | null;
|
|
1831
|
-
occurred_at?: string;
|
|
1832
|
-
organization_id: string;
|
|
1833
|
-
project_id: string;
|
|
1834
|
-
summary?: string | null;
|
|
1835
|
-
task_id?: string | null;
|
|
1836
|
-
type?: string;
|
|
1837
|
-
};
|
|
1838
|
-
Update: {
|
|
1839
|
-
content?: string;
|
|
1840
|
-
created_at?: string;
|
|
1841
|
-
created_by?: string | null;
|
|
1842
|
-
id?: string;
|
|
1843
|
-
metadata?: Json | null;
|
|
1844
|
-
milestone_id?: string | null;
|
|
1845
|
-
occurred_at?: string;
|
|
1846
|
-
organization_id?: string;
|
|
1847
|
-
project_id?: string;
|
|
1848
|
-
summary?: string | null;
|
|
1849
|
-
task_id?: string | null;
|
|
1850
|
-
type?: string;
|
|
1851
|
-
};
|
|
1852
|
-
Relationships: [
|
|
1853
|
-
{
|
|
1854
|
-
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
1855
|
-
columns: ['created_by'];
|
|
1856
|
-
isOneToOne: false;
|
|
1857
|
-
referencedRelation: 'users';
|
|
1858
|
-
referencedColumns: ['id'];
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
1862
|
-
columns: ['project_id'];
|
|
1863
|
-
isOneToOne: false;
|
|
1864
|
-
referencedRelation: 'prj_projects';
|
|
1865
|
-
referencedColumns: ['id'];
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
1869
|
-
columns: ['organization_id'];
|
|
1870
|
-
isOneToOne: false;
|
|
1871
|
-
referencedRelation: 'organizations';
|
|
1872
|
-
referencedColumns: ['id'];
|
|
1583
|
+
referencedRelation: "organizations";
|
|
1584
|
+
referencedColumns: ["id"];
|
|
1873
1585
|
}
|
|
1874
1586
|
];
|
|
1875
1587
|
};
|
|
@@ -1921,11 +1633,11 @@ type Database = {
|
|
|
1921
1633
|
};
|
|
1922
1634
|
Relationships: [
|
|
1923
1635
|
{
|
|
1924
|
-
foreignKeyName:
|
|
1925
|
-
columns: [
|
|
1636
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
1637
|
+
columns: ["organization_id"];
|
|
1926
1638
|
isOneToOne: false;
|
|
1927
|
-
referencedRelation:
|
|
1928
|
-
referencedColumns: [
|
|
1639
|
+
referencedRelation: "organizations";
|
|
1640
|
+
referencedColumns: ["id"];
|
|
1929
1641
|
}
|
|
1930
1642
|
];
|
|
1931
1643
|
};
|
|
@@ -1980,25 +1692,25 @@ type Database = {
|
|
|
1980
1692
|
};
|
|
1981
1693
|
Relationships: [
|
|
1982
1694
|
{
|
|
1983
|
-
foreignKeyName:
|
|
1984
|
-
columns: [
|
|
1695
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
1696
|
+
columns: ["execution_id"];
|
|
1985
1697
|
isOneToOne: false;
|
|
1986
|
-
referencedRelation:
|
|
1987
|
-
referencedColumns: [
|
|
1698
|
+
referencedRelation: "execution_logs";
|
|
1699
|
+
referencedColumns: ["execution_id"];
|
|
1988
1700
|
},
|
|
1989
1701
|
{
|
|
1990
|
-
foreignKeyName:
|
|
1991
|
-
columns: [
|
|
1702
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
1703
|
+
columns: ["organization_id"];
|
|
1992
1704
|
isOneToOne: false;
|
|
1993
|
-
referencedRelation:
|
|
1994
|
-
referencedColumns: [
|
|
1705
|
+
referencedRelation: "organizations";
|
|
1706
|
+
referencedColumns: ["id"];
|
|
1995
1707
|
},
|
|
1996
1708
|
{
|
|
1997
|
-
foreignKeyName:
|
|
1998
|
-
columns: [
|
|
1709
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
1710
|
+
columns: ["resolved_by"];
|
|
1999
1711
|
isOneToOne: false;
|
|
2000
|
-
referencedRelation:
|
|
2001
|
-
referencedColumns: [
|
|
1712
|
+
referencedRelation: "users";
|
|
1713
|
+
referencedColumns: ["id"];
|
|
2002
1714
|
}
|
|
2003
1715
|
];
|
|
2004
1716
|
};
|
|
@@ -2080,32 +1792,32 @@ type Database = {
|
|
|
2080
1792
|
};
|
|
2081
1793
|
Relationships: [
|
|
2082
1794
|
{
|
|
2083
|
-
foreignKeyName:
|
|
2084
|
-
columns: [
|
|
1795
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
1796
|
+
columns: ["organization_id"];
|
|
2085
1797
|
isOneToOne: false;
|
|
2086
|
-
referencedRelation:
|
|
2087
|
-
referencedColumns: [
|
|
1798
|
+
referencedRelation: "organizations";
|
|
1799
|
+
referencedColumns: ["id"];
|
|
2088
1800
|
},
|
|
2089
1801
|
{
|
|
2090
|
-
foreignKeyName:
|
|
2091
|
-
columns: [
|
|
1802
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
1803
|
+
columns: ["origin_execution_id"];
|
|
2092
1804
|
isOneToOne: false;
|
|
2093
|
-
referencedRelation:
|
|
2094
|
-
referencedColumns: [
|
|
1805
|
+
referencedRelation: "execution_logs";
|
|
1806
|
+
referencedColumns: ["execution_id"];
|
|
2095
1807
|
},
|
|
2096
1808
|
{
|
|
2097
|
-
foreignKeyName:
|
|
2098
|
-
columns: [
|
|
1809
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
1810
|
+
columns: ["session_id"];
|
|
2099
1811
|
isOneToOne: false;
|
|
2100
|
-
referencedRelation:
|
|
2101
|
-
referencedColumns: [
|
|
1812
|
+
referencedRelation: "sessions";
|
|
1813
|
+
referencedColumns: ["session_id"];
|
|
2102
1814
|
},
|
|
2103
1815
|
{
|
|
2104
|
-
foreignKeyName:
|
|
2105
|
-
columns: [
|
|
1816
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
1817
|
+
columns: ["user_id"];
|
|
2106
1818
|
isOneToOne: false;
|
|
2107
|
-
referencedRelation:
|
|
2108
|
-
referencedColumns: [
|
|
1819
|
+
referencedRelation: "users";
|
|
1820
|
+
referencedColumns: ["id"];
|
|
2109
1821
|
}
|
|
2110
1822
|
];
|
|
2111
1823
|
};
|
|
@@ -2151,18 +1863,18 @@ type Database = {
|
|
|
2151
1863
|
};
|
|
2152
1864
|
Relationships: [
|
|
2153
1865
|
{
|
|
2154
|
-
foreignKeyName:
|
|
2155
|
-
columns: [
|
|
1866
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
1867
|
+
columns: ["execution_id"];
|
|
2156
1868
|
isOneToOne: true;
|
|
2157
|
-
referencedRelation:
|
|
2158
|
-
referencedColumns: [
|
|
1869
|
+
referencedRelation: "execution_logs";
|
|
1870
|
+
referencedColumns: ["execution_id"];
|
|
2159
1871
|
},
|
|
2160
1872
|
{
|
|
2161
|
-
foreignKeyName:
|
|
2162
|
-
columns: [
|
|
1873
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
1874
|
+
columns: ["organization_id"];
|
|
2163
1875
|
isOneToOne: false;
|
|
2164
|
-
referencedRelation:
|
|
2165
|
-
referencedColumns: [
|
|
1876
|
+
referencedRelation: "organizations";
|
|
1877
|
+
referencedColumns: ["id"];
|
|
2166
1878
|
}
|
|
2167
1879
|
];
|
|
2168
1880
|
};
|
|
@@ -2205,18 +1917,18 @@ type Database = {
|
|
|
2205
1917
|
};
|
|
2206
1918
|
Relationships: [
|
|
2207
1919
|
{
|
|
2208
|
-
foreignKeyName:
|
|
2209
|
-
columns: [
|
|
1920
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
1921
|
+
columns: ["organization_id"];
|
|
2210
1922
|
isOneToOne: false;
|
|
2211
|
-
referencedRelation:
|
|
2212
|
-
referencedColumns: [
|
|
1923
|
+
referencedRelation: "organizations";
|
|
1924
|
+
referencedColumns: ["id"];
|
|
2213
1925
|
},
|
|
2214
1926
|
{
|
|
2215
|
-
foreignKeyName:
|
|
2216
|
-
columns: [
|
|
1927
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
1928
|
+
columns: ["user_id"];
|
|
2217
1929
|
isOneToOne: false;
|
|
2218
|
-
referencedRelation:
|
|
2219
|
-
referencedColumns: [
|
|
1930
|
+
referencedRelation: "users";
|
|
1931
|
+
referencedColumns: ["id"];
|
|
2220
1932
|
}
|
|
2221
1933
|
];
|
|
2222
1934
|
};
|
|
@@ -2271,18 +1983,18 @@ type Database = {
|
|
|
2271
1983
|
};
|
|
2272
1984
|
Relationships: [
|
|
2273
1985
|
{
|
|
2274
|
-
foreignKeyName:
|
|
2275
|
-
columns: [
|
|
1986
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
1987
|
+
columns: ["inviter_user_id"];
|
|
2276
1988
|
isOneToOne: false;
|
|
2277
|
-
referencedRelation:
|
|
2278
|
-
referencedColumns: [
|
|
1989
|
+
referencedRelation: "users";
|
|
1990
|
+
referencedColumns: ["id"];
|
|
2279
1991
|
},
|
|
2280
1992
|
{
|
|
2281
|
-
foreignKeyName:
|
|
2282
|
-
columns: [
|
|
1993
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
1994
|
+
columns: ["organization_id"];
|
|
2283
1995
|
isOneToOne: false;
|
|
2284
|
-
referencedRelation:
|
|
2285
|
-
referencedColumns: [
|
|
1996
|
+
referencedRelation: "organizations";
|
|
1997
|
+
referencedColumns: ["id"];
|
|
2286
1998
|
}
|
|
2287
1999
|
];
|
|
2288
2000
|
};
|
|
@@ -2322,18 +2034,18 @@ type Database = {
|
|
|
2322
2034
|
};
|
|
2323
2035
|
Relationships: [
|
|
2324
2036
|
{
|
|
2325
|
-
foreignKeyName:
|
|
2326
|
-
columns: [
|
|
2037
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
2038
|
+
columns: ["organization_id"];
|
|
2327
2039
|
isOneToOne: false;
|
|
2328
|
-
referencedRelation:
|
|
2329
|
-
referencedColumns: [
|
|
2040
|
+
referencedRelation: "organizations";
|
|
2041
|
+
referencedColumns: ["id"];
|
|
2330
2042
|
},
|
|
2331
2043
|
{
|
|
2332
|
-
foreignKeyName:
|
|
2333
|
-
columns: [
|
|
2044
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
2045
|
+
columns: ["user_id"];
|
|
2334
2046
|
isOneToOne: false;
|
|
2335
|
-
referencedRelation:
|
|
2336
|
-
referencedColumns: [
|
|
2047
|
+
referencedRelation: "users";
|
|
2048
|
+
referencedColumns: ["id"];
|
|
2337
2049
|
}
|
|
2338
2050
|
];
|
|
2339
2051
|
};
|
|
@@ -2373,6 +2085,315 @@ type Database = {
|
|
|
2373
2085
|
};
|
|
2374
2086
|
Relationships: [];
|
|
2375
2087
|
};
|
|
2088
|
+
prj_milestones: {
|
|
2089
|
+
Row: {
|
|
2090
|
+
checklist: Json | null;
|
|
2091
|
+
completed_at: string | null;
|
|
2092
|
+
created_at: string;
|
|
2093
|
+
description: string | null;
|
|
2094
|
+
due_date: string | null;
|
|
2095
|
+
id: string;
|
|
2096
|
+
metadata: Json | null;
|
|
2097
|
+
name: string;
|
|
2098
|
+
organization_id: string;
|
|
2099
|
+
project_id: string;
|
|
2100
|
+
sequence: number;
|
|
2101
|
+
status: string;
|
|
2102
|
+
updated_at: string;
|
|
2103
|
+
};
|
|
2104
|
+
Insert: {
|
|
2105
|
+
checklist?: Json | null;
|
|
2106
|
+
completed_at?: string | null;
|
|
2107
|
+
created_at?: string;
|
|
2108
|
+
description?: string | null;
|
|
2109
|
+
due_date?: string | null;
|
|
2110
|
+
id?: string;
|
|
2111
|
+
metadata?: Json | null;
|
|
2112
|
+
name: string;
|
|
2113
|
+
organization_id: string;
|
|
2114
|
+
project_id: string;
|
|
2115
|
+
sequence?: number;
|
|
2116
|
+
status?: string;
|
|
2117
|
+
updated_at?: string;
|
|
2118
|
+
};
|
|
2119
|
+
Update: {
|
|
2120
|
+
checklist?: Json | null;
|
|
2121
|
+
completed_at?: string | null;
|
|
2122
|
+
created_at?: string;
|
|
2123
|
+
description?: string | null;
|
|
2124
|
+
due_date?: string | null;
|
|
2125
|
+
id?: string;
|
|
2126
|
+
metadata?: Json | null;
|
|
2127
|
+
name?: string;
|
|
2128
|
+
organization_id?: string;
|
|
2129
|
+
project_id?: string;
|
|
2130
|
+
sequence?: number;
|
|
2131
|
+
status?: string;
|
|
2132
|
+
updated_at?: string;
|
|
2133
|
+
};
|
|
2134
|
+
Relationships: [
|
|
2135
|
+
{
|
|
2136
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2137
|
+
columns: ["organization_id"];
|
|
2138
|
+
isOneToOne: false;
|
|
2139
|
+
referencedRelation: "organizations";
|
|
2140
|
+
referencedColumns: ["id"];
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2144
|
+
columns: ["project_id"];
|
|
2145
|
+
isOneToOne: false;
|
|
2146
|
+
referencedRelation: "prj_projects";
|
|
2147
|
+
referencedColumns: ["id"];
|
|
2148
|
+
}
|
|
2149
|
+
];
|
|
2150
|
+
};
|
|
2151
|
+
prj_notes: {
|
|
2152
|
+
Row: {
|
|
2153
|
+
content: string;
|
|
2154
|
+
created_at: string;
|
|
2155
|
+
created_by: string | null;
|
|
2156
|
+
id: string;
|
|
2157
|
+
metadata: Json | null;
|
|
2158
|
+
milestone_id: string | null;
|
|
2159
|
+
occurred_at: string;
|
|
2160
|
+
organization_id: string;
|
|
2161
|
+
project_id: string;
|
|
2162
|
+
summary: string | null;
|
|
2163
|
+
task_id: string | null;
|
|
2164
|
+
type: string;
|
|
2165
|
+
};
|
|
2166
|
+
Insert: {
|
|
2167
|
+
content: string;
|
|
2168
|
+
created_at?: string;
|
|
2169
|
+
created_by?: string | null;
|
|
2170
|
+
id?: string;
|
|
2171
|
+
metadata?: Json | null;
|
|
2172
|
+
milestone_id?: string | null;
|
|
2173
|
+
occurred_at?: string;
|
|
2174
|
+
organization_id: string;
|
|
2175
|
+
project_id: string;
|
|
2176
|
+
summary?: string | null;
|
|
2177
|
+
task_id?: string | null;
|
|
2178
|
+
type?: string;
|
|
2179
|
+
};
|
|
2180
|
+
Update: {
|
|
2181
|
+
content?: string;
|
|
2182
|
+
created_at?: string;
|
|
2183
|
+
created_by?: string | null;
|
|
2184
|
+
id?: string;
|
|
2185
|
+
metadata?: Json | null;
|
|
2186
|
+
milestone_id?: string | null;
|
|
2187
|
+
occurred_at?: string;
|
|
2188
|
+
organization_id?: string;
|
|
2189
|
+
project_id?: string;
|
|
2190
|
+
summary?: string | null;
|
|
2191
|
+
task_id?: string | null;
|
|
2192
|
+
type?: string;
|
|
2193
|
+
};
|
|
2194
|
+
Relationships: [
|
|
2195
|
+
{
|
|
2196
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2197
|
+
columns: ["created_by"];
|
|
2198
|
+
isOneToOne: false;
|
|
2199
|
+
referencedRelation: "users";
|
|
2200
|
+
referencedColumns: ["id"];
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2204
|
+
columns: ["milestone_id"];
|
|
2205
|
+
isOneToOne: false;
|
|
2206
|
+
referencedRelation: "prj_milestones";
|
|
2207
|
+
referencedColumns: ["id"];
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2211
|
+
columns: ["organization_id"];
|
|
2212
|
+
isOneToOne: false;
|
|
2213
|
+
referencedRelation: "organizations";
|
|
2214
|
+
referencedColumns: ["id"];
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2218
|
+
columns: ["project_id"];
|
|
2219
|
+
isOneToOne: false;
|
|
2220
|
+
referencedRelation: "prj_projects";
|
|
2221
|
+
referencedColumns: ["id"];
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2225
|
+
columns: ["task_id"];
|
|
2226
|
+
isOneToOne: false;
|
|
2227
|
+
referencedRelation: "prj_tasks";
|
|
2228
|
+
referencedColumns: ["id"];
|
|
2229
|
+
}
|
|
2230
|
+
];
|
|
2231
|
+
};
|
|
2232
|
+
prj_projects: {
|
|
2233
|
+
Row: {
|
|
2234
|
+
actual_end_date: string | null;
|
|
2235
|
+
client_company_id: string | null;
|
|
2236
|
+
contract_value: number | null;
|
|
2237
|
+
created_at: string;
|
|
2238
|
+
deal_id: string | null;
|
|
2239
|
+
description: string | null;
|
|
2240
|
+
id: string;
|
|
2241
|
+
kind: string;
|
|
2242
|
+
metadata: Json | null;
|
|
2243
|
+
name: string;
|
|
2244
|
+
organization_id: string;
|
|
2245
|
+
start_date: string | null;
|
|
2246
|
+
status: string;
|
|
2247
|
+
target_end_date: string | null;
|
|
2248
|
+
updated_at: string;
|
|
2249
|
+
};
|
|
2250
|
+
Insert: {
|
|
2251
|
+
actual_end_date?: string | null;
|
|
2252
|
+
client_company_id?: string | null;
|
|
2253
|
+
contract_value?: number | null;
|
|
2254
|
+
created_at?: string;
|
|
2255
|
+
deal_id?: string | null;
|
|
2256
|
+
description?: string | null;
|
|
2257
|
+
id?: string;
|
|
2258
|
+
kind?: string;
|
|
2259
|
+
metadata?: Json | null;
|
|
2260
|
+
name: string;
|
|
2261
|
+
organization_id: string;
|
|
2262
|
+
start_date?: string | null;
|
|
2263
|
+
status?: string;
|
|
2264
|
+
target_end_date?: string | null;
|
|
2265
|
+
updated_at?: string;
|
|
2266
|
+
};
|
|
2267
|
+
Update: {
|
|
2268
|
+
actual_end_date?: string | null;
|
|
2269
|
+
client_company_id?: string | null;
|
|
2270
|
+
contract_value?: number | null;
|
|
2271
|
+
created_at?: string;
|
|
2272
|
+
deal_id?: string | null;
|
|
2273
|
+
description?: string | null;
|
|
2274
|
+
id?: string;
|
|
2275
|
+
kind?: string;
|
|
2276
|
+
metadata?: Json | null;
|
|
2277
|
+
name?: string;
|
|
2278
|
+
organization_id?: string;
|
|
2279
|
+
start_date?: string | null;
|
|
2280
|
+
status?: string;
|
|
2281
|
+
target_end_date?: string | null;
|
|
2282
|
+
updated_at?: string;
|
|
2283
|
+
};
|
|
2284
|
+
Relationships: [
|
|
2285
|
+
{
|
|
2286
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
2287
|
+
columns: ["client_company_id"];
|
|
2288
|
+
isOneToOne: false;
|
|
2289
|
+
referencedRelation: "acq_companies";
|
|
2290
|
+
referencedColumns: ["id"];
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2294
|
+
columns: ["deal_id"];
|
|
2295
|
+
isOneToOne: false;
|
|
2296
|
+
referencedRelation: "acq_deals";
|
|
2297
|
+
referencedColumns: ["id"];
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
2301
|
+
columns: ["organization_id"];
|
|
2302
|
+
isOneToOne: false;
|
|
2303
|
+
referencedRelation: "organizations";
|
|
2304
|
+
referencedColumns: ["id"];
|
|
2305
|
+
}
|
|
2306
|
+
];
|
|
2307
|
+
};
|
|
2308
|
+
prj_tasks: {
|
|
2309
|
+
Row: {
|
|
2310
|
+
checklist: Json;
|
|
2311
|
+
completed_at: string | null;
|
|
2312
|
+
created_at: string;
|
|
2313
|
+
description: string | null;
|
|
2314
|
+
due_date: string | null;
|
|
2315
|
+
file_url: string | null;
|
|
2316
|
+
id: string;
|
|
2317
|
+
metadata: Json | null;
|
|
2318
|
+
milestone_id: string | null;
|
|
2319
|
+
name: string;
|
|
2320
|
+
organization_id: string;
|
|
2321
|
+
parent_task_id: string | null;
|
|
2322
|
+
project_id: string;
|
|
2323
|
+
resume_context: Json | null;
|
|
2324
|
+
status: string;
|
|
2325
|
+
type: string;
|
|
2326
|
+
updated_at: string;
|
|
2327
|
+
};
|
|
2328
|
+
Insert: {
|
|
2329
|
+
checklist?: Json;
|
|
2330
|
+
completed_at?: string | null;
|
|
2331
|
+
created_at?: string;
|
|
2332
|
+
description?: string | null;
|
|
2333
|
+
due_date?: string | null;
|
|
2334
|
+
file_url?: string | null;
|
|
2335
|
+
id?: string;
|
|
2336
|
+
metadata?: Json | null;
|
|
2337
|
+
milestone_id?: string | null;
|
|
2338
|
+
name: string;
|
|
2339
|
+
organization_id: string;
|
|
2340
|
+
parent_task_id?: string | null;
|
|
2341
|
+
project_id: string;
|
|
2342
|
+
resume_context?: Json | null;
|
|
2343
|
+
status?: string;
|
|
2344
|
+
type?: string;
|
|
2345
|
+
updated_at?: string;
|
|
2346
|
+
};
|
|
2347
|
+
Update: {
|
|
2348
|
+
checklist?: Json;
|
|
2349
|
+
completed_at?: string | null;
|
|
2350
|
+
created_at?: string;
|
|
2351
|
+
description?: string | null;
|
|
2352
|
+
due_date?: string | null;
|
|
2353
|
+
file_url?: string | null;
|
|
2354
|
+
id?: string;
|
|
2355
|
+
metadata?: Json | null;
|
|
2356
|
+
milestone_id?: string | null;
|
|
2357
|
+
name?: string;
|
|
2358
|
+
organization_id?: string;
|
|
2359
|
+
parent_task_id?: string | null;
|
|
2360
|
+
project_id?: string;
|
|
2361
|
+
resume_context?: Json | null;
|
|
2362
|
+
status?: string;
|
|
2363
|
+
type?: string;
|
|
2364
|
+
updated_at?: string;
|
|
2365
|
+
};
|
|
2366
|
+
Relationships: [
|
|
2367
|
+
{
|
|
2368
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
2369
|
+
columns: ["milestone_id"];
|
|
2370
|
+
isOneToOne: false;
|
|
2371
|
+
referencedRelation: "prj_milestones";
|
|
2372
|
+
referencedColumns: ["id"];
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
2376
|
+
columns: ["organization_id"];
|
|
2377
|
+
isOneToOne: false;
|
|
2378
|
+
referencedRelation: "organizations";
|
|
2379
|
+
referencedColumns: ["id"];
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
2383
|
+
columns: ["parent_task_id"];
|
|
2384
|
+
isOneToOne: false;
|
|
2385
|
+
referencedRelation: "prj_tasks";
|
|
2386
|
+
referencedColumns: ["id"];
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
2390
|
+
columns: ["project_id"];
|
|
2391
|
+
isOneToOne: false;
|
|
2392
|
+
referencedRelation: "prj_projects";
|
|
2393
|
+
referencedColumns: ["id"];
|
|
2394
|
+
}
|
|
2395
|
+
];
|
|
2396
|
+
};
|
|
2376
2397
|
session_messages: {
|
|
2377
2398
|
Row: {
|
|
2378
2399
|
created_at: string | null;
|
|
@@ -2409,11 +2430,11 @@ type Database = {
|
|
|
2409
2430
|
};
|
|
2410
2431
|
Relationships: [
|
|
2411
2432
|
{
|
|
2412
|
-
foreignKeyName:
|
|
2413
|
-
columns: [
|
|
2433
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
2434
|
+
columns: ["session_id"];
|
|
2414
2435
|
isOneToOne: false;
|
|
2415
|
-
referencedRelation:
|
|
2416
|
-
referencedColumns: [
|
|
2436
|
+
referencedRelation: "sessions";
|
|
2437
|
+
referencedColumns: ["session_id"];
|
|
2417
2438
|
}
|
|
2418
2439
|
];
|
|
2419
2440
|
};
|
|
@@ -2468,18 +2489,18 @@ type Database = {
|
|
|
2468
2489
|
};
|
|
2469
2490
|
Relationships: [
|
|
2470
2491
|
{
|
|
2471
|
-
foreignKeyName:
|
|
2472
|
-
columns: [
|
|
2492
|
+
foreignKeyName: "fk_organization";
|
|
2493
|
+
columns: ["organization_id"];
|
|
2473
2494
|
isOneToOne: false;
|
|
2474
|
-
referencedRelation:
|
|
2475
|
-
referencedColumns: [
|
|
2495
|
+
referencedRelation: "organizations";
|
|
2496
|
+
referencedColumns: ["id"];
|
|
2476
2497
|
},
|
|
2477
2498
|
{
|
|
2478
|
-
foreignKeyName:
|
|
2479
|
-
columns: [
|
|
2499
|
+
foreignKeyName: "fk_user";
|
|
2500
|
+
columns: ["user_id"];
|
|
2480
2501
|
isOneToOne: false;
|
|
2481
|
-
referencedRelation:
|
|
2482
|
-
referencedColumns: [
|
|
2502
|
+
referencedRelation: "users";
|
|
2503
|
+
referencedColumns: ["id"];
|
|
2483
2504
|
}
|
|
2484
2505
|
];
|
|
2485
2506
|
};
|
|
@@ -2555,11 +2576,11 @@ type Database = {
|
|
|
2555
2576
|
};
|
|
2556
2577
|
Relationships: [
|
|
2557
2578
|
{
|
|
2558
|
-
foreignKeyName:
|
|
2559
|
-
columns: [
|
|
2579
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
2580
|
+
columns: ["organization_id"];
|
|
2560
2581
|
isOneToOne: false;
|
|
2561
|
-
referencedRelation:
|
|
2562
|
-
referencedColumns: [
|
|
2582
|
+
referencedRelation: "organizations";
|
|
2583
|
+
referencedColumns: ["id"];
|
|
2563
2584
|
}
|
|
2564
2585
|
];
|
|
2565
2586
|
};
|
|
@@ -2614,11 +2635,11 @@ type Database = {
|
|
|
2614
2635
|
};
|
|
2615
2636
|
Relationships: [
|
|
2616
2637
|
{
|
|
2617
|
-
foreignKeyName:
|
|
2618
|
-
columns: [
|
|
2638
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
2639
|
+
columns: ["last_visited_org"];
|
|
2619
2640
|
isOneToOne: false;
|
|
2620
|
-
referencedRelation:
|
|
2621
|
-
referencedColumns: [
|
|
2641
|
+
referencedRelation: "organizations";
|
|
2642
|
+
referencedColumns: ["id"];
|
|
2622
2643
|
}
|
|
2623
2644
|
];
|
|
2624
2645
|
};
|
|
@@ -2664,11 +2685,11 @@ type Database = {
|
|
|
2664
2685
|
};
|
|
2665
2686
|
Relationships: [
|
|
2666
2687
|
{
|
|
2667
|
-
foreignKeyName:
|
|
2668
|
-
columns: [
|
|
2688
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
2689
|
+
columns: ["organization_id"];
|
|
2669
2690
|
isOneToOne: false;
|
|
2670
|
-
referencedRelation:
|
|
2671
|
-
referencedColumns: [
|
|
2691
|
+
referencedRelation: "organizations";
|
|
2692
|
+
referencedColumns: ["id"];
|
|
2672
2693
|
}
|
|
2673
2694
|
];
|
|
2674
2695
|
};
|
|
@@ -2788,17 +2809,17 @@ type Database = {
|
|
|
2788
2809
|
};
|
|
2789
2810
|
};
|
|
2790
2811
|
};
|
|
2791
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
2792
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
2793
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
2812
|
+
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
2813
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
2814
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
2794
2815
|
schema: keyof DatabaseWithoutInternals;
|
|
2795
2816
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
2796
2817
|
schema: keyof DatabaseWithoutInternals;
|
|
2797
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
2818
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
2798
2819
|
schema: keyof DatabaseWithoutInternals;
|
|
2799
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
2820
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
2800
2821
|
Row: infer R;
|
|
2801
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
2822
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
2802
2823
|
Row: infer R;
|
|
2803
2824
|
} ? R : never : never;
|
|
2804
2825
|
|
|
@@ -2957,7 +2978,7 @@ interface MembershipFeatureConfig {
|
|
|
2957
2978
|
*/
|
|
2958
2979
|
interface UserConfig {
|
|
2959
2980
|
theme?: {
|
|
2960
|
-
preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-
|
|
2981
|
+
preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-punk' | 'cyber-void' | 'nirvana' | 'wave';
|
|
2961
2982
|
colorScheme?: 'light' | 'dark' | 'auto';
|
|
2962
2983
|
};
|
|
2963
2984
|
onboarding?: {
|