@elevasis/ui 2.35.0 → 2.37.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 +45 -18
- package/dist/app/index.js +21 -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-5CTJ7TW2.js +111 -0
- package/dist/chunk-5EYJ2GIN.js +122 -0
- package/dist/{chunk-VDOOGGBA.js → chunk-6NREL3KL.js} +2 -2
- 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-A7IG36LB.js +215 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
- package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
- package/dist/chunk-I53EX4VU.js +734 -0
- package/dist/chunk-IIMU5YAJ.js +53 -0
- package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
- package/dist/chunk-JXVNHVK7.js +79 -0
- package/dist/chunk-JZ2WID2G.js +337 -0
- package/dist/chunk-LCJQ6OWC.js +348 -0
- package/dist/chunk-LNC6PZAE.js +85 -0
- package/dist/{chunk-4U3XAWCN.js → chunk-NWMPBG4U.js} +134 -495
- package/dist/chunk-NYNOMAAS.js +422 -0
- package/dist/chunk-S3KBYQTI.js +39 -0
- package/dist/chunk-S3XR4II4.js +30 -0
- package/dist/chunk-SHZT7ULK.js +425 -0
- package/dist/{chunk-26HFM4MH.js → chunk-T3NI7DOA.js} +2005 -4106
- 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 +36 -46
- package/dist/components/index.js +33 -19
- package/dist/components/navigation/index.js +3 -31
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +55 -99
- package/dist/features/auth/index.js +36 -99
- package/dist/features/clients/index.js +33 -19
- package/dist/features/crm/index.d.ts +23 -0
- package/dist/features/crm/index.js +33 -19
- package/dist/features/dashboard/index.d.ts +3 -3
- package/dist/features/dashboard/index.js +33 -19
- package/dist/features/delivery/index.d.ts +23 -0
- package/dist/features/delivery/index.js +33 -19
- package/dist/features/knowledge/index.js +6 -30
- package/dist/features/lead-gen/index.d.ts +1373 -48
- package/dist/features/lead-gen/index.js +33 -19
- package/dist/features/monitoring/index.js +33 -19
- package/dist/features/monitoring/requests/index.js +33 -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 +30 -30
- package/dist/features/operations/index.js +33 -19
- package/dist/features/right-panel-host/index.d.ts +214 -0
- package/dist/features/right-panel-host/index.js +640 -0
- package/dist/features/seo/index.js +3 -2
- package/dist/features/settings/index.d.ts +26 -35
- package/dist/features/settings/index.js +33 -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 +23 -0
- package/dist/hooks/delivery/index.js +33 -19
- package/dist/hooks/index.d.ts +1816 -1855
- package/dist/hooks/index.js +33 -19
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +13 -13
- package/dist/hooks/published.d.ts +1816 -1855
- package/dist/hooks/published.js +33 -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 +290 -309
- package/dist/index.js +34 -20
- package/dist/initialization/index.d.ts +23 -19
- package/dist/knowledge/index.d.ts +21 -21
- package/dist/knowledge/index.js +12 -9
- package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
- package/dist/layout/index.js +5 -3
- package/dist/organization/index.d.ts +0 -19
- package/dist/organization/index.js +33 -19
- package/dist/profile/index.d.ts +23 -0
- package/dist/provider/index.css +0 -384
- package/dist/provider/index.d.ts +45 -18
- package/dist/provider/index.js +15 -21
- package/dist/provider/published.css +0 -523
- package/dist/provider/published.d.ts +45 -18
- package/dist/provider/published.js +11 -21
- package/dist/sse/index.js +26 -5
- package/dist/supabase/index.d.ts +46 -0
- package/dist/test-utils/index.d.ts +2 -21
- package/dist/test-utils/index.js +5 -18
- package/dist/theme/index.js +2 -1
- package/dist/types/index.d.ts +86 -72
- package/dist/utils/index.d.ts +3 -3
- 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
package/dist/types/index.d.ts
CHANGED
|
@@ -412,8 +412,8 @@ interface ModelConfig {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
415
|
-
deprecated: "deprecated";
|
|
416
415
|
active: "active";
|
|
416
|
+
deprecated: "deprecated";
|
|
417
417
|
archived: "archived";
|
|
418
418
|
}>;
|
|
419
419
|
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -424,8 +424,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
424
424
|
description: z.ZodOptional<z.ZodString>;
|
|
425
425
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
426
426
|
status: z.ZodEnum<{
|
|
427
|
-
deprecated: "deprecated";
|
|
428
427
|
active: "active";
|
|
428
|
+
deprecated: "deprecated";
|
|
429
429
|
archived: "archived";
|
|
430
430
|
}>;
|
|
431
431
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -443,12 +443,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
443
443
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
444
444
|
path: z.ZodString;
|
|
445
445
|
role: z.ZodEnum<{
|
|
446
|
-
config: "config";
|
|
447
446
|
entrypoint: "entrypoint";
|
|
448
447
|
handler: "handler";
|
|
449
448
|
schema: "schema";
|
|
450
449
|
test: "test";
|
|
451
450
|
docs: "docs";
|
|
451
|
+
config: "config";
|
|
452
452
|
}>;
|
|
453
453
|
symbol: z.ZodOptional<z.ZodString>;
|
|
454
454
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -459,10 +459,10 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
459
459
|
label: z.ZodString;
|
|
460
460
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
461
461
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
462
|
+
active: "active";
|
|
462
463
|
deprecated: "deprecated";
|
|
463
464
|
draft: "draft";
|
|
464
465
|
beta: "beta";
|
|
465
|
-
active: "active";
|
|
466
466
|
archived: "archived";
|
|
467
467
|
}>>;
|
|
468
468
|
}, z.core.$strip>>>;
|
|
@@ -474,8 +474,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
474
474
|
description: z.ZodOptional<z.ZodString>;
|
|
475
475
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
476
476
|
status: z.ZodEnum<{
|
|
477
|
-
deprecated: "deprecated";
|
|
478
477
|
active: "active";
|
|
478
|
+
deprecated: "deprecated";
|
|
479
479
|
archived: "archived";
|
|
480
480
|
}>;
|
|
481
481
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -493,12 +493,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
493
493
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
494
494
|
path: z.ZodString;
|
|
495
495
|
role: z.ZodEnum<{
|
|
496
|
-
config: "config";
|
|
497
496
|
entrypoint: "entrypoint";
|
|
498
497
|
handler: "handler";
|
|
499
498
|
schema: "schema";
|
|
500
499
|
test: "test";
|
|
501
500
|
docs: "docs";
|
|
501
|
+
config: "config";
|
|
502
502
|
}>;
|
|
503
503
|
symbol: z.ZodOptional<z.ZodString>;
|
|
504
504
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -540,10 +540,10 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
540
540
|
label: z.ZodString;
|
|
541
541
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
542
542
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
543
|
+
active: "active";
|
|
543
544
|
deprecated: "deprecated";
|
|
544
545
|
draft: "draft";
|
|
545
546
|
beta: "beta";
|
|
546
|
-
active: "active";
|
|
547
547
|
archived: "archived";
|
|
548
548
|
}>>;
|
|
549
549
|
}, z.core.$strip>>>;
|
|
@@ -555,8 +555,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
555
555
|
description: z.ZodOptional<z.ZodString>;
|
|
556
556
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
557
557
|
status: z.ZodEnum<{
|
|
558
|
-
deprecated: "deprecated";
|
|
559
558
|
active: "active";
|
|
559
|
+
deprecated: "deprecated";
|
|
560
560
|
archived: "archived";
|
|
561
561
|
}>;
|
|
562
562
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -574,12 +574,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
574
574
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
575
575
|
path: z.ZodString;
|
|
576
576
|
role: z.ZodEnum<{
|
|
577
|
-
config: "config";
|
|
578
577
|
entrypoint: "entrypoint";
|
|
579
578
|
handler: "handler";
|
|
580
579
|
schema: "schema";
|
|
581
580
|
test: "test";
|
|
582
581
|
docs: "docs";
|
|
582
|
+
config: "config";
|
|
583
583
|
}>;
|
|
584
584
|
symbol: z.ZodOptional<z.ZodString>;
|
|
585
585
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -594,8 +594,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
594
594
|
description: z.ZodOptional<z.ZodString>;
|
|
595
595
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
596
596
|
status: z.ZodEnum<{
|
|
597
|
-
deprecated: "deprecated";
|
|
598
597
|
active: "active";
|
|
598
|
+
deprecated: "deprecated";
|
|
599
599
|
archived: "archived";
|
|
600
600
|
}>;
|
|
601
601
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -613,12 +613,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
613
613
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
614
614
|
path: z.ZodString;
|
|
615
615
|
role: z.ZodEnum<{
|
|
616
|
-
config: "config";
|
|
617
616
|
entrypoint: "entrypoint";
|
|
618
617
|
handler: "handler";
|
|
619
618
|
schema: "schema";
|
|
620
619
|
test: "test";
|
|
621
620
|
docs: "docs";
|
|
621
|
+
config: "config";
|
|
622
622
|
}>;
|
|
623
623
|
symbol: z.ZodOptional<z.ZodString>;
|
|
624
624
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -3536,6 +3536,7 @@ type Database = {
|
|
|
3536
3536
|
title: string | null;
|
|
3537
3537
|
updated_at: string;
|
|
3538
3538
|
user_id: string;
|
|
3539
|
+
visibility: string;
|
|
3539
3540
|
};
|
|
3540
3541
|
Insert: {
|
|
3541
3542
|
content: string;
|
|
@@ -3550,6 +3551,7 @@ type Database = {
|
|
|
3550
3551
|
title?: string | null;
|
|
3551
3552
|
updated_at?: string;
|
|
3552
3553
|
user_id: string;
|
|
3554
|
+
visibility?: string;
|
|
3553
3555
|
};
|
|
3554
3556
|
Update: {
|
|
3555
3557
|
content?: string;
|
|
@@ -3564,6 +3566,7 @@ type Database = {
|
|
|
3564
3566
|
title?: string | null;
|
|
3565
3567
|
updated_at?: string;
|
|
3566
3568
|
user_id?: string;
|
|
3569
|
+
visibility?: string;
|
|
3567
3570
|
};
|
|
3568
3571
|
Relationships: [
|
|
3569
3572
|
{
|
|
@@ -3732,6 +3735,12 @@ type Database = {
|
|
|
3732
3735
|
Args: never;
|
|
3733
3736
|
Returns: boolean;
|
|
3734
3737
|
};
|
|
3738
|
+
current_user_shares_org_with: {
|
|
3739
|
+
Args: {
|
|
3740
|
+
other_user_id: string;
|
|
3741
|
+
};
|
|
3742
|
+
Returns: boolean;
|
|
3743
|
+
};
|
|
3735
3744
|
current_user_supabase_id: {
|
|
3736
3745
|
Args: never;
|
|
3737
3746
|
Returns: string;
|
|
@@ -3771,6 +3780,20 @@ type Database = {
|
|
|
3771
3780
|
Args: never;
|
|
3772
3781
|
Returns: string;
|
|
3773
3782
|
};
|
|
3783
|
+
has_org_access: {
|
|
3784
|
+
Args: {
|
|
3785
|
+
action?: string;
|
|
3786
|
+
org_id: string;
|
|
3787
|
+
system_path: string;
|
|
3788
|
+
};
|
|
3789
|
+
Returns: boolean;
|
|
3790
|
+
} | {
|
|
3791
|
+
Args: {
|
|
3792
|
+
action?: string;
|
|
3793
|
+
system_path: string;
|
|
3794
|
+
};
|
|
3795
|
+
Returns: boolean;
|
|
3796
|
+
};
|
|
3774
3797
|
has_org_permission: {
|
|
3775
3798
|
Args: {
|
|
3776
3799
|
org_id: string;
|
|
@@ -4346,10 +4369,10 @@ interface SystemEntry {
|
|
|
4346
4369
|
declare const LinkSchema: z.ZodObject<{
|
|
4347
4370
|
nodeId: z.ZodString;
|
|
4348
4371
|
kind: z.ZodEnum<{
|
|
4349
|
-
links: "links";
|
|
4350
4372
|
affects: "affects";
|
|
4351
|
-
effects: "effects";
|
|
4352
4373
|
actions: "actions";
|
|
4374
|
+
effects: "effects";
|
|
4375
|
+
links: "links";
|
|
4353
4376
|
reads: "reads";
|
|
4354
4377
|
writes: "writes";
|
|
4355
4378
|
emits: "emits";
|
|
@@ -4413,63 +4436,6 @@ interface SessionTokenUsage {
|
|
|
4413
4436
|
contextWindowSize: number;
|
|
4414
4437
|
}
|
|
4415
4438
|
|
|
4416
|
-
/**
|
|
4417
|
-
* Single source of truth for all active theme preset names.
|
|
4418
|
-
*
|
|
4419
|
-
* This is the canonical list. To add a preset:
|
|
4420
|
-
* 1. Add the name here.
|
|
4421
|
-
* 2. Create `packages/ui/src/theme/presets/{name}.ts` exporting `{name}Preset: ThemePreset`.
|
|
4422
|
-
* 3. Add to `PRESETS` record in `packages/ui/src/theme/presets/index.ts`.
|
|
4423
|
-
* 4. Add to `PresetName` union in `packages/ui/src/theme/presets/types.ts`.
|
|
4424
|
-
* 5. Add a card in `apps/command-center/src/features/settings/appearance/components/AppearanceSettings.tsx`.
|
|
4425
|
-
*
|
|
4426
|
-
* The union type (`ThemePresetName`) and Zod enum (`ThemePresetEnum`) are derived
|
|
4427
|
-
* automatically — no other files need updating.
|
|
4428
|
-
*/
|
|
4429
|
-
declare const THEME_PRESETS: readonly ["default", "tactical", "regal", "cyber-volt", "aurora", "rose-gold", "midnight", "titanium", "canopy", "slate", "cyber-strike", "cyber-chrome", "cyber-void", "nirvana", "wave", "synapse", "cortex", "helios", "graphite", "quarry"];
|
|
4430
|
-
type ThemePresetName = (typeof THEME_PRESETS)[number];
|
|
4431
|
-
|
|
4432
|
-
/**
|
|
4433
|
-
* Multi-tenancy configuration types
|
|
4434
|
-
*
|
|
4435
|
-
* Config is stored in dedicated `config` columns (NOT nested in metadata):
|
|
4436
|
-
* - organizations.config: Org-level config (no feature toggles -- all features available by default)
|
|
4437
|
-
* - org_memberships.config: Per-user-per-org feature overrides
|
|
4438
|
-
* - users.config: User-global config
|
|
4439
|
-
*/
|
|
4440
|
-
|
|
4441
|
-
/**
|
|
4442
|
-
* Per-user-per-org config (stored in org_memberships.config)
|
|
4443
|
-
* Controls which features a specific member can access within their org.
|
|
4444
|
-
* Keys are feature IDs from the organization model (e.g. crm, lead-gen, projects, seo).
|
|
4445
|
-
*/
|
|
4446
|
-
interface MembershipFeatureConfig {
|
|
4447
|
-
features?: Record<string, boolean>;
|
|
4448
|
-
}
|
|
4449
|
-
/**
|
|
4450
|
-
* User-global config (stored in users.config)
|
|
4451
|
-
* Theme and onboarding are user-specific, NOT org-specific
|
|
4452
|
-
*/
|
|
4453
|
-
interface UserConfig {
|
|
4454
|
-
theme?: {
|
|
4455
|
-
preset?: ThemePresetName;
|
|
4456
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4457
|
-
};
|
|
4458
|
-
onboarding?: {
|
|
4459
|
-
completed?: boolean;
|
|
4460
|
-
completedAt?: string;
|
|
4461
|
-
role?: string;
|
|
4462
|
-
primaryUseCase?: string[];
|
|
4463
|
-
experienceLevel?: string;
|
|
4464
|
-
/** Onboarding guide system state (set by checklist/tour system) */
|
|
4465
|
-
guides?: {
|
|
4466
|
-
completedIds?: string[];
|
|
4467
|
-
dismissed?: boolean;
|
|
4468
|
-
completedAt?: string;
|
|
4469
|
-
};
|
|
4470
|
-
};
|
|
4471
|
-
}
|
|
4472
|
-
|
|
4473
4439
|
/**
|
|
4474
4440
|
* Memberships Domain - Zod Validation Schemas
|
|
4475
4441
|
*
|
|
@@ -4538,7 +4504,6 @@ interface MembershipWithDetails extends OrganizationMembership {
|
|
|
4538
4504
|
metadata?: Record<string, unknown>;
|
|
4539
4505
|
config?: Record<string, unknown>;
|
|
4540
4506
|
};
|
|
4541
|
-
config?: MembershipFeatureConfig;
|
|
4542
4507
|
}
|
|
4543
4508
|
|
|
4544
4509
|
interface OAuthToken extends Record<string, unknown> {
|
|
@@ -5558,6 +5523,55 @@ interface CommandQueueExecutionFailedEvent {
|
|
|
5558
5523
|
*/
|
|
5559
5524
|
type CommandQueueSSEEvent = CommandQueueTaskUpdatedEvent | CommandQueueConnectedEvent | CommandQueueExecutionCompletedEvent | CommandQueueExecutionFailedEvent;
|
|
5560
5525
|
|
|
5526
|
+
/**
|
|
5527
|
+
* Single source of truth for all active theme preset names.
|
|
5528
|
+
*
|
|
5529
|
+
* This is the canonical list. To add a preset:
|
|
5530
|
+
* 1. Add the name here.
|
|
5531
|
+
* 2. Create `packages/ui/src/theme/presets/{name}.ts` exporting `{name}Preset: ThemePreset`.
|
|
5532
|
+
* 3. Add to `PRESETS` record in `packages/ui/src/theme/presets/index.ts`.
|
|
5533
|
+
* 4. Add to `PresetName` union in `packages/ui/src/theme/presets/types.ts`.
|
|
5534
|
+
* 5. Add a card in `apps/command-center/src/features/settings/appearance/components/AppearanceSettings.tsx`.
|
|
5535
|
+
*
|
|
5536
|
+
* The union type (`ThemePresetName`) and Zod enum (`ThemePresetEnum`) are derived
|
|
5537
|
+
* automatically — no other files need updating.
|
|
5538
|
+
*/
|
|
5539
|
+
declare const THEME_PRESETS: readonly ["default", "tactical", "regal", "cyber-volt", "aurora", "rose-gold", "midnight", "titanium", "canopy", "slate", "cyber-strike", "cyber-chrome", "cyber-void", "nirvana", "wave", "synapse", "cortex", "helios", "graphite", "quarry"];
|
|
5540
|
+
type ThemePresetName = (typeof THEME_PRESETS)[number];
|
|
5541
|
+
|
|
5542
|
+
/**
|
|
5543
|
+
* Multi-tenancy configuration types
|
|
5544
|
+
*
|
|
5545
|
+
* Config is stored in dedicated `config` columns (NOT nested in metadata):
|
|
5546
|
+
* - organizations.config: Org-level config (no feature toggles -- all features available by default)
|
|
5547
|
+
* - org_memberships.config: Reserved for non-access membership configuration
|
|
5548
|
+
* - users.config: User-global config
|
|
5549
|
+
*/
|
|
5550
|
+
|
|
5551
|
+
/**
|
|
5552
|
+
* User-global config (stored in users.config)
|
|
5553
|
+
* Theme and onboarding are user-specific, NOT org-specific
|
|
5554
|
+
*/
|
|
5555
|
+
interface UserConfig {
|
|
5556
|
+
theme?: {
|
|
5557
|
+
preset?: ThemePresetName;
|
|
5558
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5559
|
+
};
|
|
5560
|
+
onboarding?: {
|
|
5561
|
+
completed?: boolean;
|
|
5562
|
+
completedAt?: string;
|
|
5563
|
+
role?: string;
|
|
5564
|
+
primaryUseCase?: string[];
|
|
5565
|
+
experienceLevel?: string;
|
|
5566
|
+
/** Onboarding guide system state (set by checklist/tour system) */
|
|
5567
|
+
guides?: {
|
|
5568
|
+
completedIds?: string[];
|
|
5569
|
+
dismissed?: boolean;
|
|
5570
|
+
completedAt?: string;
|
|
5571
|
+
};
|
|
5572
|
+
};
|
|
5573
|
+
}
|
|
5574
|
+
|
|
5561
5575
|
/**
|
|
5562
5576
|
* Execution Runner Types
|
|
5563
5577
|
*
|
|
@@ -5796,4 +5810,4 @@ declare const WebhookEndpointResponseSchema: z.ZodObject<{
|
|
|
5796
5810
|
}, z.core.$strip>;
|
|
5797
5811
|
type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
|
|
5798
5812
|
|
|
5799
|
-
export type { AIResourceDefinition, APIExecutionDetail, APIExecutionListResponse, APIExecutionSummary, AbsoluteScheduleConfig, AbsoluteScheduleItem, ActionConfig, Activity, ActivitySSEEvent, ActivityStatus, ActivityType, AgentIterationData, AgentMemory, ApiKeyListItem, BusinessImpactMetrics, ChatMessage, CheckpointListResponse, CommandQueueSSEEvent, CommandViewAgent, CommandViewData, CommandViewNode, CommandViewNodeType, CommandViewStatsResponse, CommandViewWorkflow, CostBreakdownMetrics, CostByModelResponse, CostSummaryResponse, CostTrendsResponse, CreateWebhookEndpointRequest, CredentialField, CredentialListItem, CredentialSchema, DashboardMetrics, DealListItem, DealStage, Deployment, DeploymentStatus, ErrorAnalysisMetrics, ErrorDetailFull, ErrorDetailResponse, ErrorTrend, ExecutionHealthMetrics, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogMessage, ExecutionMetricsDetail, ExecutionSSEEvent, ExecutionStatus, ExecutionSummary, FailingResource, HumanCheckpointDefinition, HumanCheckpointStats, KanbanBoardConfig, ListMembershipsParams,
|
|
5813
|
+
export type { AIResourceDefinition, APIExecutionDetail, APIExecutionListResponse, APIExecutionSummary, AbsoluteScheduleConfig, AbsoluteScheduleItem, ActionConfig, Activity, ActivitySSEEvent, ActivityStatus, ActivityType, AgentIterationData, AgentMemory, ApiKeyListItem, BusinessImpactMetrics, ChatMessage, CheckpointListResponse, CommandQueueSSEEvent, CommandViewAgent, CommandViewData, CommandViewNode, CommandViewNodeType, CommandViewStatsResponse, CommandViewWorkflow, CostBreakdownMetrics, CostByModelResponse, CostSummaryResponse, CostTrendsResponse, CreateWebhookEndpointRequest, CredentialField, CredentialListItem, CredentialSchema, DashboardMetrics, DealListItem, DealStage, Deployment, DeploymentStatus, ErrorAnalysisMetrics, ErrorDetailFull, ErrorDetailResponse, ErrorTrend, ExecutionHealthMetrics, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogMessage, ExecutionMetricsDetail, ExecutionSSEEvent, ExecutionStatus, ExecutionSummary, FailingResource, HumanCheckpointDefinition, HumanCheckpointStats, KanbanBoardConfig, ListMembershipsParams, MembershipStatus, MembershipWithDetails, MessageEvent, MessageType, ModelConfig, NotificationDTO, NotificationSSEEvent, OAuthProviderConfig, PatchTaskParams, QueueTaskStatus, RecentExecutionsByResourceResponse, RecurringScheduleConfig, RelativeScheduleConfig, RelativeScheduleItem, ResourceCategory, ResourceDefinition, ResourceErrorsResponse, ResourceExecutionSummary, ResourceExecutionsResponse, ResourceHealth, ResourceIdentifier, ResourceLink, ResourceStats, ResourceStatus, ResourceType, ResourcesHealthResponse, SerializedAgentDefinition, SerializedWorkflowDefinition, SessionDTO, SessionTokenUsage, StatsTimeRange, SupabaseUserProfile, Task, TaskSchedule, TaskScheduleConfig, TimeRange, WorkflowNodeVisualizerData as TimelineData, UpdateWebhookEndpointRequest, UserConfig, WebhookEndpoint, WebhookEndpointResponse };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -80,8 +80,8 @@ declare function debounce<T extends (...args: Parameters<T>) => void>(fn: T, wai
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
83
|
-
deprecated: "deprecated";
|
|
84
83
|
active: "active";
|
|
84
|
+
deprecated: "deprecated";
|
|
85
85
|
archived: "archived";
|
|
86
86
|
}>;
|
|
87
87
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
@@ -227,10 +227,10 @@ interface SystemEntry {
|
|
|
227
227
|
declare const LinkSchema: z.ZodObject<{
|
|
228
228
|
nodeId: z.ZodString;
|
|
229
229
|
kind: z.ZodEnum<{
|
|
230
|
-
links: "links";
|
|
231
230
|
affects: "affects";
|
|
232
|
-
effects: "effects";
|
|
233
231
|
actions: "actions";
|
|
232
|
+
effects: "effects";
|
|
233
|
+
links: "links";
|
|
234
234
|
reads: "reads";
|
|
235
235
|
writes: "writes";
|
|
236
236
|
emits: "emits";
|
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER,
|
|
1
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-X66MVMZT.js';
|
|
2
2
|
export { ResourceStatusColors } from '../chunk-KRWALB24.js';
|
|
3
|
+
export { GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING } from '../chunk-6ROXVZ3L.js';
|
|
3
4
|
import '../chunk-I2KLQ2HA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.37.0",
|
|
4
4
|
"description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"types": "./dist/hooks/published.d.ts",
|
|
29
29
|
"import": "./dist/hooks/published.js"
|
|
30
30
|
},
|
|
31
|
+
"./hooks/access": {
|
|
32
|
+
"types": "./dist/hooks/access/index.d.ts",
|
|
33
|
+
"import": "./dist/hooks/access/index.js"
|
|
34
|
+
},
|
|
31
35
|
"./sse": {
|
|
32
36
|
"types": "./dist/sse/index.d.ts",
|
|
33
37
|
"import": "./dist/sse/index.js"
|
|
@@ -92,6 +96,18 @@
|
|
|
92
96
|
"types": "./dist/features/settings/index.d.ts",
|
|
93
97
|
"import": "./dist/features/settings/index.js"
|
|
94
98
|
},
|
|
99
|
+
"./features/notes": {
|
|
100
|
+
"types": "./dist/features/notes/index.d.ts",
|
|
101
|
+
"import": "./dist/features/notes/index.js"
|
|
102
|
+
},
|
|
103
|
+
"./features/right-panel-host": {
|
|
104
|
+
"types": "./dist/features/right-panel-host/index.d.ts",
|
|
105
|
+
"import": "./dist/features/right-panel-host/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./hooks/user-notes": {
|
|
108
|
+
"types": "./dist/hooks/user-notes/index.d.ts",
|
|
109
|
+
"import": "./dist/hooks/user-notes/index.js"
|
|
110
|
+
},
|
|
95
111
|
"./types": {
|
|
96
112
|
"types": "./dist/types/index.d.ts",
|
|
97
113
|
"import": "./dist/types/index.js"
|
|
@@ -253,11 +269,11 @@
|
|
|
253
269
|
"typescript": "5.9.2",
|
|
254
270
|
"vite": "^7.0.0",
|
|
255
271
|
"vitest": "^3.2.4",
|
|
256
|
-
"@elevasis/sdk": "1.
|
|
257
|
-
"@repo/
|
|
258
|
-
"@repo/core": "0.27.0",
|
|
272
|
+
"@elevasis/sdk": "1.25.0",
|
|
273
|
+
"@repo/eslint-config": "0.0.0",
|
|
259
274
|
"@repo/elevasis-core": "1.0.0",
|
|
260
|
-
"@repo/
|
|
275
|
+
"@repo/core": "0.30.0",
|
|
276
|
+
"@repo/typescript-config": "0.0.0"
|
|
261
277
|
},
|
|
262
278
|
"dependencies": {
|
|
263
279
|
"@dagrejs/dagre": "^1.1.4",
|
package/src/auth/README.md
CHANGED
|
@@ -6,13 +6,13 @@ The auth surface is the published authentication entry point for UI shells.
|
|
|
6
6
|
|
|
7
7
|
- `AuthProvider`
|
|
8
8
|
- `useAuthContext`
|
|
9
|
-
- `useStableAccessToken`
|
|
10
|
-
- `useSessionCheck`
|
|
11
|
-
- `ProtectedRoute`
|
|
12
|
-
- `
|
|
9
|
+
- `useStableAccessToken`
|
|
10
|
+
- `useSessionCheck`
|
|
11
|
+
- `ProtectedRoute`
|
|
12
|
+
- `AccessGuard`
|
|
13
13
|
|
|
14
14
|
## Use When
|
|
15
15
|
|
|
16
|
-
- You need auth state, access tokens, or session lifecycle checks.
|
|
17
|
-
- You need route-level guards for protected
|
|
16
|
+
- You need auth state, access tokens, or session lifecycle checks.
|
|
17
|
+
- You need route-level or section-level access guards for protected UI.
|
|
18
18
|
|