@elevasis/ui 2.20.0 → 2.22.0
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/api/index.js +2 -2
- package/dist/app/index.js +5 -5
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-TO7QXDBX.js → chunk-3HEUGBOT.js} +3 -3
- package/dist/chunk-AXXTN44Z.js +26 -0
- package/dist/{chunk-FMFX4K6E.js → chunk-B4FHWKEF.js} +3390 -2929
- package/dist/{chunk-AL23U6C3.js → chunk-BIWHHWCJ.js} +1 -2
- package/dist/{chunk-MZFJWCPH.js → chunk-BSZRKBAW.js} +277 -92
- package/dist/{chunk-GP3AFJYG.js → chunk-COG4ABRI.js} +8 -13
- package/dist/chunk-DDZOHLHB.js +48 -0
- package/dist/{chunk-ZE2KQSHL.js → chunk-GJ7EIABJ.js} +4 -4
- package/dist/{chunk-YP6T426C.js → chunk-IBUYJXA3.js} +1326 -1110
- package/dist/{chunk-2CFOFSSG.js → chunk-IOTLB6ND.js} +8 -13
- package/dist/{chunk-GBMNCNHX.js → chunk-KVJ3LFH2.js} +3 -1
- package/dist/chunk-LJWV4TWV.js +335 -0
- package/dist/{chunk-PJVG3ISO.js → chunk-LKVBEE63.js} +7 -9
- package/dist/{chunk-JR5WNTLA.js → chunk-LVJGPE6H.js} +11 -24
- package/dist/{chunk-OUYH2SBS.js → chunk-LVUCBY7X.js} +2 -2
- package/dist/{chunk-TIIPYB2Z.js → chunk-QZJM3RYI.js} +1 -1
- package/dist/{chunk-OD7GWIZS.js → chunk-SGXXJE52.js} +1 -121
- package/dist/{chunk-7YQKVWSD.js → chunk-SQ5JGELM.js} +25 -5
- package/dist/{chunk-R7OJCNL3.js → chunk-T6INEVX6.js} +1 -1
- package/dist/{chunk-RX4UWZZR.js → chunk-TKAYX2SP.js} +8 -3
- package/dist/{chunk-CTTY6FUT.js → chunk-TSSKOQBX.js} +2 -2
- package/dist/{chunk-GTYUP7MB.js → chunk-WWJ6S2HQ.js} +10 -22
- package/dist/{chunk-Q5HC6ENG.js → chunk-XOTJNW4Q.js} +1 -1
- package/dist/{chunk-BHR7IV72.js → chunk-XUYBOO32.js} +1 -1
- package/dist/{chunk-M7W7CGPL.js → chunk-Z6FAH4XV.js} +1 -1
- package/dist/{chunk-Q4QJOSVS.js → chunk-ZBCTB5CA.js} +1 -1
- package/dist/components/index.css +85 -85
- package/dist/components/index.d.ts +970 -746
- package/dist/components/index.js +246 -39
- package/dist/components/navigation/index.css +589 -0
- package/dist/components/navigation/index.d.ts +1 -13
- package/dist/components/navigation/index.js +11 -1
- package/dist/execution/index.d.ts +27 -0
- package/dist/features/auth/index.css +2 -2
- package/dist/features/auth/index.d.ts +184 -3
- package/dist/features/crm/index.css +2 -2
- package/dist/features/crm/index.d.ts +201 -38
- package/dist/features/crm/index.js +15 -14
- package/dist/features/dashboard/index.css +2 -2
- package/dist/features/dashboard/index.d.ts +25 -27
- package/dist/features/dashboard/index.js +15 -14
- package/dist/features/delivery/index.css +85 -85
- package/dist/features/delivery/index.d.ts +201 -38
- package/dist/features/delivery/index.js +15 -14
- package/dist/features/lead-gen/index.css +2 -2
- package/dist/features/lead-gen/index.d.ts +19 -37
- package/dist/features/lead-gen/index.js +15 -14
- package/dist/features/monitoring/index.css +85 -85
- package/dist/features/monitoring/index.d.ts +18 -36
- package/dist/features/monitoring/index.js +17 -16
- package/dist/features/monitoring/requests/index.css +2 -2
- package/dist/features/monitoring/requests/index.d.ts +18 -36
- package/dist/features/monitoring/requests/index.js +15 -14
- package/dist/features/operations/index.css +2 -2
- package/dist/features/operations/index.d.ts +49 -67
- package/dist/features/operations/index.js +18 -17
- package/dist/features/seo/index.d.ts +17 -35
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.css +2 -2
- package/dist/features/settings/index.d.ts +222 -44
- package/dist/features/settings/index.js +16 -15
- package/dist/graph/index.css +2 -2
- package/dist/hooks/delivery/index.css +2 -2
- package/dist/hooks/delivery/index.d.ts +184 -3
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +85 -85
- package/dist/hooks/index.d.ts +1862 -1582
- package/dist/hooks/index.js +13 -12
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +92 -121
- package/dist/hooks/published.css +85 -85
- package/dist/hooks/published.d.ts +1862 -1582
- package/dist/hooks/published.js +13 -12
- package/dist/index.css +12 -12
- package/dist/index.d.ts +689 -470
- package/dist/index.js +14 -13
- package/dist/initialization/index.d.ts +184 -3
- package/dist/layout/index.js +2 -2
- package/dist/organization/index.css +589 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +184 -3
- package/dist/provider/index.css +384 -0
- package/dist/provider/index.d.ts +68 -125
- package/dist/provider/index.js +11 -10
- package/dist/provider/published.css +463 -0
- package/dist/provider/published.d.ts +68 -125
- package/dist/provider/published.js +8 -7
- package/dist/supabase/index.d.ts +359 -6
- package/dist/test-utils/index.d.ts +46 -2
- package/dist/test-utils/index.js +104 -3
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +303 -141
- package/dist/utils/index.d.ts +26 -59
- package/dist/utils/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-LR5CRY5A.js +0 -514
- package/dist/chunk-MG3NF7QL.js +0 -63
- /package/dist/{chunk-6GUW5GGF.js → chunk-6Z3G4U2R.js} +0 -0
|
@@ -1672,6 +1672,7 @@ type Database = {
|
|
|
1672
1672
|
Row: {
|
|
1673
1673
|
config: Json;
|
|
1674
1674
|
created_at: string | null;
|
|
1675
|
+
effective_permissions: string[];
|
|
1675
1676
|
id: string;
|
|
1676
1677
|
membership_status: string | null;
|
|
1677
1678
|
organization_id: string;
|
|
@@ -1683,6 +1684,7 @@ type Database = {
|
|
|
1683
1684
|
Insert: {
|
|
1684
1685
|
config?: Json;
|
|
1685
1686
|
created_at?: string | null;
|
|
1687
|
+
effective_permissions?: string[];
|
|
1686
1688
|
id?: string;
|
|
1687
1689
|
membership_status?: string | null;
|
|
1688
1690
|
organization_id: string;
|
|
@@ -1694,6 +1696,7 @@ type Database = {
|
|
|
1694
1696
|
Update: {
|
|
1695
1697
|
config?: Json;
|
|
1696
1698
|
created_at?: string | null;
|
|
1699
|
+
effective_permissions?: string[];
|
|
1697
1700
|
id?: string;
|
|
1698
1701
|
membership_status?: string | null;
|
|
1699
1702
|
organization_id?: string;
|
|
@@ -1719,6 +1722,147 @@ type Database = {
|
|
|
1719
1722
|
}
|
|
1720
1723
|
];
|
|
1721
1724
|
};
|
|
1725
|
+
org_rol_assignments: {
|
|
1726
|
+
Row: {
|
|
1727
|
+
granted_at: string;
|
|
1728
|
+
granted_by: string | null;
|
|
1729
|
+
membership_id: string;
|
|
1730
|
+
role_id: string;
|
|
1731
|
+
};
|
|
1732
|
+
Insert: {
|
|
1733
|
+
granted_at?: string;
|
|
1734
|
+
granted_by?: string | null;
|
|
1735
|
+
membership_id: string;
|
|
1736
|
+
role_id: string;
|
|
1737
|
+
};
|
|
1738
|
+
Update: {
|
|
1739
|
+
granted_at?: string;
|
|
1740
|
+
granted_by?: string | null;
|
|
1741
|
+
membership_id?: string;
|
|
1742
|
+
role_id?: string;
|
|
1743
|
+
};
|
|
1744
|
+
Relationships: [
|
|
1745
|
+
{
|
|
1746
|
+
foreignKeyName: "org_rol_assignments_granted_by_fkey";
|
|
1747
|
+
columns: ["granted_by"];
|
|
1748
|
+
isOneToOne: false;
|
|
1749
|
+
referencedRelation: "users";
|
|
1750
|
+
referencedColumns: ["id"];
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
foreignKeyName: "org_rol_assignments_membership_id_fkey";
|
|
1754
|
+
columns: ["membership_id"];
|
|
1755
|
+
isOneToOne: false;
|
|
1756
|
+
referencedRelation: "org_memberships";
|
|
1757
|
+
referencedColumns: ["id"];
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
foreignKeyName: "org_rol_assignments_role_id_fkey";
|
|
1761
|
+
columns: ["role_id"];
|
|
1762
|
+
isOneToOne: false;
|
|
1763
|
+
referencedRelation: "org_rol_definitions";
|
|
1764
|
+
referencedColumns: ["id"];
|
|
1765
|
+
}
|
|
1766
|
+
];
|
|
1767
|
+
};
|
|
1768
|
+
org_rol_definitions: {
|
|
1769
|
+
Row: {
|
|
1770
|
+
created_at: string;
|
|
1771
|
+
description: string | null;
|
|
1772
|
+
id: string;
|
|
1773
|
+
is_system: boolean;
|
|
1774
|
+
name: string;
|
|
1775
|
+
organization_id: string | null;
|
|
1776
|
+
slug: string;
|
|
1777
|
+
updated_at: string;
|
|
1778
|
+
};
|
|
1779
|
+
Insert: {
|
|
1780
|
+
created_at?: string;
|
|
1781
|
+
description?: string | null;
|
|
1782
|
+
id?: string;
|
|
1783
|
+
is_system?: boolean;
|
|
1784
|
+
name: string;
|
|
1785
|
+
organization_id?: string | null;
|
|
1786
|
+
slug: string;
|
|
1787
|
+
updated_at?: string;
|
|
1788
|
+
};
|
|
1789
|
+
Update: {
|
|
1790
|
+
created_at?: string;
|
|
1791
|
+
description?: string | null;
|
|
1792
|
+
id?: string;
|
|
1793
|
+
is_system?: boolean;
|
|
1794
|
+
name?: string;
|
|
1795
|
+
organization_id?: string | null;
|
|
1796
|
+
slug?: string;
|
|
1797
|
+
updated_at?: string;
|
|
1798
|
+
};
|
|
1799
|
+
Relationships: [
|
|
1800
|
+
{
|
|
1801
|
+
foreignKeyName: "org_rol_definitions_organization_id_fkey";
|
|
1802
|
+
columns: ["organization_id"];
|
|
1803
|
+
isOneToOne: false;
|
|
1804
|
+
referencedRelation: "organizations";
|
|
1805
|
+
referencedColumns: ["id"];
|
|
1806
|
+
}
|
|
1807
|
+
];
|
|
1808
|
+
};
|
|
1809
|
+
org_rol_grants: {
|
|
1810
|
+
Row: {
|
|
1811
|
+
granted_at: string;
|
|
1812
|
+
permission_key: string;
|
|
1813
|
+
role_id: string;
|
|
1814
|
+
};
|
|
1815
|
+
Insert: {
|
|
1816
|
+
granted_at?: string;
|
|
1817
|
+
permission_key: string;
|
|
1818
|
+
role_id: string;
|
|
1819
|
+
};
|
|
1820
|
+
Update: {
|
|
1821
|
+
granted_at?: string;
|
|
1822
|
+
permission_key?: string;
|
|
1823
|
+
role_id?: string;
|
|
1824
|
+
};
|
|
1825
|
+
Relationships: [
|
|
1826
|
+
{
|
|
1827
|
+
foreignKeyName: "org_rol_grants_permission_key_fkey";
|
|
1828
|
+
columns: ["permission_key"];
|
|
1829
|
+
isOneToOne: false;
|
|
1830
|
+
referencedRelation: "org_rol_permissions";
|
|
1831
|
+
referencedColumns: ["key"];
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
foreignKeyName: "org_rol_grants_role_id_fkey";
|
|
1835
|
+
columns: ["role_id"];
|
|
1836
|
+
isOneToOne: false;
|
|
1837
|
+
referencedRelation: "org_rol_definitions";
|
|
1838
|
+
referencedColumns: ["id"];
|
|
1839
|
+
}
|
|
1840
|
+
];
|
|
1841
|
+
};
|
|
1842
|
+
org_rol_permissions: {
|
|
1843
|
+
Row: {
|
|
1844
|
+
created_at: string;
|
|
1845
|
+
description: string;
|
|
1846
|
+
is_org_grantable: boolean;
|
|
1847
|
+
key: string;
|
|
1848
|
+
updated_at: string;
|
|
1849
|
+
};
|
|
1850
|
+
Insert: {
|
|
1851
|
+
created_at?: string;
|
|
1852
|
+
description: string;
|
|
1853
|
+
is_org_grantable?: boolean;
|
|
1854
|
+
key: string;
|
|
1855
|
+
updated_at?: string;
|
|
1856
|
+
};
|
|
1857
|
+
Update: {
|
|
1858
|
+
created_at?: string;
|
|
1859
|
+
description?: string;
|
|
1860
|
+
is_org_grantable?: boolean;
|
|
1861
|
+
key?: string;
|
|
1862
|
+
updated_at?: string;
|
|
1863
|
+
};
|
|
1864
|
+
Relationships: [];
|
|
1865
|
+
};
|
|
1722
1866
|
organizations: {
|
|
1723
1867
|
Row: {
|
|
1724
1868
|
config: Json;
|
|
@@ -2476,7 +2620,8 @@ type Database = {
|
|
|
2476
2620
|
created_at: string;
|
|
2477
2621
|
description: string | null;
|
|
2478
2622
|
id: string;
|
|
2479
|
-
|
|
2623
|
+
key_hash: string;
|
|
2624
|
+
key_prefix: string | null;
|
|
2480
2625
|
last_triggered_at: string | null;
|
|
2481
2626
|
name: string;
|
|
2482
2627
|
organization_id: string;
|
|
@@ -2489,7 +2634,8 @@ type Database = {
|
|
|
2489
2634
|
created_at?: string;
|
|
2490
2635
|
description?: string | null;
|
|
2491
2636
|
id?: string;
|
|
2492
|
-
|
|
2637
|
+
key_hash: string;
|
|
2638
|
+
key_prefix?: string | null;
|
|
2493
2639
|
last_triggered_at?: string | null;
|
|
2494
2640
|
name: string;
|
|
2495
2641
|
organization_id: string;
|
|
@@ -2502,7 +2648,8 @@ type Database = {
|
|
|
2502
2648
|
created_at?: string;
|
|
2503
2649
|
description?: string | null;
|
|
2504
2650
|
id?: string;
|
|
2505
|
-
|
|
2651
|
+
key_hash?: string;
|
|
2652
|
+
key_prefix?: string | null;
|
|
2506
2653
|
last_triggered_at?: string | null;
|
|
2507
2654
|
name?: string;
|
|
2508
2655
|
organization_id?: string;
|
|
@@ -2548,6 +2695,13 @@ type Database = {
|
|
|
2548
2695
|
Args: never;
|
|
2549
2696
|
Returns: string;
|
|
2550
2697
|
};
|
|
2698
|
+
can_assign_role_in_org: {
|
|
2699
|
+
Args: {
|
|
2700
|
+
p_role_id: string;
|
|
2701
|
+
p_target_membership_id: string;
|
|
2702
|
+
};
|
|
2703
|
+
Returns: boolean;
|
|
2704
|
+
};
|
|
2551
2705
|
current_user_is_platform_admin: {
|
|
2552
2706
|
Args: never;
|
|
2553
2707
|
Returns: boolean;
|
|
@@ -2577,6 +2731,10 @@ type Database = {
|
|
|
2577
2731
|
user_id: string;
|
|
2578
2732
|
}[];
|
|
2579
2733
|
};
|
|
2734
|
+
get_platform_credential_kek: {
|
|
2735
|
+
Args: never;
|
|
2736
|
+
Returns: string;
|
|
2737
|
+
};
|
|
2580
2738
|
get_storage_org_id: {
|
|
2581
2739
|
Args: {
|
|
2582
2740
|
file_path: string;
|
|
@@ -2587,6 +2745,13 @@ type Database = {
|
|
|
2587
2745
|
Args: never;
|
|
2588
2746
|
Returns: string;
|
|
2589
2747
|
};
|
|
2748
|
+
has_org_permission: {
|
|
2749
|
+
Args: {
|
|
2750
|
+
org_id: string;
|
|
2751
|
+
perm_key: string;
|
|
2752
|
+
};
|
|
2753
|
+
Returns: boolean;
|
|
2754
|
+
};
|
|
2590
2755
|
is_org_admin: {
|
|
2591
2756
|
Args: {
|
|
2592
2757
|
org_id: string;
|
|
@@ -2619,6 +2784,22 @@ type Database = {
|
|
|
2619
2784
|
Args: never;
|
|
2620
2785
|
Returns: Json;
|
|
2621
2786
|
};
|
|
2787
|
+
recompute_all_memberships: {
|
|
2788
|
+
Args: never;
|
|
2789
|
+
Returns: undefined;
|
|
2790
|
+
};
|
|
2791
|
+
sync_all_memberships_with_role: {
|
|
2792
|
+
Args: {
|
|
2793
|
+
p_role_id: string;
|
|
2794
|
+
};
|
|
2795
|
+
Returns: undefined;
|
|
2796
|
+
};
|
|
2797
|
+
sync_one_membership: {
|
|
2798
|
+
Args: {
|
|
2799
|
+
p_membership_id: string;
|
|
2800
|
+
};
|
|
2801
|
+
Returns: undefined;
|
|
2802
|
+
};
|
|
2622
2803
|
upsert_user_profile: {
|
|
2623
2804
|
Args: never;
|
|
2624
2805
|
Returns: {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
transparent 1px),
|
|
310
310
|
radial-gradient(
|
|
311
311
|
ellipse at 50% 50%,
|
|
312
|
-
color-mix(in srgb, var(--color-primary)
|
|
312
|
+
color-mix(in srgb, var(--color-primary) 1.25%, transparent) 0%,
|
|
313
313
|
transparent 70%);
|
|
314
314
|
background-color: color-mix(in srgb, var(--color-background) 50%, var(--glass-background));
|
|
315
315
|
backdrop-filter: var(--glass-blur);
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
transparent 1px),
|
|
329
329
|
radial-gradient(
|
|
330
330
|
ellipse at 50% 50%,
|
|
331
|
-
color-mix(in srgb, var(--color-primary)
|
|
331
|
+
color-mix(in srgb, var(--color-primary) 2.25%, transparent) 0%,
|
|
332
332
|
transparent 70%);
|
|
333
333
|
background-size:
|
|
334
334
|
40px 40px,
|
|
@@ -1720,6 +1720,7 @@ type Database = {
|
|
|
1720
1720
|
Row: {
|
|
1721
1721
|
config: Json;
|
|
1722
1722
|
created_at: string | null;
|
|
1723
|
+
effective_permissions: string[];
|
|
1723
1724
|
id: string;
|
|
1724
1725
|
membership_status: string | null;
|
|
1725
1726
|
organization_id: string;
|
|
@@ -1731,6 +1732,7 @@ type Database = {
|
|
|
1731
1732
|
Insert: {
|
|
1732
1733
|
config?: Json;
|
|
1733
1734
|
created_at?: string | null;
|
|
1735
|
+
effective_permissions?: string[];
|
|
1734
1736
|
id?: string;
|
|
1735
1737
|
membership_status?: string | null;
|
|
1736
1738
|
organization_id: string;
|
|
@@ -1742,6 +1744,7 @@ type Database = {
|
|
|
1742
1744
|
Update: {
|
|
1743
1745
|
config?: Json;
|
|
1744
1746
|
created_at?: string | null;
|
|
1747
|
+
effective_permissions?: string[];
|
|
1745
1748
|
id?: string;
|
|
1746
1749
|
membership_status?: string | null;
|
|
1747
1750
|
organization_id?: string;
|
|
@@ -1767,6 +1770,147 @@ type Database = {
|
|
|
1767
1770
|
}
|
|
1768
1771
|
];
|
|
1769
1772
|
};
|
|
1773
|
+
org_rol_assignments: {
|
|
1774
|
+
Row: {
|
|
1775
|
+
granted_at: string;
|
|
1776
|
+
granted_by: string | null;
|
|
1777
|
+
membership_id: string;
|
|
1778
|
+
role_id: string;
|
|
1779
|
+
};
|
|
1780
|
+
Insert: {
|
|
1781
|
+
granted_at?: string;
|
|
1782
|
+
granted_by?: string | null;
|
|
1783
|
+
membership_id: string;
|
|
1784
|
+
role_id: string;
|
|
1785
|
+
};
|
|
1786
|
+
Update: {
|
|
1787
|
+
granted_at?: string;
|
|
1788
|
+
granted_by?: string | null;
|
|
1789
|
+
membership_id?: string;
|
|
1790
|
+
role_id?: string;
|
|
1791
|
+
};
|
|
1792
|
+
Relationships: [
|
|
1793
|
+
{
|
|
1794
|
+
foreignKeyName: "org_rol_assignments_granted_by_fkey";
|
|
1795
|
+
columns: ["granted_by"];
|
|
1796
|
+
isOneToOne: false;
|
|
1797
|
+
referencedRelation: "users";
|
|
1798
|
+
referencedColumns: ["id"];
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
foreignKeyName: "org_rol_assignments_membership_id_fkey";
|
|
1802
|
+
columns: ["membership_id"];
|
|
1803
|
+
isOneToOne: false;
|
|
1804
|
+
referencedRelation: "org_memberships";
|
|
1805
|
+
referencedColumns: ["id"];
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
foreignKeyName: "org_rol_assignments_role_id_fkey";
|
|
1809
|
+
columns: ["role_id"];
|
|
1810
|
+
isOneToOne: false;
|
|
1811
|
+
referencedRelation: "org_rol_definitions";
|
|
1812
|
+
referencedColumns: ["id"];
|
|
1813
|
+
}
|
|
1814
|
+
];
|
|
1815
|
+
};
|
|
1816
|
+
org_rol_definitions: {
|
|
1817
|
+
Row: {
|
|
1818
|
+
created_at: string;
|
|
1819
|
+
description: string | null;
|
|
1820
|
+
id: string;
|
|
1821
|
+
is_system: boolean;
|
|
1822
|
+
name: string;
|
|
1823
|
+
organization_id: string | null;
|
|
1824
|
+
slug: string;
|
|
1825
|
+
updated_at: string;
|
|
1826
|
+
};
|
|
1827
|
+
Insert: {
|
|
1828
|
+
created_at?: string;
|
|
1829
|
+
description?: string | null;
|
|
1830
|
+
id?: string;
|
|
1831
|
+
is_system?: boolean;
|
|
1832
|
+
name: string;
|
|
1833
|
+
organization_id?: string | null;
|
|
1834
|
+
slug: string;
|
|
1835
|
+
updated_at?: string;
|
|
1836
|
+
};
|
|
1837
|
+
Update: {
|
|
1838
|
+
created_at?: string;
|
|
1839
|
+
description?: string | null;
|
|
1840
|
+
id?: string;
|
|
1841
|
+
is_system?: boolean;
|
|
1842
|
+
name?: string;
|
|
1843
|
+
organization_id?: string | null;
|
|
1844
|
+
slug?: string;
|
|
1845
|
+
updated_at?: string;
|
|
1846
|
+
};
|
|
1847
|
+
Relationships: [
|
|
1848
|
+
{
|
|
1849
|
+
foreignKeyName: "org_rol_definitions_organization_id_fkey";
|
|
1850
|
+
columns: ["organization_id"];
|
|
1851
|
+
isOneToOne: false;
|
|
1852
|
+
referencedRelation: "organizations";
|
|
1853
|
+
referencedColumns: ["id"];
|
|
1854
|
+
}
|
|
1855
|
+
];
|
|
1856
|
+
};
|
|
1857
|
+
org_rol_grants: {
|
|
1858
|
+
Row: {
|
|
1859
|
+
granted_at: string;
|
|
1860
|
+
permission_key: string;
|
|
1861
|
+
role_id: string;
|
|
1862
|
+
};
|
|
1863
|
+
Insert: {
|
|
1864
|
+
granted_at?: string;
|
|
1865
|
+
permission_key: string;
|
|
1866
|
+
role_id: string;
|
|
1867
|
+
};
|
|
1868
|
+
Update: {
|
|
1869
|
+
granted_at?: string;
|
|
1870
|
+
permission_key?: string;
|
|
1871
|
+
role_id?: string;
|
|
1872
|
+
};
|
|
1873
|
+
Relationships: [
|
|
1874
|
+
{
|
|
1875
|
+
foreignKeyName: "org_rol_grants_permission_key_fkey";
|
|
1876
|
+
columns: ["permission_key"];
|
|
1877
|
+
isOneToOne: false;
|
|
1878
|
+
referencedRelation: "org_rol_permissions";
|
|
1879
|
+
referencedColumns: ["key"];
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
foreignKeyName: "org_rol_grants_role_id_fkey";
|
|
1883
|
+
columns: ["role_id"];
|
|
1884
|
+
isOneToOne: false;
|
|
1885
|
+
referencedRelation: "org_rol_definitions";
|
|
1886
|
+
referencedColumns: ["id"];
|
|
1887
|
+
}
|
|
1888
|
+
];
|
|
1889
|
+
};
|
|
1890
|
+
org_rol_permissions: {
|
|
1891
|
+
Row: {
|
|
1892
|
+
created_at: string;
|
|
1893
|
+
description: string;
|
|
1894
|
+
is_org_grantable: boolean;
|
|
1895
|
+
key: string;
|
|
1896
|
+
updated_at: string;
|
|
1897
|
+
};
|
|
1898
|
+
Insert: {
|
|
1899
|
+
created_at?: string;
|
|
1900
|
+
description: string;
|
|
1901
|
+
is_org_grantable?: boolean;
|
|
1902
|
+
key: string;
|
|
1903
|
+
updated_at?: string;
|
|
1904
|
+
};
|
|
1905
|
+
Update: {
|
|
1906
|
+
created_at?: string;
|
|
1907
|
+
description?: string;
|
|
1908
|
+
is_org_grantable?: boolean;
|
|
1909
|
+
key?: string;
|
|
1910
|
+
updated_at?: string;
|
|
1911
|
+
};
|
|
1912
|
+
Relationships: [];
|
|
1913
|
+
};
|
|
1770
1914
|
organizations: {
|
|
1771
1915
|
Row: {
|
|
1772
1916
|
config: Json;
|
|
@@ -2524,7 +2668,8 @@ type Database = {
|
|
|
2524
2668
|
created_at: string;
|
|
2525
2669
|
description: string | null;
|
|
2526
2670
|
id: string;
|
|
2527
|
-
|
|
2671
|
+
key_hash: string;
|
|
2672
|
+
key_prefix: string | null;
|
|
2528
2673
|
last_triggered_at: string | null;
|
|
2529
2674
|
name: string;
|
|
2530
2675
|
organization_id: string;
|
|
@@ -2537,7 +2682,8 @@ type Database = {
|
|
|
2537
2682
|
created_at?: string;
|
|
2538
2683
|
description?: string | null;
|
|
2539
2684
|
id?: string;
|
|
2540
|
-
|
|
2685
|
+
key_hash: string;
|
|
2686
|
+
key_prefix?: string | null;
|
|
2541
2687
|
last_triggered_at?: string | null;
|
|
2542
2688
|
name: string;
|
|
2543
2689
|
organization_id: string;
|
|
@@ -2550,7 +2696,8 @@ type Database = {
|
|
|
2550
2696
|
created_at?: string;
|
|
2551
2697
|
description?: string | null;
|
|
2552
2698
|
id?: string;
|
|
2553
|
-
|
|
2699
|
+
key_hash?: string;
|
|
2700
|
+
key_prefix?: string | null;
|
|
2554
2701
|
last_triggered_at?: string | null;
|
|
2555
2702
|
name?: string;
|
|
2556
2703
|
organization_id?: string;
|
|
@@ -2596,6 +2743,13 @@ type Database = {
|
|
|
2596
2743
|
Args: never;
|
|
2597
2744
|
Returns: string;
|
|
2598
2745
|
};
|
|
2746
|
+
can_assign_role_in_org: {
|
|
2747
|
+
Args: {
|
|
2748
|
+
p_role_id: string;
|
|
2749
|
+
p_target_membership_id: string;
|
|
2750
|
+
};
|
|
2751
|
+
Returns: boolean;
|
|
2752
|
+
};
|
|
2599
2753
|
current_user_is_platform_admin: {
|
|
2600
2754
|
Args: never;
|
|
2601
2755
|
Returns: boolean;
|
|
@@ -2625,6 +2779,10 @@ type Database = {
|
|
|
2625
2779
|
user_id: string;
|
|
2626
2780
|
}[];
|
|
2627
2781
|
};
|
|
2782
|
+
get_platform_credential_kek: {
|
|
2783
|
+
Args: never;
|
|
2784
|
+
Returns: string;
|
|
2785
|
+
};
|
|
2628
2786
|
get_storage_org_id: {
|
|
2629
2787
|
Args: {
|
|
2630
2788
|
file_path: string;
|
|
@@ -2635,6 +2793,13 @@ type Database = {
|
|
|
2635
2793
|
Args: never;
|
|
2636
2794
|
Returns: string;
|
|
2637
2795
|
};
|
|
2796
|
+
has_org_permission: {
|
|
2797
|
+
Args: {
|
|
2798
|
+
org_id: string;
|
|
2799
|
+
perm_key: string;
|
|
2800
|
+
};
|
|
2801
|
+
Returns: boolean;
|
|
2802
|
+
};
|
|
2638
2803
|
is_org_admin: {
|
|
2639
2804
|
Args: {
|
|
2640
2805
|
org_id: string;
|
|
@@ -2667,6 +2832,22 @@ type Database = {
|
|
|
2667
2832
|
Args: never;
|
|
2668
2833
|
Returns: Json;
|
|
2669
2834
|
};
|
|
2835
|
+
recompute_all_memberships: {
|
|
2836
|
+
Args: never;
|
|
2837
|
+
Returns: undefined;
|
|
2838
|
+
};
|
|
2839
|
+
sync_all_memberships_with_role: {
|
|
2840
|
+
Args: {
|
|
2841
|
+
p_role_id: string;
|
|
2842
|
+
};
|
|
2843
|
+
Returns: undefined;
|
|
2844
|
+
};
|
|
2845
|
+
sync_one_membership: {
|
|
2846
|
+
Args: {
|
|
2847
|
+
p_membership_id: string;
|
|
2848
|
+
};
|
|
2849
|
+
Returns: undefined;
|
|
2850
|
+
};
|
|
2670
2851
|
upsert_user_profile: {
|
|
2671
2852
|
Args: never;
|
|
2672
2853
|
Returns: {
|
|
@@ -2871,50 +3052,32 @@ interface QuickCreateActionsProps {
|
|
|
2871
3052
|
}
|
|
2872
3053
|
declare function QuickCreateActions({ showSectionLabel }: QuickCreateActionsProps): react_jsx_runtime.JSX.Element;
|
|
2873
3054
|
|
|
2874
|
-
interface FeatureNavLink {
|
|
2875
|
-
label: string;
|
|
2876
|
-
link: string;
|
|
2877
|
-
featureKey?: string;
|
|
2878
|
-
onClick?: () => void;
|
|
2879
|
-
links?: FeatureNavLink[];
|
|
2880
|
-
}
|
|
2881
|
-
interface FeatureNavEntry {
|
|
2882
|
-
label: string;
|
|
2883
|
-
icon: ComponentType;
|
|
2884
|
-
link?: string;
|
|
2885
|
-
featureKey?: string;
|
|
2886
|
-
requiresAdmin?: boolean;
|
|
2887
|
-
dataOnboardingTourId?: string;
|
|
2888
|
-
links?: FeatureNavLink[];
|
|
2889
|
-
}
|
|
2890
3055
|
type FeatureSidebarComponent = ComponentType;
|
|
3056
|
+
type FeatureIconComponent = ComponentType<{
|
|
3057
|
+
size?: number;
|
|
3058
|
+
stroke?: number;
|
|
3059
|
+
}>;
|
|
3060
|
+
type FeatureSidebarWidthResolver = number | ((context: {
|
|
3061
|
+
currentPath: string;
|
|
3062
|
+
}) => number);
|
|
2891
3063
|
interface FeatureModule {
|
|
2892
|
-
/** Unique stable identifier for this feature
|
|
3064
|
+
/** Unique stable identifier for this feature module. */
|
|
2893
3065
|
key: string;
|
|
2894
|
-
/**
|
|
3066
|
+
/** Organization Model feature id this module presents. */
|
|
2895
3067
|
featureId: string;
|
|
2896
|
-
/**
|
|
2897
|
-
* Capability identifiers contributed by this feature.
|
|
2898
|
-
* Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
|
|
2899
|
-
* Not queried at runtime — kept for semantic graph completeness so that
|
|
2900
|
-
* capability membership is fully represented in the resolved model even when
|
|
2901
|
-
* a surface does not declare it directly.
|
|
2902
|
-
*/
|
|
3068
|
+
/** Capability identifiers contributed by this feature module. */
|
|
2903
3069
|
capabilityIds?: string[];
|
|
2904
|
-
/**
|
|
2905
|
-
|
|
2906
|
-
/** Sidebar component rendered when
|
|
3070
|
+
/** Icon used when this feature node appears in shell navigation. */
|
|
3071
|
+
icon?: FeatureIconComponent;
|
|
3072
|
+
/** Sidebar component rendered when this feature's subtree route is active. */
|
|
2907
3073
|
sidebar?: FeatureSidebarComponent;
|
|
2908
|
-
/**
|
|
2909
|
-
|
|
2910
|
-
/**
|
|
2911
|
-
* Operations-only bridge surface connecting this feature to the organization graph.
|
|
2912
|
-
* Ignored by all other features. Only one manifest in the registry should set this.
|
|
2913
|
-
*/
|
|
3074
|
+
/** Optional shell sidebar width override. Defaults to 250px. */
|
|
3075
|
+
sidebarWidth?: FeatureSidebarWidthResolver;
|
|
3076
|
+
/** Operations-only bridge connecting this feature to the organization graph node. */
|
|
2914
3077
|
organizationGraph?: OrganizationGraphFeatureBridge;
|
|
2915
3078
|
}
|
|
2916
3079
|
interface OrganizationGraphFeatureBridge {
|
|
2917
|
-
|
|
3080
|
+
featureId: string;
|
|
2918
3081
|
}
|
|
2919
3082
|
|
|
2920
3083
|
declare const crmManifest: FeatureModule;
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../../chunk-
|
|
1
|
+
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../../chunk-IOTLB6ND.js';
|
|
2
2
|
import '../../chunk-BZZCNLT6.js';
|
|
3
3
|
import '../../chunk-TUMSNGTX.js';
|
|
4
4
|
import '../../chunk-CEWTOKE7.js';
|
|
5
5
|
import '../../chunk-IIMU5YAJ.js';
|
|
6
6
|
import '../../chunk-PDHTXPSF.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-KVJ3LFH2.js';
|
|
8
8
|
import '../../chunk-7M2VOCYN.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-B4FHWKEF.js';
|
|
10
10
|
import '../../chunk-BRXELOHC.js';
|
|
11
11
|
import '../../chunk-QSTH6T77.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-Z6FAH4XV.js';
|
|
13
13
|
import '../../chunk-22UVE3RA.js';
|
|
14
14
|
import '../../chunk-3ZMAGTWF.js';
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-ZBCTB5CA.js';
|
|
16
|
+
import '../../chunk-3HEUGBOT.js';
|
|
17
|
+
import '../../chunk-XOTJNW4Q.js';
|
|
18
18
|
import '../../chunk-WLOQ4IBG.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-AXXTN44Z.js';
|
|
20
|
+
import '../../chunk-LVUCBY7X.js';
|
|
21
|
+
import '../../chunk-LJWV4TWV.js';
|
|
22
|
+
import '../../chunk-TKAYX2SP.js';
|
|
23
|
+
import '../../chunk-XUYBOO32.js';
|
|
23
24
|
import '../../chunk-SZHARWKU.js';
|
|
24
25
|
import '../../chunk-3KMDHCAR.js';
|
|
25
26
|
import '../../chunk-NYBEU5TE.js';
|
|
26
|
-
import '../../chunk-
|
|
27
|
+
import '../../chunk-T6INEVX6.js';
|
|
27
28
|
import '../../chunk-2IFYDILW.js';
|
|
28
29
|
import '../../chunk-Q7DJKLEN.js';
|
|
29
|
-
import '../../chunk-
|
|
30
|
+
import '../../chunk-SQ5JGELM.js';
|
|
30
31
|
import '../../chunk-6IA2OMAE.js';
|
|
31
32
|
import '../../chunk-QJ2KCHKX.js';
|
|
32
33
|
import '../../chunk-HQ7M6PBW.js';
|
|
33
34
|
import '../../chunk-DT3QYZVU.js';
|
|
34
35
|
import '../../chunk-RNP5R5I3.js';
|
|
35
|
-
import '../../chunk-
|
|
36
|
+
import '../../chunk-SGXXJE52.js';
|
|
36
37
|
import '../../chunk-KRWALB24.js';
|
|
37
38
|
import '../../chunk-SLH2QLKV.js';
|
|
38
39
|
import '../../chunk-DK2HVHCY.js';
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
transparent 1px),
|
|
310
310
|
radial-gradient(
|
|
311
311
|
ellipse at 50% 50%,
|
|
312
|
-
color-mix(in srgb, var(--color-primary)
|
|
312
|
+
color-mix(in srgb, var(--color-primary) 1.25%, transparent) 0%,
|
|
313
313
|
transparent 70%);
|
|
314
314
|
background-color: color-mix(in srgb, var(--color-background) 50%, var(--glass-background));
|
|
315
315
|
backdrop-filter: var(--glass-blur);
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
transparent 1px),
|
|
329
329
|
radial-gradient(
|
|
330
330
|
ellipse at 50% 50%,
|
|
331
|
-
color-mix(in srgb, var(--color-primary)
|
|
331
|
+
color-mix(in srgb, var(--color-primary) 2.25%, transparent) 0%,
|
|
332
332
|
transparent 70%);
|
|
333
333
|
background-size:
|
|
334
334
|
40px 40px,
|