@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/hooks/index.d.ts
CHANGED
|
@@ -534,7 +534,7 @@ type Json = string | number | boolean | null | {
|
|
|
534
534
|
} | Json[];
|
|
535
535
|
type Database = {
|
|
536
536
|
__InternalSupabase: {
|
|
537
|
-
PostgrestVersion:
|
|
537
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
538
538
|
};
|
|
539
539
|
public: {
|
|
540
540
|
Tables: {
|
|
@@ -613,11 +613,11 @@ type Database = {
|
|
|
613
613
|
};
|
|
614
614
|
Relationships: [
|
|
615
615
|
{
|
|
616
|
-
foreignKeyName:
|
|
617
|
-
columns: [
|
|
616
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
617
|
+
columns: ["organization_id"];
|
|
618
618
|
isOneToOne: false;
|
|
619
|
-
referencedRelation:
|
|
620
|
-
referencedColumns: [
|
|
619
|
+
referencedRelation: "organizations";
|
|
620
|
+
referencedColumns: ["id"];
|
|
621
621
|
}
|
|
622
622
|
];
|
|
623
623
|
};
|
|
@@ -702,18 +702,18 @@ type Database = {
|
|
|
702
702
|
};
|
|
703
703
|
Relationships: [
|
|
704
704
|
{
|
|
705
|
-
foreignKeyName:
|
|
706
|
-
columns: [
|
|
705
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
706
|
+
columns: ["company_id"];
|
|
707
707
|
isOneToOne: false;
|
|
708
|
-
referencedRelation:
|
|
709
|
-
referencedColumns: [
|
|
708
|
+
referencedRelation: "acq_companies";
|
|
709
|
+
referencedColumns: ["id"];
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
|
-
foreignKeyName:
|
|
713
|
-
columns: [
|
|
712
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
713
|
+
columns: ["organization_id"];
|
|
714
714
|
isOneToOne: false;
|
|
715
|
-
referencedRelation:
|
|
716
|
-
referencedColumns: [
|
|
715
|
+
referencedRelation: "organizations";
|
|
716
|
+
referencedColumns: ["id"];
|
|
717
717
|
}
|
|
718
718
|
];
|
|
719
719
|
};
|
|
@@ -750,11 +750,11 @@ type Database = {
|
|
|
750
750
|
};
|
|
751
751
|
Relationships: [
|
|
752
752
|
{
|
|
753
|
-
foreignKeyName:
|
|
754
|
-
columns: [
|
|
753
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
754
|
+
columns: ["organization_id"];
|
|
755
755
|
isOneToOne: false;
|
|
756
|
-
referencedRelation:
|
|
757
|
-
referencedColumns: [
|
|
756
|
+
referencedRelation: "organizations";
|
|
757
|
+
referencedColumns: ["id"];
|
|
758
758
|
}
|
|
759
759
|
];
|
|
760
760
|
};
|
|
@@ -818,18 +818,18 @@ type Database = {
|
|
|
818
818
|
};
|
|
819
819
|
Relationships: [
|
|
820
820
|
{
|
|
821
|
-
foreignKeyName:
|
|
822
|
-
columns: [
|
|
821
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
822
|
+
columns: ["content_id"];
|
|
823
823
|
isOneToOne: false;
|
|
824
|
-
referencedRelation:
|
|
825
|
-
referencedColumns: [
|
|
824
|
+
referencedRelation: "acq_content";
|
|
825
|
+
referencedColumns: ["id"];
|
|
826
826
|
},
|
|
827
827
|
{
|
|
828
|
-
foreignKeyName:
|
|
829
|
-
columns: [
|
|
828
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
829
|
+
columns: ["organization_id"];
|
|
830
830
|
isOneToOne: false;
|
|
831
|
-
referencedRelation:
|
|
832
|
-
referencedColumns: [
|
|
831
|
+
referencedRelation: "organizations";
|
|
832
|
+
referencedColumns: ["id"];
|
|
833
833
|
}
|
|
834
834
|
];
|
|
835
835
|
};
|
|
@@ -941,25 +941,25 @@ type Database = {
|
|
|
941
941
|
};
|
|
942
942
|
Relationships: [
|
|
943
943
|
{
|
|
944
|
-
foreignKeyName:
|
|
945
|
-
columns: [
|
|
944
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
945
|
+
columns: ["contact_id"];
|
|
946
946
|
isOneToOne: false;
|
|
947
|
-
referencedRelation:
|
|
948
|
-
referencedColumns: [
|
|
947
|
+
referencedRelation: "acq_contacts";
|
|
948
|
+
referencedColumns: ["id"];
|
|
949
949
|
},
|
|
950
950
|
{
|
|
951
|
-
foreignKeyName:
|
|
952
|
-
columns: [
|
|
951
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
952
|
+
columns: ["organization_id"];
|
|
953
953
|
isOneToOne: false;
|
|
954
|
-
referencedRelation:
|
|
955
|
-
referencedColumns: [
|
|
954
|
+
referencedRelation: "organizations";
|
|
955
|
+
referencedColumns: ["id"];
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
|
-
foreignKeyName:
|
|
959
|
-
columns: [
|
|
958
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
959
|
+
columns: ["source_list_id"];
|
|
960
960
|
isOneToOne: false;
|
|
961
|
-
referencedRelation:
|
|
962
|
-
referencedColumns: [
|
|
961
|
+
referencedRelation: "acq_lists";
|
|
962
|
+
referencedColumns: ["id"];
|
|
963
963
|
}
|
|
964
964
|
];
|
|
965
965
|
};
|
|
@@ -987,18 +987,18 @@ type Database = {
|
|
|
987
987
|
};
|
|
988
988
|
Relationships: [
|
|
989
989
|
{
|
|
990
|
-
foreignKeyName:
|
|
991
|
-
columns: [
|
|
990
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
991
|
+
columns: ["contact_id"];
|
|
992
992
|
isOneToOne: false;
|
|
993
|
-
referencedRelation:
|
|
994
|
-
referencedColumns: [
|
|
993
|
+
referencedRelation: "acq_contacts";
|
|
994
|
+
referencedColumns: ["id"];
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
|
-
foreignKeyName:
|
|
998
|
-
columns: [
|
|
997
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
998
|
+
columns: ["list_id"];
|
|
999
999
|
isOneToOne: false;
|
|
1000
|
-
referencedRelation:
|
|
1001
|
-
referencedColumns: [
|
|
1000
|
+
referencedRelation: "acq_lists";
|
|
1001
|
+
referencedColumns: ["id"];
|
|
1002
1002
|
}
|
|
1003
1003
|
];
|
|
1004
1004
|
};
|
|
@@ -1047,11 +1047,11 @@ type Database = {
|
|
|
1047
1047
|
};
|
|
1048
1048
|
Relationships: [
|
|
1049
1049
|
{
|
|
1050
|
-
foreignKeyName:
|
|
1051
|
-
columns: [
|
|
1050
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
1051
|
+
columns: ["organization_id"];
|
|
1052
1052
|
isOneToOne: false;
|
|
1053
|
-
referencedRelation:
|
|
1054
|
-
referencedColumns: [
|
|
1053
|
+
referencedRelation: "organizations";
|
|
1054
|
+
referencedColumns: ["id"];
|
|
1055
1055
|
}
|
|
1056
1056
|
];
|
|
1057
1057
|
};
|
|
@@ -1127,18 +1127,18 @@ type Database = {
|
|
|
1127
1127
|
};
|
|
1128
1128
|
Relationships: [
|
|
1129
1129
|
{
|
|
1130
|
-
foreignKeyName:
|
|
1131
|
-
columns: [
|
|
1130
|
+
foreignKeyName: "acq_seo_metrics_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
|
-
foreignKeyName:
|
|
1138
|
-
columns: [
|
|
1137
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1138
|
+
columns: ["seo_page_id"];
|
|
1139
1139
|
isOneToOne: false;
|
|
1140
|
-
referencedRelation:
|
|
1141
|
-
referencedColumns: [
|
|
1140
|
+
referencedRelation: "acq_seo_pages";
|
|
1141
|
+
referencedColumns: ["id"];
|
|
1142
1142
|
}
|
|
1143
1143
|
];
|
|
1144
1144
|
};
|
|
@@ -1214,11 +1214,11 @@ type Database = {
|
|
|
1214
1214
|
};
|
|
1215
1215
|
Relationships: [
|
|
1216
1216
|
{
|
|
1217
|
-
foreignKeyName:
|
|
1218
|
-
columns: [
|
|
1217
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1218
|
+
columns: ["organization_id"];
|
|
1219
1219
|
isOneToOne: false;
|
|
1220
|
-
referencedRelation:
|
|
1221
|
-
referencedColumns: [
|
|
1220
|
+
referencedRelation: "organizations";
|
|
1221
|
+
referencedColumns: ["id"];
|
|
1222
1222
|
}
|
|
1223
1223
|
];
|
|
1224
1224
|
};
|
|
@@ -1315,11 +1315,11 @@ type Database = {
|
|
|
1315
1315
|
};
|
|
1316
1316
|
Relationships: [
|
|
1317
1317
|
{
|
|
1318
|
-
foreignKeyName:
|
|
1319
|
-
columns: [
|
|
1318
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1319
|
+
columns: ["organization_id"];
|
|
1320
1320
|
isOneToOne: false;
|
|
1321
|
-
referencedRelation:
|
|
1322
|
-
referencedColumns: [
|
|
1321
|
+
referencedRelation: "organizations";
|
|
1322
|
+
referencedColumns: ["id"];
|
|
1323
1323
|
}
|
|
1324
1324
|
];
|
|
1325
1325
|
};
|
|
@@ -1374,11 +1374,11 @@ type Database = {
|
|
|
1374
1374
|
};
|
|
1375
1375
|
Relationships: [
|
|
1376
1376
|
{
|
|
1377
|
-
foreignKeyName:
|
|
1378
|
-
columns: [
|
|
1377
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
1378
|
+
columns: ["organization_id"];
|
|
1379
1379
|
isOneToOne: false;
|
|
1380
|
-
referencedRelation:
|
|
1381
|
-
referencedColumns: [
|
|
1380
|
+
referencedRelation: "organizations";
|
|
1381
|
+
referencedColumns: ["id"];
|
|
1382
1382
|
}
|
|
1383
1383
|
];
|
|
1384
1384
|
};
|
|
@@ -1409,11 +1409,11 @@ type Database = {
|
|
|
1409
1409
|
};
|
|
1410
1410
|
Relationships: [
|
|
1411
1411
|
{
|
|
1412
|
-
foreignKeyName:
|
|
1413
|
-
columns: [
|
|
1412
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1413
|
+
columns: ["organization_id"];
|
|
1414
1414
|
isOneToOne: false;
|
|
1415
|
-
referencedRelation:
|
|
1416
|
-
referencedColumns: [
|
|
1415
|
+
referencedRelation: "organizations";
|
|
1416
|
+
referencedColumns: ["id"];
|
|
1417
1417
|
}
|
|
1418
1418
|
];
|
|
1419
1419
|
};
|
|
@@ -1450,11 +1450,11 @@ type Database = {
|
|
|
1450
1450
|
};
|
|
1451
1451
|
Relationships: [
|
|
1452
1452
|
{
|
|
1453
|
-
foreignKeyName:
|
|
1454
|
-
columns: [
|
|
1453
|
+
foreignKeyName: "calibration_projects_organization_id_fkey";
|
|
1454
|
+
columns: ["organization_id"];
|
|
1455
1455
|
isOneToOne: false;
|
|
1456
|
-
referencedRelation:
|
|
1457
|
-
referencedColumns: [
|
|
1456
|
+
referencedRelation: "organizations";
|
|
1457
|
+
referencedColumns: ["id"];
|
|
1458
1458
|
}
|
|
1459
1459
|
];
|
|
1460
1460
|
};
|
|
@@ -1509,18 +1509,18 @@ type Database = {
|
|
|
1509
1509
|
};
|
|
1510
1510
|
Relationships: [
|
|
1511
1511
|
{
|
|
1512
|
-
foreignKeyName:
|
|
1513
|
-
columns: [
|
|
1512
|
+
foreignKeyName: "calibration_runs_organization_id_fkey";
|
|
1513
|
+
columns: ["organization_id"];
|
|
1514
1514
|
isOneToOne: false;
|
|
1515
|
-
referencedRelation:
|
|
1516
|
-
referencedColumns: [
|
|
1515
|
+
referencedRelation: "organizations";
|
|
1516
|
+
referencedColumns: ["id"];
|
|
1517
1517
|
},
|
|
1518
1518
|
{
|
|
1519
|
-
foreignKeyName:
|
|
1520
|
-
columns: [
|
|
1519
|
+
foreignKeyName: "calibration_runs_project_id_fkey";
|
|
1520
|
+
columns: ["project_id"];
|
|
1521
1521
|
isOneToOne: false;
|
|
1522
|
-
referencedRelation:
|
|
1523
|
-
referencedColumns: [
|
|
1522
|
+
referencedRelation: "calibration_projects";
|
|
1523
|
+
referencedColumns: ["id"];
|
|
1524
1524
|
}
|
|
1525
1525
|
];
|
|
1526
1526
|
};
|
|
@@ -1599,25 +1599,25 @@ type Database = {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
Relationships: [
|
|
1601
1601
|
{
|
|
1602
|
-
foreignKeyName:
|
|
1603
|
-
columns: [
|
|
1602
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
1603
|
+
columns: ["completed_by"];
|
|
1604
1604
|
isOneToOne: false;
|
|
1605
|
-
referencedRelation:
|
|
1606
|
-
referencedColumns: [
|
|
1605
|
+
referencedRelation: "users";
|
|
1606
|
+
referencedColumns: ["id"];
|
|
1607
1607
|
},
|
|
1608
1608
|
{
|
|
1609
|
-
foreignKeyName:
|
|
1610
|
-
columns: [
|
|
1609
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
1610
|
+
columns: ["organization_id"];
|
|
1611
1611
|
isOneToOne: false;
|
|
1612
|
-
referencedRelation:
|
|
1613
|
-
referencedColumns: [
|
|
1612
|
+
referencedRelation: "organizations";
|
|
1613
|
+
referencedColumns: ["id"];
|
|
1614
1614
|
},
|
|
1615
1615
|
{
|
|
1616
|
-
foreignKeyName:
|
|
1617
|
-
columns: [
|
|
1616
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
1617
|
+
columns: ["target_execution_id"];
|
|
1618
1618
|
isOneToOne: false;
|
|
1619
|
-
referencedRelation:
|
|
1620
|
-
referencedColumns: [
|
|
1619
|
+
referencedRelation: "execution_logs";
|
|
1620
|
+
referencedColumns: ["execution_id"];
|
|
1621
1621
|
}
|
|
1622
1622
|
];
|
|
1623
1623
|
};
|
|
@@ -1657,306 +1657,18 @@ type Database = {
|
|
|
1657
1657
|
};
|
|
1658
1658
|
Relationships: [
|
|
1659
1659
|
{
|
|
1660
|
-
foreignKeyName:
|
|
1661
|
-
columns: [
|
|
1660
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
1661
|
+
columns: ["created_by"];
|
|
1662
1662
|
isOneToOne: false;
|
|
1663
|
-
referencedRelation:
|
|
1664
|
-
referencedColumns: [
|
|
1663
|
+
referencedRelation: "users";
|
|
1664
|
+
referencedColumns: ["id"];
|
|
1665
1665
|
},
|
|
1666
1666
|
{
|
|
1667
|
-
foreignKeyName:
|
|
1668
|
-
columns: [
|
|
1667
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
1668
|
+
columns: ["organization_id"];
|
|
1669
1669
|
isOneToOne: false;
|
|
1670
|
-
referencedRelation:
|
|
1671
|
-
referencedColumns: [
|
|
1672
|
-
}
|
|
1673
|
-
];
|
|
1674
|
-
};
|
|
1675
|
-
prj_tasks: {
|
|
1676
|
-
Row: {
|
|
1677
|
-
checklist: Json | null;
|
|
1678
|
-
completed_at: string | null;
|
|
1679
|
-
created_at: string;
|
|
1680
|
-
description: string | null;
|
|
1681
|
-
due_date: string | null;
|
|
1682
|
-
file_url: string | null;
|
|
1683
|
-
id: string;
|
|
1684
|
-
metadata: Json | null;
|
|
1685
|
-
milestone_id: string | null;
|
|
1686
|
-
name: string;
|
|
1687
|
-
organization_id: string;
|
|
1688
|
-
parent_task_id: string | null;
|
|
1689
|
-
project_id: string;
|
|
1690
|
-
resume_context: Json | null;
|
|
1691
|
-
status: string;
|
|
1692
|
-
type: string;
|
|
1693
|
-
updated_at: string;
|
|
1694
|
-
};
|
|
1695
|
-
Insert: {
|
|
1696
|
-
checklist?: Json | null;
|
|
1697
|
-
completed_at?: string | null;
|
|
1698
|
-
created_at?: string;
|
|
1699
|
-
description?: string | null;
|
|
1700
|
-
due_date?: string | null;
|
|
1701
|
-
file_url?: string | null;
|
|
1702
|
-
id?: string;
|
|
1703
|
-
metadata?: Json | null;
|
|
1704
|
-
milestone_id?: string | null;
|
|
1705
|
-
name: string;
|
|
1706
|
-
organization_id: string;
|
|
1707
|
-
parent_task_id?: string | null;
|
|
1708
|
-
project_id: string;
|
|
1709
|
-
resume_context?: Json | null;
|
|
1710
|
-
status?: string;
|
|
1711
|
-
type?: string;
|
|
1712
|
-
updated_at?: string;
|
|
1713
|
-
};
|
|
1714
|
-
Update: {
|
|
1715
|
-
checklist?: Json | null;
|
|
1716
|
-
completed_at?: string | null;
|
|
1717
|
-
created_at?: string;
|
|
1718
|
-
description?: string | null;
|
|
1719
|
-
due_date?: string | null;
|
|
1720
|
-
file_url?: string | null;
|
|
1721
|
-
id?: string;
|
|
1722
|
-
metadata?: Json | null;
|
|
1723
|
-
milestone_id?: string | null;
|
|
1724
|
-
name?: string;
|
|
1725
|
-
organization_id?: string;
|
|
1726
|
-
parent_task_id?: string | null;
|
|
1727
|
-
project_id?: string;
|
|
1728
|
-
resume_context?: Json | null;
|
|
1729
|
-
status?: string;
|
|
1730
|
-
type?: string;
|
|
1731
|
-
updated_at?: string;
|
|
1732
|
-
};
|
|
1733
|
-
Relationships: [
|
|
1734
|
-
{
|
|
1735
|
-
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
1736
|
-
columns: ['project_id'];
|
|
1737
|
-
isOneToOne: false;
|
|
1738
|
-
referencedRelation: 'prj_projects';
|
|
1739
|
-
referencedColumns: ['id'];
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
1743
|
-
columns: ['milestone_id'];
|
|
1744
|
-
isOneToOne: false;
|
|
1745
|
-
referencedRelation: 'prj_milestones';
|
|
1746
|
-
referencedColumns: ['id'];
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
1750
|
-
columns: ['organization_id'];
|
|
1751
|
-
isOneToOne: false;
|
|
1752
|
-
referencedRelation: 'organizations';
|
|
1753
|
-
referencedColumns: ['id'];
|
|
1754
|
-
}
|
|
1755
|
-
];
|
|
1756
|
-
};
|
|
1757
|
-
prj_projects: {
|
|
1758
|
-
Row: {
|
|
1759
|
-
actual_end_date: string | null;
|
|
1760
|
-
client_company_id: string | null;
|
|
1761
|
-
contract_value: number | null;
|
|
1762
|
-
created_at: string;
|
|
1763
|
-
deal_id: string | null;
|
|
1764
|
-
description: string | null;
|
|
1765
|
-
id: string;
|
|
1766
|
-
kind: string;
|
|
1767
|
-
metadata: Json | null;
|
|
1768
|
-
name: string;
|
|
1769
|
-
organization_id: string;
|
|
1770
|
-
start_date: string | null;
|
|
1771
|
-
status: string;
|
|
1772
|
-
target_end_date: string | null;
|
|
1773
|
-
updated_at: string;
|
|
1774
|
-
};
|
|
1775
|
-
Insert: {
|
|
1776
|
-
actual_end_date?: string | null;
|
|
1777
|
-
client_company_id?: string | null;
|
|
1778
|
-
contract_value?: number | null;
|
|
1779
|
-
created_at?: string;
|
|
1780
|
-
deal_id?: string | null;
|
|
1781
|
-
description?: string | null;
|
|
1782
|
-
id?: string;
|
|
1783
|
-
kind?: string;
|
|
1784
|
-
metadata?: Json | null;
|
|
1785
|
-
name: string;
|
|
1786
|
-
organization_id: string;
|
|
1787
|
-
start_date?: string | null;
|
|
1788
|
-
status?: string;
|
|
1789
|
-
target_end_date?: string | null;
|
|
1790
|
-
updated_at?: string;
|
|
1791
|
-
};
|
|
1792
|
-
Update: {
|
|
1793
|
-
actual_end_date?: string | null;
|
|
1794
|
-
client_company_id?: string | null;
|
|
1795
|
-
contract_value?: number | null;
|
|
1796
|
-
created_at?: string;
|
|
1797
|
-
deal_id?: string | null;
|
|
1798
|
-
description?: string | null;
|
|
1799
|
-
id?: string;
|
|
1800
|
-
kind?: string;
|
|
1801
|
-
metadata?: Json | null;
|
|
1802
|
-
name?: string;
|
|
1803
|
-
organization_id?: string;
|
|
1804
|
-
start_date?: string | null;
|
|
1805
|
-
status?: string;
|
|
1806
|
-
target_end_date?: string | null;
|
|
1807
|
-
updated_at?: string;
|
|
1808
|
-
};
|
|
1809
|
-
Relationships: [
|
|
1810
|
-
{
|
|
1811
|
-
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
1812
|
-
columns: ['client_company_id'];
|
|
1813
|
-
isOneToOne: false;
|
|
1814
|
-
referencedRelation: 'acq_companies';
|
|
1815
|
-
referencedColumns: ['id'];
|
|
1816
|
-
},
|
|
1817
|
-
{
|
|
1818
|
-
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
1819
|
-
columns: ['deal_id'];
|
|
1820
|
-
isOneToOne: false;
|
|
1821
|
-
referencedRelation: 'acq_deals';
|
|
1822
|
-
referencedColumns: ['id'];
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
1826
|
-
columns: ['organization_id'];
|
|
1827
|
-
isOneToOne: false;
|
|
1828
|
-
referencedRelation: 'organizations';
|
|
1829
|
-
referencedColumns: ['id'];
|
|
1830
|
-
}
|
|
1831
|
-
];
|
|
1832
|
-
};
|
|
1833
|
-
prj_milestones: {
|
|
1834
|
-
Row: {
|
|
1835
|
-
checklist: Json | null;
|
|
1836
|
-
completed_at: string | null;
|
|
1837
|
-
created_at: string;
|
|
1838
|
-
description: string | null;
|
|
1839
|
-
due_date: string | null;
|
|
1840
|
-
id: string;
|
|
1841
|
-
metadata: Json | null;
|
|
1842
|
-
name: string;
|
|
1843
|
-
organization_id: string;
|
|
1844
|
-
project_id: string;
|
|
1845
|
-
sequence: number;
|
|
1846
|
-
status: string;
|
|
1847
|
-
updated_at: string;
|
|
1848
|
-
};
|
|
1849
|
-
Insert: {
|
|
1850
|
-
checklist?: Json | null;
|
|
1851
|
-
completed_at?: string | null;
|
|
1852
|
-
created_at?: string;
|
|
1853
|
-
description?: string | null;
|
|
1854
|
-
due_date?: string | null;
|
|
1855
|
-
id?: string;
|
|
1856
|
-
metadata?: Json | null;
|
|
1857
|
-
name: string;
|
|
1858
|
-
organization_id: string;
|
|
1859
|
-
project_id: string;
|
|
1860
|
-
sequence?: number;
|
|
1861
|
-
status?: string;
|
|
1862
|
-
updated_at?: string;
|
|
1863
|
-
};
|
|
1864
|
-
Update: {
|
|
1865
|
-
checklist?: Json | null;
|
|
1866
|
-
completed_at?: string | null;
|
|
1867
|
-
created_at?: string;
|
|
1868
|
-
description?: string | null;
|
|
1869
|
-
due_date?: string | null;
|
|
1870
|
-
id?: string;
|
|
1871
|
-
metadata?: Json | null;
|
|
1872
|
-
name?: string;
|
|
1873
|
-
organization_id?: string;
|
|
1874
|
-
project_id?: string;
|
|
1875
|
-
sequence?: number;
|
|
1876
|
-
status?: string;
|
|
1877
|
-
updated_at?: string;
|
|
1878
|
-
};
|
|
1879
|
-
Relationships: [
|
|
1880
|
-
{
|
|
1881
|
-
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
1882
|
-
columns: ['project_id'];
|
|
1883
|
-
isOneToOne: false;
|
|
1884
|
-
referencedRelation: 'prj_projects';
|
|
1885
|
-
referencedColumns: ['id'];
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
1889
|
-
columns: ['organization_id'];
|
|
1890
|
-
isOneToOne: false;
|
|
1891
|
-
referencedRelation: 'organizations';
|
|
1892
|
-
referencedColumns: ['id'];
|
|
1893
|
-
}
|
|
1894
|
-
];
|
|
1895
|
-
};
|
|
1896
|
-
prj_notes: {
|
|
1897
|
-
Row: {
|
|
1898
|
-
content: string;
|
|
1899
|
-
created_at: string;
|
|
1900
|
-
created_by: string | null;
|
|
1901
|
-
id: string;
|
|
1902
|
-
metadata: Json | null;
|
|
1903
|
-
milestone_id: string | null;
|
|
1904
|
-
occurred_at: string;
|
|
1905
|
-
organization_id: string;
|
|
1906
|
-
project_id: string;
|
|
1907
|
-
summary: string | null;
|
|
1908
|
-
task_id: string | null;
|
|
1909
|
-
type: string;
|
|
1910
|
-
};
|
|
1911
|
-
Insert: {
|
|
1912
|
-
content: string;
|
|
1913
|
-
created_at?: string;
|
|
1914
|
-
created_by?: string | null;
|
|
1915
|
-
id?: string;
|
|
1916
|
-
metadata?: Json | null;
|
|
1917
|
-
milestone_id?: string | null;
|
|
1918
|
-
occurred_at?: string;
|
|
1919
|
-
organization_id: string;
|
|
1920
|
-
project_id: string;
|
|
1921
|
-
summary?: string | null;
|
|
1922
|
-
task_id?: string | null;
|
|
1923
|
-
type?: string;
|
|
1924
|
-
};
|
|
1925
|
-
Update: {
|
|
1926
|
-
content?: string;
|
|
1927
|
-
created_at?: string;
|
|
1928
|
-
created_by?: string | null;
|
|
1929
|
-
id?: string;
|
|
1930
|
-
metadata?: Json | null;
|
|
1931
|
-
milestone_id?: string | null;
|
|
1932
|
-
occurred_at?: string;
|
|
1933
|
-
organization_id?: string;
|
|
1934
|
-
project_id?: string;
|
|
1935
|
-
summary?: string | null;
|
|
1936
|
-
task_id?: string | null;
|
|
1937
|
-
type?: string;
|
|
1938
|
-
};
|
|
1939
|
-
Relationships: [
|
|
1940
|
-
{
|
|
1941
|
-
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
1942
|
-
columns: ['created_by'];
|
|
1943
|
-
isOneToOne: false;
|
|
1944
|
-
referencedRelation: 'users';
|
|
1945
|
-
referencedColumns: ['id'];
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
1949
|
-
columns: ['project_id'];
|
|
1950
|
-
isOneToOne: false;
|
|
1951
|
-
referencedRelation: 'prj_projects';
|
|
1952
|
-
referencedColumns: ['id'];
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
1956
|
-
columns: ['organization_id'];
|
|
1957
|
-
isOneToOne: false;
|
|
1958
|
-
referencedRelation: 'organizations';
|
|
1959
|
-
referencedColumns: ['id'];
|
|
1670
|
+
referencedRelation: "organizations";
|
|
1671
|
+
referencedColumns: ["id"];
|
|
1960
1672
|
}
|
|
1961
1673
|
];
|
|
1962
1674
|
};
|
|
@@ -2008,11 +1720,11 @@ type Database = {
|
|
|
2008
1720
|
};
|
|
2009
1721
|
Relationships: [
|
|
2010
1722
|
{
|
|
2011
|
-
foreignKeyName:
|
|
2012
|
-
columns: [
|
|
1723
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
1724
|
+
columns: ["organization_id"];
|
|
2013
1725
|
isOneToOne: false;
|
|
2014
|
-
referencedRelation:
|
|
2015
|
-
referencedColumns: [
|
|
1726
|
+
referencedRelation: "organizations";
|
|
1727
|
+
referencedColumns: ["id"];
|
|
2016
1728
|
}
|
|
2017
1729
|
];
|
|
2018
1730
|
};
|
|
@@ -2067,25 +1779,25 @@ type Database = {
|
|
|
2067
1779
|
};
|
|
2068
1780
|
Relationships: [
|
|
2069
1781
|
{
|
|
2070
|
-
foreignKeyName:
|
|
2071
|
-
columns: [
|
|
1782
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
1783
|
+
columns: ["execution_id"];
|
|
2072
1784
|
isOneToOne: false;
|
|
2073
|
-
referencedRelation:
|
|
2074
|
-
referencedColumns: [
|
|
1785
|
+
referencedRelation: "execution_logs";
|
|
1786
|
+
referencedColumns: ["execution_id"];
|
|
2075
1787
|
},
|
|
2076
1788
|
{
|
|
2077
|
-
foreignKeyName:
|
|
2078
|
-
columns: [
|
|
1789
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
1790
|
+
columns: ["organization_id"];
|
|
2079
1791
|
isOneToOne: false;
|
|
2080
|
-
referencedRelation:
|
|
2081
|
-
referencedColumns: [
|
|
1792
|
+
referencedRelation: "organizations";
|
|
1793
|
+
referencedColumns: ["id"];
|
|
2082
1794
|
},
|
|
2083
1795
|
{
|
|
2084
|
-
foreignKeyName:
|
|
2085
|
-
columns: [
|
|
1796
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
1797
|
+
columns: ["resolved_by"];
|
|
2086
1798
|
isOneToOne: false;
|
|
2087
|
-
referencedRelation:
|
|
2088
|
-
referencedColumns: [
|
|
1799
|
+
referencedRelation: "users";
|
|
1800
|
+
referencedColumns: ["id"];
|
|
2089
1801
|
}
|
|
2090
1802
|
];
|
|
2091
1803
|
};
|
|
@@ -2167,32 +1879,32 @@ type Database = {
|
|
|
2167
1879
|
};
|
|
2168
1880
|
Relationships: [
|
|
2169
1881
|
{
|
|
2170
|
-
foreignKeyName:
|
|
2171
|
-
columns: [
|
|
1882
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
1883
|
+
columns: ["organization_id"];
|
|
2172
1884
|
isOneToOne: false;
|
|
2173
|
-
referencedRelation:
|
|
2174
|
-
referencedColumns: [
|
|
1885
|
+
referencedRelation: "organizations";
|
|
1886
|
+
referencedColumns: ["id"];
|
|
2175
1887
|
},
|
|
2176
1888
|
{
|
|
2177
|
-
foreignKeyName:
|
|
2178
|
-
columns: [
|
|
1889
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
1890
|
+
columns: ["origin_execution_id"];
|
|
2179
1891
|
isOneToOne: false;
|
|
2180
|
-
referencedRelation:
|
|
2181
|
-
referencedColumns: [
|
|
1892
|
+
referencedRelation: "execution_logs";
|
|
1893
|
+
referencedColumns: ["execution_id"];
|
|
2182
1894
|
},
|
|
2183
1895
|
{
|
|
2184
|
-
foreignKeyName:
|
|
2185
|
-
columns: [
|
|
1896
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
1897
|
+
columns: ["session_id"];
|
|
2186
1898
|
isOneToOne: false;
|
|
2187
|
-
referencedRelation:
|
|
2188
|
-
referencedColumns: [
|
|
1899
|
+
referencedRelation: "sessions";
|
|
1900
|
+
referencedColumns: ["session_id"];
|
|
2189
1901
|
},
|
|
2190
1902
|
{
|
|
2191
|
-
foreignKeyName:
|
|
2192
|
-
columns: [
|
|
1903
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
1904
|
+
columns: ["user_id"];
|
|
2193
1905
|
isOneToOne: false;
|
|
2194
|
-
referencedRelation:
|
|
2195
|
-
referencedColumns: [
|
|
1906
|
+
referencedRelation: "users";
|
|
1907
|
+
referencedColumns: ["id"];
|
|
2196
1908
|
}
|
|
2197
1909
|
];
|
|
2198
1910
|
};
|
|
@@ -2238,18 +1950,18 @@ type Database = {
|
|
|
2238
1950
|
};
|
|
2239
1951
|
Relationships: [
|
|
2240
1952
|
{
|
|
2241
|
-
foreignKeyName:
|
|
2242
|
-
columns: [
|
|
1953
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
1954
|
+
columns: ["execution_id"];
|
|
2243
1955
|
isOneToOne: true;
|
|
2244
|
-
referencedRelation:
|
|
2245
|
-
referencedColumns: [
|
|
1956
|
+
referencedRelation: "execution_logs";
|
|
1957
|
+
referencedColumns: ["execution_id"];
|
|
2246
1958
|
},
|
|
2247
1959
|
{
|
|
2248
|
-
foreignKeyName:
|
|
2249
|
-
columns: [
|
|
1960
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
1961
|
+
columns: ["organization_id"];
|
|
2250
1962
|
isOneToOne: false;
|
|
2251
|
-
referencedRelation:
|
|
2252
|
-
referencedColumns: [
|
|
1963
|
+
referencedRelation: "organizations";
|
|
1964
|
+
referencedColumns: ["id"];
|
|
2253
1965
|
}
|
|
2254
1966
|
];
|
|
2255
1967
|
};
|
|
@@ -2292,18 +2004,18 @@ type Database = {
|
|
|
2292
2004
|
};
|
|
2293
2005
|
Relationships: [
|
|
2294
2006
|
{
|
|
2295
|
-
foreignKeyName:
|
|
2296
|
-
columns: [
|
|
2007
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
2008
|
+
columns: ["organization_id"];
|
|
2297
2009
|
isOneToOne: false;
|
|
2298
|
-
referencedRelation:
|
|
2299
|
-
referencedColumns: [
|
|
2010
|
+
referencedRelation: "organizations";
|
|
2011
|
+
referencedColumns: ["id"];
|
|
2300
2012
|
},
|
|
2301
2013
|
{
|
|
2302
|
-
foreignKeyName:
|
|
2303
|
-
columns: [
|
|
2014
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
2015
|
+
columns: ["user_id"];
|
|
2304
2016
|
isOneToOne: false;
|
|
2305
|
-
referencedRelation:
|
|
2306
|
-
referencedColumns: [
|
|
2017
|
+
referencedRelation: "users";
|
|
2018
|
+
referencedColumns: ["id"];
|
|
2307
2019
|
}
|
|
2308
2020
|
];
|
|
2309
2021
|
};
|
|
@@ -2358,18 +2070,18 @@ type Database = {
|
|
|
2358
2070
|
};
|
|
2359
2071
|
Relationships: [
|
|
2360
2072
|
{
|
|
2361
|
-
foreignKeyName:
|
|
2362
|
-
columns: [
|
|
2073
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
2074
|
+
columns: ["inviter_user_id"];
|
|
2363
2075
|
isOneToOne: false;
|
|
2364
|
-
referencedRelation:
|
|
2365
|
-
referencedColumns: [
|
|
2076
|
+
referencedRelation: "users";
|
|
2077
|
+
referencedColumns: ["id"];
|
|
2366
2078
|
},
|
|
2367
2079
|
{
|
|
2368
|
-
foreignKeyName:
|
|
2369
|
-
columns: [
|
|
2080
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
2081
|
+
columns: ["organization_id"];
|
|
2370
2082
|
isOneToOne: false;
|
|
2371
|
-
referencedRelation:
|
|
2372
|
-
referencedColumns: [
|
|
2083
|
+
referencedRelation: "organizations";
|
|
2084
|
+
referencedColumns: ["id"];
|
|
2373
2085
|
}
|
|
2374
2086
|
];
|
|
2375
2087
|
};
|
|
@@ -2409,18 +2121,18 @@ type Database = {
|
|
|
2409
2121
|
};
|
|
2410
2122
|
Relationships: [
|
|
2411
2123
|
{
|
|
2412
|
-
foreignKeyName:
|
|
2413
|
-
columns: [
|
|
2124
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
2125
|
+
columns: ["organization_id"];
|
|
2414
2126
|
isOneToOne: false;
|
|
2415
|
-
referencedRelation:
|
|
2416
|
-
referencedColumns: [
|
|
2127
|
+
referencedRelation: "organizations";
|
|
2128
|
+
referencedColumns: ["id"];
|
|
2417
2129
|
},
|
|
2418
2130
|
{
|
|
2419
|
-
foreignKeyName:
|
|
2420
|
-
columns: [
|
|
2131
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
2132
|
+
columns: ["user_id"];
|
|
2421
2133
|
isOneToOne: false;
|
|
2422
|
-
referencedRelation:
|
|
2423
|
-
referencedColumns: [
|
|
2134
|
+
referencedRelation: "users";
|
|
2135
|
+
referencedColumns: ["id"];
|
|
2424
2136
|
}
|
|
2425
2137
|
];
|
|
2426
2138
|
};
|
|
@@ -2460,6 +2172,315 @@ type Database = {
|
|
|
2460
2172
|
};
|
|
2461
2173
|
Relationships: [];
|
|
2462
2174
|
};
|
|
2175
|
+
prj_milestones: {
|
|
2176
|
+
Row: {
|
|
2177
|
+
checklist: Json | null;
|
|
2178
|
+
completed_at: string | null;
|
|
2179
|
+
created_at: string;
|
|
2180
|
+
description: string | null;
|
|
2181
|
+
due_date: string | null;
|
|
2182
|
+
id: string;
|
|
2183
|
+
metadata: Json | null;
|
|
2184
|
+
name: string;
|
|
2185
|
+
organization_id: string;
|
|
2186
|
+
project_id: string;
|
|
2187
|
+
sequence: number;
|
|
2188
|
+
status: string;
|
|
2189
|
+
updated_at: string;
|
|
2190
|
+
};
|
|
2191
|
+
Insert: {
|
|
2192
|
+
checklist?: Json | null;
|
|
2193
|
+
completed_at?: string | null;
|
|
2194
|
+
created_at?: string;
|
|
2195
|
+
description?: string | null;
|
|
2196
|
+
due_date?: string | null;
|
|
2197
|
+
id?: string;
|
|
2198
|
+
metadata?: Json | null;
|
|
2199
|
+
name: string;
|
|
2200
|
+
organization_id: string;
|
|
2201
|
+
project_id: string;
|
|
2202
|
+
sequence?: number;
|
|
2203
|
+
status?: string;
|
|
2204
|
+
updated_at?: string;
|
|
2205
|
+
};
|
|
2206
|
+
Update: {
|
|
2207
|
+
checklist?: Json | null;
|
|
2208
|
+
completed_at?: string | null;
|
|
2209
|
+
created_at?: string;
|
|
2210
|
+
description?: string | null;
|
|
2211
|
+
due_date?: string | null;
|
|
2212
|
+
id?: string;
|
|
2213
|
+
metadata?: Json | null;
|
|
2214
|
+
name?: string;
|
|
2215
|
+
organization_id?: string;
|
|
2216
|
+
project_id?: string;
|
|
2217
|
+
sequence?: number;
|
|
2218
|
+
status?: string;
|
|
2219
|
+
updated_at?: string;
|
|
2220
|
+
};
|
|
2221
|
+
Relationships: [
|
|
2222
|
+
{
|
|
2223
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2224
|
+
columns: ["organization_id"];
|
|
2225
|
+
isOneToOne: false;
|
|
2226
|
+
referencedRelation: "organizations";
|
|
2227
|
+
referencedColumns: ["id"];
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2231
|
+
columns: ["project_id"];
|
|
2232
|
+
isOneToOne: false;
|
|
2233
|
+
referencedRelation: "prj_projects";
|
|
2234
|
+
referencedColumns: ["id"];
|
|
2235
|
+
}
|
|
2236
|
+
];
|
|
2237
|
+
};
|
|
2238
|
+
prj_notes: {
|
|
2239
|
+
Row: {
|
|
2240
|
+
content: string;
|
|
2241
|
+
created_at: string;
|
|
2242
|
+
created_by: string | null;
|
|
2243
|
+
id: string;
|
|
2244
|
+
metadata: Json | null;
|
|
2245
|
+
milestone_id: string | null;
|
|
2246
|
+
occurred_at: string;
|
|
2247
|
+
organization_id: string;
|
|
2248
|
+
project_id: string;
|
|
2249
|
+
summary: string | null;
|
|
2250
|
+
task_id: string | null;
|
|
2251
|
+
type: string;
|
|
2252
|
+
};
|
|
2253
|
+
Insert: {
|
|
2254
|
+
content: string;
|
|
2255
|
+
created_at?: string;
|
|
2256
|
+
created_by?: string | null;
|
|
2257
|
+
id?: string;
|
|
2258
|
+
metadata?: Json | null;
|
|
2259
|
+
milestone_id?: string | null;
|
|
2260
|
+
occurred_at?: string;
|
|
2261
|
+
organization_id: string;
|
|
2262
|
+
project_id: string;
|
|
2263
|
+
summary?: string | null;
|
|
2264
|
+
task_id?: string | null;
|
|
2265
|
+
type?: string;
|
|
2266
|
+
};
|
|
2267
|
+
Update: {
|
|
2268
|
+
content?: string;
|
|
2269
|
+
created_at?: string;
|
|
2270
|
+
created_by?: string | null;
|
|
2271
|
+
id?: string;
|
|
2272
|
+
metadata?: Json | null;
|
|
2273
|
+
milestone_id?: string | null;
|
|
2274
|
+
occurred_at?: string;
|
|
2275
|
+
organization_id?: string;
|
|
2276
|
+
project_id?: string;
|
|
2277
|
+
summary?: string | null;
|
|
2278
|
+
task_id?: string | null;
|
|
2279
|
+
type?: string;
|
|
2280
|
+
};
|
|
2281
|
+
Relationships: [
|
|
2282
|
+
{
|
|
2283
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2284
|
+
columns: ["created_by"];
|
|
2285
|
+
isOneToOne: false;
|
|
2286
|
+
referencedRelation: "users";
|
|
2287
|
+
referencedColumns: ["id"];
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2291
|
+
columns: ["milestone_id"];
|
|
2292
|
+
isOneToOne: false;
|
|
2293
|
+
referencedRelation: "prj_milestones";
|
|
2294
|
+
referencedColumns: ["id"];
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2298
|
+
columns: ["organization_id"];
|
|
2299
|
+
isOneToOne: false;
|
|
2300
|
+
referencedRelation: "organizations";
|
|
2301
|
+
referencedColumns: ["id"];
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2305
|
+
columns: ["project_id"];
|
|
2306
|
+
isOneToOne: false;
|
|
2307
|
+
referencedRelation: "prj_projects";
|
|
2308
|
+
referencedColumns: ["id"];
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2312
|
+
columns: ["task_id"];
|
|
2313
|
+
isOneToOne: false;
|
|
2314
|
+
referencedRelation: "prj_tasks";
|
|
2315
|
+
referencedColumns: ["id"];
|
|
2316
|
+
}
|
|
2317
|
+
];
|
|
2318
|
+
};
|
|
2319
|
+
prj_projects: {
|
|
2320
|
+
Row: {
|
|
2321
|
+
actual_end_date: string | null;
|
|
2322
|
+
client_company_id: string | null;
|
|
2323
|
+
contract_value: number | null;
|
|
2324
|
+
created_at: string;
|
|
2325
|
+
deal_id: string | null;
|
|
2326
|
+
description: string | null;
|
|
2327
|
+
id: string;
|
|
2328
|
+
kind: string;
|
|
2329
|
+
metadata: Json | null;
|
|
2330
|
+
name: string;
|
|
2331
|
+
organization_id: string;
|
|
2332
|
+
start_date: string | null;
|
|
2333
|
+
status: string;
|
|
2334
|
+
target_end_date: string | null;
|
|
2335
|
+
updated_at: string;
|
|
2336
|
+
};
|
|
2337
|
+
Insert: {
|
|
2338
|
+
actual_end_date?: string | null;
|
|
2339
|
+
client_company_id?: string | null;
|
|
2340
|
+
contract_value?: number | null;
|
|
2341
|
+
created_at?: string;
|
|
2342
|
+
deal_id?: string | null;
|
|
2343
|
+
description?: string | null;
|
|
2344
|
+
id?: string;
|
|
2345
|
+
kind?: string;
|
|
2346
|
+
metadata?: Json | null;
|
|
2347
|
+
name: string;
|
|
2348
|
+
organization_id: string;
|
|
2349
|
+
start_date?: string | null;
|
|
2350
|
+
status?: string;
|
|
2351
|
+
target_end_date?: string | null;
|
|
2352
|
+
updated_at?: string;
|
|
2353
|
+
};
|
|
2354
|
+
Update: {
|
|
2355
|
+
actual_end_date?: string | null;
|
|
2356
|
+
client_company_id?: string | null;
|
|
2357
|
+
contract_value?: number | null;
|
|
2358
|
+
created_at?: string;
|
|
2359
|
+
deal_id?: string | null;
|
|
2360
|
+
description?: string | null;
|
|
2361
|
+
id?: string;
|
|
2362
|
+
kind?: string;
|
|
2363
|
+
metadata?: Json | null;
|
|
2364
|
+
name?: string;
|
|
2365
|
+
organization_id?: string;
|
|
2366
|
+
start_date?: string | null;
|
|
2367
|
+
status?: string;
|
|
2368
|
+
target_end_date?: string | null;
|
|
2369
|
+
updated_at?: string;
|
|
2370
|
+
};
|
|
2371
|
+
Relationships: [
|
|
2372
|
+
{
|
|
2373
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
2374
|
+
columns: ["client_company_id"];
|
|
2375
|
+
isOneToOne: false;
|
|
2376
|
+
referencedRelation: "acq_companies";
|
|
2377
|
+
referencedColumns: ["id"];
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2381
|
+
columns: ["deal_id"];
|
|
2382
|
+
isOneToOne: false;
|
|
2383
|
+
referencedRelation: "acq_deals";
|
|
2384
|
+
referencedColumns: ["id"];
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
2388
|
+
columns: ["organization_id"];
|
|
2389
|
+
isOneToOne: false;
|
|
2390
|
+
referencedRelation: "organizations";
|
|
2391
|
+
referencedColumns: ["id"];
|
|
2392
|
+
}
|
|
2393
|
+
];
|
|
2394
|
+
};
|
|
2395
|
+
prj_tasks: {
|
|
2396
|
+
Row: {
|
|
2397
|
+
checklist: Json;
|
|
2398
|
+
completed_at: string | null;
|
|
2399
|
+
created_at: string;
|
|
2400
|
+
description: string | null;
|
|
2401
|
+
due_date: string | null;
|
|
2402
|
+
file_url: string | null;
|
|
2403
|
+
id: string;
|
|
2404
|
+
metadata: Json | null;
|
|
2405
|
+
milestone_id: string | null;
|
|
2406
|
+
name: string;
|
|
2407
|
+
organization_id: string;
|
|
2408
|
+
parent_task_id: string | null;
|
|
2409
|
+
project_id: string;
|
|
2410
|
+
resume_context: Json | null;
|
|
2411
|
+
status: string;
|
|
2412
|
+
type: string;
|
|
2413
|
+
updated_at: string;
|
|
2414
|
+
};
|
|
2415
|
+
Insert: {
|
|
2416
|
+
checklist?: Json;
|
|
2417
|
+
completed_at?: string | null;
|
|
2418
|
+
created_at?: string;
|
|
2419
|
+
description?: string | null;
|
|
2420
|
+
due_date?: string | null;
|
|
2421
|
+
file_url?: string | null;
|
|
2422
|
+
id?: string;
|
|
2423
|
+
metadata?: Json | null;
|
|
2424
|
+
milestone_id?: string | null;
|
|
2425
|
+
name: string;
|
|
2426
|
+
organization_id: string;
|
|
2427
|
+
parent_task_id?: string | null;
|
|
2428
|
+
project_id: string;
|
|
2429
|
+
resume_context?: Json | null;
|
|
2430
|
+
status?: string;
|
|
2431
|
+
type?: string;
|
|
2432
|
+
updated_at?: string;
|
|
2433
|
+
};
|
|
2434
|
+
Update: {
|
|
2435
|
+
checklist?: Json;
|
|
2436
|
+
completed_at?: string | null;
|
|
2437
|
+
created_at?: string;
|
|
2438
|
+
description?: string | null;
|
|
2439
|
+
due_date?: string | null;
|
|
2440
|
+
file_url?: string | null;
|
|
2441
|
+
id?: string;
|
|
2442
|
+
metadata?: Json | null;
|
|
2443
|
+
milestone_id?: string | null;
|
|
2444
|
+
name?: string;
|
|
2445
|
+
organization_id?: string;
|
|
2446
|
+
parent_task_id?: string | null;
|
|
2447
|
+
project_id?: string;
|
|
2448
|
+
resume_context?: Json | null;
|
|
2449
|
+
status?: string;
|
|
2450
|
+
type?: string;
|
|
2451
|
+
updated_at?: string;
|
|
2452
|
+
};
|
|
2453
|
+
Relationships: [
|
|
2454
|
+
{
|
|
2455
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
2456
|
+
columns: ["milestone_id"];
|
|
2457
|
+
isOneToOne: false;
|
|
2458
|
+
referencedRelation: "prj_milestones";
|
|
2459
|
+
referencedColumns: ["id"];
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
2463
|
+
columns: ["organization_id"];
|
|
2464
|
+
isOneToOne: false;
|
|
2465
|
+
referencedRelation: "organizations";
|
|
2466
|
+
referencedColumns: ["id"];
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
2470
|
+
columns: ["parent_task_id"];
|
|
2471
|
+
isOneToOne: false;
|
|
2472
|
+
referencedRelation: "prj_tasks";
|
|
2473
|
+
referencedColumns: ["id"];
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
2477
|
+
columns: ["project_id"];
|
|
2478
|
+
isOneToOne: false;
|
|
2479
|
+
referencedRelation: "prj_projects";
|
|
2480
|
+
referencedColumns: ["id"];
|
|
2481
|
+
}
|
|
2482
|
+
];
|
|
2483
|
+
};
|
|
2463
2484
|
session_messages: {
|
|
2464
2485
|
Row: {
|
|
2465
2486
|
created_at: string | null;
|
|
@@ -2496,11 +2517,11 @@ type Database = {
|
|
|
2496
2517
|
};
|
|
2497
2518
|
Relationships: [
|
|
2498
2519
|
{
|
|
2499
|
-
foreignKeyName:
|
|
2500
|
-
columns: [
|
|
2520
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
2521
|
+
columns: ["session_id"];
|
|
2501
2522
|
isOneToOne: false;
|
|
2502
|
-
referencedRelation:
|
|
2503
|
-
referencedColumns: [
|
|
2523
|
+
referencedRelation: "sessions";
|
|
2524
|
+
referencedColumns: ["session_id"];
|
|
2504
2525
|
}
|
|
2505
2526
|
];
|
|
2506
2527
|
};
|
|
@@ -2555,18 +2576,18 @@ type Database = {
|
|
|
2555
2576
|
};
|
|
2556
2577
|
Relationships: [
|
|
2557
2578
|
{
|
|
2558
|
-
foreignKeyName:
|
|
2559
|
-
columns: [
|
|
2579
|
+
foreignKeyName: "fk_organization";
|
|
2580
|
+
columns: ["organization_id"];
|
|
2560
2581
|
isOneToOne: false;
|
|
2561
|
-
referencedRelation:
|
|
2562
|
-
referencedColumns: [
|
|
2582
|
+
referencedRelation: "organizations";
|
|
2583
|
+
referencedColumns: ["id"];
|
|
2563
2584
|
},
|
|
2564
2585
|
{
|
|
2565
|
-
foreignKeyName:
|
|
2566
|
-
columns: [
|
|
2586
|
+
foreignKeyName: "fk_user";
|
|
2587
|
+
columns: ["user_id"];
|
|
2567
2588
|
isOneToOne: false;
|
|
2568
|
-
referencedRelation:
|
|
2569
|
-
referencedColumns: [
|
|
2589
|
+
referencedRelation: "users";
|
|
2590
|
+
referencedColumns: ["id"];
|
|
2570
2591
|
}
|
|
2571
2592
|
];
|
|
2572
2593
|
};
|
|
@@ -2642,11 +2663,11 @@ type Database = {
|
|
|
2642
2663
|
};
|
|
2643
2664
|
Relationships: [
|
|
2644
2665
|
{
|
|
2645
|
-
foreignKeyName:
|
|
2646
|
-
columns: [
|
|
2666
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
2667
|
+
columns: ["organization_id"];
|
|
2647
2668
|
isOneToOne: false;
|
|
2648
|
-
referencedRelation:
|
|
2649
|
-
referencedColumns: [
|
|
2669
|
+
referencedRelation: "organizations";
|
|
2670
|
+
referencedColumns: ["id"];
|
|
2650
2671
|
}
|
|
2651
2672
|
];
|
|
2652
2673
|
};
|
|
@@ -2701,11 +2722,11 @@ type Database = {
|
|
|
2701
2722
|
};
|
|
2702
2723
|
Relationships: [
|
|
2703
2724
|
{
|
|
2704
|
-
foreignKeyName:
|
|
2705
|
-
columns: [
|
|
2725
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
2726
|
+
columns: ["last_visited_org"];
|
|
2706
2727
|
isOneToOne: false;
|
|
2707
|
-
referencedRelation:
|
|
2708
|
-
referencedColumns: [
|
|
2728
|
+
referencedRelation: "organizations";
|
|
2729
|
+
referencedColumns: ["id"];
|
|
2709
2730
|
}
|
|
2710
2731
|
];
|
|
2711
2732
|
};
|
|
@@ -2751,11 +2772,11 @@ type Database = {
|
|
|
2751
2772
|
};
|
|
2752
2773
|
Relationships: [
|
|
2753
2774
|
{
|
|
2754
|
-
foreignKeyName:
|
|
2755
|
-
columns: [
|
|
2775
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
2776
|
+
columns: ["organization_id"];
|
|
2756
2777
|
isOneToOne: false;
|
|
2757
|
-
referencedRelation:
|
|
2758
|
-
referencedColumns: [
|
|
2778
|
+
referencedRelation: "organizations";
|
|
2779
|
+
referencedColumns: ["id"];
|
|
2759
2780
|
}
|
|
2760
2781
|
];
|
|
2761
2782
|
};
|
|
@@ -2875,17 +2896,17 @@ type Database = {
|
|
|
2875
2896
|
};
|
|
2876
2897
|
};
|
|
2877
2898
|
};
|
|
2878
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
2879
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
2880
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
2899
|
+
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
2900
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
2901
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
2881
2902
|
schema: keyof DatabaseWithoutInternals;
|
|
2882
2903
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
2883
2904
|
schema: keyof DatabaseWithoutInternals;
|
|
2884
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
2905
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
2885
2906
|
schema: keyof DatabaseWithoutInternals;
|
|
2886
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
2907
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
2887
2908
|
Row: infer R;
|
|
2888
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
2909
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
2889
2910
|
Row: infer R;
|
|
2890
2911
|
} ? R : never : never;
|
|
2891
2912
|
|
|
@@ -3213,7 +3234,7 @@ interface MembershipFeatureConfig {
|
|
|
3213
3234
|
*/
|
|
3214
3235
|
interface UserConfig {
|
|
3215
3236
|
theme?: {
|
|
3216
|
-
preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-
|
|
3237
|
+
preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-punk' | 'cyber-void' | 'nirvana' | 'wave';
|
|
3217
3238
|
colorScheme?: 'light' | 'dark' | 'auto';
|
|
3218
3239
|
};
|
|
3219
3240
|
onboarding?: {
|