@elevasis/ui 2.32.0 → 2.33.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/app/index.js +3 -3
- package/dist/{chunk-GCOQ3TBG.js → chunk-2GMF5IRF.js} +2 -2
- package/dist/{chunk-4MFNGNHF.js → chunk-52NLZN6Z.js} +2 -2
- package/dist/{chunk-5FJJ72HU.js → chunk-AHCKOU2M.js} +1 -1
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/{chunk-5J4PDX26.js → chunk-E4T2N7P7.js} +14 -2
- package/dist/{chunk-RQTWIXJ5.js → chunk-E7C4XEWH.js} +1 -1
- package/dist/{chunk-6DWD423K.js → chunk-FFPHJBJC.js} +1 -1
- package/dist/{chunk-T35FWDAB.js → chunk-GNRMB6DC.js} +940 -156
- package/dist/{chunk-LLRXA7D7.js → chunk-IUKFNASA.js} +1 -1
- package/dist/{chunk-QTI3KC7D.js → chunk-JHT5JIJ3.js} +106 -43
- package/dist/{chunk-IQHU7O5Y.js → chunk-MHLZ4F4N.js} +1 -1
- package/dist/{chunk-VRNMNB3O.js → chunk-NOIRGGW2.js} +1 -1
- package/dist/{chunk-MOY4VOHF.js → chunk-QNOVUCSV.js} +1 -1
- package/dist/{chunk-4QK76KIF.js → chunk-TKF5S4XP.js} +1 -1
- package/dist/{chunk-ZQOKIGZP.js → chunk-UVFOURXR.js} +4 -4
- package/dist/{chunk-YLQEVSOR.js → chunk-UW7IV2Y3.js} +202 -54
- package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
- package/dist/{chunk-QQHOKTJA.js → chunk-XG57WXOL.js} +39 -2
- package/dist/{chunk-7KZINJLP.js → chunk-XOFSMJLF.js} +4 -4
- package/dist/{chunk-WQPX44YM.js → chunk-YAQ25UNM.js} +668 -168
- package/dist/{chunk-QXCDKE2O.js → chunk-ZGTDKH3P.js} +9 -28
- package/dist/components/index.d.ts +111 -2
- package/dist/components/index.js +24 -23
- package/dist/components/navigation/index.js +4 -3
- package/dist/execution/index.d.ts +5 -1
- package/dist/features/clients/index.js +8 -7
- package/dist/features/crm/index.js +10 -9
- package/dist/features/dashboard/index.d.ts +110 -1
- package/dist/features/dashboard/index.js +9 -8
- package/dist/features/delivery/index.js +9 -8
- package/dist/features/knowledge/index.js +8 -18
- package/dist/features/lead-gen/index.js +10 -9
- package/dist/features/monitoring/index.js +10 -9
- package/dist/features/monitoring/requests/index.d.ts +2 -2
- package/dist/features/monitoring/requests/index.js +8 -7
- package/dist/features/operations/index.d.ts +442 -73
- package/dist/features/operations/index.js +13 -12
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/index.d.ts +192 -3
- package/dist/hooks/index.js +8 -7
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +190 -1
- package/dist/hooks/published.d.ts +192 -3
- package/dist/hooks/published.js +8 -7
- package/dist/index.d.ts +444 -75
- package/dist/index.js +8 -7
- package/dist/knowledge/index.d.ts +490 -214
- package/dist/knowledge/index.js +1179 -687
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +1 -1
- package/dist/provider/index.d.ts +357 -72
- package/dist/provider/index.js +7 -6
- package/dist/provider/published.d.ts +357 -72
- package/dist/provider/published.js +5 -4
- package/dist/types/index.d.ts +190 -1
- package/dist/utils/index.d.ts +110 -1
- package/package.json +39 -39
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-UROTM5OR.js +0 -172
- package/dist/knowledge-search-index-5KYPO746.js +0 -1479
package/dist/types/index.d.ts
CHANGED
|
@@ -426,6 +426,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
426
426
|
active: "active";
|
|
427
427
|
archived: "archived";
|
|
428
428
|
}>;
|
|
429
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
431
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
433
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
434
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
437
|
+
path: z.ZodString;
|
|
438
|
+
role: z.ZodEnum<{
|
|
439
|
+
schema: "schema";
|
|
440
|
+
config: "config";
|
|
441
|
+
entrypoint: "entrypoint";
|
|
442
|
+
handler: "handler";
|
|
443
|
+
test: "test";
|
|
444
|
+
docs: "docs";
|
|
445
|
+
}>;
|
|
446
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
447
|
+
description: z.ZodOptional<z.ZodString>;
|
|
448
|
+
}, z.core.$strip>>>;
|
|
429
449
|
kind: z.ZodLiteral<"workflow">;
|
|
430
450
|
actionKey: z.ZodOptional<z.ZodString>;
|
|
431
451
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -450,6 +470,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
450
470
|
active: "active";
|
|
451
471
|
archived: "archived";
|
|
452
472
|
}>;
|
|
473
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
476
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
478
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
481
|
+
path: z.ZodString;
|
|
482
|
+
role: z.ZodEnum<{
|
|
483
|
+
schema: "schema";
|
|
484
|
+
config: "config";
|
|
485
|
+
entrypoint: "entrypoint";
|
|
486
|
+
handler: "handler";
|
|
487
|
+
test: "test";
|
|
488
|
+
docs: "docs";
|
|
489
|
+
}>;
|
|
490
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
491
|
+
description: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strip>>>;
|
|
453
493
|
kind: z.ZodLiteral<"agent">;
|
|
454
494
|
agentKind: z.ZodEnum<{
|
|
455
495
|
platform: "platform";
|
|
@@ -504,6 +544,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
504
544
|
active: "active";
|
|
505
545
|
archived: "archived";
|
|
506
546
|
}>;
|
|
547
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
549
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
550
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
551
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
553
|
+
}, z.core.$strip>>;
|
|
554
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
555
|
+
path: z.ZodString;
|
|
556
|
+
role: z.ZodEnum<{
|
|
557
|
+
schema: "schema";
|
|
558
|
+
config: "config";
|
|
559
|
+
entrypoint: "entrypoint";
|
|
560
|
+
handler: "handler";
|
|
561
|
+
test: "test";
|
|
562
|
+
docs: "docs";
|
|
563
|
+
}>;
|
|
564
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
565
|
+
description: z.ZodOptional<z.ZodString>;
|
|
566
|
+
}, z.core.$strip>>>;
|
|
507
567
|
kind: z.ZodLiteral<"integration">;
|
|
508
568
|
provider: z.ZodString;
|
|
509
569
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -516,6 +576,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
516
576
|
active: "active";
|
|
517
577
|
archived: "archived";
|
|
518
578
|
}>;
|
|
579
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
581
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
582
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
583
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
584
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
586
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
587
|
+
path: z.ZodString;
|
|
588
|
+
role: z.ZodEnum<{
|
|
589
|
+
schema: "schema";
|
|
590
|
+
config: "config";
|
|
591
|
+
entrypoint: "entrypoint";
|
|
592
|
+
handler: "handler";
|
|
593
|
+
test: "test";
|
|
594
|
+
docs: "docs";
|
|
595
|
+
}>;
|
|
596
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
597
|
+
description: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strip>>>;
|
|
519
599
|
kind: z.ZodLiteral<"script">;
|
|
520
600
|
language: z.ZodEnum<{
|
|
521
601
|
shell: "shell";
|
|
@@ -4095,6 +4175,100 @@ interface NotificationDTO {
|
|
|
4095
4175
|
createdAt: string;
|
|
4096
4176
|
}
|
|
4097
4177
|
|
|
4178
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
4179
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4180
|
+
id: z.ZodString;
|
|
4181
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4183
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4184
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4185
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4186
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4187
|
+
}, z.core.$loose>>>>;
|
|
4188
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4189
|
+
id: z.ZodString;
|
|
4190
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4191
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4192
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4193
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4194
|
+
from: z.ZodString;
|
|
4195
|
+
to: z.ZodString;
|
|
4196
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
4197
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4198
|
+
}, z.core.$loose>>>>;
|
|
4199
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4200
|
+
id: z.ZodString;
|
|
4201
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4202
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4203
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4204
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4205
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4206
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4207
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4208
|
+
}, z.core.$loose>>>>;
|
|
4209
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4210
|
+
id: z.ZodString;
|
|
4211
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4212
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4213
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4215
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
4216
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
4217
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4218
|
+
}, z.core.$loose>>>>;
|
|
4219
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4220
|
+
id: z.ZodString;
|
|
4221
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4222
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4223
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4224
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4225
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4226
|
+
}, z.core.$loose>>>>;
|
|
4227
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4228
|
+
id: z.ZodString;
|
|
4229
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4233
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4234
|
+
}, z.core.$loose>>>>;
|
|
4235
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4236
|
+
id: z.ZodString;
|
|
4237
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4238
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4239
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4240
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4241
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
}, z.core.$loose>>>>;
|
|
4243
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4244
|
+
id: z.ZodString;
|
|
4245
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4246
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4247
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4249
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
4250
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
4251
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
4252
|
+
}, z.core.$loose>>>>;
|
|
4253
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4254
|
+
id: z.ZodString;
|
|
4255
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4257
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4258
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4259
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4260
|
+
}, z.core.$loose>>>>;
|
|
4261
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4262
|
+
id: z.ZodString;
|
|
4263
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4264
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4265
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4266
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4267
|
+
route: z.ZodOptional<z.ZodString>;
|
|
4268
|
+
}, z.core.$loose>>>>;
|
|
4269
|
+
}, z.core.$strip>>;
|
|
4270
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
4271
|
+
|
|
4098
4272
|
type MessageType = MessageEvent['type'];
|
|
4099
4273
|
/**
|
|
4100
4274
|
* Session Data Transfer Object (DTO)
|
|
@@ -4703,6 +4877,10 @@ declare const ContentNodeSchema: z.ZodObject<{
|
|
|
4703
4877
|
}, z.core.$strip>;
|
|
4704
4878
|
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
4705
4879
|
|
|
4880
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
4881
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
4882
|
+
[key: string]: JsonValue;
|
|
4883
|
+
};
|
|
4706
4884
|
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
4707
4885
|
interface SystemEntry {
|
|
4708
4886
|
id: string;
|
|
@@ -4737,6 +4915,13 @@ interface SystemEntry {
|
|
|
4737
4915
|
devOnly?: boolean;
|
|
4738
4916
|
requiresAdmin?: boolean;
|
|
4739
4917
|
order: number;
|
|
4918
|
+
config?: Record<string, JsonValue>;
|
|
4919
|
+
ontology?: OntologyScope;
|
|
4920
|
+
systems?: Record<string, SystemEntry>;
|
|
4921
|
+
/**
|
|
4922
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
4923
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
4924
|
+
*/
|
|
4740
4925
|
content?: Record<string, ContentNode>;
|
|
4741
4926
|
subsystems?: Record<string, SystemEntry>;
|
|
4742
4927
|
}
|
|
@@ -5083,6 +5268,10 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
5083
5268
|
kind: z.ZodEnum<{
|
|
5084
5269
|
links: "links";
|
|
5085
5270
|
affects: "affects";
|
|
5271
|
+
effects: "effects";
|
|
5272
|
+
implements: "implements";
|
|
5273
|
+
reads: "reads";
|
|
5274
|
+
writes: "writes";
|
|
5086
5275
|
emits: "emits";
|
|
5087
5276
|
contains: "contains";
|
|
5088
5277
|
references: "references";
|
|
@@ -5092,7 +5281,7 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
5092
5281
|
originates_from: "originates_from";
|
|
5093
5282
|
triggers: "triggers";
|
|
5094
5283
|
applies_to: "applies_to";
|
|
5095
|
-
|
|
5284
|
+
uses_catalog: "uses_catalog";
|
|
5096
5285
|
}>;
|
|
5097
5286
|
}, z.core.$strip>;
|
|
5098
5287
|
type Link = z.infer<typeof LinkSchema>;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -86,6 +86,100 @@ declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
|
86
86
|
}>;
|
|
87
87
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
88
88
|
|
|
89
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
90
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
label: z.ZodOptional<z.ZodString>;
|
|
93
|
+
description: z.ZodOptional<z.ZodString>;
|
|
94
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
95
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
96
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
|
+
}, z.core.$loose>>>>;
|
|
99
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
label: z.ZodOptional<z.ZodString>;
|
|
102
|
+
description: z.ZodOptional<z.ZodString>;
|
|
103
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
104
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
from: z.ZodString;
|
|
106
|
+
to: z.ZodString;
|
|
107
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
108
|
+
via: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$loose>>>>;
|
|
110
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
111
|
+
id: z.ZodString;
|
|
112
|
+
label: z.ZodOptional<z.ZodString>;
|
|
113
|
+
description: z.ZodOptional<z.ZodString>;
|
|
114
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
117
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
118
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
119
|
+
}, z.core.$loose>>>>;
|
|
120
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
label: z.ZodOptional<z.ZodString>;
|
|
123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
124
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
125
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
127
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
128
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
|
+
}, z.core.$loose>>>>;
|
|
130
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
131
|
+
id: z.ZodString;
|
|
132
|
+
label: z.ZodOptional<z.ZodString>;
|
|
133
|
+
description: z.ZodOptional<z.ZodString>;
|
|
134
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
135
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
136
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
137
|
+
}, z.core.$loose>>>>;
|
|
138
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
label: z.ZodOptional<z.ZodString>;
|
|
141
|
+
description: z.ZodOptional<z.ZodString>;
|
|
142
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
145
|
+
}, z.core.$loose>>>>;
|
|
146
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
label: z.ZodOptional<z.ZodString>;
|
|
149
|
+
description: z.ZodOptional<z.ZodString>;
|
|
150
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
151
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, z.core.$loose>>>>;
|
|
154
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
155
|
+
id: z.ZodString;
|
|
156
|
+
label: z.ZodOptional<z.ZodString>;
|
|
157
|
+
description: z.ZodOptional<z.ZodString>;
|
|
158
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
161
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
}, z.core.$loose>>>>;
|
|
164
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
label: z.ZodOptional<z.ZodString>;
|
|
167
|
+
description: z.ZodOptional<z.ZodString>;
|
|
168
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
170
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
171
|
+
}, z.core.$loose>>>>;
|
|
172
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
173
|
+
id: z.ZodString;
|
|
174
|
+
label: z.ZodOptional<z.ZodString>;
|
|
175
|
+
description: z.ZodOptional<z.ZodString>;
|
|
176
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
177
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
178
|
+
route: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$loose>>>>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
182
|
+
|
|
89
183
|
/**
|
|
90
184
|
* Time range selector for dashboard metrics
|
|
91
185
|
*/
|
|
@@ -126,6 +220,10 @@ declare const ContentNodeSchema: z.ZodObject<{
|
|
|
126
220
|
}, z.core.$strip>;
|
|
127
221
|
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
128
222
|
|
|
223
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
224
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
225
|
+
[key: string]: JsonValue;
|
|
226
|
+
};
|
|
129
227
|
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
130
228
|
interface SystemEntry {
|
|
131
229
|
id: string;
|
|
@@ -160,6 +258,13 @@ interface SystemEntry {
|
|
|
160
258
|
devOnly?: boolean;
|
|
161
259
|
requiresAdmin?: boolean;
|
|
162
260
|
order: number;
|
|
261
|
+
config?: Record<string, JsonValue>;
|
|
262
|
+
ontology?: OntologyScope;
|
|
263
|
+
systems?: Record<string, SystemEntry>;
|
|
264
|
+
/**
|
|
265
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
266
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
267
|
+
*/
|
|
163
268
|
content?: Record<string, ContentNode>;
|
|
164
269
|
subsystems?: Record<string, SystemEntry>;
|
|
165
270
|
}
|
|
@@ -218,6 +323,10 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
218
323
|
kind: z.ZodEnum<{
|
|
219
324
|
links: "links";
|
|
220
325
|
affects: "affects";
|
|
326
|
+
effects: "effects";
|
|
327
|
+
implements: "implements";
|
|
328
|
+
reads: "reads";
|
|
329
|
+
writes: "writes";
|
|
221
330
|
emits: "emits";
|
|
222
331
|
contains: "contains";
|
|
223
332
|
references: "references";
|
|
@@ -227,7 +336,7 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
227
336
|
originates_from: "originates_from";
|
|
228
337
|
triggers: "triggers";
|
|
229
338
|
applies_to: "applies_to";
|
|
230
|
-
|
|
339
|
+
uses_catalog: "uses_catalog";
|
|
231
340
|
}>;
|
|
232
341
|
}, z.core.$strip>;
|
|
233
342
|
type Link = z.infer<typeof LinkSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.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",
|
|
@@ -11,44 +11,6 @@
|
|
|
11
11
|
"dist",
|
|
12
12
|
"src/**/README.md"
|
|
13
13
|
],
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@mantine/charts": "8.2.7",
|
|
16
|
-
"@mantine/notifications": "8.2.7",
|
|
17
|
-
"@mantine/tiptap": "8.2.7",
|
|
18
|
-
"@mdx-js/mdx": "^3.1.1",
|
|
19
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
20
|
-
"@testing-library/react": "^16.3.0",
|
|
21
|
-
"@tiptap/extension-link": "^2.11.7",
|
|
22
|
-
"@tiptap/extension-placeholder": "^2.11.7",
|
|
23
|
-
"@tiptap/react": "^2.11.7",
|
|
24
|
-
"@tiptap/starter-kit": "^2.11.7",
|
|
25
|
-
"@types/react": "^19.2.2",
|
|
26
|
-
"@types/react-dom": "^19.1.9",
|
|
27
|
-
"cytoscape": "^3.33.1",
|
|
28
|
-
"cytoscape-fcose": "^2.2.0",
|
|
29
|
-
"globals": "^16.3.0",
|
|
30
|
-
"msw": "^2.11.0",
|
|
31
|
-
"recharts": "^3.2.1",
|
|
32
|
-
"remark-gfm": "^4.0.1",
|
|
33
|
-
"rollup": "^4.59.0",
|
|
34
|
-
"rollup-plugin-dts": "^6.3.0",
|
|
35
|
-
"tsup": "^8.0.0",
|
|
36
|
-
"typescript": "5.9.2",
|
|
37
|
-
"vite": "^7.0.0",
|
|
38
|
-
"vitest": "^3.2.4",
|
|
39
|
-
"@elevasis/sdk": "1.20.2",
|
|
40
|
-
"@repo/elevasis-core": "1.0.0",
|
|
41
|
-
"@repo/eslint-config": "0.0.0",
|
|
42
|
-
"@repo/core": "0.23.0",
|
|
43
|
-
"@repo/typescript-config": "0.0.0"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@dagrejs/dagre": "^1.1.4",
|
|
47
|
-
"@microsoft/fetch-event-source": "^2.0.1",
|
|
48
|
-
"mantine-form-zod-resolver": "^1.3.0",
|
|
49
|
-
"prism-react-renderer": "^2.4.1",
|
|
50
|
-
"react-json-pretty": "^2.2.0"
|
|
51
|
-
},
|
|
52
14
|
"exports": {
|
|
53
15
|
"./provider": {
|
|
54
16
|
"types": "./dist/provider/published.d.ts",
|
|
@@ -266,6 +228,44 @@
|
|
|
266
228
|
"@testing-library/jest-dom": "^6.9.1",
|
|
267
229
|
"msw": "^2.11.0"
|
|
268
230
|
},
|
|
231
|
+
"devDependencies": {
|
|
232
|
+
"@mantine/charts": "8.2.7",
|
|
233
|
+
"@mantine/notifications": "8.2.7",
|
|
234
|
+
"@mantine/tiptap": "8.2.7",
|
|
235
|
+
"@mdx-js/mdx": "^3.1.1",
|
|
236
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
237
|
+
"@testing-library/react": "^16.3.0",
|
|
238
|
+
"@tiptap/extension-link": "^2.11.7",
|
|
239
|
+
"@tiptap/extension-placeholder": "^2.11.7",
|
|
240
|
+
"@tiptap/react": "^2.11.7",
|
|
241
|
+
"@tiptap/starter-kit": "^2.11.7",
|
|
242
|
+
"@types/react": "^19.2.2",
|
|
243
|
+
"@types/react-dom": "^19.1.9",
|
|
244
|
+
"cytoscape": "^3.33.1",
|
|
245
|
+
"cytoscape-fcose": "^2.2.0",
|
|
246
|
+
"globals": "^16.3.0",
|
|
247
|
+
"msw": "^2.11.0",
|
|
248
|
+
"recharts": "^3.2.1",
|
|
249
|
+
"remark-gfm": "^4.0.1",
|
|
250
|
+
"rollup": "^4.59.0",
|
|
251
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
252
|
+
"tsup": "^8.0.0",
|
|
253
|
+
"typescript": "5.9.2",
|
|
254
|
+
"vite": "^7.0.0",
|
|
255
|
+
"vitest": "^3.2.4",
|
|
256
|
+
"@repo/core": "0.24.0",
|
|
257
|
+
"@repo/typescript-config": "0.0.0",
|
|
258
|
+
"@elevasis/sdk": "1.21.0",
|
|
259
|
+
"@repo/elevasis-core": "1.0.0",
|
|
260
|
+
"@repo/eslint-config": "0.0.0"
|
|
261
|
+
},
|
|
262
|
+
"dependencies": {
|
|
263
|
+
"@dagrejs/dagre": "^1.1.4",
|
|
264
|
+
"@microsoft/fetch-event-source": "^2.0.1",
|
|
265
|
+
"mantine-form-zod-resolver": "^1.3.0",
|
|
266
|
+
"prism-react-renderer": "^2.4.1",
|
|
267
|
+
"react-json-pretty": "^2.2.0"
|
|
268
|
+
},
|
|
269
269
|
"peerDependenciesMeta": {
|
|
270
270
|
"@mantine/core": {
|
|
271
271
|
"optional": true
|
package/src/README.md
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# @elevasis/ui
|
|
2
|
-
|
|
3
|
-
Shared UI package for Elevasis. In the monorepo, import from `@repo/ui`. Published consumers import from `@elevasis/ui`.
|
|
4
|
-
|
|
5
|
-
## Published Surfaces
|
|
6
|
-
|
|
7
|
-
- `./provider` and `./provider/ui`
|
|
8
|
-
- `./auth` and `./auth/context`
|
|
9
|
-
- `./hooks`
|
|
10
|
-
- `./sse`
|
|
11
|
-
- `./initialization`
|
|
12
|
-
- `./profile`
|
|
13
|
-
- `./organization`
|
|
14
|
-
- `./api`
|
|
15
|
-
- `./features/*`
|
|
16
|
-
- `./components` and the grouped component subpaths
|
|
17
|
-
- `./theme`
|
|
18
|
-
- `./graph`
|
|
19
|
-
- `./execution`
|
|
20
|
-
- `./router`
|
|
21
|
-
- `./types`
|
|
22
|
-
- `./utils`
|
|
23
|
-
- `./zustand`
|
|
24
|
-
|
|
25
|
-
## Notes
|
|
26
|
-
|
|
27
|
-
- `./supabase` is monorepo-only and intentionally excluded from the published npm surface.
|
|
28
|
-
- The package is built before publish, so source-adjacent docs should stay aligned with the current export barrels.
|
|
29
|
-
|
|
1
|
+
# @elevasis/ui
|
|
2
|
+
|
|
3
|
+
Shared UI package for Elevasis. In the monorepo, import from `@repo/ui`. Published consumers import from `@elevasis/ui`.
|
|
4
|
+
|
|
5
|
+
## Published Surfaces
|
|
6
|
+
|
|
7
|
+
- `./provider` and `./provider/ui`
|
|
8
|
+
- `./auth` and `./auth/context`
|
|
9
|
+
- `./hooks`
|
|
10
|
+
- `./sse`
|
|
11
|
+
- `./initialization`
|
|
12
|
+
- `./profile`
|
|
13
|
+
- `./organization`
|
|
14
|
+
- `./api`
|
|
15
|
+
- `./features/*`
|
|
16
|
+
- `./components` and the grouped component subpaths
|
|
17
|
+
- `./theme`
|
|
18
|
+
- `./graph`
|
|
19
|
+
- `./execution`
|
|
20
|
+
- `./router`
|
|
21
|
+
- `./types`
|
|
22
|
+
- `./utils`
|
|
23
|
+
- `./zustand`
|
|
24
|
+
|
|
25
|
+
## Notes
|
|
26
|
+
|
|
27
|
+
- `./supabase` is monorepo-only and intentionally excluded from the published npm surface.
|
|
28
|
+
- The package is built before publish, so source-adjacent docs should stay aligned with the current export barrels.
|
|
29
|
+
|
package/src/api/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# API
|
|
2
|
-
|
|
3
|
-
The API surface provides the HTTP client provider, the context hook, and the API config types.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `ApiClientProvider`
|
|
8
|
-
- `useApiClientContext`
|
|
9
|
-
- `useApiClient`
|
|
10
|
-
- `ApiClientContextValue`
|
|
11
|
-
- `ApiClientProviderProps`
|
|
12
|
-
- `ApiErrorDetails`
|
|
13
|
-
|
|
14
|
-
## Use When
|
|
15
|
-
|
|
16
|
-
- You need a shared API request client at the app root.
|
|
17
|
-
- You want org-aware request access through `useApiClient`.
|
|
18
|
-
|
|
1
|
+
# API
|
|
2
|
+
|
|
3
|
+
The API surface provides the HTTP client provider, the context hook, and the API config types.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `ApiClientProvider`
|
|
8
|
+
- `useApiClientContext`
|
|
9
|
+
- `useApiClient`
|
|
10
|
+
- `ApiClientContextValue`
|
|
11
|
+
- `ApiClientProviderProps`
|
|
12
|
+
- `ApiErrorDetails`
|
|
13
|
+
|
|
14
|
+
## Use When
|
|
15
|
+
|
|
16
|
+
- You need a shared API request client at the app root.
|
|
17
|
+
- You want org-aware request access through `useApiClient`.
|
|
18
|
+
|
package/src/app/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# App
|
|
2
|
-
|
|
3
|
-
Published app factory for downstream applications.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `createElevasisApp(config)` -- factory that composes providers, router, auth, and theme into a mountable React app
|
|
8
|
-
- `ElevasisAppConfig` -- configuration interface (router, query client, theme, store hooks, error handling)
|
|
9
|
-
- `ElevasisAppStoreConfig` -- store integration hooks for theme state
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { createElevasisApp } from '@elevasis/ui/app'
|
|
15
|
-
|
|
16
|
-
const { App } = createElevasisApp({
|
|
17
|
-
router,
|
|
18
|
-
queryClient,
|
|
19
|
-
store: { useThemePreset, useThemeColorScheme, useSetTheme },
|
|
20
|
-
themeConfig: { presets, defaultPreset },
|
|
21
|
-
})
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Consumers must import CSS separately in their entry point.
|
|
1
|
+
# App
|
|
2
|
+
|
|
3
|
+
Published app factory for downstream applications.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `createElevasisApp(config)` -- factory that composes providers, router, auth, and theme into a mountable React app
|
|
8
|
+
- `ElevasisAppConfig` -- configuration interface (router, query client, theme, store hooks, error handling)
|
|
9
|
+
- `ElevasisAppStoreConfig` -- store integration hooks for theme state
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { createElevasisApp } from '@elevasis/ui/app'
|
|
15
|
+
|
|
16
|
+
const { App } = createElevasisApp({
|
|
17
|
+
router,
|
|
18
|
+
queryClient,
|
|
19
|
+
store: { useThemePreset, useThemeColorScheme, useSetTheme },
|
|
20
|
+
themeConfig: { presets, defaultPreset },
|
|
21
|
+
})
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Consumers must import CSS separately in their entry point.
|
package/src/auth/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Auth
|
|
2
|
-
|
|
3
|
-
The auth surface is the published authentication entry point for UI shells.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `AuthProvider`
|
|
8
|
-
- `useAuthContext`
|
|
9
|
-
- `useStableAccessToken`
|
|
10
|
-
- `useSessionCheck`
|
|
11
|
-
- `ProtectedRoute`
|
|
12
|
-
- `AdminGuard`
|
|
13
|
-
|
|
14
|
-
## Use When
|
|
15
|
-
|
|
16
|
-
- You need auth state, access tokens, or session lifecycle checks.
|
|
17
|
-
- You need route-level guards for protected or admin-only UI.
|
|
18
|
-
|
|
1
|
+
# Auth
|
|
2
|
+
|
|
3
|
+
The auth surface is the published authentication entry point for UI shells.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `AuthProvider`
|
|
8
|
+
- `useAuthContext`
|
|
9
|
+
- `useStableAccessToken`
|
|
10
|
+
- `useSessionCheck`
|
|
11
|
+
- `ProtectedRoute`
|
|
12
|
+
- `AdminGuard`
|
|
13
|
+
|
|
14
|
+
## Use When
|
|
15
|
+
|
|
16
|
+
- You need auth state, access tokens, or session lifecycle checks.
|
|
17
|
+
- You need route-level guards for protected or admin-only UI.
|
|
18
|
+
|