@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
|
@@ -877,7 +877,7 @@ type Json = string | number | boolean | null | {
|
|
|
877
877
|
} | Json[];
|
|
878
878
|
type Database = {
|
|
879
879
|
__InternalSupabase: {
|
|
880
|
-
PostgrestVersion:
|
|
880
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
881
881
|
};
|
|
882
882
|
public: {
|
|
883
883
|
Tables: {
|
|
@@ -956,11 +956,11 @@ type Database = {
|
|
|
956
956
|
};
|
|
957
957
|
Relationships: [
|
|
958
958
|
{
|
|
959
|
-
foreignKeyName:
|
|
960
|
-
columns: [
|
|
959
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
960
|
+
columns: ["organization_id"];
|
|
961
961
|
isOneToOne: false;
|
|
962
|
-
referencedRelation:
|
|
963
|
-
referencedColumns: [
|
|
962
|
+
referencedRelation: "organizations";
|
|
963
|
+
referencedColumns: ["id"];
|
|
964
964
|
}
|
|
965
965
|
];
|
|
966
966
|
};
|
|
@@ -1045,18 +1045,18 @@ type Database = {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
Relationships: [
|
|
1047
1047
|
{
|
|
1048
|
-
foreignKeyName:
|
|
1049
|
-
columns: [
|
|
1048
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
1049
|
+
columns: ["company_id"];
|
|
1050
1050
|
isOneToOne: false;
|
|
1051
|
-
referencedRelation:
|
|
1052
|
-
referencedColumns: [
|
|
1051
|
+
referencedRelation: "acq_companies";
|
|
1052
|
+
referencedColumns: ["id"];
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
|
-
foreignKeyName:
|
|
1056
|
-
columns: [
|
|
1055
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
1056
|
+
columns: ["organization_id"];
|
|
1057
1057
|
isOneToOne: false;
|
|
1058
|
-
referencedRelation:
|
|
1059
|
-
referencedColumns: [
|
|
1058
|
+
referencedRelation: "organizations";
|
|
1059
|
+
referencedColumns: ["id"];
|
|
1060
1060
|
}
|
|
1061
1061
|
];
|
|
1062
1062
|
};
|
|
@@ -1093,11 +1093,11 @@ type Database = {
|
|
|
1093
1093
|
};
|
|
1094
1094
|
Relationships: [
|
|
1095
1095
|
{
|
|
1096
|
-
foreignKeyName:
|
|
1097
|
-
columns: [
|
|
1096
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
1097
|
+
columns: ["organization_id"];
|
|
1098
1098
|
isOneToOne: false;
|
|
1099
|
-
referencedRelation:
|
|
1100
|
-
referencedColumns: [
|
|
1099
|
+
referencedRelation: "organizations";
|
|
1100
|
+
referencedColumns: ["id"];
|
|
1101
1101
|
}
|
|
1102
1102
|
];
|
|
1103
1103
|
};
|
|
@@ -1161,18 +1161,18 @@ type Database = {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
Relationships: [
|
|
1163
1163
|
{
|
|
1164
|
-
foreignKeyName:
|
|
1165
|
-
columns: [
|
|
1164
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
1165
|
+
columns: ["content_id"];
|
|
1166
1166
|
isOneToOne: false;
|
|
1167
|
-
referencedRelation:
|
|
1168
|
-
referencedColumns: [
|
|
1167
|
+
referencedRelation: "acq_content";
|
|
1168
|
+
referencedColumns: ["id"];
|
|
1169
1169
|
},
|
|
1170
1170
|
{
|
|
1171
|
-
foreignKeyName:
|
|
1172
|
-
columns: [
|
|
1171
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
1172
|
+
columns: ["organization_id"];
|
|
1173
1173
|
isOneToOne: false;
|
|
1174
|
-
referencedRelation:
|
|
1175
|
-
referencedColumns: [
|
|
1174
|
+
referencedRelation: "organizations";
|
|
1175
|
+
referencedColumns: ["id"];
|
|
1176
1176
|
}
|
|
1177
1177
|
];
|
|
1178
1178
|
};
|
|
@@ -1284,25 +1284,25 @@ type Database = {
|
|
|
1284
1284
|
};
|
|
1285
1285
|
Relationships: [
|
|
1286
1286
|
{
|
|
1287
|
-
foreignKeyName:
|
|
1288
|
-
columns: [
|
|
1287
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
1288
|
+
columns: ["contact_id"];
|
|
1289
1289
|
isOneToOne: false;
|
|
1290
|
-
referencedRelation:
|
|
1291
|
-
referencedColumns: [
|
|
1290
|
+
referencedRelation: "acq_contacts";
|
|
1291
|
+
referencedColumns: ["id"];
|
|
1292
1292
|
},
|
|
1293
1293
|
{
|
|
1294
|
-
foreignKeyName:
|
|
1295
|
-
columns: [
|
|
1294
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
1295
|
+
columns: ["organization_id"];
|
|
1296
1296
|
isOneToOne: false;
|
|
1297
|
-
referencedRelation:
|
|
1298
|
-
referencedColumns: [
|
|
1297
|
+
referencedRelation: "organizations";
|
|
1298
|
+
referencedColumns: ["id"];
|
|
1299
1299
|
},
|
|
1300
1300
|
{
|
|
1301
|
-
foreignKeyName:
|
|
1302
|
-
columns: [
|
|
1301
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
1302
|
+
columns: ["source_list_id"];
|
|
1303
1303
|
isOneToOne: false;
|
|
1304
|
-
referencedRelation:
|
|
1305
|
-
referencedColumns: [
|
|
1304
|
+
referencedRelation: "acq_lists";
|
|
1305
|
+
referencedColumns: ["id"];
|
|
1306
1306
|
}
|
|
1307
1307
|
];
|
|
1308
1308
|
};
|
|
@@ -1330,18 +1330,18 @@ type Database = {
|
|
|
1330
1330
|
};
|
|
1331
1331
|
Relationships: [
|
|
1332
1332
|
{
|
|
1333
|
-
foreignKeyName:
|
|
1334
|
-
columns: [
|
|
1333
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
1334
|
+
columns: ["contact_id"];
|
|
1335
1335
|
isOneToOne: false;
|
|
1336
|
-
referencedRelation:
|
|
1337
|
-
referencedColumns: [
|
|
1336
|
+
referencedRelation: "acq_contacts";
|
|
1337
|
+
referencedColumns: ["id"];
|
|
1338
1338
|
},
|
|
1339
1339
|
{
|
|
1340
|
-
foreignKeyName:
|
|
1341
|
-
columns: [
|
|
1340
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
1341
|
+
columns: ["list_id"];
|
|
1342
1342
|
isOneToOne: false;
|
|
1343
|
-
referencedRelation:
|
|
1344
|
-
referencedColumns: [
|
|
1343
|
+
referencedRelation: "acq_lists";
|
|
1344
|
+
referencedColumns: ["id"];
|
|
1345
1345
|
}
|
|
1346
1346
|
];
|
|
1347
1347
|
};
|
|
@@ -1390,11 +1390,11 @@ type Database = {
|
|
|
1390
1390
|
};
|
|
1391
1391
|
Relationships: [
|
|
1392
1392
|
{
|
|
1393
|
-
foreignKeyName:
|
|
1394
|
-
columns: [
|
|
1393
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
1394
|
+
columns: ["organization_id"];
|
|
1395
1395
|
isOneToOne: false;
|
|
1396
|
-
referencedRelation:
|
|
1397
|
-
referencedColumns: [
|
|
1396
|
+
referencedRelation: "organizations";
|
|
1397
|
+
referencedColumns: ["id"];
|
|
1398
1398
|
}
|
|
1399
1399
|
];
|
|
1400
1400
|
};
|
|
@@ -1470,18 +1470,18 @@ type Database = {
|
|
|
1470
1470
|
};
|
|
1471
1471
|
Relationships: [
|
|
1472
1472
|
{
|
|
1473
|
-
foreignKeyName:
|
|
1474
|
-
columns: [
|
|
1473
|
+
foreignKeyName: "acq_seo_metrics_organization_id_fkey";
|
|
1474
|
+
columns: ["organization_id"];
|
|
1475
1475
|
isOneToOne: false;
|
|
1476
|
-
referencedRelation:
|
|
1477
|
-
referencedColumns: [
|
|
1476
|
+
referencedRelation: "organizations";
|
|
1477
|
+
referencedColumns: ["id"];
|
|
1478
1478
|
},
|
|
1479
1479
|
{
|
|
1480
|
-
foreignKeyName:
|
|
1481
|
-
columns: [
|
|
1480
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1481
|
+
columns: ["seo_page_id"];
|
|
1482
1482
|
isOneToOne: false;
|
|
1483
|
-
referencedRelation:
|
|
1484
|
-
referencedColumns: [
|
|
1483
|
+
referencedRelation: "acq_seo_pages";
|
|
1484
|
+
referencedColumns: ["id"];
|
|
1485
1485
|
}
|
|
1486
1486
|
];
|
|
1487
1487
|
};
|
|
@@ -1557,11 +1557,11 @@ type Database = {
|
|
|
1557
1557
|
};
|
|
1558
1558
|
Relationships: [
|
|
1559
1559
|
{
|
|
1560
|
-
foreignKeyName:
|
|
1561
|
-
columns: [
|
|
1560
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1561
|
+
columns: ["organization_id"];
|
|
1562
1562
|
isOneToOne: false;
|
|
1563
|
-
referencedRelation:
|
|
1564
|
-
referencedColumns: [
|
|
1563
|
+
referencedRelation: "organizations";
|
|
1564
|
+
referencedColumns: ["id"];
|
|
1565
1565
|
}
|
|
1566
1566
|
];
|
|
1567
1567
|
};
|
|
@@ -1658,11 +1658,11 @@ type Database = {
|
|
|
1658
1658
|
};
|
|
1659
1659
|
Relationships: [
|
|
1660
1660
|
{
|
|
1661
|
-
foreignKeyName:
|
|
1662
|
-
columns: [
|
|
1661
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1662
|
+
columns: ["organization_id"];
|
|
1663
1663
|
isOneToOne: false;
|
|
1664
|
-
referencedRelation:
|
|
1665
|
-
referencedColumns: [
|
|
1664
|
+
referencedRelation: "organizations";
|
|
1665
|
+
referencedColumns: ["id"];
|
|
1666
1666
|
}
|
|
1667
1667
|
];
|
|
1668
1668
|
};
|
|
@@ -1717,11 +1717,11 @@ type Database = {
|
|
|
1717
1717
|
};
|
|
1718
1718
|
Relationships: [
|
|
1719
1719
|
{
|
|
1720
|
-
foreignKeyName:
|
|
1721
|
-
columns: [
|
|
1720
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
1721
|
+
columns: ["organization_id"];
|
|
1722
1722
|
isOneToOne: false;
|
|
1723
|
-
referencedRelation:
|
|
1724
|
-
referencedColumns: [
|
|
1723
|
+
referencedRelation: "organizations";
|
|
1724
|
+
referencedColumns: ["id"];
|
|
1725
1725
|
}
|
|
1726
1726
|
];
|
|
1727
1727
|
};
|
|
@@ -1752,11 +1752,11 @@ type Database = {
|
|
|
1752
1752
|
};
|
|
1753
1753
|
Relationships: [
|
|
1754
1754
|
{
|
|
1755
|
-
foreignKeyName:
|
|
1756
|
-
columns: [
|
|
1755
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1756
|
+
columns: ["organization_id"];
|
|
1757
1757
|
isOneToOne: false;
|
|
1758
|
-
referencedRelation:
|
|
1759
|
-
referencedColumns: [
|
|
1758
|
+
referencedRelation: "organizations";
|
|
1759
|
+
referencedColumns: ["id"];
|
|
1760
1760
|
}
|
|
1761
1761
|
];
|
|
1762
1762
|
};
|
|
@@ -1793,11 +1793,11 @@ type Database = {
|
|
|
1793
1793
|
};
|
|
1794
1794
|
Relationships: [
|
|
1795
1795
|
{
|
|
1796
|
-
foreignKeyName:
|
|
1797
|
-
columns: [
|
|
1796
|
+
foreignKeyName: "calibration_projects_organization_id_fkey";
|
|
1797
|
+
columns: ["organization_id"];
|
|
1798
1798
|
isOneToOne: false;
|
|
1799
|
-
referencedRelation:
|
|
1800
|
-
referencedColumns: [
|
|
1799
|
+
referencedRelation: "organizations";
|
|
1800
|
+
referencedColumns: ["id"];
|
|
1801
1801
|
}
|
|
1802
1802
|
];
|
|
1803
1803
|
};
|
|
@@ -1852,18 +1852,18 @@ type Database = {
|
|
|
1852
1852
|
};
|
|
1853
1853
|
Relationships: [
|
|
1854
1854
|
{
|
|
1855
|
-
foreignKeyName:
|
|
1856
|
-
columns: [
|
|
1855
|
+
foreignKeyName: "calibration_runs_organization_id_fkey";
|
|
1856
|
+
columns: ["organization_id"];
|
|
1857
1857
|
isOneToOne: false;
|
|
1858
|
-
referencedRelation:
|
|
1859
|
-
referencedColumns: [
|
|
1858
|
+
referencedRelation: "organizations";
|
|
1859
|
+
referencedColumns: ["id"];
|
|
1860
1860
|
},
|
|
1861
1861
|
{
|
|
1862
|
-
foreignKeyName:
|
|
1863
|
-
columns: [
|
|
1862
|
+
foreignKeyName: "calibration_runs_project_id_fkey";
|
|
1863
|
+
columns: ["project_id"];
|
|
1864
1864
|
isOneToOne: false;
|
|
1865
|
-
referencedRelation:
|
|
1866
|
-
referencedColumns: [
|
|
1865
|
+
referencedRelation: "calibration_projects";
|
|
1866
|
+
referencedColumns: ["id"];
|
|
1867
1867
|
}
|
|
1868
1868
|
];
|
|
1869
1869
|
};
|
|
@@ -1942,25 +1942,25 @@ type Database = {
|
|
|
1942
1942
|
};
|
|
1943
1943
|
Relationships: [
|
|
1944
1944
|
{
|
|
1945
|
-
foreignKeyName:
|
|
1946
|
-
columns: [
|
|
1945
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
1946
|
+
columns: ["completed_by"];
|
|
1947
1947
|
isOneToOne: false;
|
|
1948
|
-
referencedRelation:
|
|
1949
|
-
referencedColumns: [
|
|
1948
|
+
referencedRelation: "users";
|
|
1949
|
+
referencedColumns: ["id"];
|
|
1950
1950
|
},
|
|
1951
1951
|
{
|
|
1952
|
-
foreignKeyName:
|
|
1953
|
-
columns: [
|
|
1952
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
1953
|
+
columns: ["organization_id"];
|
|
1954
1954
|
isOneToOne: false;
|
|
1955
|
-
referencedRelation:
|
|
1956
|
-
referencedColumns: [
|
|
1955
|
+
referencedRelation: "organizations";
|
|
1956
|
+
referencedColumns: ["id"];
|
|
1957
1957
|
},
|
|
1958
1958
|
{
|
|
1959
|
-
foreignKeyName:
|
|
1960
|
-
columns: [
|
|
1959
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
1960
|
+
columns: ["target_execution_id"];
|
|
1961
1961
|
isOneToOne: false;
|
|
1962
|
-
referencedRelation:
|
|
1963
|
-
referencedColumns: [
|
|
1962
|
+
referencedRelation: "execution_logs";
|
|
1963
|
+
referencedColumns: ["execution_id"];
|
|
1964
1964
|
}
|
|
1965
1965
|
];
|
|
1966
1966
|
};
|
|
@@ -2000,306 +2000,18 @@ type Database = {
|
|
|
2000
2000
|
};
|
|
2001
2001
|
Relationships: [
|
|
2002
2002
|
{
|
|
2003
|
-
foreignKeyName:
|
|
2004
|
-
columns: [
|
|
2003
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
2004
|
+
columns: ["created_by"];
|
|
2005
2005
|
isOneToOne: false;
|
|
2006
|
-
referencedRelation:
|
|
2007
|
-
referencedColumns: [
|
|
2006
|
+
referencedRelation: "users";
|
|
2007
|
+
referencedColumns: ["id"];
|
|
2008
2008
|
},
|
|
2009
2009
|
{
|
|
2010
|
-
foreignKeyName:
|
|
2011
|
-
columns: [
|
|
2010
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
2011
|
+
columns: ["organization_id"];
|
|
2012
2012
|
isOneToOne: false;
|
|
2013
|
-
referencedRelation:
|
|
2014
|
-
referencedColumns: [
|
|
2015
|
-
}
|
|
2016
|
-
];
|
|
2017
|
-
};
|
|
2018
|
-
prj_tasks: {
|
|
2019
|
-
Row: {
|
|
2020
|
-
checklist: Json | null;
|
|
2021
|
-
completed_at: string | null;
|
|
2022
|
-
created_at: string;
|
|
2023
|
-
description: string | null;
|
|
2024
|
-
due_date: string | null;
|
|
2025
|
-
file_url: string | null;
|
|
2026
|
-
id: string;
|
|
2027
|
-
metadata: Json | null;
|
|
2028
|
-
milestone_id: string | null;
|
|
2029
|
-
name: string;
|
|
2030
|
-
organization_id: string;
|
|
2031
|
-
parent_task_id: string | null;
|
|
2032
|
-
project_id: string;
|
|
2033
|
-
resume_context: Json | null;
|
|
2034
|
-
status: string;
|
|
2035
|
-
type: string;
|
|
2036
|
-
updated_at: string;
|
|
2037
|
-
};
|
|
2038
|
-
Insert: {
|
|
2039
|
-
checklist?: Json | null;
|
|
2040
|
-
completed_at?: string | null;
|
|
2041
|
-
created_at?: string;
|
|
2042
|
-
description?: string | null;
|
|
2043
|
-
due_date?: string | null;
|
|
2044
|
-
file_url?: string | null;
|
|
2045
|
-
id?: string;
|
|
2046
|
-
metadata?: Json | null;
|
|
2047
|
-
milestone_id?: string | null;
|
|
2048
|
-
name: string;
|
|
2049
|
-
organization_id: string;
|
|
2050
|
-
parent_task_id?: string | null;
|
|
2051
|
-
project_id: string;
|
|
2052
|
-
resume_context?: Json | null;
|
|
2053
|
-
status?: string;
|
|
2054
|
-
type?: string;
|
|
2055
|
-
updated_at?: string;
|
|
2056
|
-
};
|
|
2057
|
-
Update: {
|
|
2058
|
-
checklist?: Json | null;
|
|
2059
|
-
completed_at?: string | null;
|
|
2060
|
-
created_at?: string;
|
|
2061
|
-
description?: string | null;
|
|
2062
|
-
due_date?: string | null;
|
|
2063
|
-
file_url?: string | null;
|
|
2064
|
-
id?: string;
|
|
2065
|
-
metadata?: Json | null;
|
|
2066
|
-
milestone_id?: string | null;
|
|
2067
|
-
name?: string;
|
|
2068
|
-
organization_id?: string;
|
|
2069
|
-
parent_task_id?: string | null;
|
|
2070
|
-
project_id?: string;
|
|
2071
|
-
resume_context?: Json | null;
|
|
2072
|
-
status?: string;
|
|
2073
|
-
type?: string;
|
|
2074
|
-
updated_at?: string;
|
|
2075
|
-
};
|
|
2076
|
-
Relationships: [
|
|
2077
|
-
{
|
|
2078
|
-
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2079
|
-
columns: ['project_id'];
|
|
2080
|
-
isOneToOne: false;
|
|
2081
|
-
referencedRelation: 'prj_projects';
|
|
2082
|
-
referencedColumns: ['id'];
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2086
|
-
columns: ['milestone_id'];
|
|
2087
|
-
isOneToOne: false;
|
|
2088
|
-
referencedRelation: 'prj_milestones';
|
|
2089
|
-
referencedColumns: ['id'];
|
|
2090
|
-
},
|
|
2091
|
-
{
|
|
2092
|
-
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2093
|
-
columns: ['organization_id'];
|
|
2094
|
-
isOneToOne: false;
|
|
2095
|
-
referencedRelation: 'organizations';
|
|
2096
|
-
referencedColumns: ['id'];
|
|
2097
|
-
}
|
|
2098
|
-
];
|
|
2099
|
-
};
|
|
2100
|
-
prj_projects: {
|
|
2101
|
-
Row: {
|
|
2102
|
-
actual_end_date: string | null;
|
|
2103
|
-
client_company_id: string | null;
|
|
2104
|
-
contract_value: number | null;
|
|
2105
|
-
created_at: string;
|
|
2106
|
-
deal_id: string | null;
|
|
2107
|
-
description: string | null;
|
|
2108
|
-
id: string;
|
|
2109
|
-
kind: string;
|
|
2110
|
-
metadata: Json | null;
|
|
2111
|
-
name: string;
|
|
2112
|
-
organization_id: string;
|
|
2113
|
-
start_date: string | null;
|
|
2114
|
-
status: string;
|
|
2115
|
-
target_end_date: string | null;
|
|
2116
|
-
updated_at: string;
|
|
2117
|
-
};
|
|
2118
|
-
Insert: {
|
|
2119
|
-
actual_end_date?: string | null;
|
|
2120
|
-
client_company_id?: string | null;
|
|
2121
|
-
contract_value?: number | null;
|
|
2122
|
-
created_at?: string;
|
|
2123
|
-
deal_id?: string | null;
|
|
2124
|
-
description?: string | null;
|
|
2125
|
-
id?: string;
|
|
2126
|
-
kind?: string;
|
|
2127
|
-
metadata?: Json | null;
|
|
2128
|
-
name: string;
|
|
2129
|
-
organization_id: string;
|
|
2130
|
-
start_date?: string | null;
|
|
2131
|
-
status?: string;
|
|
2132
|
-
target_end_date?: string | null;
|
|
2133
|
-
updated_at?: string;
|
|
2134
|
-
};
|
|
2135
|
-
Update: {
|
|
2136
|
-
actual_end_date?: string | null;
|
|
2137
|
-
client_company_id?: string | null;
|
|
2138
|
-
contract_value?: number | null;
|
|
2139
|
-
created_at?: string;
|
|
2140
|
-
deal_id?: string | null;
|
|
2141
|
-
description?: string | null;
|
|
2142
|
-
id?: string;
|
|
2143
|
-
kind?: string;
|
|
2144
|
-
metadata?: Json | null;
|
|
2145
|
-
name?: string;
|
|
2146
|
-
organization_id?: string;
|
|
2147
|
-
start_date?: string | null;
|
|
2148
|
-
status?: string;
|
|
2149
|
-
target_end_date?: string | null;
|
|
2150
|
-
updated_at?: string;
|
|
2151
|
-
};
|
|
2152
|
-
Relationships: [
|
|
2153
|
-
{
|
|
2154
|
-
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2155
|
-
columns: ['client_company_id'];
|
|
2156
|
-
isOneToOne: false;
|
|
2157
|
-
referencedRelation: 'acq_companies';
|
|
2158
|
-
referencedColumns: ['id'];
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2162
|
-
columns: ['deal_id'];
|
|
2163
|
-
isOneToOne: false;
|
|
2164
|
-
referencedRelation: 'acq_deals';
|
|
2165
|
-
referencedColumns: ['id'];
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2169
|
-
columns: ['organization_id'];
|
|
2170
|
-
isOneToOne: false;
|
|
2171
|
-
referencedRelation: 'organizations';
|
|
2172
|
-
referencedColumns: ['id'];
|
|
2173
|
-
}
|
|
2174
|
-
];
|
|
2175
|
-
};
|
|
2176
|
-
prj_milestones: {
|
|
2177
|
-
Row: {
|
|
2178
|
-
checklist: Json | null;
|
|
2179
|
-
completed_at: string | null;
|
|
2180
|
-
created_at: string;
|
|
2181
|
-
description: string | null;
|
|
2182
|
-
due_date: string | null;
|
|
2183
|
-
id: string;
|
|
2184
|
-
metadata: Json | null;
|
|
2185
|
-
name: string;
|
|
2186
|
-
organization_id: string;
|
|
2187
|
-
project_id: string;
|
|
2188
|
-
sequence: number;
|
|
2189
|
-
status: string;
|
|
2190
|
-
updated_at: string;
|
|
2191
|
-
};
|
|
2192
|
-
Insert: {
|
|
2193
|
-
checklist?: Json | null;
|
|
2194
|
-
completed_at?: string | null;
|
|
2195
|
-
created_at?: string;
|
|
2196
|
-
description?: string | null;
|
|
2197
|
-
due_date?: string | null;
|
|
2198
|
-
id?: string;
|
|
2199
|
-
metadata?: Json | null;
|
|
2200
|
-
name: string;
|
|
2201
|
-
organization_id: string;
|
|
2202
|
-
project_id: string;
|
|
2203
|
-
sequence?: number;
|
|
2204
|
-
status?: string;
|
|
2205
|
-
updated_at?: string;
|
|
2206
|
-
};
|
|
2207
|
-
Update: {
|
|
2208
|
-
checklist?: Json | null;
|
|
2209
|
-
completed_at?: string | null;
|
|
2210
|
-
created_at?: string;
|
|
2211
|
-
description?: string | null;
|
|
2212
|
-
due_date?: string | null;
|
|
2213
|
-
id?: string;
|
|
2214
|
-
metadata?: Json | null;
|
|
2215
|
-
name?: string;
|
|
2216
|
-
organization_id?: string;
|
|
2217
|
-
project_id?: string;
|
|
2218
|
-
sequence?: number;
|
|
2219
|
-
status?: string;
|
|
2220
|
-
updated_at?: string;
|
|
2221
|
-
};
|
|
2222
|
-
Relationships: [
|
|
2223
|
-
{
|
|
2224
|
-
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2225
|
-
columns: ['project_id'];
|
|
2226
|
-
isOneToOne: false;
|
|
2227
|
-
referencedRelation: 'prj_projects';
|
|
2228
|
-
referencedColumns: ['id'];
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2232
|
-
columns: ['organization_id'];
|
|
2233
|
-
isOneToOne: false;
|
|
2234
|
-
referencedRelation: 'organizations';
|
|
2235
|
-
referencedColumns: ['id'];
|
|
2236
|
-
}
|
|
2237
|
-
];
|
|
2238
|
-
};
|
|
2239
|
-
prj_notes: {
|
|
2240
|
-
Row: {
|
|
2241
|
-
content: string;
|
|
2242
|
-
created_at: string;
|
|
2243
|
-
created_by: string | null;
|
|
2244
|
-
id: string;
|
|
2245
|
-
metadata: Json | null;
|
|
2246
|
-
milestone_id: string | null;
|
|
2247
|
-
occurred_at: string;
|
|
2248
|
-
organization_id: string;
|
|
2249
|
-
project_id: string;
|
|
2250
|
-
summary: string | null;
|
|
2251
|
-
task_id: string | null;
|
|
2252
|
-
type: string;
|
|
2253
|
-
};
|
|
2254
|
-
Insert: {
|
|
2255
|
-
content: string;
|
|
2256
|
-
created_at?: string;
|
|
2257
|
-
created_by?: string | null;
|
|
2258
|
-
id?: string;
|
|
2259
|
-
metadata?: Json | null;
|
|
2260
|
-
milestone_id?: string | null;
|
|
2261
|
-
occurred_at?: string;
|
|
2262
|
-
organization_id: string;
|
|
2263
|
-
project_id: string;
|
|
2264
|
-
summary?: string | null;
|
|
2265
|
-
task_id?: string | null;
|
|
2266
|
-
type?: string;
|
|
2267
|
-
};
|
|
2268
|
-
Update: {
|
|
2269
|
-
content?: string;
|
|
2270
|
-
created_at?: string;
|
|
2271
|
-
created_by?: string | null;
|
|
2272
|
-
id?: string;
|
|
2273
|
-
metadata?: Json | null;
|
|
2274
|
-
milestone_id?: string | null;
|
|
2275
|
-
occurred_at?: string;
|
|
2276
|
-
organization_id?: string;
|
|
2277
|
-
project_id?: string;
|
|
2278
|
-
summary?: string | null;
|
|
2279
|
-
task_id?: string | null;
|
|
2280
|
-
type?: string;
|
|
2281
|
-
};
|
|
2282
|
-
Relationships: [
|
|
2283
|
-
{
|
|
2284
|
-
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2285
|
-
columns: ['created_by'];
|
|
2286
|
-
isOneToOne: false;
|
|
2287
|
-
referencedRelation: 'users';
|
|
2288
|
-
referencedColumns: ['id'];
|
|
2289
|
-
},
|
|
2290
|
-
{
|
|
2291
|
-
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2292
|
-
columns: ['project_id'];
|
|
2293
|
-
isOneToOne: false;
|
|
2294
|
-
referencedRelation: 'prj_projects';
|
|
2295
|
-
referencedColumns: ['id'];
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2299
|
-
columns: ['organization_id'];
|
|
2300
|
-
isOneToOne: false;
|
|
2301
|
-
referencedRelation: 'organizations';
|
|
2302
|
-
referencedColumns: ['id'];
|
|
2013
|
+
referencedRelation: "organizations";
|
|
2014
|
+
referencedColumns: ["id"];
|
|
2303
2015
|
}
|
|
2304
2016
|
];
|
|
2305
2017
|
};
|
|
@@ -2351,11 +2063,11 @@ type Database = {
|
|
|
2351
2063
|
};
|
|
2352
2064
|
Relationships: [
|
|
2353
2065
|
{
|
|
2354
|
-
foreignKeyName:
|
|
2355
|
-
columns: [
|
|
2066
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
2067
|
+
columns: ["organization_id"];
|
|
2356
2068
|
isOneToOne: false;
|
|
2357
|
-
referencedRelation:
|
|
2358
|
-
referencedColumns: [
|
|
2069
|
+
referencedRelation: "organizations";
|
|
2070
|
+
referencedColumns: ["id"];
|
|
2359
2071
|
}
|
|
2360
2072
|
];
|
|
2361
2073
|
};
|
|
@@ -2410,25 +2122,25 @@ type Database = {
|
|
|
2410
2122
|
};
|
|
2411
2123
|
Relationships: [
|
|
2412
2124
|
{
|
|
2413
|
-
foreignKeyName:
|
|
2414
|
-
columns: [
|
|
2125
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
2126
|
+
columns: ["execution_id"];
|
|
2415
2127
|
isOneToOne: false;
|
|
2416
|
-
referencedRelation:
|
|
2417
|
-
referencedColumns: [
|
|
2128
|
+
referencedRelation: "execution_logs";
|
|
2129
|
+
referencedColumns: ["execution_id"];
|
|
2418
2130
|
},
|
|
2419
2131
|
{
|
|
2420
|
-
foreignKeyName:
|
|
2421
|
-
columns: [
|
|
2132
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
2133
|
+
columns: ["organization_id"];
|
|
2422
2134
|
isOneToOne: false;
|
|
2423
|
-
referencedRelation:
|
|
2424
|
-
referencedColumns: [
|
|
2135
|
+
referencedRelation: "organizations";
|
|
2136
|
+
referencedColumns: ["id"];
|
|
2425
2137
|
},
|
|
2426
2138
|
{
|
|
2427
|
-
foreignKeyName:
|
|
2428
|
-
columns: [
|
|
2139
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
2140
|
+
columns: ["resolved_by"];
|
|
2429
2141
|
isOneToOne: false;
|
|
2430
|
-
referencedRelation:
|
|
2431
|
-
referencedColumns: [
|
|
2142
|
+
referencedRelation: "users";
|
|
2143
|
+
referencedColumns: ["id"];
|
|
2432
2144
|
}
|
|
2433
2145
|
];
|
|
2434
2146
|
};
|
|
@@ -2510,32 +2222,32 @@ type Database = {
|
|
|
2510
2222
|
};
|
|
2511
2223
|
Relationships: [
|
|
2512
2224
|
{
|
|
2513
|
-
foreignKeyName:
|
|
2514
|
-
columns: [
|
|
2225
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
2226
|
+
columns: ["organization_id"];
|
|
2515
2227
|
isOneToOne: false;
|
|
2516
|
-
referencedRelation:
|
|
2517
|
-
referencedColumns: [
|
|
2228
|
+
referencedRelation: "organizations";
|
|
2229
|
+
referencedColumns: ["id"];
|
|
2518
2230
|
},
|
|
2519
2231
|
{
|
|
2520
|
-
foreignKeyName:
|
|
2521
|
-
columns: [
|
|
2232
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
2233
|
+
columns: ["origin_execution_id"];
|
|
2522
2234
|
isOneToOne: false;
|
|
2523
|
-
referencedRelation:
|
|
2524
|
-
referencedColumns: [
|
|
2235
|
+
referencedRelation: "execution_logs";
|
|
2236
|
+
referencedColumns: ["execution_id"];
|
|
2525
2237
|
},
|
|
2526
2238
|
{
|
|
2527
|
-
foreignKeyName:
|
|
2528
|
-
columns: [
|
|
2239
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
2240
|
+
columns: ["session_id"];
|
|
2529
2241
|
isOneToOne: false;
|
|
2530
|
-
referencedRelation:
|
|
2531
|
-
referencedColumns: [
|
|
2242
|
+
referencedRelation: "sessions";
|
|
2243
|
+
referencedColumns: ["session_id"];
|
|
2532
2244
|
},
|
|
2533
2245
|
{
|
|
2534
|
-
foreignKeyName:
|
|
2535
|
-
columns: [
|
|
2246
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
2247
|
+
columns: ["user_id"];
|
|
2536
2248
|
isOneToOne: false;
|
|
2537
|
-
referencedRelation:
|
|
2538
|
-
referencedColumns: [
|
|
2249
|
+
referencedRelation: "users";
|
|
2250
|
+
referencedColumns: ["id"];
|
|
2539
2251
|
}
|
|
2540
2252
|
];
|
|
2541
2253
|
};
|
|
@@ -2581,18 +2293,18 @@ type Database = {
|
|
|
2581
2293
|
};
|
|
2582
2294
|
Relationships: [
|
|
2583
2295
|
{
|
|
2584
|
-
foreignKeyName:
|
|
2585
|
-
columns: [
|
|
2296
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
2297
|
+
columns: ["execution_id"];
|
|
2586
2298
|
isOneToOne: true;
|
|
2587
|
-
referencedRelation:
|
|
2588
|
-
referencedColumns: [
|
|
2299
|
+
referencedRelation: "execution_logs";
|
|
2300
|
+
referencedColumns: ["execution_id"];
|
|
2589
2301
|
},
|
|
2590
2302
|
{
|
|
2591
|
-
foreignKeyName:
|
|
2592
|
-
columns: [
|
|
2303
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
2304
|
+
columns: ["organization_id"];
|
|
2593
2305
|
isOneToOne: false;
|
|
2594
|
-
referencedRelation:
|
|
2595
|
-
referencedColumns: [
|
|
2306
|
+
referencedRelation: "organizations";
|
|
2307
|
+
referencedColumns: ["id"];
|
|
2596
2308
|
}
|
|
2597
2309
|
];
|
|
2598
2310
|
};
|
|
@@ -2635,18 +2347,18 @@ type Database = {
|
|
|
2635
2347
|
};
|
|
2636
2348
|
Relationships: [
|
|
2637
2349
|
{
|
|
2638
|
-
foreignKeyName:
|
|
2639
|
-
columns: [
|
|
2350
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
2351
|
+
columns: ["organization_id"];
|
|
2640
2352
|
isOneToOne: false;
|
|
2641
|
-
referencedRelation:
|
|
2642
|
-
referencedColumns: [
|
|
2353
|
+
referencedRelation: "organizations";
|
|
2354
|
+
referencedColumns: ["id"];
|
|
2643
2355
|
},
|
|
2644
2356
|
{
|
|
2645
|
-
foreignKeyName:
|
|
2646
|
-
columns: [
|
|
2357
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
2358
|
+
columns: ["user_id"];
|
|
2647
2359
|
isOneToOne: false;
|
|
2648
|
-
referencedRelation:
|
|
2649
|
-
referencedColumns: [
|
|
2360
|
+
referencedRelation: "users";
|
|
2361
|
+
referencedColumns: ["id"];
|
|
2650
2362
|
}
|
|
2651
2363
|
];
|
|
2652
2364
|
};
|
|
@@ -2701,18 +2413,18 @@ type Database = {
|
|
|
2701
2413
|
};
|
|
2702
2414
|
Relationships: [
|
|
2703
2415
|
{
|
|
2704
|
-
foreignKeyName:
|
|
2705
|
-
columns: [
|
|
2416
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
2417
|
+
columns: ["inviter_user_id"];
|
|
2706
2418
|
isOneToOne: false;
|
|
2707
|
-
referencedRelation:
|
|
2708
|
-
referencedColumns: [
|
|
2419
|
+
referencedRelation: "users";
|
|
2420
|
+
referencedColumns: ["id"];
|
|
2709
2421
|
},
|
|
2710
2422
|
{
|
|
2711
|
-
foreignKeyName:
|
|
2712
|
-
columns: [
|
|
2423
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
2424
|
+
columns: ["organization_id"];
|
|
2713
2425
|
isOneToOne: false;
|
|
2714
|
-
referencedRelation:
|
|
2715
|
-
referencedColumns: [
|
|
2426
|
+
referencedRelation: "organizations";
|
|
2427
|
+
referencedColumns: ["id"];
|
|
2716
2428
|
}
|
|
2717
2429
|
];
|
|
2718
2430
|
};
|
|
@@ -2752,18 +2464,18 @@ type Database = {
|
|
|
2752
2464
|
};
|
|
2753
2465
|
Relationships: [
|
|
2754
2466
|
{
|
|
2755
|
-
foreignKeyName:
|
|
2756
|
-
columns: [
|
|
2467
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
2468
|
+
columns: ["organization_id"];
|
|
2757
2469
|
isOneToOne: false;
|
|
2758
|
-
referencedRelation:
|
|
2759
|
-
referencedColumns: [
|
|
2470
|
+
referencedRelation: "organizations";
|
|
2471
|
+
referencedColumns: ["id"];
|
|
2760
2472
|
},
|
|
2761
2473
|
{
|
|
2762
|
-
foreignKeyName:
|
|
2763
|
-
columns: [
|
|
2474
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
2475
|
+
columns: ["user_id"];
|
|
2764
2476
|
isOneToOne: false;
|
|
2765
|
-
referencedRelation:
|
|
2766
|
-
referencedColumns: [
|
|
2477
|
+
referencedRelation: "users";
|
|
2478
|
+
referencedColumns: ["id"];
|
|
2767
2479
|
}
|
|
2768
2480
|
];
|
|
2769
2481
|
};
|
|
@@ -2803,6 +2515,315 @@ type Database = {
|
|
|
2803
2515
|
};
|
|
2804
2516
|
Relationships: [];
|
|
2805
2517
|
};
|
|
2518
|
+
prj_milestones: {
|
|
2519
|
+
Row: {
|
|
2520
|
+
checklist: Json | null;
|
|
2521
|
+
completed_at: string | null;
|
|
2522
|
+
created_at: string;
|
|
2523
|
+
description: string | null;
|
|
2524
|
+
due_date: string | null;
|
|
2525
|
+
id: string;
|
|
2526
|
+
metadata: Json | null;
|
|
2527
|
+
name: string;
|
|
2528
|
+
organization_id: string;
|
|
2529
|
+
project_id: string;
|
|
2530
|
+
sequence: number;
|
|
2531
|
+
status: string;
|
|
2532
|
+
updated_at: string;
|
|
2533
|
+
};
|
|
2534
|
+
Insert: {
|
|
2535
|
+
checklist?: Json | null;
|
|
2536
|
+
completed_at?: string | null;
|
|
2537
|
+
created_at?: string;
|
|
2538
|
+
description?: string | null;
|
|
2539
|
+
due_date?: string | null;
|
|
2540
|
+
id?: string;
|
|
2541
|
+
metadata?: Json | null;
|
|
2542
|
+
name: string;
|
|
2543
|
+
organization_id: string;
|
|
2544
|
+
project_id: string;
|
|
2545
|
+
sequence?: number;
|
|
2546
|
+
status?: string;
|
|
2547
|
+
updated_at?: string;
|
|
2548
|
+
};
|
|
2549
|
+
Update: {
|
|
2550
|
+
checklist?: Json | null;
|
|
2551
|
+
completed_at?: string | null;
|
|
2552
|
+
created_at?: string;
|
|
2553
|
+
description?: string | null;
|
|
2554
|
+
due_date?: string | null;
|
|
2555
|
+
id?: string;
|
|
2556
|
+
metadata?: Json | null;
|
|
2557
|
+
name?: string;
|
|
2558
|
+
organization_id?: string;
|
|
2559
|
+
project_id?: string;
|
|
2560
|
+
sequence?: number;
|
|
2561
|
+
status?: string;
|
|
2562
|
+
updated_at?: string;
|
|
2563
|
+
};
|
|
2564
|
+
Relationships: [
|
|
2565
|
+
{
|
|
2566
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2567
|
+
columns: ["organization_id"];
|
|
2568
|
+
isOneToOne: false;
|
|
2569
|
+
referencedRelation: "organizations";
|
|
2570
|
+
referencedColumns: ["id"];
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2574
|
+
columns: ["project_id"];
|
|
2575
|
+
isOneToOne: false;
|
|
2576
|
+
referencedRelation: "prj_projects";
|
|
2577
|
+
referencedColumns: ["id"];
|
|
2578
|
+
}
|
|
2579
|
+
];
|
|
2580
|
+
};
|
|
2581
|
+
prj_notes: {
|
|
2582
|
+
Row: {
|
|
2583
|
+
content: string;
|
|
2584
|
+
created_at: string;
|
|
2585
|
+
created_by: string | null;
|
|
2586
|
+
id: string;
|
|
2587
|
+
metadata: Json | null;
|
|
2588
|
+
milestone_id: string | null;
|
|
2589
|
+
occurred_at: string;
|
|
2590
|
+
organization_id: string;
|
|
2591
|
+
project_id: string;
|
|
2592
|
+
summary: string | null;
|
|
2593
|
+
task_id: string | null;
|
|
2594
|
+
type: string;
|
|
2595
|
+
};
|
|
2596
|
+
Insert: {
|
|
2597
|
+
content: string;
|
|
2598
|
+
created_at?: string;
|
|
2599
|
+
created_by?: string | null;
|
|
2600
|
+
id?: string;
|
|
2601
|
+
metadata?: Json | null;
|
|
2602
|
+
milestone_id?: string | null;
|
|
2603
|
+
occurred_at?: string;
|
|
2604
|
+
organization_id: string;
|
|
2605
|
+
project_id: string;
|
|
2606
|
+
summary?: string | null;
|
|
2607
|
+
task_id?: string | null;
|
|
2608
|
+
type?: string;
|
|
2609
|
+
};
|
|
2610
|
+
Update: {
|
|
2611
|
+
content?: string;
|
|
2612
|
+
created_at?: string;
|
|
2613
|
+
created_by?: string | null;
|
|
2614
|
+
id?: string;
|
|
2615
|
+
metadata?: Json | null;
|
|
2616
|
+
milestone_id?: string | null;
|
|
2617
|
+
occurred_at?: string;
|
|
2618
|
+
organization_id?: string;
|
|
2619
|
+
project_id?: string;
|
|
2620
|
+
summary?: string | null;
|
|
2621
|
+
task_id?: string | null;
|
|
2622
|
+
type?: string;
|
|
2623
|
+
};
|
|
2624
|
+
Relationships: [
|
|
2625
|
+
{
|
|
2626
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2627
|
+
columns: ["created_by"];
|
|
2628
|
+
isOneToOne: false;
|
|
2629
|
+
referencedRelation: "users";
|
|
2630
|
+
referencedColumns: ["id"];
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2634
|
+
columns: ["milestone_id"];
|
|
2635
|
+
isOneToOne: false;
|
|
2636
|
+
referencedRelation: "prj_milestones";
|
|
2637
|
+
referencedColumns: ["id"];
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2641
|
+
columns: ["organization_id"];
|
|
2642
|
+
isOneToOne: false;
|
|
2643
|
+
referencedRelation: "organizations";
|
|
2644
|
+
referencedColumns: ["id"];
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2648
|
+
columns: ["project_id"];
|
|
2649
|
+
isOneToOne: false;
|
|
2650
|
+
referencedRelation: "prj_projects";
|
|
2651
|
+
referencedColumns: ["id"];
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2655
|
+
columns: ["task_id"];
|
|
2656
|
+
isOneToOne: false;
|
|
2657
|
+
referencedRelation: "prj_tasks";
|
|
2658
|
+
referencedColumns: ["id"];
|
|
2659
|
+
}
|
|
2660
|
+
];
|
|
2661
|
+
};
|
|
2662
|
+
prj_projects: {
|
|
2663
|
+
Row: {
|
|
2664
|
+
actual_end_date: string | null;
|
|
2665
|
+
client_company_id: string | null;
|
|
2666
|
+
contract_value: number | null;
|
|
2667
|
+
created_at: string;
|
|
2668
|
+
deal_id: string | null;
|
|
2669
|
+
description: string | null;
|
|
2670
|
+
id: string;
|
|
2671
|
+
kind: string;
|
|
2672
|
+
metadata: Json | null;
|
|
2673
|
+
name: string;
|
|
2674
|
+
organization_id: string;
|
|
2675
|
+
start_date: string | null;
|
|
2676
|
+
status: string;
|
|
2677
|
+
target_end_date: string | null;
|
|
2678
|
+
updated_at: string;
|
|
2679
|
+
};
|
|
2680
|
+
Insert: {
|
|
2681
|
+
actual_end_date?: string | null;
|
|
2682
|
+
client_company_id?: string | null;
|
|
2683
|
+
contract_value?: number | null;
|
|
2684
|
+
created_at?: string;
|
|
2685
|
+
deal_id?: string | null;
|
|
2686
|
+
description?: string | null;
|
|
2687
|
+
id?: string;
|
|
2688
|
+
kind?: string;
|
|
2689
|
+
metadata?: Json | null;
|
|
2690
|
+
name: string;
|
|
2691
|
+
organization_id: string;
|
|
2692
|
+
start_date?: string | null;
|
|
2693
|
+
status?: string;
|
|
2694
|
+
target_end_date?: string | null;
|
|
2695
|
+
updated_at?: string;
|
|
2696
|
+
};
|
|
2697
|
+
Update: {
|
|
2698
|
+
actual_end_date?: string | null;
|
|
2699
|
+
client_company_id?: string | null;
|
|
2700
|
+
contract_value?: number | null;
|
|
2701
|
+
created_at?: string;
|
|
2702
|
+
deal_id?: string | null;
|
|
2703
|
+
description?: string | null;
|
|
2704
|
+
id?: string;
|
|
2705
|
+
kind?: string;
|
|
2706
|
+
metadata?: Json | null;
|
|
2707
|
+
name?: string;
|
|
2708
|
+
organization_id?: string;
|
|
2709
|
+
start_date?: string | null;
|
|
2710
|
+
status?: string;
|
|
2711
|
+
target_end_date?: string | null;
|
|
2712
|
+
updated_at?: string;
|
|
2713
|
+
};
|
|
2714
|
+
Relationships: [
|
|
2715
|
+
{
|
|
2716
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
2717
|
+
columns: ["client_company_id"];
|
|
2718
|
+
isOneToOne: false;
|
|
2719
|
+
referencedRelation: "acq_companies";
|
|
2720
|
+
referencedColumns: ["id"];
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2724
|
+
columns: ["deal_id"];
|
|
2725
|
+
isOneToOne: false;
|
|
2726
|
+
referencedRelation: "acq_deals";
|
|
2727
|
+
referencedColumns: ["id"];
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
2731
|
+
columns: ["organization_id"];
|
|
2732
|
+
isOneToOne: false;
|
|
2733
|
+
referencedRelation: "organizations";
|
|
2734
|
+
referencedColumns: ["id"];
|
|
2735
|
+
}
|
|
2736
|
+
];
|
|
2737
|
+
};
|
|
2738
|
+
prj_tasks: {
|
|
2739
|
+
Row: {
|
|
2740
|
+
checklist: Json;
|
|
2741
|
+
completed_at: string | null;
|
|
2742
|
+
created_at: string;
|
|
2743
|
+
description: string | null;
|
|
2744
|
+
due_date: string | null;
|
|
2745
|
+
file_url: string | null;
|
|
2746
|
+
id: string;
|
|
2747
|
+
metadata: Json | null;
|
|
2748
|
+
milestone_id: string | null;
|
|
2749
|
+
name: string;
|
|
2750
|
+
organization_id: string;
|
|
2751
|
+
parent_task_id: string | null;
|
|
2752
|
+
project_id: string;
|
|
2753
|
+
resume_context: Json | null;
|
|
2754
|
+
status: string;
|
|
2755
|
+
type: string;
|
|
2756
|
+
updated_at: string;
|
|
2757
|
+
};
|
|
2758
|
+
Insert: {
|
|
2759
|
+
checklist?: Json;
|
|
2760
|
+
completed_at?: string | null;
|
|
2761
|
+
created_at?: string;
|
|
2762
|
+
description?: string | null;
|
|
2763
|
+
due_date?: string | null;
|
|
2764
|
+
file_url?: string | null;
|
|
2765
|
+
id?: string;
|
|
2766
|
+
metadata?: Json | null;
|
|
2767
|
+
milestone_id?: string | null;
|
|
2768
|
+
name: string;
|
|
2769
|
+
organization_id: string;
|
|
2770
|
+
parent_task_id?: string | null;
|
|
2771
|
+
project_id: string;
|
|
2772
|
+
resume_context?: Json | null;
|
|
2773
|
+
status?: string;
|
|
2774
|
+
type?: string;
|
|
2775
|
+
updated_at?: string;
|
|
2776
|
+
};
|
|
2777
|
+
Update: {
|
|
2778
|
+
checklist?: Json;
|
|
2779
|
+
completed_at?: string | null;
|
|
2780
|
+
created_at?: string;
|
|
2781
|
+
description?: string | null;
|
|
2782
|
+
due_date?: string | null;
|
|
2783
|
+
file_url?: string | null;
|
|
2784
|
+
id?: string;
|
|
2785
|
+
metadata?: Json | null;
|
|
2786
|
+
milestone_id?: string | null;
|
|
2787
|
+
name?: string;
|
|
2788
|
+
organization_id?: string;
|
|
2789
|
+
parent_task_id?: string | null;
|
|
2790
|
+
project_id?: string;
|
|
2791
|
+
resume_context?: Json | null;
|
|
2792
|
+
status?: string;
|
|
2793
|
+
type?: string;
|
|
2794
|
+
updated_at?: string;
|
|
2795
|
+
};
|
|
2796
|
+
Relationships: [
|
|
2797
|
+
{
|
|
2798
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
2799
|
+
columns: ["milestone_id"];
|
|
2800
|
+
isOneToOne: false;
|
|
2801
|
+
referencedRelation: "prj_milestones";
|
|
2802
|
+
referencedColumns: ["id"];
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
2806
|
+
columns: ["organization_id"];
|
|
2807
|
+
isOneToOne: false;
|
|
2808
|
+
referencedRelation: "organizations";
|
|
2809
|
+
referencedColumns: ["id"];
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
2813
|
+
columns: ["parent_task_id"];
|
|
2814
|
+
isOneToOne: false;
|
|
2815
|
+
referencedRelation: "prj_tasks";
|
|
2816
|
+
referencedColumns: ["id"];
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
2820
|
+
columns: ["project_id"];
|
|
2821
|
+
isOneToOne: false;
|
|
2822
|
+
referencedRelation: "prj_projects";
|
|
2823
|
+
referencedColumns: ["id"];
|
|
2824
|
+
}
|
|
2825
|
+
];
|
|
2826
|
+
};
|
|
2806
2827
|
session_messages: {
|
|
2807
2828
|
Row: {
|
|
2808
2829
|
created_at: string | null;
|
|
@@ -2839,11 +2860,11 @@ type Database = {
|
|
|
2839
2860
|
};
|
|
2840
2861
|
Relationships: [
|
|
2841
2862
|
{
|
|
2842
|
-
foreignKeyName:
|
|
2843
|
-
columns: [
|
|
2863
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
2864
|
+
columns: ["session_id"];
|
|
2844
2865
|
isOneToOne: false;
|
|
2845
|
-
referencedRelation:
|
|
2846
|
-
referencedColumns: [
|
|
2866
|
+
referencedRelation: "sessions";
|
|
2867
|
+
referencedColumns: ["session_id"];
|
|
2847
2868
|
}
|
|
2848
2869
|
];
|
|
2849
2870
|
};
|
|
@@ -2898,18 +2919,18 @@ type Database = {
|
|
|
2898
2919
|
};
|
|
2899
2920
|
Relationships: [
|
|
2900
2921
|
{
|
|
2901
|
-
foreignKeyName:
|
|
2902
|
-
columns: [
|
|
2922
|
+
foreignKeyName: "fk_organization";
|
|
2923
|
+
columns: ["organization_id"];
|
|
2903
2924
|
isOneToOne: false;
|
|
2904
|
-
referencedRelation:
|
|
2905
|
-
referencedColumns: [
|
|
2925
|
+
referencedRelation: "organizations";
|
|
2926
|
+
referencedColumns: ["id"];
|
|
2906
2927
|
},
|
|
2907
2928
|
{
|
|
2908
|
-
foreignKeyName:
|
|
2909
|
-
columns: [
|
|
2929
|
+
foreignKeyName: "fk_user";
|
|
2930
|
+
columns: ["user_id"];
|
|
2910
2931
|
isOneToOne: false;
|
|
2911
|
-
referencedRelation:
|
|
2912
|
-
referencedColumns: [
|
|
2932
|
+
referencedRelation: "users";
|
|
2933
|
+
referencedColumns: ["id"];
|
|
2913
2934
|
}
|
|
2914
2935
|
];
|
|
2915
2936
|
};
|
|
@@ -2985,11 +3006,11 @@ type Database = {
|
|
|
2985
3006
|
};
|
|
2986
3007
|
Relationships: [
|
|
2987
3008
|
{
|
|
2988
|
-
foreignKeyName:
|
|
2989
|
-
columns: [
|
|
3009
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
3010
|
+
columns: ["organization_id"];
|
|
2990
3011
|
isOneToOne: false;
|
|
2991
|
-
referencedRelation:
|
|
2992
|
-
referencedColumns: [
|
|
3012
|
+
referencedRelation: "organizations";
|
|
3013
|
+
referencedColumns: ["id"];
|
|
2993
3014
|
}
|
|
2994
3015
|
];
|
|
2995
3016
|
};
|
|
@@ -3044,11 +3065,11 @@ type Database = {
|
|
|
3044
3065
|
};
|
|
3045
3066
|
Relationships: [
|
|
3046
3067
|
{
|
|
3047
|
-
foreignKeyName:
|
|
3048
|
-
columns: [
|
|
3068
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
3069
|
+
columns: ["last_visited_org"];
|
|
3049
3070
|
isOneToOne: false;
|
|
3050
|
-
referencedRelation:
|
|
3051
|
-
referencedColumns: [
|
|
3071
|
+
referencedRelation: "organizations";
|
|
3072
|
+
referencedColumns: ["id"];
|
|
3052
3073
|
}
|
|
3053
3074
|
];
|
|
3054
3075
|
};
|
|
@@ -3094,11 +3115,11 @@ type Database = {
|
|
|
3094
3115
|
};
|
|
3095
3116
|
Relationships: [
|
|
3096
3117
|
{
|
|
3097
|
-
foreignKeyName:
|
|
3098
|
-
columns: [
|
|
3118
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
3119
|
+
columns: ["organization_id"];
|
|
3099
3120
|
isOneToOne: false;
|
|
3100
|
-
referencedRelation:
|
|
3101
|
-
referencedColumns: [
|
|
3121
|
+
referencedRelation: "organizations";
|
|
3122
|
+
referencedColumns: ["id"];
|
|
3102
3123
|
}
|
|
3103
3124
|
];
|
|
3104
3125
|
};
|
|
@@ -3218,17 +3239,17 @@ type Database = {
|
|
|
3218
3239
|
};
|
|
3219
3240
|
};
|
|
3220
3241
|
};
|
|
3221
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
3222
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
3223
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3242
|
+
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
3243
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
3244
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
3224
3245
|
schema: keyof DatabaseWithoutInternals;
|
|
3225
3246
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3226
3247
|
schema: keyof DatabaseWithoutInternals;
|
|
3227
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3248
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3228
3249
|
schema: keyof DatabaseWithoutInternals;
|
|
3229
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3250
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
3230
3251
|
Row: infer R;
|
|
3231
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3252
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
3232
3253
|
Row: infer R;
|
|
3233
3254
|
} ? R : never : never;
|
|
3234
3255
|
|
|
@@ -3940,11 +3961,13 @@ interface ResourceCardProps {
|
|
|
3940
3961
|
topSection?: ReactNode;
|
|
3941
3962
|
/** Optional "Last run X ago" label shown below status badges */
|
|
3942
3963
|
lastRunLabel?: string;
|
|
3964
|
+
/** When true, the card uses the glass (frosted) background to signal a dormant/unused resource */
|
|
3965
|
+
dormant?: boolean;
|
|
3943
3966
|
/** HTML data attributes and style overrides passed to the root Card */
|
|
3944
3967
|
'data-resource-id'?: string;
|
|
3945
3968
|
style?: CSSProperties;
|
|
3946
3969
|
}
|
|
3947
|
-
declare function ResourceCard({ resource, onClick, layout, rightSection, topSection, lastRunLabel, style, ...rest }: ResourceCardProps): react_jsx_runtime.JSX.Element;
|
|
3970
|
+
declare function ResourceCard({ resource, onClick, layout, rightSection, topSection, lastRunLabel, dormant, style, ...rest }: ResourceCardProps): react_jsx_runtime.JSX.Element;
|
|
3948
3971
|
|
|
3949
3972
|
/**
|
|
3950
3973
|
* Converts ExecutionRunnerCatalogItem to ResourceDefinition format
|