@elevasis/sdk 1.3.0 → 1.4.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/cli.cjs +1 -1
- package/package.json +2 -2
- package/reference/_navigation.md +79 -5
- package/reference/_reference-manifest.json +72 -0
- package/reference/packages/core/src/README.md +34 -0
- package/reference/packages/core/src/organization-model/README.md +79 -0
- package/reference/packages/ui/src/api/README.md +18 -0
- package/reference/packages/ui/src/auth/README.md +18 -0
- package/reference/packages/ui/src/components/README.md +24 -0
- package/reference/packages/ui/src/execution/README.md +16 -0
- package/reference/packages/ui/src/features/README.md +28 -0
- package/reference/packages/ui/src/graph/README.md +16 -0
- package/reference/packages/ui/src/hooks/README.md +24 -0
- package/reference/packages/ui/src/initialization/README.md +19 -0
- package/reference/packages/ui/src/organization/README.md +18 -0
- package/reference/packages/ui/src/profile/README.md +19 -0
- package/reference/packages/ui/src/provider/README.md +31 -0
- package/reference/packages/ui/src/router/README.md +18 -0
- package/reference/packages/ui/src/sse/README.md +13 -0
- package/reference/packages/ui/src/theme/README.md +23 -0
- package/reference/packages/ui/src/types/README.md +16 -0
- package/reference/packages/ui/src/utils/README.md +18 -0
- package/reference/packages/ui/src/zustand/README.md +18 -0
package/dist/cli.cjs
CHANGED
|
@@ -43917,7 +43917,7 @@ function wrapAction(commandName, fn) {
|
|
|
43917
43917
|
// package.json
|
|
43918
43918
|
var package_default = {
|
|
43919
43919
|
name: "@elevasis/sdk",
|
|
43920
|
-
version: "1.
|
|
43920
|
+
version: "1.4.0",
|
|
43921
43921
|
description: "SDK for building Elevasis organization resources",
|
|
43922
43922
|
type: "module",
|
|
43923
43923
|
bin: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "SDK for building Elevasis organization resources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tsup": "^8.0.0",
|
|
45
45
|
"typescript": "5.9.2",
|
|
46
46
|
"zod": "^4.1.0",
|
|
47
|
-
"@repo/core": "0.
|
|
47
|
+
"@repo/core": "0.1.0",
|
|
48
48
|
"@repo/typescript-config": "0.0.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
package/reference/_navigation.md
CHANGED
|
@@ -2,16 +2,90 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated from the package reference manifests.
|
|
4
4
|
|
|
5
|
-
Package entries indexed:
|
|
5
|
+
Package entries indexed: 36.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## @elevasis/core / Core
|
|
8
8
|
|
|
9
9
|
| Resource | Location | Description | When to Load |
|
|
10
10
|
| --- | --- | --- | --- |
|
|
11
|
-
|
|
|
11
|
+
| Core | `packages/core/src/README.md` | Published core wrapper for the curated contract surface. | (not specified) |
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## @elevasis/core / Organization Model
|
|
14
14
|
|
|
15
15
|
| Resource | Location | Description | When to Load |
|
|
16
16
|
| --- | --- | --- | --- |
|
|
17
|
-
|
|
|
17
|
+
| Organization Model | `packages/core/src/organization-model/README.md` | Published organization-model schema, defaults, resolver, and types. | (not specified) |
|
|
18
|
+
|
|
19
|
+
## @elevasis/sdk / Getting Started
|
|
20
|
+
|
|
21
|
+
| Resource | Location | Description | When to Load |
|
|
22
|
+
| --- | --- | --- | --- |
|
|
23
|
+
| SDK | `index.mdx` | Root SDK types, config, runtime errors, and registry surface. | (not specified) |
|
|
24
|
+
|
|
25
|
+
## @elevasis/sdk / Runtime
|
|
26
|
+
|
|
27
|
+
| Resource | Location | Description | When to Load |
|
|
28
|
+
| --- | --- | --- | --- |
|
|
29
|
+
| Worker Runtime | `runtime.mdx` | Worker runtime entrypoint, adapters, and platform execution surface. | (not specified) |
|
|
30
|
+
|
|
31
|
+
## @elevasis/ui / Components
|
|
32
|
+
|
|
33
|
+
| Resource | Location | Description | When to Load |
|
|
34
|
+
| --- | --- | --- | --- |
|
|
35
|
+
| Components | `packages/ui/src/components/README.md` | Published UI component barrel for downstream applications. | (not specified) |
|
|
36
|
+
| Navigation Components | `packages/ui/src/components/README.md` | Published navigation component entry for downstream applications. | (not specified) |
|
|
37
|
+
| Chat Components | `packages/ui/src/components/README.md` | Published chat component entry for downstream applications. | (not specified) |
|
|
38
|
+
| Layout | `packages/ui/src/components/README.md` | Published layout component entry for downstream applications. | (not specified) |
|
|
39
|
+
| Charts | `packages/ui/src/components/README.md` | Published chart component entry for downstream applications. | (not specified) |
|
|
40
|
+
|
|
41
|
+
## @elevasis/ui / Features
|
|
42
|
+
|
|
43
|
+
| Resource | Location | Description | When to Load |
|
|
44
|
+
| --- | --- | --- | --- |
|
|
45
|
+
| Features Auth | `packages/ui/src/features/README.md` | Published auth feature surface for downstream shells. | (not specified) |
|
|
46
|
+
| Features CRM | `packages/ui/src/features/README.md` | Published CRM feature surface for downstream shells. | (not specified) |
|
|
47
|
+
| Features Dashboard | `packages/ui/src/features/README.md` | Published dashboard feature surface for downstream shells. | (not specified) |
|
|
48
|
+
| Features Delivery | `packages/ui/src/features/README.md` | Published delivery feature surface for downstream shells. | (not specified) |
|
|
49
|
+
| Features Lead Gen | `packages/ui/src/features/README.md` | Published lead generation feature surface for downstream shells. | (not specified) |
|
|
50
|
+
| Features Operations | `packages/ui/src/features/README.md` | Published operations feature surface for downstream shells. | (not specified) |
|
|
51
|
+
| Features Monitoring | `packages/ui/src/features/README.md` | Published monitoring feature surface for downstream shells. | (not specified) |
|
|
52
|
+
| Features SEO | `packages/ui/src/features/README.md` | Published SEO feature surface for downstream shells. | (not specified) |
|
|
53
|
+
| Features Settings | `packages/ui/src/features/README.md` | Published settings feature surface for downstream shells. | (not specified) |
|
|
54
|
+
|
|
55
|
+
## @elevasis/ui / Foundation
|
|
56
|
+
|
|
57
|
+
| Resource | Location | Description | When to Load |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| Auth | `packages/ui/src/auth/README.md` | Published authentication surface for UI integrations. | (not specified) |
|
|
60
|
+
| Auth Context | `packages/ui/src/auth/README.md` | Published auth context entry for UI integrations. | (not specified) |
|
|
61
|
+
| SSE | `packages/ui/src/sse/README.md` | Published server-sent events helpers and connection utilities. | (not specified) |
|
|
62
|
+
| Initialization | `packages/ui/src/initialization/README.md` | Published app initialization provider and bootstrap helpers. | (not specified) |
|
|
63
|
+
| Profile | `packages/ui/src/profile/README.md` | Published user profile surface for UI applications. | (not specified) |
|
|
64
|
+
| Organization | `packages/ui/src/organization/README.md` | Published organization shell, store, and helper surface. | (not specified) |
|
|
65
|
+
| Types | `packages/ui/src/types/README.md` | Published UI types entry for downstream applications. | (not specified) |
|
|
66
|
+
| API | `packages/ui/src/api/README.md` | Published API client entry for downstream applications. | (not specified) |
|
|
67
|
+
| Utils | `packages/ui/src/utils/README.md` | Published utility entry for downstream applications. | (not specified) |
|
|
68
|
+
| Execution | `packages/ui/src/execution/README.md` | Published execution visualization and helper entry. | (not specified) |
|
|
69
|
+
| Router | `packages/ui/src/router/README.md` | Published router entry for downstream applications. | (not specified) |
|
|
70
|
+
| Router Context | `packages/ui/src/router/README.md` | Published router context entry for downstream applications. | (not specified) |
|
|
71
|
+
| Zustand | `packages/ui/src/zustand/README.md` | Published Zustand slice entry for downstream applications. | (not specified) |
|
|
72
|
+
|
|
73
|
+
## @elevasis/ui / Hooks
|
|
74
|
+
|
|
75
|
+
| Resource | Location | Description | When to Load |
|
|
76
|
+
| --- | --- | --- | --- |
|
|
77
|
+
| Hooks | `packages/ui/src/hooks/README.md` | Headless hooks surface for executions, sessions, observability, and operations. | (not specified) |
|
|
78
|
+
|
|
79
|
+
## @elevasis/ui / Provider
|
|
80
|
+
|
|
81
|
+
| Resource | Location | Description | When to Load |
|
|
82
|
+
| --- | --- | --- | --- |
|
|
83
|
+
| Provider | `packages/ui/src/provider/README.md` | Published provider and feature-shell contract for downstream apps. | (not specified) |
|
|
84
|
+
| Provider UI | `packages/ui/src/provider/README.md` | Published provider UI entry for downstream applications. | (not specified) |
|
|
85
|
+
|
|
86
|
+
## @elevasis/ui / Visual
|
|
87
|
+
|
|
88
|
+
| Resource | Location | Description | When to Load |
|
|
89
|
+
| --- | --- | --- | --- |
|
|
90
|
+
| Theme | `packages/ui/src/theme/README.md` | Published theme entry for downstream applications. | (not specified) |
|
|
91
|
+
| Graph | `packages/ui/src/graph/README.md` | Published graph helper and visualization entry. | (not specified) |
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"group": "Core",
|
|
12
12
|
"order": 1,
|
|
13
13
|
"sourcePath": "packages/core/src/published.ts",
|
|
14
|
+
"docPath": "packages/core/src/README.md",
|
|
15
|
+
"referencePath": "packages/core/src/README.md",
|
|
14
16
|
"publishedExportPath": "./dist/index.js"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
@@ -23,6 +25,8 @@
|
|
|
23
25
|
"group": "Organization Model",
|
|
24
26
|
"order": 1,
|
|
25
27
|
"sourcePath": "packages/core/src/organization-model/published.ts",
|
|
28
|
+
"docPath": "packages/core/src/organization-model/README.md",
|
|
29
|
+
"referencePath": "packages/core/src/organization-model/README.md",
|
|
26
30
|
"publishedExportPath": "./dist/organization-model/index.js"
|
|
27
31
|
},
|
|
28
32
|
{
|
|
@@ -35,6 +39,8 @@
|
|
|
35
39
|
"group": "Getting Started",
|
|
36
40
|
"order": 1,
|
|
37
41
|
"sourcePath": "packages/sdk/src/index.ts",
|
|
42
|
+
"docPath": "apps/docs/content/docs/sdk/index.mdx",
|
|
43
|
+
"referencePath": "index.mdx",
|
|
38
44
|
"publishedExportPath": "./dist/index.js"
|
|
39
45
|
},
|
|
40
46
|
{
|
|
@@ -47,6 +53,8 @@
|
|
|
47
53
|
"group": "Runtime",
|
|
48
54
|
"order": 1,
|
|
49
55
|
"sourcePath": "packages/sdk/src/worker/index.ts",
|
|
56
|
+
"docPath": "apps/docs/content/docs/sdk/runtime.mdx",
|
|
57
|
+
"referencePath": "runtime.mdx",
|
|
50
58
|
"publishedExportPath": "./dist/worker/index.js"
|
|
51
59
|
},
|
|
52
60
|
{
|
|
@@ -59,6 +67,8 @@
|
|
|
59
67
|
"group": "Components",
|
|
60
68
|
"order": 1,
|
|
61
69
|
"sourcePath": "packages/ui/src/components/index.ts",
|
|
70
|
+
"docPath": "packages/ui/src/components/README.md",
|
|
71
|
+
"referencePath": "packages/ui/src/components/README.md",
|
|
62
72
|
"publishedExportPath": "./dist/components/index.js"
|
|
63
73
|
},
|
|
64
74
|
{
|
|
@@ -71,6 +81,8 @@
|
|
|
71
81
|
"group": "Components",
|
|
72
82
|
"order": 2,
|
|
73
83
|
"sourcePath": "packages/ui/src/components/navigation/index.ts",
|
|
84
|
+
"docPath": "packages/ui/src/components/README.md",
|
|
85
|
+
"referencePath": "packages/ui/src/components/README.md",
|
|
74
86
|
"publishedExportPath": "./dist/components/navigation/index.js"
|
|
75
87
|
},
|
|
76
88
|
{
|
|
@@ -83,6 +95,8 @@
|
|
|
83
95
|
"group": "Components",
|
|
84
96
|
"order": 3,
|
|
85
97
|
"sourcePath": "packages/ui/src/components/chat/index.ts",
|
|
98
|
+
"docPath": "packages/ui/src/components/README.md",
|
|
99
|
+
"referencePath": "packages/ui/src/components/README.md",
|
|
86
100
|
"publishedExportPath": "./dist/components/chat/index.js"
|
|
87
101
|
},
|
|
88
102
|
{
|
|
@@ -95,6 +109,8 @@
|
|
|
95
109
|
"group": "Components",
|
|
96
110
|
"order": 4,
|
|
97
111
|
"sourcePath": "packages/ui/src/components/layout/index.ts",
|
|
112
|
+
"docPath": "packages/ui/src/components/README.md",
|
|
113
|
+
"referencePath": "packages/ui/src/components/README.md",
|
|
98
114
|
"publishedExportPath": "./dist/layout/index.js"
|
|
99
115
|
},
|
|
100
116
|
{
|
|
@@ -107,6 +123,8 @@
|
|
|
107
123
|
"group": "Components",
|
|
108
124
|
"order": 5,
|
|
109
125
|
"sourcePath": "packages/ui/src/components/charts/index.ts",
|
|
126
|
+
"docPath": "packages/ui/src/components/README.md",
|
|
127
|
+
"referencePath": "packages/ui/src/components/README.md",
|
|
110
128
|
"publishedExportPath": "./dist/charts/index.js"
|
|
111
129
|
},
|
|
112
130
|
{
|
|
@@ -119,6 +137,8 @@
|
|
|
119
137
|
"group": "Features",
|
|
120
138
|
"order": 1,
|
|
121
139
|
"sourcePath": "packages/ui/src/features/auth/index.ts",
|
|
140
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
141
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
122
142
|
"publishedExportPath": "./dist/features/auth/index.js"
|
|
123
143
|
},
|
|
124
144
|
{
|
|
@@ -131,6 +151,8 @@
|
|
|
131
151
|
"group": "Features",
|
|
132
152
|
"order": 2,
|
|
133
153
|
"sourcePath": "packages/ui/src/features/crm/index.ts",
|
|
154
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
155
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
134
156
|
"publishedExportPath": "./dist/features/crm/index.js"
|
|
135
157
|
},
|
|
136
158
|
{
|
|
@@ -143,6 +165,8 @@
|
|
|
143
165
|
"group": "Features",
|
|
144
166
|
"order": 3,
|
|
145
167
|
"sourcePath": "packages/ui/src/features/dashboard/index.ts",
|
|
168
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
169
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
146
170
|
"publishedExportPath": "./dist/features/dashboard/index.js"
|
|
147
171
|
},
|
|
148
172
|
{
|
|
@@ -155,6 +179,8 @@
|
|
|
155
179
|
"group": "Features",
|
|
156
180
|
"order": 4,
|
|
157
181
|
"sourcePath": "packages/ui/src/features/delivery/index.ts",
|
|
182
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
183
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
158
184
|
"publishedExportPath": "./dist/features/delivery/index.js"
|
|
159
185
|
},
|
|
160
186
|
{
|
|
@@ -167,6 +193,8 @@
|
|
|
167
193
|
"group": "Features",
|
|
168
194
|
"order": 5,
|
|
169
195
|
"sourcePath": "packages/ui/src/features/lead-gen/index.ts",
|
|
196
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
197
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
170
198
|
"publishedExportPath": "./dist/features/lead-gen/index.js"
|
|
171
199
|
},
|
|
172
200
|
{
|
|
@@ -179,6 +207,8 @@
|
|
|
179
207
|
"group": "Features",
|
|
180
208
|
"order": 6,
|
|
181
209
|
"sourcePath": "packages/ui/src/features/operations/index.ts",
|
|
210
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
211
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
182
212
|
"publishedExportPath": "./dist/features/operations/index.js"
|
|
183
213
|
},
|
|
184
214
|
{
|
|
@@ -191,6 +221,8 @@
|
|
|
191
221
|
"group": "Features",
|
|
192
222
|
"order": 7,
|
|
193
223
|
"sourcePath": "packages/ui/src/features/monitoring/index.ts",
|
|
224
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
225
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
194
226
|
"publishedExportPath": "./dist/features/monitoring/index.js"
|
|
195
227
|
},
|
|
196
228
|
{
|
|
@@ -203,6 +235,8 @@
|
|
|
203
235
|
"group": "Features",
|
|
204
236
|
"order": 8,
|
|
205
237
|
"sourcePath": "packages/ui/src/features/seo/index.ts",
|
|
238
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
239
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
206
240
|
"publishedExportPath": "./dist/features/seo/index.js"
|
|
207
241
|
},
|
|
208
242
|
{
|
|
@@ -215,6 +249,8 @@
|
|
|
215
249
|
"group": "Features",
|
|
216
250
|
"order": 9,
|
|
217
251
|
"sourcePath": "packages/ui/src/features/settings/index.ts",
|
|
252
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
253
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
218
254
|
"publishedExportPath": "./dist/features/settings/index.js"
|
|
219
255
|
},
|
|
220
256
|
{
|
|
@@ -227,6 +263,8 @@
|
|
|
227
263
|
"group": "Foundation",
|
|
228
264
|
"order": 1,
|
|
229
265
|
"sourcePath": "packages/ui/src/auth/index.ts",
|
|
266
|
+
"docPath": "packages/ui/src/auth/README.md",
|
|
267
|
+
"referencePath": "packages/ui/src/auth/README.md",
|
|
230
268
|
"publishedExportPath": "./dist/auth/index.js"
|
|
231
269
|
},
|
|
232
270
|
{
|
|
@@ -239,6 +277,8 @@
|
|
|
239
277
|
"group": "Foundation",
|
|
240
278
|
"order": 2,
|
|
241
279
|
"sourcePath": "packages/ui/src/auth/context.ts",
|
|
280
|
+
"docPath": "packages/ui/src/auth/README.md",
|
|
281
|
+
"referencePath": "packages/ui/src/auth/README.md",
|
|
242
282
|
"publishedExportPath": "./dist/auth/context.js"
|
|
243
283
|
},
|
|
244
284
|
{
|
|
@@ -251,6 +291,8 @@
|
|
|
251
291
|
"group": "Foundation",
|
|
252
292
|
"order": 3,
|
|
253
293
|
"sourcePath": "packages/ui/src/sse/index.ts",
|
|
294
|
+
"docPath": "packages/ui/src/sse/README.md",
|
|
295
|
+
"referencePath": "packages/ui/src/sse/README.md",
|
|
254
296
|
"publishedExportPath": "./dist/sse/index.js"
|
|
255
297
|
},
|
|
256
298
|
{
|
|
@@ -263,6 +305,8 @@
|
|
|
263
305
|
"group": "Foundation",
|
|
264
306
|
"order": 4,
|
|
265
307
|
"sourcePath": "packages/ui/src/initialization/index.ts",
|
|
308
|
+
"docPath": "packages/ui/src/initialization/README.md",
|
|
309
|
+
"referencePath": "packages/ui/src/initialization/README.md",
|
|
266
310
|
"publishedExportPath": "./dist/initialization/index.js"
|
|
267
311
|
},
|
|
268
312
|
{
|
|
@@ -275,6 +319,8 @@
|
|
|
275
319
|
"group": "Foundation",
|
|
276
320
|
"order": 5,
|
|
277
321
|
"sourcePath": "packages/ui/src/profile/index.ts",
|
|
322
|
+
"docPath": "packages/ui/src/profile/README.md",
|
|
323
|
+
"referencePath": "packages/ui/src/profile/README.md",
|
|
278
324
|
"publishedExportPath": "./dist/profile/index.js"
|
|
279
325
|
},
|
|
280
326
|
{
|
|
@@ -287,6 +333,8 @@
|
|
|
287
333
|
"group": "Foundation",
|
|
288
334
|
"order": 6,
|
|
289
335
|
"sourcePath": "packages/ui/src/organization/index.ts",
|
|
336
|
+
"docPath": "packages/ui/src/organization/README.md",
|
|
337
|
+
"referencePath": "packages/ui/src/organization/README.md",
|
|
290
338
|
"publishedExportPath": "./dist/organization/index.js"
|
|
291
339
|
},
|
|
292
340
|
{
|
|
@@ -299,6 +347,8 @@
|
|
|
299
347
|
"group": "Foundation",
|
|
300
348
|
"order": 7,
|
|
301
349
|
"sourcePath": "packages/ui/src/types/index.ts",
|
|
350
|
+
"docPath": "packages/ui/src/types/README.md",
|
|
351
|
+
"referencePath": "packages/ui/src/types/README.md",
|
|
302
352
|
"publishedExportPath": "./dist/types/index.js"
|
|
303
353
|
},
|
|
304
354
|
{
|
|
@@ -311,6 +361,8 @@
|
|
|
311
361
|
"group": "Foundation",
|
|
312
362
|
"order": 8,
|
|
313
363
|
"sourcePath": "packages/ui/src/api/index.ts",
|
|
364
|
+
"docPath": "packages/ui/src/api/README.md",
|
|
365
|
+
"referencePath": "packages/ui/src/api/README.md",
|
|
314
366
|
"publishedExportPath": "./dist/api/index.js"
|
|
315
367
|
},
|
|
316
368
|
{
|
|
@@ -323,6 +375,8 @@
|
|
|
323
375
|
"group": "Foundation",
|
|
324
376
|
"order": 9,
|
|
325
377
|
"sourcePath": "packages/ui/src/utils/index.ts",
|
|
378
|
+
"docPath": "packages/ui/src/utils/README.md",
|
|
379
|
+
"referencePath": "packages/ui/src/utils/README.md",
|
|
326
380
|
"publishedExportPath": "./dist/utils/index.js"
|
|
327
381
|
},
|
|
328
382
|
{
|
|
@@ -335,6 +389,8 @@
|
|
|
335
389
|
"group": "Foundation",
|
|
336
390
|
"order": 10,
|
|
337
391
|
"sourcePath": "packages/ui/src/execution/index.ts",
|
|
392
|
+
"docPath": "packages/ui/src/execution/README.md",
|
|
393
|
+
"referencePath": "packages/ui/src/execution/README.md",
|
|
338
394
|
"publishedExportPath": "./dist/execution/index.js"
|
|
339
395
|
},
|
|
340
396
|
{
|
|
@@ -347,6 +403,8 @@
|
|
|
347
403
|
"group": "Foundation",
|
|
348
404
|
"order": 11,
|
|
349
405
|
"sourcePath": "packages/ui/src/router/index.ts",
|
|
406
|
+
"docPath": "packages/ui/src/router/README.md",
|
|
407
|
+
"referencePath": "packages/ui/src/router/README.md",
|
|
350
408
|
"publishedExportPath": "./dist/router/index.js"
|
|
351
409
|
},
|
|
352
410
|
{
|
|
@@ -359,6 +417,8 @@
|
|
|
359
417
|
"group": "Foundation",
|
|
360
418
|
"order": 12,
|
|
361
419
|
"sourcePath": "packages/ui/src/router/context.ts",
|
|
420
|
+
"docPath": "packages/ui/src/router/README.md",
|
|
421
|
+
"referencePath": "packages/ui/src/router/README.md",
|
|
362
422
|
"publishedExportPath": "./dist/router/context.js"
|
|
363
423
|
},
|
|
364
424
|
{
|
|
@@ -371,6 +431,8 @@
|
|
|
371
431
|
"group": "Foundation",
|
|
372
432
|
"order": 13,
|
|
373
433
|
"sourcePath": "packages/ui/src/zustand/index.ts",
|
|
434
|
+
"docPath": "packages/ui/src/zustand/README.md",
|
|
435
|
+
"referencePath": "packages/ui/src/zustand/README.md",
|
|
374
436
|
"publishedExportPath": "./dist/zustand/index.js"
|
|
375
437
|
},
|
|
376
438
|
{
|
|
@@ -383,6 +445,8 @@
|
|
|
383
445
|
"group": "Hooks",
|
|
384
446
|
"order": 1,
|
|
385
447
|
"sourcePath": "packages/ui/src/hooks/published.ts",
|
|
448
|
+
"docPath": "packages/ui/src/hooks/README.md",
|
|
449
|
+
"referencePath": "packages/ui/src/hooks/README.md",
|
|
386
450
|
"publishedExportPath": "./dist/hooks/published.js"
|
|
387
451
|
},
|
|
388
452
|
{
|
|
@@ -395,6 +459,8 @@
|
|
|
395
459
|
"group": "Provider",
|
|
396
460
|
"order": 1,
|
|
397
461
|
"sourcePath": "packages/ui/src/provider/published.ts",
|
|
462
|
+
"docPath": "packages/ui/src/provider/README.md",
|
|
463
|
+
"referencePath": "packages/ui/src/provider/README.md",
|
|
398
464
|
"publishedExportPath": "./dist/provider/published.js"
|
|
399
465
|
},
|
|
400
466
|
{
|
|
@@ -407,6 +473,8 @@
|
|
|
407
473
|
"group": "Provider",
|
|
408
474
|
"order": 2,
|
|
409
475
|
"sourcePath": "packages/ui/src/provider/index.ts",
|
|
476
|
+
"docPath": "packages/ui/src/provider/README.md",
|
|
477
|
+
"referencePath": "packages/ui/src/provider/README.md",
|
|
410
478
|
"publishedExportPath": "./dist/provider/index.js"
|
|
411
479
|
},
|
|
412
480
|
{
|
|
@@ -419,6 +487,8 @@
|
|
|
419
487
|
"group": "Visual",
|
|
420
488
|
"order": 1,
|
|
421
489
|
"sourcePath": "packages/ui/src/theme/index.ts",
|
|
490
|
+
"docPath": "packages/ui/src/theme/README.md",
|
|
491
|
+
"referencePath": "packages/ui/src/theme/README.md",
|
|
422
492
|
"publishedExportPath": "./dist/theme/index.js"
|
|
423
493
|
},
|
|
424
494
|
{
|
|
@@ -431,6 +501,8 @@
|
|
|
431
501
|
"group": "Visual",
|
|
432
502
|
"order": 2,
|
|
433
503
|
"sourcePath": "packages/ui/src/graph/index.ts",
|
|
504
|
+
"docPath": "packages/ui/src/graph/README.md",
|
|
505
|
+
"referencePath": "packages/ui/src/graph/README.md",
|
|
434
506
|
"publishedExportPath": "./dist/graph/index.js"
|
|
435
507
|
}
|
|
436
508
|
]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @elevasis/core
|
|
2
|
+
|
|
3
|
+
Published browser-safe shared contracts for the Elevasis platform.
|
|
4
|
+
|
|
5
|
+
This package is the source of truth for shared types, schemas, and contract helpers that are safe to consume from apps and other packages. In this repo the source package is named `@repo/core`, but these docs describe the published `@elevasis/core` surface.
|
|
6
|
+
|
|
7
|
+
## Import Rules
|
|
8
|
+
|
|
9
|
+
- Use `@elevasis/core` for browser-safe shared types and schemas.
|
|
10
|
+
- Use `@elevasis/core/server` only for Node.js-only helpers and services.
|
|
11
|
+
- Use `@elevasis/core/test-utils` for test fixtures and mocks.
|
|
12
|
+
- Prefer the narrowest published subpath that matches the work you are doing.
|
|
13
|
+
|
|
14
|
+
## Published Surface Groups
|
|
15
|
+
|
|
16
|
+
- `platform` - shared constants, utilities, registry, SSE, and API types.
|
|
17
|
+
- `auth` - multi-tenancy types for organizations, users, memberships, invitations, and credentials.
|
|
18
|
+
- `execution` - workflow, agent, scheduler, calibration, and execution-interface contracts.
|
|
19
|
+
- `commands` - command queue types and schemas.
|
|
20
|
+
- `deployments` - deployment response types.
|
|
21
|
+
- `operations` - sessions, notifications, observability, activities, triggers, and debug logs.
|
|
22
|
+
- `business` - acquisition and SEO contracts, plus the PDF surface under its own subpaths.
|
|
23
|
+
- `organization-model` - the semantic contract layer for CRM, lead gen, delivery, features, branding, and navigation.
|
|
24
|
+
- `supabase` - generated database types and helpers.
|
|
25
|
+
- `forms` - shared form schemas and form-facing types.
|
|
26
|
+
- `integrations` - OAuth and credential contracts.
|
|
27
|
+
- `projects` - project management request and response schemas.
|
|
28
|
+
- `content` - published content metadata types.
|
|
29
|
+
|
|
30
|
+
## When To Read Deeper
|
|
31
|
+
|
|
32
|
+
- For the organization model contract, start with [organization-model/README.md](./organization-model/README.md).
|
|
33
|
+
- For test utilities, read [test-utils/README.md](./test-utils/README.md).
|
|
34
|
+
- For credentials, read [auth/multi-tenancy/credentials/README.md](./auth/multi-tenancy/credentials/README.md) if you are working in source. The runtime helpers are server-only.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Organization Model
|
|
2
|
+
|
|
3
|
+
The organization model is the published semantic contract that maps a tenant's product shape to domain surfaces, features, and navigation.
|
|
4
|
+
|
|
5
|
+
Use this module when you need to resolve or validate an organization's contract before wiring UI shells, routing, or domain-specific capability checks.
|
|
6
|
+
|
|
7
|
+
## Published Exports
|
|
8
|
+
|
|
9
|
+
The public entry point exposes:
|
|
10
|
+
|
|
11
|
+
- `OrganizationModelSchema`
|
|
12
|
+
- `DEFAULT_ORGANIZATION_MODEL`
|
|
13
|
+
- `defineOrganizationModel`
|
|
14
|
+
- `resolveOrganizationModel`
|
|
15
|
+
- `OrganizationModel` and the supporting domain types
|
|
16
|
+
|
|
17
|
+
Import it from the published subpath:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import {
|
|
21
|
+
DEFAULT_ORGANIZATION_MODEL,
|
|
22
|
+
defineOrganizationModel,
|
|
23
|
+
resolveOrganizationModel,
|
|
24
|
+
type OrganizationModel
|
|
25
|
+
} from '@elevasis/core/organization-model'
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Contract Shape
|
|
29
|
+
|
|
30
|
+
The model is versioned and currently validates against `version: 1`.
|
|
31
|
+
|
|
32
|
+
Top-level fields:
|
|
33
|
+
|
|
34
|
+
- `domains` - semantic domain entries that bind entity IDs, surface IDs, resource IDs, and capability IDs.
|
|
35
|
+
- `branding` - organization branding defaults and overrides.
|
|
36
|
+
- `features` - feature flags and labels for the shell.
|
|
37
|
+
- `navigation` - navigation model for the product shell.
|
|
38
|
+
- `crm` - CRM-specific contract data.
|
|
39
|
+
- `leadGen` - lead generation contract data.
|
|
40
|
+
- `delivery` - delivery and project contract data.
|
|
41
|
+
- `resourceMappings` - cross-surface resource mappings.
|
|
42
|
+
|
|
43
|
+
## Default Domain Set
|
|
44
|
+
|
|
45
|
+
The default model includes four semantic domains:
|
|
46
|
+
|
|
47
|
+
- `crm` - deal pipeline and relationship management.
|
|
48
|
+
- `lead-gen` - lists, companies, and contacts.
|
|
49
|
+
- `delivery` - projects, milestones, and tasks.
|
|
50
|
+
- `operations` - organization graph and command-view surfaces.
|
|
51
|
+
|
|
52
|
+
## Feature Keys
|
|
53
|
+
|
|
54
|
+
The current feature keys are:
|
|
55
|
+
|
|
56
|
+
- `acquisition`
|
|
57
|
+
- `delivery`
|
|
58
|
+
- `operations`
|
|
59
|
+
- `monitoring`
|
|
60
|
+
- `settings`
|
|
61
|
+
- `seo`
|
|
62
|
+
- `calibration`
|
|
63
|
+
|
|
64
|
+
Each feature can carry an enabled flag and an optional label override.
|
|
65
|
+
|
|
66
|
+
## Resolution Semantics
|
|
67
|
+
|
|
68
|
+
- `defineOrganizationModel()` is a typed helper. It does not validate or merge anything by itself.
|
|
69
|
+
- `resolveOrganizationModel()` deep-merges a partial override into the default model, then validates the result with `OrganizationModelSchema`.
|
|
70
|
+
- Plain objects merge recursively.
|
|
71
|
+
- Arrays replace the default value instead of merging element-by-element.
|
|
72
|
+
- Missing fields fall back to `DEFAULT_ORGANIZATION_MODEL`.
|
|
73
|
+
|
|
74
|
+
## Practical Guidance
|
|
75
|
+
|
|
76
|
+
- Use `resolveOrganizationModel()` when you need a runtime-safe model for rendering or policy checks.
|
|
77
|
+
- Use `defineOrganizationModel()` when authoring a static partial model in source.
|
|
78
|
+
- Keep domain IDs, surface IDs, and capability IDs stable because downstream UI and policy code depend on them.
|
|
79
|
+
|
|
@@ -0,0 +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
|
+
|
|
@@ -0,0 +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
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Components
|
|
2
|
+
|
|
3
|
+
This barrel groups the shared visual and domain UI surfaces that remain part of the published component layer.
|
|
4
|
+
|
|
5
|
+
## What It Covers
|
|
6
|
+
|
|
7
|
+
- Acquisition and CRM UI primitives
|
|
8
|
+
- Navigation, breadcrumbs, tables, forms, modals, and display components
|
|
9
|
+
- Charts, monitoring widgets, notifications, and error states
|
|
10
|
+
- Layout shells, backgrounds, and sidebar primitives
|
|
11
|
+
- Typeform, rich text, content, and resource-definition helpers
|
|
12
|
+
- Operations UI surfaces that are still shared at the component layer
|
|
13
|
+
|
|
14
|
+
## Related Subpaths
|
|
15
|
+
|
|
16
|
+
- `./components/navigation`
|
|
17
|
+
- `./components/chat`
|
|
18
|
+
- `./layout`
|
|
19
|
+
- `./charts`
|
|
20
|
+
|
|
21
|
+
## Notes
|
|
22
|
+
|
|
23
|
+
- The component layer is broad by design, but feature-oriented application shells should still prefer `./features/*` when a dedicated feature surface exists.
|
|
24
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Execution
|
|
2
|
+
|
|
3
|
+
The execution surface contains headless helpers for execution timelines, workflow layouts, and execution-specific data shaping.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Hooks under `./hooks`
|
|
8
|
+
- Utilities under `./utils`
|
|
9
|
+
- Execution types under `./types`
|
|
10
|
+
- Shared execution constants
|
|
11
|
+
|
|
12
|
+
## Use When
|
|
13
|
+
|
|
14
|
+
- You need execution timeline or workflow graph helpers without pulling in visual shells.
|
|
15
|
+
- You need shared execution math or formatting utilities.
|
|
16
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Features
|
|
2
|
+
|
|
3
|
+
Feature subpaths package complete shell-level UI flows for downstream apps.
|
|
4
|
+
|
|
5
|
+
## Published Feature Surfaces
|
|
6
|
+
|
|
7
|
+
- `./features/auth`
|
|
8
|
+
- `./features/crm`
|
|
9
|
+
- `./features/dashboard`
|
|
10
|
+
- `./features/delivery`
|
|
11
|
+
- `./features/lead-gen`
|
|
12
|
+
- `./features/operations`
|
|
13
|
+
- `./features/monitoring`
|
|
14
|
+
- `./features/seo`
|
|
15
|
+
- `./features/settings`
|
|
16
|
+
|
|
17
|
+
## What They Contain
|
|
18
|
+
|
|
19
|
+
- Route shells and page-level components
|
|
20
|
+
- Sidebars and feature-specific navigation
|
|
21
|
+
- Feature manifests for registry consumers
|
|
22
|
+
- Feature-specific hooks and shared constants
|
|
23
|
+
|
|
24
|
+
## Notes
|
|
25
|
+
|
|
26
|
+
- These surfaces are meant for app composition, not for low-level design-system primitives.
|
|
27
|
+
- Some feature exports are also re-exported through `./components` for convenience in legacy or mixed consumers.
|
|
28
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Graph
|
|
2
|
+
|
|
3
|
+
The graph surface is headless. It provides hooks, types, constants, and utilities for ReactFlow-based graph behavior.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Graph constants
|
|
8
|
+
- Graph types
|
|
9
|
+
- Graph hooks
|
|
10
|
+
- Graph utilities
|
|
11
|
+
|
|
12
|
+
## Notes
|
|
13
|
+
|
|
14
|
+
- Visual graph components moved out of this package surface.
|
|
15
|
+
- Use this subpath when you need graph behavior without the visual shell.
|
|
16
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Hooks
|
|
2
|
+
|
|
3
|
+
The hooks barrel is the published headless hook surface for the UI package.
|
|
4
|
+
|
|
5
|
+
## Grouped Areas
|
|
6
|
+
|
|
7
|
+
- Execution and workflow hooks
|
|
8
|
+
- Scheduling hooks
|
|
9
|
+
- Monitoring, observability, and notification hooks
|
|
10
|
+
- Session and SSE hooks
|
|
11
|
+
- Operations hooks, including command-view and knowledge-base helpers
|
|
12
|
+
- Feature access, table state, and service helpers
|
|
13
|
+
- Acquisition and delivery hooks
|
|
14
|
+
|
|
15
|
+
## Published Subpaths
|
|
16
|
+
|
|
17
|
+
- `./hooks`
|
|
18
|
+
- `./hooks/delivery`
|
|
19
|
+
- `./hooks/operations/command-view/utils/transformCommandViewData`
|
|
20
|
+
|
|
21
|
+
## Notes
|
|
22
|
+
|
|
23
|
+
- This barrel is intentionally headless. It should not pull in the visual component layer.
|
|
24
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Initialization
|
|
2
|
+
|
|
3
|
+
The initialization surface coordinates org-aware app startup.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `InitializationProvider`
|
|
8
|
+
- `useInitialization`
|
|
9
|
+
- `InitializationContext`
|
|
10
|
+
- `createUseAppInitialization`
|
|
11
|
+
- `InitializationError`
|
|
12
|
+
- `AppInitializationState`
|
|
13
|
+
- `SupabaseUserProfile` type re-export
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- You need zero-config app bootstrap inside an organization-aware provider tree.
|
|
18
|
+
- You still need the deprecated factory pattern for older consumers.
|
|
19
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Organization
|
|
2
|
+
|
|
3
|
+
The organization surface manages multi-tenancy state and the related UI controls.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `OrganizationProvider`
|
|
8
|
+
- `OrganizationContext`
|
|
9
|
+
- `useOrganization`
|
|
10
|
+
- `OrganizationSwitcher`
|
|
11
|
+
- Store types and the legacy slice creator
|
|
12
|
+
- Deprecated hook factories for older consumers
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Prefer the provider and context exports for new code.
|
|
17
|
+
- Legacy Zustand-based helpers remain exported for migration compatibility.
|
|
18
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Profile
|
|
2
|
+
|
|
3
|
+
The profile surface manages the user profile context and profile-backed helpers.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `ProfileProvider`
|
|
8
|
+
- `useProfile`
|
|
9
|
+
- `ProfileContextValue`
|
|
10
|
+
- `useUserProfile`
|
|
11
|
+
- `UseUserProfileReturn`
|
|
12
|
+
- `UserProfileService`
|
|
13
|
+
- `SupabaseUserProfile` type re-export
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- You need a shared user profile context.
|
|
18
|
+
- You need a standalone profile service or hook for sync and access.
|
|
19
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Provider
|
|
2
|
+
|
|
3
|
+
The provider surface composes the shared Elevasis service, feature, appearance, notification, and UI providers.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `ElevasisCoreProvider`
|
|
8
|
+
- `ElevasisFeaturesProvider`
|
|
9
|
+
- `useElevasisFeatures`
|
|
10
|
+
- `useOptionalElevasisFeatures`
|
|
11
|
+
- `FeatureShell`
|
|
12
|
+
- `AppearanceProvider`
|
|
13
|
+
- `useAppearance`
|
|
14
|
+
- `ElevasisServiceProvider`
|
|
15
|
+
- `useElevasisServices`
|
|
16
|
+
- `NotificationProvider`
|
|
17
|
+
- `useNotificationAdapter`
|
|
18
|
+
- `ElevasisUIProvider`
|
|
19
|
+
- Related provider and service types
|
|
20
|
+
|
|
21
|
+
## Related Published Subpaths
|
|
22
|
+
|
|
23
|
+
- `./provider`
|
|
24
|
+
- `./provider/ui`
|
|
25
|
+
- `./provider/ElevasisServiceContext`
|
|
26
|
+
|
|
27
|
+
## Notes
|
|
28
|
+
|
|
29
|
+
- `published.ts` is the external consumer surface.
|
|
30
|
+
- `ElevasisUIProvider` is the Mantine-facing visual layer; `ElevasisCoreProvider` and `ElevasisFeaturesProvider` handle the platform shell.
|
|
31
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Router
|
|
2
|
+
|
|
3
|
+
The router surface provides the shared TanStack Router bridge and router context helpers.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `RouterProvider`
|
|
8
|
+
- `useRouterContext`
|
|
9
|
+
- `RouterAdapter`
|
|
10
|
+
- `LinkProps`
|
|
11
|
+
- `TanStackRouterBridge`
|
|
12
|
+
- `ScrollToTop`
|
|
13
|
+
|
|
14
|
+
## Use When
|
|
15
|
+
|
|
16
|
+
- You need the shared routing abstraction for Elevasis apps.
|
|
17
|
+
- You need a small adapter layer around TanStack Router in a consuming app.
|
|
18
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# SSE
|
|
2
|
+
|
|
3
|
+
The SSE surface provides connection management and token-refresh helpers for server-sent events.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `SSEConnectionManager`
|
|
8
|
+
- `fetchEventSourceWithTokenRefresh`
|
|
9
|
+
|
|
10
|
+
## Use When
|
|
11
|
+
|
|
12
|
+
- You need a shared SSE client with auth-aware reconnect behavior.
|
|
13
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Theme
|
|
2
|
+
|
|
3
|
+
The theme surface provides the preset system, CSS variable bridge, and Mantine theme integration.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `getPreset`
|
|
8
|
+
- `generateShades`
|
|
9
|
+
- `presets`
|
|
10
|
+
- Theme preset types
|
|
11
|
+
- `createCssVariablesResolver`
|
|
12
|
+
- `TOKEN_VAR_MAP`
|
|
13
|
+
- `mantineThemeOverride`
|
|
14
|
+
- `componentThemes`
|
|
15
|
+
- `PresetsProvider`
|
|
16
|
+
- `usePresetsContext`
|
|
17
|
+
- `useAvailablePresets`
|
|
18
|
+
|
|
19
|
+
## Use When
|
|
20
|
+
|
|
21
|
+
- You need to build or customize the Elevasis visual theme.
|
|
22
|
+
- You need access to the shared preset registry or CSS variable mapping.
|
|
23
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Types
|
|
2
|
+
|
|
3
|
+
The types surface re-exports the shared platform types that UI consumers need without a direct `@repo/core` dependency.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Execution and resource types
|
|
8
|
+
- Command queue and scheduling types
|
|
9
|
+
- Monitoring, observability, and notification types
|
|
10
|
+
- Session, feature-access, and webhook types
|
|
11
|
+
- Multi-tenancy, deployment, and CRM acquisition types
|
|
12
|
+
|
|
13
|
+
## Notes
|
|
14
|
+
|
|
15
|
+
- This is a type-only bridge. It should stay aligned with the current platform contracts.
|
|
16
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Utils
|
|
2
|
+
|
|
3
|
+
The utils surface groups shared date, formatting, validation, error, and resource helper functions.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Date formatting helpers
|
|
8
|
+
- Relative time helpers
|
|
9
|
+
- Email validation
|
|
10
|
+
- Error helpers
|
|
11
|
+
- Resource icon helpers
|
|
12
|
+
- Shared constants
|
|
13
|
+
- Warning suppression helpers
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- You need lightweight shared helpers that do not belong in a feature barrel.
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Zustand
|
|
2
|
+
|
|
3
|
+
The Zustand surface exposes the shared slice creators used by the UI package.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `createSSESlice`
|
|
8
|
+
- `resetSSEState`
|
|
9
|
+
- `createThemeSlice`
|
|
10
|
+
- `resetThemeState`
|
|
11
|
+
- `createTimeRangeSlice`
|
|
12
|
+
- `resetTimeRangeState`
|
|
13
|
+
- Slice state and configuration types
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- You need the shared state slices used by the UI package internals or a compatible consumer.
|
|
18
|
+
|