@elevasis/ui 2.36.0 → 2.38.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 +4 -3
- package/dist/app/index.css +0 -384
- package/dist/app/index.d.ts +75 -2
- package/dist/app/index.js +22 -21
- package/dist/auth/index.d.ts +91 -28
- package/dist/auth/index.js +5 -1
- package/dist/charts/index.js +9 -3
- package/dist/chunk-4O3VAALW.js +349 -0
- package/dist/{chunk-O2Q4VMRN.js → chunk-566XWGPP.js} +76 -109
- package/dist/chunk-5EYJ2GIN.js +122 -0
- package/dist/chunk-6D4LCJ52.js +10 -0
- package/dist/chunk-6ROXVZ3L.js +9 -0
- package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
- package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
- package/dist/{chunk-VKIZUUPM.js → chunk-7YXZFS56.js} +31 -14
- package/dist/{chunk-AKW7KISS.js → chunk-7ZWXTH5J.js} +2 -44
- package/dist/chunk-A7IG36LB.js +215 -0
- package/dist/chunk-B2DZLPDL.js +39 -0
- package/dist/chunk-C6BDBZRO.js +422 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
- package/dist/chunk-H2MEFUQD.js +337 -0
- package/dist/chunk-I53EX4VU.js +734 -0
- package/dist/chunk-IIMU5YAJ.js +53 -0
- package/dist/chunk-JXVNHVK7.js +79 -0
- package/dist/chunk-M7Q4UBRY.js +85 -0
- package/dist/{chunk-K4UZU3TU.js → chunk-P34FFSOX.js} +1 -1
- package/dist/chunk-PGWANFNE.js +112 -0
- package/dist/{chunk-F6EFC2MJ.js → chunk-Q64E2TZY.js} +440 -2075
- package/dist/chunk-S3XR4II4.js +30 -0
- package/dist/chunk-SHZT7ULK.js +425 -0
- package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
- package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
- package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
- package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
- package/dist/components/index.d.ts +74 -42
- package/dist/components/index.js +34 -19
- package/dist/components/navigation/index.js +3 -31
- package/dist/features/auth/index.d.ts +97 -99
- package/dist/features/auth/index.js +37 -99
- package/dist/features/clients/index.js +34 -19
- package/dist/features/crm/index.d.ts +65 -0
- package/dist/features/crm/index.js +34 -19
- package/dist/features/dashboard/index.js +34 -19
- package/dist/features/delivery/index.d.ts +65 -0
- package/dist/features/delivery/index.js +34 -19
- package/dist/features/knowledge/index.js +6 -30
- package/dist/features/lead-gen/index.d.ts +1096 -1
- package/dist/features/lead-gen/index.js +34 -19
- package/dist/features/monitoring/index.js +34 -19
- package/dist/features/monitoring/requests/index.js +34 -19
- package/dist/features/notes/index.d.ts +72 -0
- package/dist/features/notes/index.js +621 -0
- package/dist/features/operations/index.d.ts +10 -2
- package/dist/features/operations/index.js +34 -19
- package/dist/features/right-panel-host/index.d.ts +214 -0
- package/dist/features/right-panel-host/index.js +639 -0
- package/dist/features/seo/index.js +3 -2
- package/dist/features/settings/index.d.ts +68 -35
- package/dist/features/settings/index.js +34 -19
- package/dist/hooks/access/index.d.ts +90 -0
- package/dist/hooks/access/index.js +10 -0
- package/dist/hooks/delivery/index.d.ts +65 -0
- package/dist/hooks/delivery/index.js +34 -19
- package/dist/hooks/index.d.ts +1644 -1651
- package/dist/hooks/index.js +34 -19
- package/dist/hooks/published.d.ts +1644 -1651
- package/dist/hooks/published.js +34 -19
- package/dist/hooks/user-notes/index.d.ts +57 -0
- package/dist/hooks/user-notes/index.js +3 -0
- package/dist/index.d.ts +294 -277
- package/dist/index.js +35 -20
- package/dist/initialization/index.d.ts +65 -19
- package/dist/knowledge/index.d.ts +10 -2
- package/dist/knowledge/index.js +173 -28
- package/dist/layout/index.js +5 -3
- package/dist/organization/index.d.ts +0 -19
- package/dist/organization/index.js +34 -19
- package/dist/profile/index.d.ts +65 -0
- package/dist/provider/index.css +0 -384
- package/dist/provider/index.d.ts +75 -2
- package/dist/provider/index.js +16 -21
- package/dist/provider/published.css +0 -523
- package/dist/provider/published.d.ts +75 -2
- package/dist/provider/published.js +11 -21
- package/dist/supabase/index.d.ts +127 -0
- package/dist/test-utils/index.d.ts +2 -21
- package/dist/test-utils/index.js +5 -18
- package/dist/theme/index.js +3 -1
- package/dist/types/index.d.ts +115 -59
- package/dist/utils/index.js +2 -1
- package/package.json +21 -5
- package/src/auth/README.md +6 -6
- package/dist/components/navigation/index.css +0 -649
- package/dist/features/knowledge/index.css +0 -649
|
@@ -1462,6 +1462,51 @@ type Database = {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
];
|
|
1464
1464
|
};
|
|
1465
|
+
deployment_organization_models: {
|
|
1466
|
+
Row: {
|
|
1467
|
+
created_at: string;
|
|
1468
|
+
deployment_id: string;
|
|
1469
|
+
model_hash: string | null;
|
|
1470
|
+
organization_id: string;
|
|
1471
|
+
organization_model: Json;
|
|
1472
|
+
schema_version: string;
|
|
1473
|
+
updated_at: string;
|
|
1474
|
+
};
|
|
1475
|
+
Insert: {
|
|
1476
|
+
created_at?: string;
|
|
1477
|
+
deployment_id: string;
|
|
1478
|
+
model_hash?: string | null;
|
|
1479
|
+
organization_id: string;
|
|
1480
|
+
organization_model: Json;
|
|
1481
|
+
schema_version?: string;
|
|
1482
|
+
updated_at?: string;
|
|
1483
|
+
};
|
|
1484
|
+
Update: {
|
|
1485
|
+
created_at?: string;
|
|
1486
|
+
deployment_id?: string;
|
|
1487
|
+
model_hash?: string | null;
|
|
1488
|
+
organization_id?: string;
|
|
1489
|
+
organization_model?: Json;
|
|
1490
|
+
schema_version?: string;
|
|
1491
|
+
updated_at?: string;
|
|
1492
|
+
};
|
|
1493
|
+
Relationships: [
|
|
1494
|
+
{
|
|
1495
|
+
foreignKeyName: "deployment_organization_models_deployment_id_fkey";
|
|
1496
|
+
columns: ["deployment_id"];
|
|
1497
|
+
isOneToOne: true;
|
|
1498
|
+
referencedRelation: "deployments";
|
|
1499
|
+
referencedColumns: ["id"];
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
foreignKeyName: "deployment_organization_models_organization_id_fkey";
|
|
1503
|
+
columns: ["organization_id"];
|
|
1504
|
+
isOneToOne: false;
|
|
1505
|
+
referencedRelation: "organizations";
|
|
1506
|
+
referencedColumns: ["id"];
|
|
1507
|
+
}
|
|
1508
|
+
];
|
|
1509
|
+
};
|
|
1465
1510
|
deployments: {
|
|
1466
1511
|
Row: {
|
|
1467
1512
|
created_at: string;
|
|
@@ -2983,6 +3028,12 @@ type Database = {
|
|
|
2983
3028
|
Args: never;
|
|
2984
3029
|
Returns: boolean;
|
|
2985
3030
|
};
|
|
3031
|
+
current_user_shares_org_with: {
|
|
3032
|
+
Args: {
|
|
3033
|
+
other_user_id: string;
|
|
3034
|
+
};
|
|
3035
|
+
Returns: boolean;
|
|
3036
|
+
};
|
|
2986
3037
|
current_user_supabase_id: {
|
|
2987
3038
|
Args: never;
|
|
2988
3039
|
Returns: string;
|
|
@@ -3022,6 +3073,20 @@ type Database = {
|
|
|
3022
3073
|
Args: never;
|
|
3023
3074
|
Returns: string;
|
|
3024
3075
|
};
|
|
3076
|
+
has_org_access: {
|
|
3077
|
+
Args: {
|
|
3078
|
+
action?: string;
|
|
3079
|
+
org_id: string;
|
|
3080
|
+
system_path: string;
|
|
3081
|
+
};
|
|
3082
|
+
Returns: boolean;
|
|
3083
|
+
} | {
|
|
3084
|
+
Args: {
|
|
3085
|
+
action?: string;
|
|
3086
|
+
system_path: string;
|
|
3087
|
+
};
|
|
3088
|
+
Returns: boolean;
|
|
3089
|
+
};
|
|
3025
3090
|
has_org_permission: {
|
|
3026
3091
|
Args: {
|
|
3027
3092
|
org_id: string;
|
|
@@ -3105,24 +3170,6 @@ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables
|
|
|
3105
3170
|
|
|
3106
3171
|
type SupabaseUserProfile = Tables<'users'>;
|
|
3107
3172
|
|
|
3108
|
-
/**
|
|
3109
|
-
* Multi-tenancy configuration types
|
|
3110
|
-
*
|
|
3111
|
-
* Config is stored in dedicated `config` columns (NOT nested in metadata):
|
|
3112
|
-
* - organizations.config: Org-level config (no feature toggles -- all features available by default)
|
|
3113
|
-
* - org_memberships.config: Per-user-per-org feature overrides
|
|
3114
|
-
* - users.config: User-global config
|
|
3115
|
-
*/
|
|
3116
|
-
|
|
3117
|
-
/**
|
|
3118
|
-
* Per-user-per-org config (stored in org_memberships.config)
|
|
3119
|
-
* Controls which features a specific member can access within their org.
|
|
3120
|
-
* Keys are feature IDs from the organization model (e.g. crm, lead-gen, projects, seo).
|
|
3121
|
-
*/
|
|
3122
|
-
interface MembershipFeatureConfig {
|
|
3123
|
-
features?: Record<string, boolean>;
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
3173
|
/**
|
|
3127
3174
|
* GET /api/credentials - List credentials
|
|
3128
3175
|
*/
|
|
@@ -3272,19 +3319,6 @@ interface OrgMembersListProps {
|
|
|
3272
3319
|
}
|
|
3273
3320
|
declare function OrgMembersList({ orgId }: OrgMembersListProps): react_jsx_runtime.JSX.Element;
|
|
3274
3321
|
|
|
3275
|
-
interface MemberConfigModalProps {
|
|
3276
|
-
opened: boolean;
|
|
3277
|
-
onClose: () => void;
|
|
3278
|
-
member: {
|
|
3279
|
-
id: string;
|
|
3280
|
-
name: string;
|
|
3281
|
-
email: string;
|
|
3282
|
-
role: string;
|
|
3283
|
-
config?: MembershipFeatureConfig;
|
|
3284
|
-
} | null;
|
|
3285
|
-
}
|
|
3286
|
-
declare function MemberConfigModal({ opened, onClose, member }: MemberConfigModalProps): react_jsx_runtime.JSX.Element | null;
|
|
3287
|
-
|
|
3288
3322
|
interface MemberAccessModalProps {
|
|
3289
3323
|
opened: boolean;
|
|
3290
3324
|
onClose: () => void;
|
|
@@ -3294,11 +3328,10 @@ interface MemberAccessModalProps {
|
|
|
3294
3328
|
name: string;
|
|
3295
3329
|
email: string;
|
|
3296
3330
|
role: string;
|
|
3297
|
-
config?: MembershipFeatureConfig;
|
|
3298
3331
|
} | null;
|
|
3299
3332
|
defaultTab?: MemberAccessTab;
|
|
3300
3333
|
}
|
|
3301
|
-
type MemberAccessTab = 'roles'
|
|
3334
|
+
type MemberAccessTab = 'roles';
|
|
3302
3335
|
declare function MemberAccessModal({ opened, onClose, orgId, member, defaultTab }: MemberAccessModalProps): react_jsx_runtime.JSX.Element | null;
|
|
3303
3336
|
|
|
3304
3337
|
interface EditCredentialModalProps {
|
|
@@ -3347,5 +3380,5 @@ interface OrganizationGraphSystemBridge {
|
|
|
3347
3380
|
|
|
3348
3381
|
declare const settingsManifest: SystemModule;
|
|
3349
3382
|
|
|
3350
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal,
|
|
3351
|
-
export type { AccountSettingsProps, AccountSettingsUser, AppearanceSettingsProps, CreateWebhookEndpointModalProps, EditCredentialModalProps, EditWebhookEndpointModalProps, MemberAccessModalProps, MemberAccessTab,
|
|
3383
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest };
|
|
3384
|
+
export type { AccountSettingsProps, AccountSettingsUser, AppearanceSettingsProps, CreateWebhookEndpointModalProps, EditCredentialModalProps, EditWebhookEndpointModalProps, MemberAccessModalProps, MemberAccessTab, OAuthIntegrationsCardProps, OrgMembersListProps, OrganizationSettingsMembership, OrganizationSettingsProps, OrganizationSettingsUser, WebhookEndpointListProps, WebhookEndpointSettingsProps };
|
|
@@ -1,33 +1,48 @@
|
|
|
1
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal,
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-3KMDHCAR.js';
|
|
5
|
-
import '../../chunk-AKW7KISS.js';
|
|
6
|
-
import '../../chunk-WF7CONXF.js';
|
|
7
|
-
import '../../chunk-ZTWA5H77.js';
|
|
1
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-Q64E2TZY.js';
|
|
2
|
+
import '../../chunk-B2DZLPDL.js';
|
|
3
|
+
import '../../chunk-SHZT7ULK.js';
|
|
8
4
|
import '../../chunk-AUDNF2Q7.js';
|
|
9
5
|
import '../../chunk-6M6OLGQY.js';
|
|
10
6
|
import '../../chunk-BRXELOHC.js';
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-WLOQ4IBG.js';
|
|
15
|
-
import '../../chunk-57OZ3AEG.js';
|
|
7
|
+
import '../../chunk-M7Q4UBRY.js';
|
|
8
|
+
import '../../chunk-CXY7FMUM.js';
|
|
9
|
+
import '../../chunk-7GQFIWP4.js';
|
|
16
10
|
import '../../chunk-JBWJ6WHZ.js';
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZTWA5H77.js';
|
|
12
|
+
import '../../chunk-5EYJ2GIN.js';
|
|
13
|
+
import '../../chunk-DA6I5VEY.js';
|
|
14
|
+
import '../../chunk-CLDCYJQT.js';
|
|
15
|
+
import '../../chunk-TYRUKGGD.js';
|
|
16
|
+
import '../../chunk-X4WBGKJQ.js';
|
|
17
|
+
import '../../chunk-IIMU5YAJ.js';
|
|
22
18
|
import '../../chunk-HENXLGVD.js';
|
|
23
19
|
import '../../chunk-7FPLLSHN.js';
|
|
24
20
|
import '../../chunk-RNP5R5I3.js';
|
|
25
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-PGWANFNE.js';
|
|
22
|
+
import '../../chunk-7ZWXTH5J.js';
|
|
23
|
+
import '../../chunk-6D4LCJ52.js';
|
|
24
|
+
import '../../chunk-WF7CONXF.js';
|
|
25
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
26
|
+
import '../../chunk-H2MEFUQD.js';
|
|
27
|
+
import '../../chunk-I53EX4VU.js';
|
|
28
|
+
import '../../chunk-3KMDHCAR.js';
|
|
29
|
+
import '../../chunk-S3XR4II4.js';
|
|
30
|
+
import '../../chunk-A7IG36LB.js';
|
|
31
|
+
import '../../chunk-NYBEU5TE.js';
|
|
32
|
+
import '../../chunk-Y3JQBSKQ.js';
|
|
33
|
+
import '../../chunk-DT3QYZVU.js';
|
|
34
|
+
import '../../chunk-2IFYDILW.js';
|
|
35
|
+
import '../../chunk-Q7DJKLEN.js';
|
|
36
|
+
import '../../chunk-X66MVMZT.js';
|
|
26
37
|
import '../../chunk-KRWALB24.js';
|
|
27
|
-
import '../../chunk-
|
|
38
|
+
import '../../chunk-7YXZFS56.js';
|
|
39
|
+
import '../../chunk-4O3VAALW.js';
|
|
40
|
+
import '../../chunk-C6BDBZRO.js';
|
|
28
41
|
import '../../chunk-533DUEQY.js';
|
|
42
|
+
import '../../chunk-566XWGPP.js';
|
|
29
43
|
import '../../chunk-DD3CCMCZ.js';
|
|
30
44
|
import '../../chunk-2Q2JQSQO.js';
|
|
45
|
+
import '../../chunk-6ROXVZ3L.js';
|
|
31
46
|
import '../../chunk-KJ3QUBNU.js';
|
|
32
47
|
import '../../chunk-BRJ3QZ4E.js';
|
|
33
48
|
import '../../chunk-I2KLQ2HA.js';
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const AccessKeyInputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4
|
+
systemPath: z.ZodString;
|
|
5
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
view: "view";
|
|
7
|
+
manage: "manage";
|
|
8
|
+
}>>;
|
|
9
|
+
}, z.core.$strict>]>;
|
|
10
|
+
type AccessKeyInput = z.input<typeof AccessKeyInputSchema>;
|
|
11
|
+
declare const AccessKeys: {
|
|
12
|
+
readonly platformAdmin: {
|
|
13
|
+
readonly systemPath: "platform.admin";
|
|
14
|
+
readonly action: "view";
|
|
15
|
+
};
|
|
16
|
+
readonly organizationManage: {
|
|
17
|
+
readonly systemPath: "permission.org";
|
|
18
|
+
readonly action: "manage";
|
|
19
|
+
};
|
|
20
|
+
readonly membersManage: {
|
|
21
|
+
readonly systemPath: "permission.members";
|
|
22
|
+
readonly action: "manage";
|
|
23
|
+
};
|
|
24
|
+
readonly rolesManage: {
|
|
25
|
+
readonly systemPath: "permission.roles";
|
|
26
|
+
readonly action: "manage";
|
|
27
|
+
};
|
|
28
|
+
readonly secretsManage: {
|
|
29
|
+
readonly systemPath: "permission.secrets";
|
|
30
|
+
readonly action: "manage";
|
|
31
|
+
};
|
|
32
|
+
readonly operationsRead: {
|
|
33
|
+
readonly systemPath: "permission.operations";
|
|
34
|
+
readonly action: "view";
|
|
35
|
+
};
|
|
36
|
+
readonly operationsManage: {
|
|
37
|
+
readonly systemPath: "permission.operations";
|
|
38
|
+
readonly action: "manage";
|
|
39
|
+
};
|
|
40
|
+
readonly acquisitionManage: {
|
|
41
|
+
readonly systemPath: "permission.acquisition";
|
|
42
|
+
readonly action: "manage";
|
|
43
|
+
};
|
|
44
|
+
readonly projectsManage: {
|
|
45
|
+
readonly systemPath: "permission.projects";
|
|
46
|
+
readonly action: "manage";
|
|
47
|
+
};
|
|
48
|
+
readonly clientsManage: {
|
|
49
|
+
readonly systemPath: "permission.clients";
|
|
50
|
+
readonly action: "manage";
|
|
51
|
+
};
|
|
52
|
+
readonly operationsOverview: {
|
|
53
|
+
readonly systemPath: "diagnostic.operations.overview";
|
|
54
|
+
readonly action: "view";
|
|
55
|
+
};
|
|
56
|
+
readonly operationsRecentExecutions: {
|
|
57
|
+
readonly systemPath: "diagnostic.operations.recent-executions";
|
|
58
|
+
readonly action: "view";
|
|
59
|
+
};
|
|
60
|
+
readonly monitoringExecutionLogs: {
|
|
61
|
+
readonly systemPath: "diagnostic.monitoring.execution-logs";
|
|
62
|
+
readonly action: "view";
|
|
63
|
+
};
|
|
64
|
+
readonly monitoringNotifications: {
|
|
65
|
+
readonly systemPath: "diagnostic.monitoring.notifications";
|
|
66
|
+
readonly action: "view";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
type AccessRestrictedBy = 'catalog' | 'membership' | 'system-lifecycle' | 'role-permission' | 'diagnostic-allowlist' | null;
|
|
71
|
+
type AccessReason = 'allowed' | 'platform-admin-bypass' | 'invalid-access-key' | 'unknown-access-key' | 'organization-mismatch' | 'missing-membership' | 'system-not-active' | 'role-permission-denied' | 'diagnostic-key-not-allowed';
|
|
72
|
+
interface AccessAnswer {
|
|
73
|
+
allowed: boolean;
|
|
74
|
+
restrictedBy: AccessRestrictedBy;
|
|
75
|
+
reason: AccessReason;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface UseAccessResult extends AccessAnswer {
|
|
79
|
+
isReady: boolean;
|
|
80
|
+
isPlatformAdmin: boolean;
|
|
81
|
+
permissions: readonly string[];
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Unified access hook for Organization Model system lifecycle, diagnostic keys,
|
|
85
|
+
* role permissions, organization membership, and platform-admin bypass.
|
|
86
|
+
*/
|
|
87
|
+
declare function useAccess(key: AccessKeyInput): UseAccessResult;
|
|
88
|
+
|
|
89
|
+
export { AccessKeys, useAccess };
|
|
90
|
+
export type { AccessKeyInput, UseAccessResult };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { AccessKeys, useAccess } from '../../chunk-4O3VAALW.js';
|
|
2
|
+
import '../../chunk-C6BDBZRO.js';
|
|
3
|
+
import '../../chunk-533DUEQY.js';
|
|
4
|
+
import '../../chunk-566XWGPP.js';
|
|
5
|
+
import '../../chunk-DD3CCMCZ.js';
|
|
6
|
+
import '../../chunk-2Q2JQSQO.js';
|
|
7
|
+
import '../../chunk-6ROXVZ3L.js';
|
|
8
|
+
import '../../chunk-KJ3QUBNU.js';
|
|
9
|
+
import '../../chunk-BRJ3QZ4E.js';
|
|
10
|
+
import '../../chunk-I2KLQ2HA.js';
|
|
@@ -1460,6 +1460,51 @@ type Database = {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
];
|
|
1462
1462
|
};
|
|
1463
|
+
deployment_organization_models: {
|
|
1464
|
+
Row: {
|
|
1465
|
+
created_at: string;
|
|
1466
|
+
deployment_id: string;
|
|
1467
|
+
model_hash: string | null;
|
|
1468
|
+
organization_id: string;
|
|
1469
|
+
organization_model: Json;
|
|
1470
|
+
schema_version: string;
|
|
1471
|
+
updated_at: string;
|
|
1472
|
+
};
|
|
1473
|
+
Insert: {
|
|
1474
|
+
created_at?: string;
|
|
1475
|
+
deployment_id: string;
|
|
1476
|
+
model_hash?: string | null;
|
|
1477
|
+
organization_id: string;
|
|
1478
|
+
organization_model: Json;
|
|
1479
|
+
schema_version?: string;
|
|
1480
|
+
updated_at?: string;
|
|
1481
|
+
};
|
|
1482
|
+
Update: {
|
|
1483
|
+
created_at?: string;
|
|
1484
|
+
deployment_id?: string;
|
|
1485
|
+
model_hash?: string | null;
|
|
1486
|
+
organization_id?: string;
|
|
1487
|
+
organization_model?: Json;
|
|
1488
|
+
schema_version?: string;
|
|
1489
|
+
updated_at?: string;
|
|
1490
|
+
};
|
|
1491
|
+
Relationships: [
|
|
1492
|
+
{
|
|
1493
|
+
foreignKeyName: "deployment_organization_models_deployment_id_fkey";
|
|
1494
|
+
columns: ["deployment_id"];
|
|
1495
|
+
isOneToOne: true;
|
|
1496
|
+
referencedRelation: "deployments";
|
|
1497
|
+
referencedColumns: ["id"];
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
foreignKeyName: "deployment_organization_models_organization_id_fkey";
|
|
1501
|
+
columns: ["organization_id"];
|
|
1502
|
+
isOneToOne: false;
|
|
1503
|
+
referencedRelation: "organizations";
|
|
1504
|
+
referencedColumns: ["id"];
|
|
1505
|
+
}
|
|
1506
|
+
];
|
|
1507
|
+
};
|
|
1463
1508
|
deployments: {
|
|
1464
1509
|
Row: {
|
|
1465
1510
|
created_at: string;
|
|
@@ -2981,6 +3026,12 @@ type Database = {
|
|
|
2981
3026
|
Args: never;
|
|
2982
3027
|
Returns: boolean;
|
|
2983
3028
|
};
|
|
3029
|
+
current_user_shares_org_with: {
|
|
3030
|
+
Args: {
|
|
3031
|
+
other_user_id: string;
|
|
3032
|
+
};
|
|
3033
|
+
Returns: boolean;
|
|
3034
|
+
};
|
|
2984
3035
|
current_user_supabase_id: {
|
|
2985
3036
|
Args: never;
|
|
2986
3037
|
Returns: string;
|
|
@@ -3020,6 +3071,20 @@ type Database = {
|
|
|
3020
3071
|
Args: never;
|
|
3021
3072
|
Returns: string;
|
|
3022
3073
|
};
|
|
3074
|
+
has_org_access: {
|
|
3075
|
+
Args: {
|
|
3076
|
+
action?: string;
|
|
3077
|
+
org_id: string;
|
|
3078
|
+
system_path: string;
|
|
3079
|
+
};
|
|
3080
|
+
Returns: boolean;
|
|
3081
|
+
} | {
|
|
3082
|
+
Args: {
|
|
3083
|
+
action?: string;
|
|
3084
|
+
system_path: string;
|
|
3085
|
+
};
|
|
3086
|
+
Returns: boolean;
|
|
3087
|
+
};
|
|
3023
3088
|
has_org_permission: {
|
|
3024
3089
|
Args: {
|
|
3025
3090
|
org_id: string;
|
|
@@ -1,33 +1,48 @@
|
|
|
1
|
-
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-3KMDHCAR.js';
|
|
5
|
-
import '../../chunk-AKW7KISS.js';
|
|
6
|
-
import '../../chunk-WF7CONXF.js';
|
|
7
|
-
import '../../chunk-ZTWA5H77.js';
|
|
1
|
+
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-Q64E2TZY.js';
|
|
2
|
+
import '../../chunk-B2DZLPDL.js';
|
|
3
|
+
import '../../chunk-SHZT7ULK.js';
|
|
8
4
|
import '../../chunk-AUDNF2Q7.js';
|
|
9
5
|
import '../../chunk-6M6OLGQY.js';
|
|
10
6
|
import '../../chunk-BRXELOHC.js';
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-WLOQ4IBG.js';
|
|
15
|
-
import '../../chunk-57OZ3AEG.js';
|
|
7
|
+
import '../../chunk-M7Q4UBRY.js';
|
|
8
|
+
import '../../chunk-CXY7FMUM.js';
|
|
9
|
+
import '../../chunk-7GQFIWP4.js';
|
|
16
10
|
import '../../chunk-JBWJ6WHZ.js';
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZTWA5H77.js';
|
|
12
|
+
import '../../chunk-5EYJ2GIN.js';
|
|
13
|
+
import '../../chunk-DA6I5VEY.js';
|
|
14
|
+
import '../../chunk-CLDCYJQT.js';
|
|
15
|
+
import '../../chunk-TYRUKGGD.js';
|
|
16
|
+
import '../../chunk-X4WBGKJQ.js';
|
|
17
|
+
import '../../chunk-IIMU5YAJ.js';
|
|
22
18
|
import '../../chunk-HENXLGVD.js';
|
|
23
19
|
import '../../chunk-7FPLLSHN.js';
|
|
24
20
|
import '../../chunk-RNP5R5I3.js';
|
|
25
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-PGWANFNE.js';
|
|
22
|
+
import '../../chunk-7ZWXTH5J.js';
|
|
23
|
+
import '../../chunk-6D4LCJ52.js';
|
|
24
|
+
import '../../chunk-WF7CONXF.js';
|
|
25
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
26
|
+
import '../../chunk-H2MEFUQD.js';
|
|
27
|
+
import '../../chunk-I53EX4VU.js';
|
|
28
|
+
import '../../chunk-3KMDHCAR.js';
|
|
29
|
+
import '../../chunk-S3XR4II4.js';
|
|
30
|
+
import '../../chunk-A7IG36LB.js';
|
|
31
|
+
import '../../chunk-NYBEU5TE.js';
|
|
32
|
+
import '../../chunk-Y3JQBSKQ.js';
|
|
33
|
+
import '../../chunk-DT3QYZVU.js';
|
|
34
|
+
import '../../chunk-2IFYDILW.js';
|
|
35
|
+
import '../../chunk-Q7DJKLEN.js';
|
|
36
|
+
import '../../chunk-X66MVMZT.js';
|
|
26
37
|
import '../../chunk-KRWALB24.js';
|
|
27
|
-
import '../../chunk-
|
|
38
|
+
import '../../chunk-7YXZFS56.js';
|
|
39
|
+
import '../../chunk-4O3VAALW.js';
|
|
40
|
+
import '../../chunk-C6BDBZRO.js';
|
|
28
41
|
import '../../chunk-533DUEQY.js';
|
|
42
|
+
import '../../chunk-566XWGPP.js';
|
|
29
43
|
import '../../chunk-DD3CCMCZ.js';
|
|
30
44
|
import '../../chunk-2Q2JQSQO.js';
|
|
45
|
+
import '../../chunk-6ROXVZ3L.js';
|
|
31
46
|
import '../../chunk-KJ3QUBNU.js';
|
|
32
47
|
import '../../chunk-BRJ3QZ4E.js';
|
|
33
48
|
import '../../chunk-I2KLQ2HA.js';
|