@elevasis/ui 2.34.0 → 2.36.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.
Files changed (116) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +37 -30
  3. package/dist/app/index.js +25 -23
  4. package/dist/charts/index.js +3 -5
  5. package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
  6. package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
  7. package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
  8. package/dist/chunk-AUDNF2Q7.js +2050 -0
  9. package/dist/chunk-F6EFC2MJ.js +41101 -0
  10. package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
  11. package/dist/{chunk-RIAXZ6AH.js → chunk-K4UZU3TU.js} +2 -2
  12. package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
  13. package/dist/{chunk-DTFKWZ7A.js → chunk-O2Q4VMRN.js} +589 -932
  14. package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
  15. package/dist/chunk-SIQ3P4OR.js +1764 -0
  16. package/dist/{chunk-3FV6HBXS.js → chunk-WF7CONXF.js} +23 -23
  17. package/dist/{chunk-3QXJK5IY.js → chunk-YYX7OPZQ.js} +1 -1
  18. package/dist/components/index.d.ts +74 -71
  19. package/dist/components/index.js +20 -2795
  20. package/dist/components/navigation/index.js +25 -5
  21. package/dist/execution/index.d.ts +11 -11
  22. package/dist/execution/index.js +1 -2
  23. package/dist/features/auth/index.d.ts +3 -0
  24. package/dist/features/auth/index.js +23 -2
  25. package/dist/features/clients/index.js +20 -26
  26. package/dist/features/crm/index.d.ts +3 -0
  27. package/dist/features/crm/index.js +20 -30
  28. package/dist/features/dashboard/index.d.ts +69 -69
  29. package/dist/features/dashboard/index.js +20 -28
  30. package/dist/features/delivery/index.d.ts +3 -0
  31. package/dist/features/delivery/index.js +20 -30
  32. package/dist/features/knowledge/index.js +25 -9
  33. package/dist/features/lead-gen/index.d.ts +295 -57
  34. package/dist/features/lead-gen/index.js +20 -31
  35. package/dist/features/monitoring/index.js +20 -30
  36. package/dist/features/monitoring/requests/index.js +20 -25
  37. package/dist/features/operations/index.d.ts +183 -183
  38. package/dist/features/operations/index.js +18 -37
  39. package/dist/features/seo/index.js +3 -4
  40. package/dist/features/settings/index.d.ts +3 -0
  41. package/dist/features/settings/index.js +20 -27
  42. package/dist/graph/index.js +1 -1
  43. package/dist/hooks/delivery/index.d.ts +3 -0
  44. package/dist/hooks/delivery/index.js +30 -2
  45. package/dist/hooks/index.d.ts +112 -99
  46. package/dist/hooks/index.js +20 -21
  47. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +46 -46
  48. package/dist/hooks/published.d.ts +112 -99
  49. package/dist/hooks/published.js +20 -20
  50. package/dist/index.css +532 -532
  51. package/dist/index.d.ts +9385 -5915
  52. package/dist/index.js +22 -26
  53. package/dist/initialization/index.d.ts +3 -0
  54. package/dist/knowledge/index.d.ts +42 -42
  55. package/dist/knowledge/index.js +10 -17
  56. package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
  57. package/dist/layout/index.js +4 -10
  58. package/dist/organization/index.js +27 -1
  59. package/dist/profile/index.d.ts +3 -0
  60. package/dist/provider/index.d.ts +72 -39
  61. package/dist/provider/index.js +20 -15
  62. package/dist/provider/published.d.ts +40 -34
  63. package/dist/provider/published.js +20 -11
  64. package/dist/sse/index.js +26 -5
  65. package/dist/supabase/index.d.ts +6 -0
  66. package/dist/test-utils/index.js +3 -3
  67. package/dist/theme/index.js +2 -3
  68. package/dist/theme/presets/index.d.ts +28 -3
  69. package/dist/theme/presets/index.js +1 -1
  70. package/dist/typeform/index.js +1 -2049
  71. package/dist/types/index.d.ts +82 -79
  72. package/dist/utils/index.d.ts +47 -47
  73. package/dist/utils/index.js +1 -1
  74. package/dist/zustand/index.d.ts +6 -6
  75. package/dist/zustand/index.js +0 -3
  76. package/package.json +5 -5
  77. package/dist/chunk-3AJVNMY5.js +0 -4769
  78. package/dist/chunk-3MEXPLWT.js +0 -265
  79. package/dist/chunk-3ZMAGTWF.js +0 -18
  80. package/dist/chunk-4O4MII5S.js +0 -4716
  81. package/dist/chunk-5EYJ2GIN.js +0 -122
  82. package/dist/chunk-7M2VOCYN.js +0 -1
  83. package/dist/chunk-BPQVTIUP.js +0 -105
  84. package/dist/chunk-BZZCNLT6.js +0 -12
  85. package/dist/chunk-CLDCYJQT.js +0 -1
  86. package/dist/chunk-E565XMTQ.js +0 -17
  87. package/dist/chunk-HRWLKKWM.js +0 -758
  88. package/dist/chunk-IGDYWFNE.js +0 -5198
  89. package/dist/chunk-IIMU5YAJ.js +0 -53
  90. package/dist/chunk-IVGI4GDL.js +0 -1593
  91. package/dist/chunk-JFL3GRD4.js +0 -39
  92. package/dist/chunk-LAWLB6CT.js +0 -951
  93. package/dist/chunk-LGKLC5MG.js +0 -44
  94. package/dist/chunk-LRWTWOGP.js +0 -1778
  95. package/dist/chunk-MP3GPBPX.js +0 -1874
  96. package/dist/chunk-N55DVMAG.js +0 -14
  97. package/dist/chunk-NLBQTDOW.js +0 -12051
  98. package/dist/chunk-O6JXQ6UQ.js +0 -468
  99. package/dist/chunk-OBBQ2JCM.js +0 -68
  100. package/dist/chunk-PDHTXPSF.js +0 -12
  101. package/dist/chunk-PLP3NYPL.js +0 -356
  102. package/dist/chunk-R2XR4FCV.js +0 -48
  103. package/dist/chunk-R66W5UDG.js +0 -26
  104. package/dist/chunk-RYTEQBAO.js +0 -37
  105. package/dist/chunk-SDXSB3HN.js +0 -425
  106. package/dist/chunk-TKAYX2SP.js +0 -204
  107. package/dist/chunk-TUMSNGTX.js +0 -35
  108. package/dist/chunk-VNAZTCHA.js +0 -65
  109. package/dist/chunk-VNFR57DF.js +0 -87
  110. package/dist/chunk-VTXTZXAU.js +0 -539
  111. package/dist/chunk-W73ZABT6.js +0 -85
  112. package/dist/chunk-WU4FNWCW.js +0 -2281
  113. package/dist/chunk-XZGSCABI.js +0 -383
  114. package/dist/chunk-YNWZIWJL.js +0 -1863
  115. /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
  116. /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
@@ -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
  {
@@ -4299,6 +4302,74 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
4299
4302
  }, z.core.$strip>>;
4300
4303
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
4301
4304
 
4305
+ type JsonPrimitive = string | number | boolean | null;
4306
+ type JsonValue = JsonPrimitive | JsonValue[] | {
4307
+ [key: string]: JsonValue;
4308
+ };
4309
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
4310
+ interface SystemEntry {
4311
+ id: string;
4312
+ label?: string;
4313
+ title?: string;
4314
+ description?: string;
4315
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
4316
+ parentSystemId?: string;
4317
+ ui?: {
4318
+ path: string;
4319
+ surfaces: string[];
4320
+ icon?: string;
4321
+ order?: number;
4322
+ };
4323
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
4324
+ responsibleRoleId?: string;
4325
+ governedByKnowledge?: string[];
4326
+ actions?: {
4327
+ actionId: string;
4328
+ intent: 'exposes' | 'consumes';
4329
+ invocation?: unknown;
4330
+ }[];
4331
+ policies?: string[];
4332
+ drivesGoals?: string[];
4333
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
4334
+ status?: 'active' | 'deprecated' | 'archived';
4335
+ path?: string;
4336
+ icon?: string;
4337
+ color?: string;
4338
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
4339
+ enabled?: boolean;
4340
+ devOnly?: boolean;
4341
+ requiresAdmin?: boolean;
4342
+ order: number;
4343
+ config?: Record<string, JsonValue>;
4344
+ ontology?: OntologyScope;
4345
+ systems?: Record<string, SystemEntry>;
4346
+ subsystems?: Record<string, SystemEntry>;
4347
+ }
4348
+
4349
+ declare const LinkSchema: z.ZodObject<{
4350
+ nodeId: z.ZodString;
4351
+ kind: z.ZodEnum<{
4352
+ affects: "affects";
4353
+ actions: "actions";
4354
+ effects: "effects";
4355
+ links: "links";
4356
+ reads: "reads";
4357
+ writes: "writes";
4358
+ emits: "emits";
4359
+ triggers: "triggers";
4360
+ uses: "uses";
4361
+ approval: "approval";
4362
+ contains: "contains";
4363
+ references: "references";
4364
+ maps_to: "maps_to";
4365
+ governs: "governs";
4366
+ originates_from: "originates_from";
4367
+ applies_to: "applies_to";
4368
+ uses_catalog: "uses_catalog";
4369
+ }>;
4370
+ }, z.core.$strip>;
4371
+ type Link = z.infer<typeof LinkSchema>;
4372
+
4302
4373
  type MessageType = MessageEvent['type'];
4303
4374
  /**
4304
4375
  * Session Data Transfer Object (DTO)
@@ -4889,50 +4960,6 @@ type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefini
4889
4960
  */
4890
4961
  type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
4891
4962
 
4892
- type JsonPrimitive = string | number | boolean | null;
4893
- type JsonValue = JsonPrimitive | JsonValue[] | {
4894
- [key: string]: JsonValue;
4895
- };
4896
- /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
4897
- interface SystemEntry {
4898
- id: string;
4899
- label?: string;
4900
- title?: string;
4901
- description?: string;
4902
- kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
4903
- parentSystemId?: string;
4904
- ui?: {
4905
- path: string;
4906
- surfaces: string[];
4907
- icon?: string;
4908
- order?: number;
4909
- };
4910
- lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
4911
- responsibleRoleId?: string;
4912
- governedByKnowledge?: string[];
4913
- actions?: {
4914
- actionId: string;
4915
- intent: 'exposes' | 'consumes';
4916
- invocation?: unknown;
4917
- }[];
4918
- policies?: string[];
4919
- drivesGoals?: string[];
4920
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
4921
- status?: 'active' | 'deprecated' | 'archived';
4922
- path?: string;
4923
- icon?: string;
4924
- color?: string;
4925
- uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
4926
- enabled?: boolean;
4927
- devOnly?: boolean;
4928
- requiresAdmin?: boolean;
4929
- order: number;
4930
- config?: Record<string, JsonValue>;
4931
- ontology?: OntologyScope;
4932
- systems?: Record<string, SystemEntry>;
4933
- subsystems?: Record<string, SystemEntry>;
4934
- }
4935
-
4936
4963
  /**
4937
4964
  * Resource Registry type definitions
4938
4965
  */
@@ -5270,30 +5297,6 @@ interface CommandViewData {
5270
5297
  edges: CommandViewEdge[];
5271
5298
  }
5272
5299
 
5273
- declare const LinkSchema: z.ZodObject<{
5274
- nodeId: z.ZodString;
5275
- kind: z.ZodEnum<{
5276
- links: "links";
5277
- affects: "affects";
5278
- effects: "effects";
5279
- actions: "actions";
5280
- reads: "reads";
5281
- writes: "writes";
5282
- emits: "emits";
5283
- triggers: "triggers";
5284
- uses: "uses";
5285
- approval: "approval";
5286
- contains: "contains";
5287
- references: "references";
5288
- maps_to: "maps_to";
5289
- governs: "governs";
5290
- originates_from: "originates_from";
5291
- applies_to: "applies_to";
5292
- uses_catalog: "uses_catalog";
5293
- }>;
5294
- }, z.core.$strip>;
5295
- type Link = z.infer<typeof LinkSchema>;
5296
-
5297
5300
  declare const ResourceCategorySchema: z.ZodEnum<{
5298
5301
  diagnostic: "diagnostic";
5299
5302
  production: "production";
@@ -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>;
@@ -180,28 +180,6 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
180
180
  }, z.core.$strip>>;
181
181
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
182
182
 
183
- /**
184
- * Time range selector for dashboard metrics
185
- */
186
- type TimeRange = '1h' | '24h' | '7d' | '30d';
187
- /**
188
- * ISO 8601 date range for API queries
189
- */
190
- interface TimeRangeDates {
191
- startDate: string;
192
- endDate: string;
193
- }
194
-
195
- /**
196
- * Base Execution Engine type definitions
197
- * Core types shared across all Execution Engine resources
198
- */
199
-
200
- declare const ResourceStatusColors: {
201
- readonly dev: "var(--color-primary)";
202
- readonly prod: "var(--color-success)";
203
- };
204
-
205
183
  type JsonPrimitive = string | number | boolean | null;
206
184
  type JsonValue = JsonPrimitive | JsonValue[] | {
207
185
  [key: string]: JsonValue;
@@ -246,6 +224,52 @@ interface SystemEntry {
246
224
  subsystems?: Record<string, SystemEntry>;
247
225
  }
248
226
 
227
+ declare const LinkSchema: z.ZodObject<{
228
+ nodeId: z.ZodString;
229
+ kind: z.ZodEnum<{
230
+ affects: "affects";
231
+ actions: "actions";
232
+ effects: "effects";
233
+ links: "links";
234
+ reads: "reads";
235
+ writes: "writes";
236
+ emits: "emits";
237
+ triggers: "triggers";
238
+ uses: "uses";
239
+ approval: "approval";
240
+ contains: "contains";
241
+ references: "references";
242
+ maps_to: "maps_to";
243
+ governs: "governs";
244
+ originates_from: "originates_from";
245
+ applies_to: "applies_to";
246
+ uses_catalog: "uses_catalog";
247
+ }>;
248
+ }, z.core.$strip>;
249
+ type Link = z.infer<typeof LinkSchema>;
250
+
251
+ /**
252
+ * Time range selector for dashboard metrics
253
+ */
254
+ type TimeRange = '1h' | '24h' | '7d' | '30d';
255
+ /**
256
+ * ISO 8601 date range for API queries
257
+ */
258
+ interface TimeRangeDates {
259
+ startDate: string;
260
+ endDate: string;
261
+ }
262
+
263
+ /**
264
+ * Base Execution Engine type definitions
265
+ * Core types shared across all Execution Engine resources
266
+ */
267
+
268
+ declare const ResourceStatusColors: {
269
+ readonly dev: "var(--color-primary)";
270
+ readonly prod: "var(--color-success)";
271
+ };
272
+
249
273
  /**
250
274
  * Resource Registry type definitions
251
275
  */
@@ -295,30 +319,6 @@ interface ResourceDefinition {
295
319
  archived?: boolean;
296
320
  }
297
321
 
298
- declare const LinkSchema: z.ZodObject<{
299
- nodeId: z.ZodString;
300
- kind: z.ZodEnum<{
301
- links: "links";
302
- affects: "affects";
303
- effects: "effects";
304
- actions: "actions";
305
- reads: "reads";
306
- writes: "writes";
307
- emits: "emits";
308
- triggers: "triggers";
309
- uses: "uses";
310
- approval: "approval";
311
- contains: "contains";
312
- references: "references";
313
- maps_to: "maps_to";
314
- governs: "governs";
315
- originates_from: "originates_from";
316
- applies_to: "applies_to";
317
- uses_catalog: "uses_catalog";
318
- }>;
319
- }, z.core.$strip>;
320
- type Link = z.infer<typeof LinkSchema>;
321
-
322
322
  declare const ResourceCategorySchema: z.ZodEnum<{
323
323
  diagnostic: "diagnostic";
324
324
  production: "production";
@@ -1,3 +1,3 @@
1
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, 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, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, 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-2RJMVWFJ.js';
1
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, 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, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, 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-GEFWMU26.js';
2
2
  export { ResourceStatusColors } from '../chunk-KRWALB24.js';
3
3
  import '../chunk-I2KLQ2HA.js';
@@ -15,12 +15,12 @@ interface SSESliceState {
15
15
  setCommandQueueConnected: (connected: boolean) => void;
16
16
  setCommandQueueError: (error: string | null) => void;
17
17
  }
18
- type ImmerSet$2 = (updater: (state: Draft<any>) => void, ...rest: unknown[]) => void;
18
+ type ImmerSet$2<TState> = (updater: (state: Draft<TState>) => void, shouldReplace?: false, action?: never) => void;
19
19
  /** Resets the SSE slice fields in an Immer draft. Call inside your app's resetStore action. */
20
20
  declare function resetSSEState(state: Draft<{
21
21
  sse: SSESliceState['sse'];
22
22
  }>): void;
23
- declare function createSSESlice(set: ImmerSet$2): SSESliceState;
23
+ declare function createSSESlice<TState extends SSESliceState>(set: ImmerSet$2<TState>): SSESliceState;
24
24
 
25
25
  /**
26
26
  * Open string type — preset validation stays in the app layer.
@@ -44,12 +44,12 @@ interface ThemeSliceOptions {
44
44
  /** Default color scheme when no localStorage entry exists. Defaults to 'dark'. */
45
45
  defaultColorScheme?: ThemeColorScheme;
46
46
  }
47
- type ImmerSet$1 = (updater: (state: Draft<any>) => void, ...rest: unknown[]) => void;
47
+ type ImmerSet$1<TState> = (updater: (state: Draft<TState>) => void, shouldReplace?: false, action?: never) => void;
48
48
  /** Resets the theme slice fields in an Immer draft. Call inside your app's resetStore action. */
49
49
  declare function resetThemeState(state: Draft<{
50
50
  theme: ThemeSliceState['theme'];
51
51
  }>, options?: ThemeSliceOptions): void;
52
- declare function createThemeSlice(set: ImmerSet$1, options?: ThemeSliceOptions): ThemeSliceState;
52
+ declare function createThemeSlice<TState extends ThemeSliceState>(set: ImmerSet$1<TState>, options?: ThemeSliceOptions): ThemeSliceState;
53
53
 
54
54
  /**
55
55
  * Time range selector for dashboard metrics
@@ -62,12 +62,12 @@ interface TimeRangeSliceState {
62
62
  };
63
63
  setTimeRange: (value: TimeRange) => void;
64
64
  }
65
- type ImmerSet = (updater: (state: Draft<any>) => void, ...rest: unknown[]) => void;
65
+ type ImmerSet<TState> = (updater: (state: Draft<TState>) => void, shouldReplace?: false, action?: never) => void;
66
66
  /** Resets the timeRange slice fields in an Immer draft. Call inside your app's resetStore action. */
67
67
  declare function resetTimeRangeState(state: Draft<{
68
68
  timeRange: TimeRangeSliceState['timeRange'];
69
69
  }>): void;
70
- declare function createTimeRangeSlice(set: ImmerSet): TimeRangeSliceState;
70
+ declare function createTimeRangeSlice<TState extends TimeRangeSliceState>(set: ImmerSet<TState>): TimeRangeSliceState;
71
71
 
72
72
  interface ElevasisAppState extends SSESliceState, ThemeSliceState, TimeRangeSliceState {
73
73
  resetStore: () => void;
@@ -104,11 +104,8 @@ function createElevasisAppStore(options = {}) {
104
104
  return create()(
105
105
  devtools(
106
106
  immer((set) => ({
107
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
108
107
  ...createSSESlice(set),
109
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
110
108
  ...createThemeSlice(set, { defaultPreset, defaultColorScheme }),
111
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
112
109
  ...createTimeRangeSlice(set),
113
110
  resetStore: () => set(
114
111
  (state) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.34.0",
3
+ "version": "2.36.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",
@@ -253,11 +253,11 @@
253
253
  "typescript": "5.9.2",
254
254
  "vite": "^7.0.0",
255
255
  "vitest": "^3.2.4",
256
- "@elevasis/sdk": "1.23.0",
257
- "@repo/elevasis-core": "1.0.0",
256
+ "@elevasis/sdk": "1.25.0",
257
+ "@repo/typescript-config": "0.0.0",
258
258
  "@repo/eslint-config": "0.0.0",
259
- "@repo/core": "0.26.0",
260
- "@repo/typescript-config": "0.0.0"
259
+ "@repo/elevasis-core": "1.0.0",
260
+ "@repo/core": "0.29.0"
261
261
  },
262
262
  "dependencies": {
263
263
  "@dagrejs/dagre": "^1.1.4",