@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
|
@@ -966,7 +966,7 @@ type Json = string | number | boolean | null | {
|
|
|
966
966
|
} | Json[];
|
|
967
967
|
type Database = {
|
|
968
968
|
__InternalSupabase: {
|
|
969
|
-
PostgrestVersion:
|
|
969
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
970
970
|
};
|
|
971
971
|
public: {
|
|
972
972
|
Tables: {
|
|
@@ -1045,11 +1045,11 @@ type Database = {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
Relationships: [
|
|
1047
1047
|
{
|
|
1048
|
-
foreignKeyName:
|
|
1049
|
-
columns: [
|
|
1048
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
1049
|
+
columns: ["organization_id"];
|
|
1050
1050
|
isOneToOne: false;
|
|
1051
|
-
referencedRelation:
|
|
1052
|
-
referencedColumns: [
|
|
1051
|
+
referencedRelation: "organizations";
|
|
1052
|
+
referencedColumns: ["id"];
|
|
1053
1053
|
}
|
|
1054
1054
|
];
|
|
1055
1055
|
};
|
|
@@ -1134,18 +1134,18 @@ type Database = {
|
|
|
1134
1134
|
};
|
|
1135
1135
|
Relationships: [
|
|
1136
1136
|
{
|
|
1137
|
-
foreignKeyName:
|
|
1138
|
-
columns: [
|
|
1137
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
1138
|
+
columns: ["company_id"];
|
|
1139
1139
|
isOneToOne: false;
|
|
1140
|
-
referencedRelation:
|
|
1141
|
-
referencedColumns: [
|
|
1140
|
+
referencedRelation: "acq_companies";
|
|
1141
|
+
referencedColumns: ["id"];
|
|
1142
1142
|
},
|
|
1143
1143
|
{
|
|
1144
|
-
foreignKeyName:
|
|
1145
|
-
columns: [
|
|
1144
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
1145
|
+
columns: ["organization_id"];
|
|
1146
1146
|
isOneToOne: false;
|
|
1147
|
-
referencedRelation:
|
|
1148
|
-
referencedColumns: [
|
|
1147
|
+
referencedRelation: "organizations";
|
|
1148
|
+
referencedColumns: ["id"];
|
|
1149
1149
|
}
|
|
1150
1150
|
];
|
|
1151
1151
|
};
|
|
@@ -1182,11 +1182,11 @@ type Database = {
|
|
|
1182
1182
|
};
|
|
1183
1183
|
Relationships: [
|
|
1184
1184
|
{
|
|
1185
|
-
foreignKeyName:
|
|
1186
|
-
columns: [
|
|
1185
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
1186
|
+
columns: ["organization_id"];
|
|
1187
1187
|
isOneToOne: false;
|
|
1188
|
-
referencedRelation:
|
|
1189
|
-
referencedColumns: [
|
|
1188
|
+
referencedRelation: "organizations";
|
|
1189
|
+
referencedColumns: ["id"];
|
|
1190
1190
|
}
|
|
1191
1191
|
];
|
|
1192
1192
|
};
|
|
@@ -1250,18 +1250,18 @@ type Database = {
|
|
|
1250
1250
|
};
|
|
1251
1251
|
Relationships: [
|
|
1252
1252
|
{
|
|
1253
|
-
foreignKeyName:
|
|
1254
|
-
columns: [
|
|
1253
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
1254
|
+
columns: ["content_id"];
|
|
1255
1255
|
isOneToOne: false;
|
|
1256
|
-
referencedRelation:
|
|
1257
|
-
referencedColumns: [
|
|
1256
|
+
referencedRelation: "acq_content";
|
|
1257
|
+
referencedColumns: ["id"];
|
|
1258
1258
|
},
|
|
1259
1259
|
{
|
|
1260
|
-
foreignKeyName:
|
|
1261
|
-
columns: [
|
|
1260
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
1261
|
+
columns: ["organization_id"];
|
|
1262
1262
|
isOneToOne: false;
|
|
1263
|
-
referencedRelation:
|
|
1264
|
-
referencedColumns: [
|
|
1263
|
+
referencedRelation: "organizations";
|
|
1264
|
+
referencedColumns: ["id"];
|
|
1265
1265
|
}
|
|
1266
1266
|
];
|
|
1267
1267
|
};
|
|
@@ -1373,25 +1373,25 @@ type Database = {
|
|
|
1373
1373
|
};
|
|
1374
1374
|
Relationships: [
|
|
1375
1375
|
{
|
|
1376
|
-
foreignKeyName:
|
|
1377
|
-
columns: [
|
|
1376
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
1377
|
+
columns: ["contact_id"];
|
|
1378
1378
|
isOneToOne: false;
|
|
1379
|
-
referencedRelation:
|
|
1380
|
-
referencedColumns: [
|
|
1379
|
+
referencedRelation: "acq_contacts";
|
|
1380
|
+
referencedColumns: ["id"];
|
|
1381
1381
|
},
|
|
1382
1382
|
{
|
|
1383
|
-
foreignKeyName:
|
|
1384
|
-
columns: [
|
|
1383
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
1384
|
+
columns: ["organization_id"];
|
|
1385
1385
|
isOneToOne: false;
|
|
1386
|
-
referencedRelation:
|
|
1387
|
-
referencedColumns: [
|
|
1386
|
+
referencedRelation: "organizations";
|
|
1387
|
+
referencedColumns: ["id"];
|
|
1388
1388
|
},
|
|
1389
1389
|
{
|
|
1390
|
-
foreignKeyName:
|
|
1391
|
-
columns: [
|
|
1390
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
1391
|
+
columns: ["source_list_id"];
|
|
1392
1392
|
isOneToOne: false;
|
|
1393
|
-
referencedRelation:
|
|
1394
|
-
referencedColumns: [
|
|
1393
|
+
referencedRelation: "acq_lists";
|
|
1394
|
+
referencedColumns: ["id"];
|
|
1395
1395
|
}
|
|
1396
1396
|
];
|
|
1397
1397
|
};
|
|
@@ -1419,18 +1419,18 @@ type Database = {
|
|
|
1419
1419
|
};
|
|
1420
1420
|
Relationships: [
|
|
1421
1421
|
{
|
|
1422
|
-
foreignKeyName:
|
|
1423
|
-
columns: [
|
|
1422
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
1423
|
+
columns: ["contact_id"];
|
|
1424
1424
|
isOneToOne: false;
|
|
1425
|
-
referencedRelation:
|
|
1426
|
-
referencedColumns: [
|
|
1425
|
+
referencedRelation: "acq_contacts";
|
|
1426
|
+
referencedColumns: ["id"];
|
|
1427
1427
|
},
|
|
1428
1428
|
{
|
|
1429
|
-
foreignKeyName:
|
|
1430
|
-
columns: [
|
|
1429
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
1430
|
+
columns: ["list_id"];
|
|
1431
1431
|
isOneToOne: false;
|
|
1432
|
-
referencedRelation:
|
|
1433
|
-
referencedColumns: [
|
|
1432
|
+
referencedRelation: "acq_lists";
|
|
1433
|
+
referencedColumns: ["id"];
|
|
1434
1434
|
}
|
|
1435
1435
|
];
|
|
1436
1436
|
};
|
|
@@ -1479,11 +1479,11 @@ type Database = {
|
|
|
1479
1479
|
};
|
|
1480
1480
|
Relationships: [
|
|
1481
1481
|
{
|
|
1482
|
-
foreignKeyName:
|
|
1483
|
-
columns: [
|
|
1482
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
1483
|
+
columns: ["organization_id"];
|
|
1484
1484
|
isOneToOne: false;
|
|
1485
|
-
referencedRelation:
|
|
1486
|
-
referencedColumns: [
|
|
1485
|
+
referencedRelation: "organizations";
|
|
1486
|
+
referencedColumns: ["id"];
|
|
1487
1487
|
}
|
|
1488
1488
|
];
|
|
1489
1489
|
};
|
|
@@ -1559,18 +1559,18 @@ type Database = {
|
|
|
1559
1559
|
};
|
|
1560
1560
|
Relationships: [
|
|
1561
1561
|
{
|
|
1562
|
-
foreignKeyName:
|
|
1563
|
-
columns: [
|
|
1562
|
+
foreignKeyName: "acq_seo_metrics_organization_id_fkey";
|
|
1563
|
+
columns: ["organization_id"];
|
|
1564
1564
|
isOneToOne: false;
|
|
1565
|
-
referencedRelation:
|
|
1566
|
-
referencedColumns: [
|
|
1565
|
+
referencedRelation: "organizations";
|
|
1566
|
+
referencedColumns: ["id"];
|
|
1567
1567
|
},
|
|
1568
1568
|
{
|
|
1569
|
-
foreignKeyName:
|
|
1570
|
-
columns: [
|
|
1569
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1570
|
+
columns: ["seo_page_id"];
|
|
1571
1571
|
isOneToOne: false;
|
|
1572
|
-
referencedRelation:
|
|
1573
|
-
referencedColumns: [
|
|
1572
|
+
referencedRelation: "acq_seo_pages";
|
|
1573
|
+
referencedColumns: ["id"];
|
|
1574
1574
|
}
|
|
1575
1575
|
];
|
|
1576
1576
|
};
|
|
@@ -1646,11 +1646,11 @@ type Database = {
|
|
|
1646
1646
|
};
|
|
1647
1647
|
Relationships: [
|
|
1648
1648
|
{
|
|
1649
|
-
foreignKeyName:
|
|
1650
|
-
columns: [
|
|
1649
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1650
|
+
columns: ["organization_id"];
|
|
1651
1651
|
isOneToOne: false;
|
|
1652
|
-
referencedRelation:
|
|
1653
|
-
referencedColumns: [
|
|
1652
|
+
referencedRelation: "organizations";
|
|
1653
|
+
referencedColumns: ["id"];
|
|
1654
1654
|
}
|
|
1655
1655
|
];
|
|
1656
1656
|
};
|
|
@@ -1747,11 +1747,11 @@ type Database = {
|
|
|
1747
1747
|
};
|
|
1748
1748
|
Relationships: [
|
|
1749
1749
|
{
|
|
1750
|
-
foreignKeyName:
|
|
1751
|
-
columns: [
|
|
1750
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1751
|
+
columns: ["organization_id"];
|
|
1752
1752
|
isOneToOne: false;
|
|
1753
|
-
referencedRelation:
|
|
1754
|
-
referencedColumns: [
|
|
1753
|
+
referencedRelation: "organizations";
|
|
1754
|
+
referencedColumns: ["id"];
|
|
1755
1755
|
}
|
|
1756
1756
|
];
|
|
1757
1757
|
};
|
|
@@ -1806,11 +1806,11 @@ type Database = {
|
|
|
1806
1806
|
};
|
|
1807
1807
|
Relationships: [
|
|
1808
1808
|
{
|
|
1809
|
-
foreignKeyName:
|
|
1810
|
-
columns: [
|
|
1809
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
1810
|
+
columns: ["organization_id"];
|
|
1811
1811
|
isOneToOne: false;
|
|
1812
|
-
referencedRelation:
|
|
1813
|
-
referencedColumns: [
|
|
1812
|
+
referencedRelation: "organizations";
|
|
1813
|
+
referencedColumns: ["id"];
|
|
1814
1814
|
}
|
|
1815
1815
|
];
|
|
1816
1816
|
};
|
|
@@ -1841,11 +1841,11 @@ type Database = {
|
|
|
1841
1841
|
};
|
|
1842
1842
|
Relationships: [
|
|
1843
1843
|
{
|
|
1844
|
-
foreignKeyName:
|
|
1845
|
-
columns: [
|
|
1844
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1845
|
+
columns: ["organization_id"];
|
|
1846
1846
|
isOneToOne: false;
|
|
1847
|
-
referencedRelation:
|
|
1848
|
-
referencedColumns: [
|
|
1847
|
+
referencedRelation: "organizations";
|
|
1848
|
+
referencedColumns: ["id"];
|
|
1849
1849
|
}
|
|
1850
1850
|
];
|
|
1851
1851
|
};
|
|
@@ -1882,11 +1882,11 @@ type Database = {
|
|
|
1882
1882
|
};
|
|
1883
1883
|
Relationships: [
|
|
1884
1884
|
{
|
|
1885
|
-
foreignKeyName:
|
|
1886
|
-
columns: [
|
|
1885
|
+
foreignKeyName: "calibration_projects_organization_id_fkey";
|
|
1886
|
+
columns: ["organization_id"];
|
|
1887
1887
|
isOneToOne: false;
|
|
1888
|
-
referencedRelation:
|
|
1889
|
-
referencedColumns: [
|
|
1888
|
+
referencedRelation: "organizations";
|
|
1889
|
+
referencedColumns: ["id"];
|
|
1890
1890
|
}
|
|
1891
1891
|
];
|
|
1892
1892
|
};
|
|
@@ -1941,18 +1941,18 @@ type Database = {
|
|
|
1941
1941
|
};
|
|
1942
1942
|
Relationships: [
|
|
1943
1943
|
{
|
|
1944
|
-
foreignKeyName:
|
|
1945
|
-
columns: [
|
|
1944
|
+
foreignKeyName: "calibration_runs_organization_id_fkey";
|
|
1945
|
+
columns: ["organization_id"];
|
|
1946
1946
|
isOneToOne: false;
|
|
1947
|
-
referencedRelation:
|
|
1948
|
-
referencedColumns: [
|
|
1947
|
+
referencedRelation: "organizations";
|
|
1948
|
+
referencedColumns: ["id"];
|
|
1949
1949
|
},
|
|
1950
1950
|
{
|
|
1951
|
-
foreignKeyName:
|
|
1952
|
-
columns: [
|
|
1951
|
+
foreignKeyName: "calibration_runs_project_id_fkey";
|
|
1952
|
+
columns: ["project_id"];
|
|
1953
1953
|
isOneToOne: false;
|
|
1954
|
-
referencedRelation:
|
|
1955
|
-
referencedColumns: [
|
|
1954
|
+
referencedRelation: "calibration_projects";
|
|
1955
|
+
referencedColumns: ["id"];
|
|
1956
1956
|
}
|
|
1957
1957
|
];
|
|
1958
1958
|
};
|
|
@@ -2031,25 +2031,25 @@ type Database = {
|
|
|
2031
2031
|
};
|
|
2032
2032
|
Relationships: [
|
|
2033
2033
|
{
|
|
2034
|
-
foreignKeyName:
|
|
2035
|
-
columns: [
|
|
2034
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
2035
|
+
columns: ["completed_by"];
|
|
2036
2036
|
isOneToOne: false;
|
|
2037
|
-
referencedRelation:
|
|
2038
|
-
referencedColumns: [
|
|
2037
|
+
referencedRelation: "users";
|
|
2038
|
+
referencedColumns: ["id"];
|
|
2039
2039
|
},
|
|
2040
2040
|
{
|
|
2041
|
-
foreignKeyName:
|
|
2042
|
-
columns: [
|
|
2041
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
2042
|
+
columns: ["organization_id"];
|
|
2043
2043
|
isOneToOne: false;
|
|
2044
|
-
referencedRelation:
|
|
2045
|
-
referencedColumns: [
|
|
2044
|
+
referencedRelation: "organizations";
|
|
2045
|
+
referencedColumns: ["id"];
|
|
2046
2046
|
},
|
|
2047
2047
|
{
|
|
2048
|
-
foreignKeyName:
|
|
2049
|
-
columns: [
|
|
2048
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
2049
|
+
columns: ["target_execution_id"];
|
|
2050
2050
|
isOneToOne: false;
|
|
2051
|
-
referencedRelation:
|
|
2052
|
-
referencedColumns: [
|
|
2051
|
+
referencedRelation: "execution_logs";
|
|
2052
|
+
referencedColumns: ["execution_id"];
|
|
2053
2053
|
}
|
|
2054
2054
|
];
|
|
2055
2055
|
};
|
|
@@ -2089,306 +2089,18 @@ type Database = {
|
|
|
2089
2089
|
};
|
|
2090
2090
|
Relationships: [
|
|
2091
2091
|
{
|
|
2092
|
-
foreignKeyName:
|
|
2093
|
-
columns: [
|
|
2092
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
2093
|
+
columns: ["created_by"];
|
|
2094
2094
|
isOneToOne: false;
|
|
2095
|
-
referencedRelation:
|
|
2096
|
-
referencedColumns: [
|
|
2095
|
+
referencedRelation: "users";
|
|
2096
|
+
referencedColumns: ["id"];
|
|
2097
2097
|
},
|
|
2098
2098
|
{
|
|
2099
|
-
foreignKeyName:
|
|
2100
|
-
columns: [
|
|
2099
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
2100
|
+
columns: ["organization_id"];
|
|
2101
2101
|
isOneToOne: false;
|
|
2102
|
-
referencedRelation:
|
|
2103
|
-
referencedColumns: [
|
|
2104
|
-
}
|
|
2105
|
-
];
|
|
2106
|
-
};
|
|
2107
|
-
prj_tasks: {
|
|
2108
|
-
Row: {
|
|
2109
|
-
checklist: Json | null;
|
|
2110
|
-
completed_at: string | null;
|
|
2111
|
-
created_at: string;
|
|
2112
|
-
description: string | null;
|
|
2113
|
-
due_date: string | null;
|
|
2114
|
-
file_url: string | null;
|
|
2115
|
-
id: string;
|
|
2116
|
-
metadata: Json | null;
|
|
2117
|
-
milestone_id: string | null;
|
|
2118
|
-
name: string;
|
|
2119
|
-
organization_id: string;
|
|
2120
|
-
parent_task_id: string | null;
|
|
2121
|
-
project_id: string;
|
|
2122
|
-
resume_context: Json | null;
|
|
2123
|
-
status: string;
|
|
2124
|
-
type: string;
|
|
2125
|
-
updated_at: string;
|
|
2126
|
-
};
|
|
2127
|
-
Insert: {
|
|
2128
|
-
checklist?: Json | null;
|
|
2129
|
-
completed_at?: string | null;
|
|
2130
|
-
created_at?: string;
|
|
2131
|
-
description?: string | null;
|
|
2132
|
-
due_date?: string | null;
|
|
2133
|
-
file_url?: string | null;
|
|
2134
|
-
id?: string;
|
|
2135
|
-
metadata?: Json | null;
|
|
2136
|
-
milestone_id?: string | null;
|
|
2137
|
-
name: string;
|
|
2138
|
-
organization_id: string;
|
|
2139
|
-
parent_task_id?: string | null;
|
|
2140
|
-
project_id: string;
|
|
2141
|
-
resume_context?: Json | null;
|
|
2142
|
-
status?: string;
|
|
2143
|
-
type?: string;
|
|
2144
|
-
updated_at?: string;
|
|
2145
|
-
};
|
|
2146
|
-
Update: {
|
|
2147
|
-
checklist?: Json | null;
|
|
2148
|
-
completed_at?: string | null;
|
|
2149
|
-
created_at?: string;
|
|
2150
|
-
description?: string | null;
|
|
2151
|
-
due_date?: string | null;
|
|
2152
|
-
file_url?: string | null;
|
|
2153
|
-
id?: string;
|
|
2154
|
-
metadata?: Json | null;
|
|
2155
|
-
milestone_id?: string | null;
|
|
2156
|
-
name?: string;
|
|
2157
|
-
organization_id?: string;
|
|
2158
|
-
parent_task_id?: string | null;
|
|
2159
|
-
project_id?: string;
|
|
2160
|
-
resume_context?: Json | null;
|
|
2161
|
-
status?: string;
|
|
2162
|
-
type?: string;
|
|
2163
|
-
updated_at?: string;
|
|
2164
|
-
};
|
|
2165
|
-
Relationships: [
|
|
2166
|
-
{
|
|
2167
|
-
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2168
|
-
columns: ['project_id'];
|
|
2169
|
-
isOneToOne: false;
|
|
2170
|
-
referencedRelation: 'prj_projects';
|
|
2171
|
-
referencedColumns: ['id'];
|
|
2172
|
-
},
|
|
2173
|
-
{
|
|
2174
|
-
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2175
|
-
columns: ['milestone_id'];
|
|
2176
|
-
isOneToOne: false;
|
|
2177
|
-
referencedRelation: 'prj_milestones';
|
|
2178
|
-
referencedColumns: ['id'];
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2182
|
-
columns: ['organization_id'];
|
|
2183
|
-
isOneToOne: false;
|
|
2184
|
-
referencedRelation: 'organizations';
|
|
2185
|
-
referencedColumns: ['id'];
|
|
2186
|
-
}
|
|
2187
|
-
];
|
|
2188
|
-
};
|
|
2189
|
-
prj_projects: {
|
|
2190
|
-
Row: {
|
|
2191
|
-
actual_end_date: string | null;
|
|
2192
|
-
client_company_id: string | null;
|
|
2193
|
-
contract_value: number | null;
|
|
2194
|
-
created_at: string;
|
|
2195
|
-
deal_id: string | null;
|
|
2196
|
-
description: string | null;
|
|
2197
|
-
id: string;
|
|
2198
|
-
kind: string;
|
|
2199
|
-
metadata: Json | null;
|
|
2200
|
-
name: string;
|
|
2201
|
-
organization_id: string;
|
|
2202
|
-
start_date: string | null;
|
|
2203
|
-
status: string;
|
|
2204
|
-
target_end_date: string | null;
|
|
2205
|
-
updated_at: string;
|
|
2206
|
-
};
|
|
2207
|
-
Insert: {
|
|
2208
|
-
actual_end_date?: string | null;
|
|
2209
|
-
client_company_id?: string | null;
|
|
2210
|
-
contract_value?: number | null;
|
|
2211
|
-
created_at?: string;
|
|
2212
|
-
deal_id?: string | null;
|
|
2213
|
-
description?: string | null;
|
|
2214
|
-
id?: string;
|
|
2215
|
-
kind?: string;
|
|
2216
|
-
metadata?: Json | null;
|
|
2217
|
-
name: string;
|
|
2218
|
-
organization_id: string;
|
|
2219
|
-
start_date?: string | null;
|
|
2220
|
-
status?: string;
|
|
2221
|
-
target_end_date?: string | null;
|
|
2222
|
-
updated_at?: string;
|
|
2223
|
-
};
|
|
2224
|
-
Update: {
|
|
2225
|
-
actual_end_date?: string | null;
|
|
2226
|
-
client_company_id?: string | null;
|
|
2227
|
-
contract_value?: number | null;
|
|
2228
|
-
created_at?: string;
|
|
2229
|
-
deal_id?: string | null;
|
|
2230
|
-
description?: string | null;
|
|
2231
|
-
id?: string;
|
|
2232
|
-
kind?: string;
|
|
2233
|
-
metadata?: Json | null;
|
|
2234
|
-
name?: string;
|
|
2235
|
-
organization_id?: string;
|
|
2236
|
-
start_date?: string | null;
|
|
2237
|
-
status?: string;
|
|
2238
|
-
target_end_date?: string | null;
|
|
2239
|
-
updated_at?: string;
|
|
2240
|
-
};
|
|
2241
|
-
Relationships: [
|
|
2242
|
-
{
|
|
2243
|
-
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2244
|
-
columns: ['client_company_id'];
|
|
2245
|
-
isOneToOne: false;
|
|
2246
|
-
referencedRelation: 'acq_companies';
|
|
2247
|
-
referencedColumns: ['id'];
|
|
2248
|
-
},
|
|
2249
|
-
{
|
|
2250
|
-
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2251
|
-
columns: ['deal_id'];
|
|
2252
|
-
isOneToOne: false;
|
|
2253
|
-
referencedRelation: 'acq_deals';
|
|
2254
|
-
referencedColumns: ['id'];
|
|
2255
|
-
},
|
|
2256
|
-
{
|
|
2257
|
-
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2258
|
-
columns: ['organization_id'];
|
|
2259
|
-
isOneToOne: false;
|
|
2260
|
-
referencedRelation: 'organizations';
|
|
2261
|
-
referencedColumns: ['id'];
|
|
2262
|
-
}
|
|
2263
|
-
];
|
|
2264
|
-
};
|
|
2265
|
-
prj_milestones: {
|
|
2266
|
-
Row: {
|
|
2267
|
-
checklist: Json | null;
|
|
2268
|
-
completed_at: string | null;
|
|
2269
|
-
created_at: string;
|
|
2270
|
-
description: string | null;
|
|
2271
|
-
due_date: string | null;
|
|
2272
|
-
id: string;
|
|
2273
|
-
metadata: Json | null;
|
|
2274
|
-
name: string;
|
|
2275
|
-
organization_id: string;
|
|
2276
|
-
project_id: string;
|
|
2277
|
-
sequence: number;
|
|
2278
|
-
status: string;
|
|
2279
|
-
updated_at: string;
|
|
2280
|
-
};
|
|
2281
|
-
Insert: {
|
|
2282
|
-
checklist?: Json | null;
|
|
2283
|
-
completed_at?: string | null;
|
|
2284
|
-
created_at?: string;
|
|
2285
|
-
description?: string | null;
|
|
2286
|
-
due_date?: string | null;
|
|
2287
|
-
id?: string;
|
|
2288
|
-
metadata?: Json | null;
|
|
2289
|
-
name: string;
|
|
2290
|
-
organization_id: string;
|
|
2291
|
-
project_id: string;
|
|
2292
|
-
sequence?: number;
|
|
2293
|
-
status?: string;
|
|
2294
|
-
updated_at?: string;
|
|
2295
|
-
};
|
|
2296
|
-
Update: {
|
|
2297
|
-
checklist?: Json | null;
|
|
2298
|
-
completed_at?: string | null;
|
|
2299
|
-
created_at?: string;
|
|
2300
|
-
description?: string | null;
|
|
2301
|
-
due_date?: string | null;
|
|
2302
|
-
id?: string;
|
|
2303
|
-
metadata?: Json | null;
|
|
2304
|
-
name?: string;
|
|
2305
|
-
organization_id?: string;
|
|
2306
|
-
project_id?: string;
|
|
2307
|
-
sequence?: number;
|
|
2308
|
-
status?: string;
|
|
2309
|
-
updated_at?: string;
|
|
2310
|
-
};
|
|
2311
|
-
Relationships: [
|
|
2312
|
-
{
|
|
2313
|
-
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2314
|
-
columns: ['project_id'];
|
|
2315
|
-
isOneToOne: false;
|
|
2316
|
-
referencedRelation: 'prj_projects';
|
|
2317
|
-
referencedColumns: ['id'];
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2321
|
-
columns: ['organization_id'];
|
|
2322
|
-
isOneToOne: false;
|
|
2323
|
-
referencedRelation: 'organizations';
|
|
2324
|
-
referencedColumns: ['id'];
|
|
2325
|
-
}
|
|
2326
|
-
];
|
|
2327
|
-
};
|
|
2328
|
-
prj_notes: {
|
|
2329
|
-
Row: {
|
|
2330
|
-
content: string;
|
|
2331
|
-
created_at: string;
|
|
2332
|
-
created_by: string | null;
|
|
2333
|
-
id: string;
|
|
2334
|
-
metadata: Json | null;
|
|
2335
|
-
milestone_id: string | null;
|
|
2336
|
-
occurred_at: string;
|
|
2337
|
-
organization_id: string;
|
|
2338
|
-
project_id: string;
|
|
2339
|
-
summary: string | null;
|
|
2340
|
-
task_id: string | null;
|
|
2341
|
-
type: string;
|
|
2342
|
-
};
|
|
2343
|
-
Insert: {
|
|
2344
|
-
content: string;
|
|
2345
|
-
created_at?: string;
|
|
2346
|
-
created_by?: string | null;
|
|
2347
|
-
id?: string;
|
|
2348
|
-
metadata?: Json | null;
|
|
2349
|
-
milestone_id?: string | null;
|
|
2350
|
-
occurred_at?: string;
|
|
2351
|
-
organization_id: string;
|
|
2352
|
-
project_id: string;
|
|
2353
|
-
summary?: string | null;
|
|
2354
|
-
task_id?: string | null;
|
|
2355
|
-
type?: string;
|
|
2356
|
-
};
|
|
2357
|
-
Update: {
|
|
2358
|
-
content?: string;
|
|
2359
|
-
created_at?: string;
|
|
2360
|
-
created_by?: string | null;
|
|
2361
|
-
id?: string;
|
|
2362
|
-
metadata?: Json | null;
|
|
2363
|
-
milestone_id?: string | null;
|
|
2364
|
-
occurred_at?: string;
|
|
2365
|
-
organization_id?: string;
|
|
2366
|
-
project_id?: string;
|
|
2367
|
-
summary?: string | null;
|
|
2368
|
-
task_id?: string | null;
|
|
2369
|
-
type?: string;
|
|
2370
|
-
};
|
|
2371
|
-
Relationships: [
|
|
2372
|
-
{
|
|
2373
|
-
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2374
|
-
columns: ['created_by'];
|
|
2375
|
-
isOneToOne: false;
|
|
2376
|
-
referencedRelation: 'users';
|
|
2377
|
-
referencedColumns: ['id'];
|
|
2378
|
-
},
|
|
2379
|
-
{
|
|
2380
|
-
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2381
|
-
columns: ['project_id'];
|
|
2382
|
-
isOneToOne: false;
|
|
2383
|
-
referencedRelation: 'prj_projects';
|
|
2384
|
-
referencedColumns: ['id'];
|
|
2385
|
-
},
|
|
2386
|
-
{
|
|
2387
|
-
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2388
|
-
columns: ['organization_id'];
|
|
2389
|
-
isOneToOne: false;
|
|
2390
|
-
referencedRelation: 'organizations';
|
|
2391
|
-
referencedColumns: ['id'];
|
|
2102
|
+
referencedRelation: "organizations";
|
|
2103
|
+
referencedColumns: ["id"];
|
|
2392
2104
|
}
|
|
2393
2105
|
];
|
|
2394
2106
|
};
|
|
@@ -2440,11 +2152,11 @@ type Database = {
|
|
|
2440
2152
|
};
|
|
2441
2153
|
Relationships: [
|
|
2442
2154
|
{
|
|
2443
|
-
foreignKeyName:
|
|
2444
|
-
columns: [
|
|
2155
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
2156
|
+
columns: ["organization_id"];
|
|
2445
2157
|
isOneToOne: false;
|
|
2446
|
-
referencedRelation:
|
|
2447
|
-
referencedColumns: [
|
|
2158
|
+
referencedRelation: "organizations";
|
|
2159
|
+
referencedColumns: ["id"];
|
|
2448
2160
|
}
|
|
2449
2161
|
];
|
|
2450
2162
|
};
|
|
@@ -2499,25 +2211,25 @@ type Database = {
|
|
|
2499
2211
|
};
|
|
2500
2212
|
Relationships: [
|
|
2501
2213
|
{
|
|
2502
|
-
foreignKeyName:
|
|
2503
|
-
columns: [
|
|
2214
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
2215
|
+
columns: ["execution_id"];
|
|
2504
2216
|
isOneToOne: false;
|
|
2505
|
-
referencedRelation:
|
|
2506
|
-
referencedColumns: [
|
|
2217
|
+
referencedRelation: "execution_logs";
|
|
2218
|
+
referencedColumns: ["execution_id"];
|
|
2507
2219
|
},
|
|
2508
2220
|
{
|
|
2509
|
-
foreignKeyName:
|
|
2510
|
-
columns: [
|
|
2221
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
2222
|
+
columns: ["organization_id"];
|
|
2511
2223
|
isOneToOne: false;
|
|
2512
|
-
referencedRelation:
|
|
2513
|
-
referencedColumns: [
|
|
2224
|
+
referencedRelation: "organizations";
|
|
2225
|
+
referencedColumns: ["id"];
|
|
2514
2226
|
},
|
|
2515
2227
|
{
|
|
2516
|
-
foreignKeyName:
|
|
2517
|
-
columns: [
|
|
2228
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
2229
|
+
columns: ["resolved_by"];
|
|
2518
2230
|
isOneToOne: false;
|
|
2519
|
-
referencedRelation:
|
|
2520
|
-
referencedColumns: [
|
|
2231
|
+
referencedRelation: "users";
|
|
2232
|
+
referencedColumns: ["id"];
|
|
2521
2233
|
}
|
|
2522
2234
|
];
|
|
2523
2235
|
};
|
|
@@ -2599,32 +2311,32 @@ type Database = {
|
|
|
2599
2311
|
};
|
|
2600
2312
|
Relationships: [
|
|
2601
2313
|
{
|
|
2602
|
-
foreignKeyName:
|
|
2603
|
-
columns: [
|
|
2314
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
2315
|
+
columns: ["organization_id"];
|
|
2604
2316
|
isOneToOne: false;
|
|
2605
|
-
referencedRelation:
|
|
2606
|
-
referencedColumns: [
|
|
2317
|
+
referencedRelation: "organizations";
|
|
2318
|
+
referencedColumns: ["id"];
|
|
2607
2319
|
},
|
|
2608
2320
|
{
|
|
2609
|
-
foreignKeyName:
|
|
2610
|
-
columns: [
|
|
2321
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
2322
|
+
columns: ["origin_execution_id"];
|
|
2611
2323
|
isOneToOne: false;
|
|
2612
|
-
referencedRelation:
|
|
2613
|
-
referencedColumns: [
|
|
2324
|
+
referencedRelation: "execution_logs";
|
|
2325
|
+
referencedColumns: ["execution_id"];
|
|
2614
2326
|
},
|
|
2615
2327
|
{
|
|
2616
|
-
foreignKeyName:
|
|
2617
|
-
columns: [
|
|
2328
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
2329
|
+
columns: ["session_id"];
|
|
2618
2330
|
isOneToOne: false;
|
|
2619
|
-
referencedRelation:
|
|
2620
|
-
referencedColumns: [
|
|
2331
|
+
referencedRelation: "sessions";
|
|
2332
|
+
referencedColumns: ["session_id"];
|
|
2621
2333
|
},
|
|
2622
2334
|
{
|
|
2623
|
-
foreignKeyName:
|
|
2624
|
-
columns: [
|
|
2335
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
2336
|
+
columns: ["user_id"];
|
|
2625
2337
|
isOneToOne: false;
|
|
2626
|
-
referencedRelation:
|
|
2627
|
-
referencedColumns: [
|
|
2338
|
+
referencedRelation: "users";
|
|
2339
|
+
referencedColumns: ["id"];
|
|
2628
2340
|
}
|
|
2629
2341
|
];
|
|
2630
2342
|
};
|
|
@@ -2670,18 +2382,18 @@ type Database = {
|
|
|
2670
2382
|
};
|
|
2671
2383
|
Relationships: [
|
|
2672
2384
|
{
|
|
2673
|
-
foreignKeyName:
|
|
2674
|
-
columns: [
|
|
2385
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
2386
|
+
columns: ["execution_id"];
|
|
2675
2387
|
isOneToOne: true;
|
|
2676
|
-
referencedRelation:
|
|
2677
|
-
referencedColumns: [
|
|
2388
|
+
referencedRelation: "execution_logs";
|
|
2389
|
+
referencedColumns: ["execution_id"];
|
|
2678
2390
|
},
|
|
2679
2391
|
{
|
|
2680
|
-
foreignKeyName:
|
|
2681
|
-
columns: [
|
|
2392
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
2393
|
+
columns: ["organization_id"];
|
|
2682
2394
|
isOneToOne: false;
|
|
2683
|
-
referencedRelation:
|
|
2684
|
-
referencedColumns: [
|
|
2395
|
+
referencedRelation: "organizations";
|
|
2396
|
+
referencedColumns: ["id"];
|
|
2685
2397
|
}
|
|
2686
2398
|
];
|
|
2687
2399
|
};
|
|
@@ -2724,18 +2436,18 @@ type Database = {
|
|
|
2724
2436
|
};
|
|
2725
2437
|
Relationships: [
|
|
2726
2438
|
{
|
|
2727
|
-
foreignKeyName:
|
|
2728
|
-
columns: [
|
|
2439
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
2440
|
+
columns: ["organization_id"];
|
|
2729
2441
|
isOneToOne: false;
|
|
2730
|
-
referencedRelation:
|
|
2731
|
-
referencedColumns: [
|
|
2442
|
+
referencedRelation: "organizations";
|
|
2443
|
+
referencedColumns: ["id"];
|
|
2732
2444
|
},
|
|
2733
2445
|
{
|
|
2734
|
-
foreignKeyName:
|
|
2735
|
-
columns: [
|
|
2446
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
2447
|
+
columns: ["user_id"];
|
|
2736
2448
|
isOneToOne: false;
|
|
2737
|
-
referencedRelation:
|
|
2738
|
-
referencedColumns: [
|
|
2449
|
+
referencedRelation: "users";
|
|
2450
|
+
referencedColumns: ["id"];
|
|
2739
2451
|
}
|
|
2740
2452
|
];
|
|
2741
2453
|
};
|
|
@@ -2790,18 +2502,18 @@ type Database = {
|
|
|
2790
2502
|
};
|
|
2791
2503
|
Relationships: [
|
|
2792
2504
|
{
|
|
2793
|
-
foreignKeyName:
|
|
2794
|
-
columns: [
|
|
2505
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
2506
|
+
columns: ["inviter_user_id"];
|
|
2795
2507
|
isOneToOne: false;
|
|
2796
|
-
referencedRelation:
|
|
2797
|
-
referencedColumns: [
|
|
2508
|
+
referencedRelation: "users";
|
|
2509
|
+
referencedColumns: ["id"];
|
|
2798
2510
|
},
|
|
2799
2511
|
{
|
|
2800
|
-
foreignKeyName:
|
|
2801
|
-
columns: [
|
|
2512
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
2513
|
+
columns: ["organization_id"];
|
|
2802
2514
|
isOneToOne: false;
|
|
2803
|
-
referencedRelation:
|
|
2804
|
-
referencedColumns: [
|
|
2515
|
+
referencedRelation: "organizations";
|
|
2516
|
+
referencedColumns: ["id"];
|
|
2805
2517
|
}
|
|
2806
2518
|
];
|
|
2807
2519
|
};
|
|
@@ -2841,18 +2553,18 @@ type Database = {
|
|
|
2841
2553
|
};
|
|
2842
2554
|
Relationships: [
|
|
2843
2555
|
{
|
|
2844
|
-
foreignKeyName:
|
|
2845
|
-
columns: [
|
|
2556
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
2557
|
+
columns: ["organization_id"];
|
|
2846
2558
|
isOneToOne: false;
|
|
2847
|
-
referencedRelation:
|
|
2848
|
-
referencedColumns: [
|
|
2559
|
+
referencedRelation: "organizations";
|
|
2560
|
+
referencedColumns: ["id"];
|
|
2849
2561
|
},
|
|
2850
2562
|
{
|
|
2851
|
-
foreignKeyName:
|
|
2852
|
-
columns: [
|
|
2563
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
2564
|
+
columns: ["user_id"];
|
|
2853
2565
|
isOneToOne: false;
|
|
2854
|
-
referencedRelation:
|
|
2855
|
-
referencedColumns: [
|
|
2566
|
+
referencedRelation: "users";
|
|
2567
|
+
referencedColumns: ["id"];
|
|
2856
2568
|
}
|
|
2857
2569
|
];
|
|
2858
2570
|
};
|
|
@@ -2892,6 +2604,315 @@ type Database = {
|
|
|
2892
2604
|
};
|
|
2893
2605
|
Relationships: [];
|
|
2894
2606
|
};
|
|
2607
|
+
prj_milestones: {
|
|
2608
|
+
Row: {
|
|
2609
|
+
checklist: Json | null;
|
|
2610
|
+
completed_at: string | null;
|
|
2611
|
+
created_at: string;
|
|
2612
|
+
description: string | null;
|
|
2613
|
+
due_date: string | null;
|
|
2614
|
+
id: string;
|
|
2615
|
+
metadata: Json | null;
|
|
2616
|
+
name: string;
|
|
2617
|
+
organization_id: string;
|
|
2618
|
+
project_id: string;
|
|
2619
|
+
sequence: number;
|
|
2620
|
+
status: string;
|
|
2621
|
+
updated_at: string;
|
|
2622
|
+
};
|
|
2623
|
+
Insert: {
|
|
2624
|
+
checklist?: Json | null;
|
|
2625
|
+
completed_at?: string | null;
|
|
2626
|
+
created_at?: string;
|
|
2627
|
+
description?: string | null;
|
|
2628
|
+
due_date?: string | null;
|
|
2629
|
+
id?: string;
|
|
2630
|
+
metadata?: Json | null;
|
|
2631
|
+
name: string;
|
|
2632
|
+
organization_id: string;
|
|
2633
|
+
project_id: string;
|
|
2634
|
+
sequence?: number;
|
|
2635
|
+
status?: string;
|
|
2636
|
+
updated_at?: string;
|
|
2637
|
+
};
|
|
2638
|
+
Update: {
|
|
2639
|
+
checklist?: Json | null;
|
|
2640
|
+
completed_at?: string | null;
|
|
2641
|
+
created_at?: string;
|
|
2642
|
+
description?: string | null;
|
|
2643
|
+
due_date?: string | null;
|
|
2644
|
+
id?: string;
|
|
2645
|
+
metadata?: Json | null;
|
|
2646
|
+
name?: string;
|
|
2647
|
+
organization_id?: string;
|
|
2648
|
+
project_id?: string;
|
|
2649
|
+
sequence?: number;
|
|
2650
|
+
status?: string;
|
|
2651
|
+
updated_at?: string;
|
|
2652
|
+
};
|
|
2653
|
+
Relationships: [
|
|
2654
|
+
{
|
|
2655
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2656
|
+
columns: ["organization_id"];
|
|
2657
|
+
isOneToOne: false;
|
|
2658
|
+
referencedRelation: "organizations";
|
|
2659
|
+
referencedColumns: ["id"];
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2663
|
+
columns: ["project_id"];
|
|
2664
|
+
isOneToOne: false;
|
|
2665
|
+
referencedRelation: "prj_projects";
|
|
2666
|
+
referencedColumns: ["id"];
|
|
2667
|
+
}
|
|
2668
|
+
];
|
|
2669
|
+
};
|
|
2670
|
+
prj_notes: {
|
|
2671
|
+
Row: {
|
|
2672
|
+
content: string;
|
|
2673
|
+
created_at: string;
|
|
2674
|
+
created_by: string | null;
|
|
2675
|
+
id: string;
|
|
2676
|
+
metadata: Json | null;
|
|
2677
|
+
milestone_id: string | null;
|
|
2678
|
+
occurred_at: string;
|
|
2679
|
+
organization_id: string;
|
|
2680
|
+
project_id: string;
|
|
2681
|
+
summary: string | null;
|
|
2682
|
+
task_id: string | null;
|
|
2683
|
+
type: string;
|
|
2684
|
+
};
|
|
2685
|
+
Insert: {
|
|
2686
|
+
content: string;
|
|
2687
|
+
created_at?: string;
|
|
2688
|
+
created_by?: string | null;
|
|
2689
|
+
id?: string;
|
|
2690
|
+
metadata?: Json | null;
|
|
2691
|
+
milestone_id?: string | null;
|
|
2692
|
+
occurred_at?: string;
|
|
2693
|
+
organization_id: string;
|
|
2694
|
+
project_id: string;
|
|
2695
|
+
summary?: string | null;
|
|
2696
|
+
task_id?: string | null;
|
|
2697
|
+
type?: string;
|
|
2698
|
+
};
|
|
2699
|
+
Update: {
|
|
2700
|
+
content?: string;
|
|
2701
|
+
created_at?: string;
|
|
2702
|
+
created_by?: string | null;
|
|
2703
|
+
id?: string;
|
|
2704
|
+
metadata?: Json | null;
|
|
2705
|
+
milestone_id?: string | null;
|
|
2706
|
+
occurred_at?: string;
|
|
2707
|
+
organization_id?: string;
|
|
2708
|
+
project_id?: string;
|
|
2709
|
+
summary?: string | null;
|
|
2710
|
+
task_id?: string | null;
|
|
2711
|
+
type?: string;
|
|
2712
|
+
};
|
|
2713
|
+
Relationships: [
|
|
2714
|
+
{
|
|
2715
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2716
|
+
columns: ["created_by"];
|
|
2717
|
+
isOneToOne: false;
|
|
2718
|
+
referencedRelation: "users";
|
|
2719
|
+
referencedColumns: ["id"];
|
|
2720
|
+
},
|
|
2721
|
+
{
|
|
2722
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2723
|
+
columns: ["milestone_id"];
|
|
2724
|
+
isOneToOne: false;
|
|
2725
|
+
referencedRelation: "prj_milestones";
|
|
2726
|
+
referencedColumns: ["id"];
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2730
|
+
columns: ["organization_id"];
|
|
2731
|
+
isOneToOne: false;
|
|
2732
|
+
referencedRelation: "organizations";
|
|
2733
|
+
referencedColumns: ["id"];
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2737
|
+
columns: ["project_id"];
|
|
2738
|
+
isOneToOne: false;
|
|
2739
|
+
referencedRelation: "prj_projects";
|
|
2740
|
+
referencedColumns: ["id"];
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2744
|
+
columns: ["task_id"];
|
|
2745
|
+
isOneToOne: false;
|
|
2746
|
+
referencedRelation: "prj_tasks";
|
|
2747
|
+
referencedColumns: ["id"];
|
|
2748
|
+
}
|
|
2749
|
+
];
|
|
2750
|
+
};
|
|
2751
|
+
prj_projects: {
|
|
2752
|
+
Row: {
|
|
2753
|
+
actual_end_date: string | null;
|
|
2754
|
+
client_company_id: string | null;
|
|
2755
|
+
contract_value: number | null;
|
|
2756
|
+
created_at: string;
|
|
2757
|
+
deal_id: string | null;
|
|
2758
|
+
description: string | null;
|
|
2759
|
+
id: string;
|
|
2760
|
+
kind: string;
|
|
2761
|
+
metadata: Json | null;
|
|
2762
|
+
name: string;
|
|
2763
|
+
organization_id: string;
|
|
2764
|
+
start_date: string | null;
|
|
2765
|
+
status: string;
|
|
2766
|
+
target_end_date: string | null;
|
|
2767
|
+
updated_at: string;
|
|
2768
|
+
};
|
|
2769
|
+
Insert: {
|
|
2770
|
+
actual_end_date?: string | null;
|
|
2771
|
+
client_company_id?: string | null;
|
|
2772
|
+
contract_value?: number | null;
|
|
2773
|
+
created_at?: string;
|
|
2774
|
+
deal_id?: string | null;
|
|
2775
|
+
description?: string | null;
|
|
2776
|
+
id?: string;
|
|
2777
|
+
kind?: string;
|
|
2778
|
+
metadata?: Json | null;
|
|
2779
|
+
name: string;
|
|
2780
|
+
organization_id: string;
|
|
2781
|
+
start_date?: string | null;
|
|
2782
|
+
status?: string;
|
|
2783
|
+
target_end_date?: string | null;
|
|
2784
|
+
updated_at?: string;
|
|
2785
|
+
};
|
|
2786
|
+
Update: {
|
|
2787
|
+
actual_end_date?: string | null;
|
|
2788
|
+
client_company_id?: string | null;
|
|
2789
|
+
contract_value?: number | null;
|
|
2790
|
+
created_at?: string;
|
|
2791
|
+
deal_id?: string | null;
|
|
2792
|
+
description?: string | null;
|
|
2793
|
+
id?: string;
|
|
2794
|
+
kind?: string;
|
|
2795
|
+
metadata?: Json | null;
|
|
2796
|
+
name?: string;
|
|
2797
|
+
organization_id?: string;
|
|
2798
|
+
start_date?: string | null;
|
|
2799
|
+
status?: string;
|
|
2800
|
+
target_end_date?: string | null;
|
|
2801
|
+
updated_at?: string;
|
|
2802
|
+
};
|
|
2803
|
+
Relationships: [
|
|
2804
|
+
{
|
|
2805
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
2806
|
+
columns: ["client_company_id"];
|
|
2807
|
+
isOneToOne: false;
|
|
2808
|
+
referencedRelation: "acq_companies";
|
|
2809
|
+
referencedColumns: ["id"];
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2813
|
+
columns: ["deal_id"];
|
|
2814
|
+
isOneToOne: false;
|
|
2815
|
+
referencedRelation: "acq_deals";
|
|
2816
|
+
referencedColumns: ["id"];
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
2820
|
+
columns: ["organization_id"];
|
|
2821
|
+
isOneToOne: false;
|
|
2822
|
+
referencedRelation: "organizations";
|
|
2823
|
+
referencedColumns: ["id"];
|
|
2824
|
+
}
|
|
2825
|
+
];
|
|
2826
|
+
};
|
|
2827
|
+
prj_tasks: {
|
|
2828
|
+
Row: {
|
|
2829
|
+
checklist: Json;
|
|
2830
|
+
completed_at: string | null;
|
|
2831
|
+
created_at: string;
|
|
2832
|
+
description: string | null;
|
|
2833
|
+
due_date: string | null;
|
|
2834
|
+
file_url: string | null;
|
|
2835
|
+
id: string;
|
|
2836
|
+
metadata: Json | null;
|
|
2837
|
+
milestone_id: string | null;
|
|
2838
|
+
name: string;
|
|
2839
|
+
organization_id: string;
|
|
2840
|
+
parent_task_id: string | null;
|
|
2841
|
+
project_id: string;
|
|
2842
|
+
resume_context: Json | null;
|
|
2843
|
+
status: string;
|
|
2844
|
+
type: string;
|
|
2845
|
+
updated_at: string;
|
|
2846
|
+
};
|
|
2847
|
+
Insert: {
|
|
2848
|
+
checklist?: Json;
|
|
2849
|
+
completed_at?: string | null;
|
|
2850
|
+
created_at?: string;
|
|
2851
|
+
description?: string | null;
|
|
2852
|
+
due_date?: string | null;
|
|
2853
|
+
file_url?: string | null;
|
|
2854
|
+
id?: string;
|
|
2855
|
+
metadata?: Json | null;
|
|
2856
|
+
milestone_id?: string | null;
|
|
2857
|
+
name: string;
|
|
2858
|
+
organization_id: string;
|
|
2859
|
+
parent_task_id?: string | null;
|
|
2860
|
+
project_id: string;
|
|
2861
|
+
resume_context?: Json | null;
|
|
2862
|
+
status?: string;
|
|
2863
|
+
type?: string;
|
|
2864
|
+
updated_at?: string;
|
|
2865
|
+
};
|
|
2866
|
+
Update: {
|
|
2867
|
+
checklist?: Json;
|
|
2868
|
+
completed_at?: string | null;
|
|
2869
|
+
created_at?: string;
|
|
2870
|
+
description?: string | null;
|
|
2871
|
+
due_date?: string | null;
|
|
2872
|
+
file_url?: string | null;
|
|
2873
|
+
id?: string;
|
|
2874
|
+
metadata?: Json | null;
|
|
2875
|
+
milestone_id?: string | null;
|
|
2876
|
+
name?: string;
|
|
2877
|
+
organization_id?: string;
|
|
2878
|
+
parent_task_id?: string | null;
|
|
2879
|
+
project_id?: string;
|
|
2880
|
+
resume_context?: Json | null;
|
|
2881
|
+
status?: string;
|
|
2882
|
+
type?: string;
|
|
2883
|
+
updated_at?: string;
|
|
2884
|
+
};
|
|
2885
|
+
Relationships: [
|
|
2886
|
+
{
|
|
2887
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
2888
|
+
columns: ["milestone_id"];
|
|
2889
|
+
isOneToOne: false;
|
|
2890
|
+
referencedRelation: "prj_milestones";
|
|
2891
|
+
referencedColumns: ["id"];
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
2895
|
+
columns: ["organization_id"];
|
|
2896
|
+
isOneToOne: false;
|
|
2897
|
+
referencedRelation: "organizations";
|
|
2898
|
+
referencedColumns: ["id"];
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
2902
|
+
columns: ["parent_task_id"];
|
|
2903
|
+
isOneToOne: false;
|
|
2904
|
+
referencedRelation: "prj_tasks";
|
|
2905
|
+
referencedColumns: ["id"];
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
2909
|
+
columns: ["project_id"];
|
|
2910
|
+
isOneToOne: false;
|
|
2911
|
+
referencedRelation: "prj_projects";
|
|
2912
|
+
referencedColumns: ["id"];
|
|
2913
|
+
}
|
|
2914
|
+
];
|
|
2915
|
+
};
|
|
2895
2916
|
session_messages: {
|
|
2896
2917
|
Row: {
|
|
2897
2918
|
created_at: string | null;
|
|
@@ -2928,11 +2949,11 @@ type Database = {
|
|
|
2928
2949
|
};
|
|
2929
2950
|
Relationships: [
|
|
2930
2951
|
{
|
|
2931
|
-
foreignKeyName:
|
|
2932
|
-
columns: [
|
|
2952
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
2953
|
+
columns: ["session_id"];
|
|
2933
2954
|
isOneToOne: false;
|
|
2934
|
-
referencedRelation:
|
|
2935
|
-
referencedColumns: [
|
|
2955
|
+
referencedRelation: "sessions";
|
|
2956
|
+
referencedColumns: ["session_id"];
|
|
2936
2957
|
}
|
|
2937
2958
|
];
|
|
2938
2959
|
};
|
|
@@ -2987,18 +3008,18 @@ type Database = {
|
|
|
2987
3008
|
};
|
|
2988
3009
|
Relationships: [
|
|
2989
3010
|
{
|
|
2990
|
-
foreignKeyName:
|
|
2991
|
-
columns: [
|
|
3011
|
+
foreignKeyName: "fk_organization";
|
|
3012
|
+
columns: ["organization_id"];
|
|
2992
3013
|
isOneToOne: false;
|
|
2993
|
-
referencedRelation:
|
|
2994
|
-
referencedColumns: [
|
|
3014
|
+
referencedRelation: "organizations";
|
|
3015
|
+
referencedColumns: ["id"];
|
|
2995
3016
|
},
|
|
2996
3017
|
{
|
|
2997
|
-
foreignKeyName:
|
|
2998
|
-
columns: [
|
|
3018
|
+
foreignKeyName: "fk_user";
|
|
3019
|
+
columns: ["user_id"];
|
|
2999
3020
|
isOneToOne: false;
|
|
3000
|
-
referencedRelation:
|
|
3001
|
-
referencedColumns: [
|
|
3021
|
+
referencedRelation: "users";
|
|
3022
|
+
referencedColumns: ["id"];
|
|
3002
3023
|
}
|
|
3003
3024
|
];
|
|
3004
3025
|
};
|
|
@@ -3074,11 +3095,11 @@ type Database = {
|
|
|
3074
3095
|
};
|
|
3075
3096
|
Relationships: [
|
|
3076
3097
|
{
|
|
3077
|
-
foreignKeyName:
|
|
3078
|
-
columns: [
|
|
3098
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
3099
|
+
columns: ["organization_id"];
|
|
3079
3100
|
isOneToOne: false;
|
|
3080
|
-
referencedRelation:
|
|
3081
|
-
referencedColumns: [
|
|
3101
|
+
referencedRelation: "organizations";
|
|
3102
|
+
referencedColumns: ["id"];
|
|
3082
3103
|
}
|
|
3083
3104
|
];
|
|
3084
3105
|
};
|
|
@@ -3133,11 +3154,11 @@ type Database = {
|
|
|
3133
3154
|
};
|
|
3134
3155
|
Relationships: [
|
|
3135
3156
|
{
|
|
3136
|
-
foreignKeyName:
|
|
3137
|
-
columns: [
|
|
3157
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
3158
|
+
columns: ["last_visited_org"];
|
|
3138
3159
|
isOneToOne: false;
|
|
3139
|
-
referencedRelation:
|
|
3140
|
-
referencedColumns: [
|
|
3160
|
+
referencedRelation: "organizations";
|
|
3161
|
+
referencedColumns: ["id"];
|
|
3141
3162
|
}
|
|
3142
3163
|
];
|
|
3143
3164
|
};
|
|
@@ -3183,11 +3204,11 @@ type Database = {
|
|
|
3183
3204
|
};
|
|
3184
3205
|
Relationships: [
|
|
3185
3206
|
{
|
|
3186
|
-
foreignKeyName:
|
|
3187
|
-
columns: [
|
|
3207
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
3208
|
+
columns: ["organization_id"];
|
|
3188
3209
|
isOneToOne: false;
|
|
3189
|
-
referencedRelation:
|
|
3190
|
-
referencedColumns: [
|
|
3210
|
+
referencedRelation: "organizations";
|
|
3211
|
+
referencedColumns: ["id"];
|
|
3191
3212
|
}
|
|
3192
3213
|
];
|
|
3193
3214
|
};
|
|
@@ -3307,17 +3328,17 @@ type Database = {
|
|
|
3307
3328
|
};
|
|
3308
3329
|
};
|
|
3309
3330
|
};
|
|
3310
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
3311
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
3312
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3331
|
+
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
3332
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
3333
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
3313
3334
|
schema: keyof DatabaseWithoutInternals;
|
|
3314
3335
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3315
3336
|
schema: keyof DatabaseWithoutInternals;
|
|
3316
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3337
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3317
3338
|
schema: keyof DatabaseWithoutInternals;
|
|
3318
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3339
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
3319
3340
|
Row: infer R;
|
|
3320
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3341
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
3321
3342
|
Row: infer R;
|
|
3322
3343
|
} ? R : never : never;
|
|
3323
3344
|
|
|
@@ -3642,7 +3663,7 @@ interface MembershipFeatureConfig {
|
|
|
3642
3663
|
*/
|
|
3643
3664
|
interface UserConfig {
|
|
3644
3665
|
theme?: {
|
|
3645
|
-
preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-
|
|
3666
|
+
preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-punk' | 'cyber-void' | 'nirvana' | 'wave';
|
|
3646
3667
|
colorScheme?: 'light' | 'dark' | 'auto';
|
|
3647
3668
|
};
|
|
3648
3669
|
onboarding?: {
|