@elevasis/ui 2.25.6 → 2.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.js +2 -2
- package/dist/app/index.css +15 -5
- package/dist/app/index.d.ts +61 -14
- package/dist/app/index.js +6 -6
- package/dist/charts/index.js +6 -5
- package/dist/chunk-3MEXPLWT.js +265 -0
- package/dist/{chunk-BDKM56TP.js → chunk-4KTLOK7K.js} +1 -1
- package/dist/{chunk-KMAXFJPH.js → chunk-CW3UNAF2.js} +5 -409
- package/dist/{chunk-HKBEURCV.js → chunk-G26INIF3.js} +1 -1
- package/dist/{chunk-7F3IQMLI.js → chunk-G66QFZXD.js} +11 -214
- package/dist/{chunk-QIW6OCEI.js → chunk-HLFFKKT3.js} +27 -373
- package/dist/chunk-JDNEWB5F.js +10 -0
- package/dist/{chunk-L7D6KNHV.js → chunk-JKBGDFX2.js} +890 -749
- package/dist/{chunk-YRKQNPK2.js → chunk-JPGX3533.js} +4 -3
- package/dist/chunk-KEFWANZY.js +155 -0
- package/dist/chunk-LH4GPYDX.js +448 -0
- package/dist/{chunk-JXSBOG2R.js → chunk-LWKZ3BCC.js} +5 -4
- package/dist/chunk-MYEOTM7D.js +92 -0
- package/dist/chunk-OGXKOMUT.js +412 -0
- package/dist/chunk-OHXU5WWK.js +3731 -0
- package/dist/chunk-ONFKASZI.js +2004 -0
- package/dist/{chunk-U36X6NZM.js → chunk-RIFTUOPE.js} +2 -14
- package/dist/{chunk-T6INEVX6.js → chunk-SGS4CQ2B.js} +1 -1
- package/dist/{chunk-C7IBFI5B.js → chunk-UPMX5GJI.js} +5 -5
- package/dist/{chunk-ARJPZ66V.js → chunk-UY5I2KOZ.js} +208 -3124
- package/dist/chunk-W2ZTLH7Y.js +662 -0
- package/dist/{chunk-KNISO652.js → chunk-WUVR4QY6.js} +9 -9
- package/dist/{chunk-Q5BEODAT.js → chunk-X2SUMO3P.js} +2 -1
- package/dist/{chunk-SNHGSCKH.js → chunk-XBMCDGHA.js} +1 -1
- package/dist/{chunk-N55DVMAG.js → chunk-XQQEKWTL.js} +2 -6
- package/dist/{chunk-SBQ4MYQV.js → chunk-XZSEPJZQ.js} +5 -6
- package/dist/{chunk-CPAJXBTL.js → chunk-YHBPR67D.js} +490 -676
- package/dist/{chunk-QARSVM7Q.js → chunk-YO2YORW4.js} +4 -4
- package/dist/{chunk-TAIX4NO3.js → chunk-ZFLM2YVW.js} +2 -2
- package/dist/components/index.css +15 -5
- package/dist/components/index.d.ts +202 -383
- package/dist/components/index.js +43 -429
- package/dist/components/navigation/index.css +25 -15
- package/dist/execution/index.d.ts +0 -73
- package/dist/features/auth/index.css +25 -15
- package/dist/features/crm/index.css +25 -15
- package/dist/features/crm/index.d.ts +49 -49
- package/dist/features/crm/index.js +14 -15
- package/dist/features/dashboard/index.css +25 -15
- package/dist/features/dashboard/index.js +18 -16
- package/dist/features/delivery/index.css +15 -5
- package/dist/features/delivery/index.js +14 -15
- package/dist/features/knowledge/index.css +611 -0
- package/dist/features/knowledge/index.js +375 -72
- package/dist/features/lead-gen/index.css +25 -15
- package/dist/features/lead-gen/index.d.ts +60 -21
- package/dist/features/lead-gen/index.js +16 -16
- package/dist/features/monitoring/index.css +15 -5
- package/dist/features/monitoring/index.js +17 -17
- package/dist/features/monitoring/requests/index.css +25 -15
- package/dist/features/monitoring/requests/index.js +13 -14
- package/dist/features/operations/index.css +25 -15
- package/dist/features/operations/index.d.ts +16 -98
- package/dist/features/operations/index.js +26 -22
- package/dist/features/settings/index.css +25 -15
- package/dist/features/settings/index.d.ts +1 -0
- package/dist/features/settings/index.js +15 -16
- package/dist/hooks/delivery/index.css +25 -15
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +15 -5
- package/dist/hooks/index.d.ts +172 -380
- package/dist/hooks/index.js +13 -14
- package/dist/hooks/published.css +15 -5
- package/dist/hooks/published.d.ts +172 -380
- package/dist/hooks/published.js +13 -14
- package/dist/index.css +15 -5
- package/dist/index.d.ts +988 -403
- package/dist/index.js +15 -15
- package/dist/initialization/index.d.ts +1 -0
- package/dist/knowledge/index.d.ts +981 -41
- package/dist/knowledge/index.js +5449 -294
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +3 -2
- package/dist/organization/index.css +25 -15
- package/dist/organization/index.d.ts +1 -0
- package/dist/provider/index.css +25 -15
- package/dist/provider/index.d.ts +818 -26
- package/dist/provider/index.js +11 -11
- package/dist/provider/published.css +25 -15
- package/dist/provider/published.d.ts +817 -25
- package/dist/provider/published.js +8 -9
- package/dist/test-utils/index.js +2 -2
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -2
- package/dist/theme/presets/index.d.ts +97 -0
- package/dist/theme/presets/index.js +3 -0
- package/dist/types/index.d.ts +71 -126
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.d.ts +7 -0
- package/dist/vite/index.js +10 -0
- package/dist/vite-plugin-knowledge/index.d.ts +1 -33
- package/dist/vite-plugin-knowledge/index.js +1 -66
- package/package.json +16 -3
- package/src/knowledge/README.md +8 -8
- package/src/theme/presets/README.md +19 -0
- package/dist/chunk-5RLYII6P.js +0 -314
- package/dist/chunk-6U7AIIHF.js +0 -880
- package/dist/chunk-HAEJ4M54.js +0 -94
- package/dist/chunk-LPM7O6XM.js +0 -293
- /package/dist/{chunk-SGXXJE52.js → chunk-QD4X4H5A.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { ComponentType, ReactNode } from 'react';
|
|
3
|
+
import { ComponentType, CSSProperties, ReactNode, HTMLAttributes } from 'react';
|
|
4
|
+
import { IconBrain } from '@tabler/icons-react';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Command View Types
|
|
@@ -21,6 +22,11 @@ import { ComponentType, ReactNode } from 'react';
|
|
|
21
22
|
*/
|
|
22
23
|
type RelationshipType = 'triggers' | 'uses' | 'approval';
|
|
23
24
|
|
|
25
|
+
declare const OrgKnowledgeKindSchema: z.ZodEnum<{
|
|
26
|
+
playbook: "playbook";
|
|
27
|
+
strategy: "strategy";
|
|
28
|
+
reference: "reference";
|
|
29
|
+
}>;
|
|
24
30
|
declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
25
31
|
id: z.ZodString;
|
|
26
32
|
kind: z.ZodEnum<{
|
|
@@ -30,6 +36,69 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
30
36
|
}>;
|
|
31
37
|
title: z.ZodString;
|
|
32
38
|
summary: z.ZodString;
|
|
39
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
40
|
+
"nav.dashboard": "nav.dashboard";
|
|
41
|
+
"nav.sales": "nav.sales";
|
|
42
|
+
"nav.crm": "nav.crm";
|
|
43
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
44
|
+
"nav.projects": "nav.projects";
|
|
45
|
+
"nav.operations": "nav.operations";
|
|
46
|
+
"nav.monitoring": "nav.monitoring";
|
|
47
|
+
"nav.knowledge": "nav.knowledge";
|
|
48
|
+
"nav.settings": "nav.settings";
|
|
49
|
+
"nav.admin": "nav.admin";
|
|
50
|
+
"nav.archive": "nav.archive";
|
|
51
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
52
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
53
|
+
"knowledge.reference": "knowledge.reference";
|
|
54
|
+
"feature.dashboard": "feature.dashboard";
|
|
55
|
+
"feature.sales": "feature.sales";
|
|
56
|
+
"feature.crm": "feature.crm";
|
|
57
|
+
"feature.finance": "feature.finance";
|
|
58
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
59
|
+
"feature.platform": "feature.platform";
|
|
60
|
+
"feature.projects": "feature.projects";
|
|
61
|
+
"feature.operations": "feature.operations";
|
|
62
|
+
"feature.knowledge": "feature.knowledge";
|
|
63
|
+
"feature.monitoring": "feature.monitoring";
|
|
64
|
+
"feature.settings": "feature.settings";
|
|
65
|
+
"feature.admin": "feature.admin";
|
|
66
|
+
"feature.archive": "feature.archive";
|
|
67
|
+
"feature.seo": "feature.seo";
|
|
68
|
+
"resource.agent": "resource.agent";
|
|
69
|
+
"resource.workflow": "resource.workflow";
|
|
70
|
+
"resource.integration": "resource.integration";
|
|
71
|
+
"resource.database": "resource.database";
|
|
72
|
+
"resource.user": "resource.user";
|
|
73
|
+
"resource.team": "resource.team";
|
|
74
|
+
"integration.gmail": "integration.gmail";
|
|
75
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
76
|
+
"integration.attio": "integration.attio";
|
|
77
|
+
"surface.dashboard": "surface.dashboard";
|
|
78
|
+
"surface.overview": "surface.overview";
|
|
79
|
+
"surface.command-view": "surface.command-view";
|
|
80
|
+
"surface.command-queue": "surface.command-queue";
|
|
81
|
+
"surface.pipeline": "surface.pipeline";
|
|
82
|
+
"surface.lists": "surface.lists";
|
|
83
|
+
"surface.resources": "surface.resources";
|
|
84
|
+
"surface.settings": "surface.settings";
|
|
85
|
+
"status.success": "status.success";
|
|
86
|
+
"status.error": "status.error";
|
|
87
|
+
"status.warning": "status.warning";
|
|
88
|
+
"status.info": "status.info";
|
|
89
|
+
"status.pending": "status.pending";
|
|
90
|
+
"action.approve": "action.approve";
|
|
91
|
+
"action.reject": "action.reject";
|
|
92
|
+
"action.retry": "action.retry";
|
|
93
|
+
"action.edit": "action.edit";
|
|
94
|
+
"action.view": "action.view";
|
|
95
|
+
"action.launch": "action.launch";
|
|
96
|
+
"action.message": "action.message";
|
|
97
|
+
"action.escalate": "action.escalate";
|
|
98
|
+
"action.promote": "action.promote";
|
|
99
|
+
"action.submit": "action.submit";
|
|
100
|
+
"action.email": "action.email";
|
|
101
|
+
}>, z.ZodString]>>;
|
|
33
102
|
body: z.ZodString;
|
|
34
103
|
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
35
104
|
nodeId: z.ZodString;
|
|
@@ -38,6 +107,71 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
38
107
|
updatedAt: z.ZodString;
|
|
39
108
|
}, z.core.$strip>;
|
|
40
109
|
|
|
110
|
+
declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
111
|
+
"nav.dashboard": "nav.dashboard";
|
|
112
|
+
"nav.sales": "nav.sales";
|
|
113
|
+
"nav.crm": "nav.crm";
|
|
114
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
115
|
+
"nav.projects": "nav.projects";
|
|
116
|
+
"nav.operations": "nav.operations";
|
|
117
|
+
"nav.monitoring": "nav.monitoring";
|
|
118
|
+
"nav.knowledge": "nav.knowledge";
|
|
119
|
+
"nav.settings": "nav.settings";
|
|
120
|
+
"nav.admin": "nav.admin";
|
|
121
|
+
"nav.archive": "nav.archive";
|
|
122
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
123
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
124
|
+
"knowledge.reference": "knowledge.reference";
|
|
125
|
+
"feature.dashboard": "feature.dashboard";
|
|
126
|
+
"feature.sales": "feature.sales";
|
|
127
|
+
"feature.crm": "feature.crm";
|
|
128
|
+
"feature.finance": "feature.finance";
|
|
129
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
130
|
+
"feature.platform": "feature.platform";
|
|
131
|
+
"feature.projects": "feature.projects";
|
|
132
|
+
"feature.operations": "feature.operations";
|
|
133
|
+
"feature.knowledge": "feature.knowledge";
|
|
134
|
+
"feature.monitoring": "feature.monitoring";
|
|
135
|
+
"feature.settings": "feature.settings";
|
|
136
|
+
"feature.admin": "feature.admin";
|
|
137
|
+
"feature.archive": "feature.archive";
|
|
138
|
+
"feature.seo": "feature.seo";
|
|
139
|
+
"resource.agent": "resource.agent";
|
|
140
|
+
"resource.workflow": "resource.workflow";
|
|
141
|
+
"resource.integration": "resource.integration";
|
|
142
|
+
"resource.database": "resource.database";
|
|
143
|
+
"resource.user": "resource.user";
|
|
144
|
+
"resource.team": "resource.team";
|
|
145
|
+
"integration.gmail": "integration.gmail";
|
|
146
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
147
|
+
"integration.attio": "integration.attio";
|
|
148
|
+
"surface.dashboard": "surface.dashboard";
|
|
149
|
+
"surface.overview": "surface.overview";
|
|
150
|
+
"surface.command-view": "surface.command-view";
|
|
151
|
+
"surface.command-queue": "surface.command-queue";
|
|
152
|
+
"surface.pipeline": "surface.pipeline";
|
|
153
|
+
"surface.lists": "surface.lists";
|
|
154
|
+
"surface.resources": "surface.resources";
|
|
155
|
+
"surface.settings": "surface.settings";
|
|
156
|
+
"status.success": "status.success";
|
|
157
|
+
"status.error": "status.error";
|
|
158
|
+
"status.warning": "status.warning";
|
|
159
|
+
"status.info": "status.info";
|
|
160
|
+
"status.pending": "status.pending";
|
|
161
|
+
"action.approve": "action.approve";
|
|
162
|
+
"action.reject": "action.reject";
|
|
163
|
+
"action.retry": "action.retry";
|
|
164
|
+
"action.edit": "action.edit";
|
|
165
|
+
"action.view": "action.view";
|
|
166
|
+
"action.launch": "action.launch";
|
|
167
|
+
"action.message": "action.message";
|
|
168
|
+
"action.escalate": "action.escalate";
|
|
169
|
+
"action.promote": "action.promote";
|
|
170
|
+
"action.submit": "action.submit";
|
|
171
|
+
"action.email": "action.email";
|
|
172
|
+
}>, z.ZodString]>;
|
|
173
|
+
type OrganizationModelIconToken = z.infer<typeof OrganizationModelIconTokenSchema>;
|
|
174
|
+
|
|
41
175
|
declare const OrganizationModelSchema: z.ZodObject<{
|
|
42
176
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
43
177
|
features: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -46,7 +180,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
46
180
|
description: z.ZodOptional<z.ZodString>;
|
|
47
181
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
182
|
path: z.ZodOptional<z.ZodString>;
|
|
49
|
-
icon: z.ZodOptional<z.
|
|
183
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
184
|
+
"nav.dashboard": "nav.dashboard";
|
|
185
|
+
"nav.sales": "nav.sales";
|
|
186
|
+
"nav.crm": "nav.crm";
|
|
187
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
188
|
+
"nav.projects": "nav.projects";
|
|
189
|
+
"nav.operations": "nav.operations";
|
|
190
|
+
"nav.monitoring": "nav.monitoring";
|
|
191
|
+
"nav.knowledge": "nav.knowledge";
|
|
192
|
+
"nav.settings": "nav.settings";
|
|
193
|
+
"nav.admin": "nav.admin";
|
|
194
|
+
"nav.archive": "nav.archive";
|
|
195
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
196
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
197
|
+
"knowledge.reference": "knowledge.reference";
|
|
198
|
+
"feature.dashboard": "feature.dashboard";
|
|
199
|
+
"feature.sales": "feature.sales";
|
|
200
|
+
"feature.crm": "feature.crm";
|
|
201
|
+
"feature.finance": "feature.finance";
|
|
202
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
203
|
+
"feature.platform": "feature.platform";
|
|
204
|
+
"feature.projects": "feature.projects";
|
|
205
|
+
"feature.operations": "feature.operations";
|
|
206
|
+
"feature.knowledge": "feature.knowledge";
|
|
207
|
+
"feature.monitoring": "feature.monitoring";
|
|
208
|
+
"feature.settings": "feature.settings";
|
|
209
|
+
"feature.admin": "feature.admin";
|
|
210
|
+
"feature.archive": "feature.archive";
|
|
211
|
+
"feature.seo": "feature.seo";
|
|
212
|
+
"resource.agent": "resource.agent";
|
|
213
|
+
"resource.workflow": "resource.workflow";
|
|
214
|
+
"resource.integration": "resource.integration";
|
|
215
|
+
"resource.database": "resource.database";
|
|
216
|
+
"resource.user": "resource.user";
|
|
217
|
+
"resource.team": "resource.team";
|
|
218
|
+
"integration.gmail": "integration.gmail";
|
|
219
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
220
|
+
"integration.attio": "integration.attio";
|
|
221
|
+
"surface.dashboard": "surface.dashboard";
|
|
222
|
+
"surface.overview": "surface.overview";
|
|
223
|
+
"surface.command-view": "surface.command-view";
|
|
224
|
+
"surface.command-queue": "surface.command-queue";
|
|
225
|
+
"surface.pipeline": "surface.pipeline";
|
|
226
|
+
"surface.lists": "surface.lists";
|
|
227
|
+
"surface.resources": "surface.resources";
|
|
228
|
+
"surface.settings": "surface.settings";
|
|
229
|
+
"status.success": "status.success";
|
|
230
|
+
"status.error": "status.error";
|
|
231
|
+
"status.warning": "status.warning";
|
|
232
|
+
"status.info": "status.info";
|
|
233
|
+
"status.pending": "status.pending";
|
|
234
|
+
"action.approve": "action.approve";
|
|
235
|
+
"action.reject": "action.reject";
|
|
236
|
+
"action.retry": "action.retry";
|
|
237
|
+
"action.edit": "action.edit";
|
|
238
|
+
"action.view": "action.view";
|
|
239
|
+
"action.launch": "action.launch";
|
|
240
|
+
"action.message": "action.message";
|
|
241
|
+
"action.escalate": "action.escalate";
|
|
242
|
+
"action.promote": "action.promote";
|
|
243
|
+
"action.submit": "action.submit";
|
|
244
|
+
"action.email": "action.email";
|
|
245
|
+
}>, z.ZodString]>>;
|
|
50
246
|
color: z.ZodOptional<z.ZodString>;
|
|
51
247
|
uiPosition: z.ZodOptional<z.ZodEnum<{
|
|
52
248
|
"sidebar-primary": "sidebar-primary";
|
|
@@ -82,7 +278,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
82
278
|
description: z.ZodOptional<z.ZodString>;
|
|
83
279
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
84
280
|
devOnly: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
icon: z.ZodOptional<z.
|
|
281
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
282
|
+
"nav.dashboard": "nav.dashboard";
|
|
283
|
+
"nav.sales": "nav.sales";
|
|
284
|
+
"nav.crm": "nav.crm";
|
|
285
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
286
|
+
"nav.projects": "nav.projects";
|
|
287
|
+
"nav.operations": "nav.operations";
|
|
288
|
+
"nav.monitoring": "nav.monitoring";
|
|
289
|
+
"nav.knowledge": "nav.knowledge";
|
|
290
|
+
"nav.settings": "nav.settings";
|
|
291
|
+
"nav.admin": "nav.admin";
|
|
292
|
+
"nav.archive": "nav.archive";
|
|
293
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
294
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
295
|
+
"knowledge.reference": "knowledge.reference";
|
|
296
|
+
"feature.dashboard": "feature.dashboard";
|
|
297
|
+
"feature.sales": "feature.sales";
|
|
298
|
+
"feature.crm": "feature.crm";
|
|
299
|
+
"feature.finance": "feature.finance";
|
|
300
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
301
|
+
"feature.platform": "feature.platform";
|
|
302
|
+
"feature.projects": "feature.projects";
|
|
303
|
+
"feature.operations": "feature.operations";
|
|
304
|
+
"feature.knowledge": "feature.knowledge";
|
|
305
|
+
"feature.monitoring": "feature.monitoring";
|
|
306
|
+
"feature.settings": "feature.settings";
|
|
307
|
+
"feature.admin": "feature.admin";
|
|
308
|
+
"feature.archive": "feature.archive";
|
|
309
|
+
"feature.seo": "feature.seo";
|
|
310
|
+
"resource.agent": "resource.agent";
|
|
311
|
+
"resource.workflow": "resource.workflow";
|
|
312
|
+
"resource.integration": "resource.integration";
|
|
313
|
+
"resource.database": "resource.database";
|
|
314
|
+
"resource.user": "resource.user";
|
|
315
|
+
"resource.team": "resource.team";
|
|
316
|
+
"integration.gmail": "integration.gmail";
|
|
317
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
318
|
+
"integration.attio": "integration.attio";
|
|
319
|
+
"surface.dashboard": "surface.dashboard";
|
|
320
|
+
"surface.overview": "surface.overview";
|
|
321
|
+
"surface.command-view": "surface.command-view";
|
|
322
|
+
"surface.command-queue": "surface.command-queue";
|
|
323
|
+
"surface.pipeline": "surface.pipeline";
|
|
324
|
+
"surface.lists": "surface.lists";
|
|
325
|
+
"surface.resources": "surface.resources";
|
|
326
|
+
"surface.settings": "surface.settings";
|
|
327
|
+
"status.success": "status.success";
|
|
328
|
+
"status.error": "status.error";
|
|
329
|
+
"status.warning": "status.warning";
|
|
330
|
+
"status.info": "status.info";
|
|
331
|
+
"status.pending": "status.pending";
|
|
332
|
+
"action.approve": "action.approve";
|
|
333
|
+
"action.reject": "action.reject";
|
|
334
|
+
"action.retry": "action.retry";
|
|
335
|
+
"action.edit": "action.edit";
|
|
336
|
+
"action.view": "action.view";
|
|
337
|
+
"action.launch": "action.launch";
|
|
338
|
+
"action.message": "action.message";
|
|
339
|
+
"action.escalate": "action.escalate";
|
|
340
|
+
"action.promote": "action.promote";
|
|
341
|
+
"action.submit": "action.submit";
|
|
342
|
+
"action.email": "action.email";
|
|
343
|
+
}>, z.ZodString]>>;
|
|
86
344
|
featureId: z.ZodOptional<z.ZodString>;
|
|
87
345
|
featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
88
346
|
entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -109,7 +367,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
109
367
|
label: z.ZodString;
|
|
110
368
|
description: z.ZodOptional<z.ZodString>;
|
|
111
369
|
color: z.ZodOptional<z.ZodString>;
|
|
112
|
-
icon: z.ZodOptional<z.
|
|
370
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
371
|
+
"nav.dashboard": "nav.dashboard";
|
|
372
|
+
"nav.sales": "nav.sales";
|
|
373
|
+
"nav.crm": "nav.crm";
|
|
374
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
375
|
+
"nav.projects": "nav.projects";
|
|
376
|
+
"nav.operations": "nav.operations";
|
|
377
|
+
"nav.monitoring": "nav.monitoring";
|
|
378
|
+
"nav.knowledge": "nav.knowledge";
|
|
379
|
+
"nav.settings": "nav.settings";
|
|
380
|
+
"nav.admin": "nav.admin";
|
|
381
|
+
"nav.archive": "nav.archive";
|
|
382
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
383
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
384
|
+
"knowledge.reference": "knowledge.reference";
|
|
385
|
+
"feature.dashboard": "feature.dashboard";
|
|
386
|
+
"feature.sales": "feature.sales";
|
|
387
|
+
"feature.crm": "feature.crm";
|
|
388
|
+
"feature.finance": "feature.finance";
|
|
389
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
390
|
+
"feature.platform": "feature.platform";
|
|
391
|
+
"feature.projects": "feature.projects";
|
|
392
|
+
"feature.operations": "feature.operations";
|
|
393
|
+
"feature.knowledge": "feature.knowledge";
|
|
394
|
+
"feature.monitoring": "feature.monitoring";
|
|
395
|
+
"feature.settings": "feature.settings";
|
|
396
|
+
"feature.admin": "feature.admin";
|
|
397
|
+
"feature.archive": "feature.archive";
|
|
398
|
+
"feature.seo": "feature.seo";
|
|
399
|
+
"resource.agent": "resource.agent";
|
|
400
|
+
"resource.workflow": "resource.workflow";
|
|
401
|
+
"resource.integration": "resource.integration";
|
|
402
|
+
"resource.database": "resource.database";
|
|
403
|
+
"resource.user": "resource.user";
|
|
404
|
+
"resource.team": "resource.team";
|
|
405
|
+
"integration.gmail": "integration.gmail";
|
|
406
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
407
|
+
"integration.attio": "integration.attio";
|
|
408
|
+
"surface.dashboard": "surface.dashboard";
|
|
409
|
+
"surface.overview": "surface.overview";
|
|
410
|
+
"surface.command-view": "surface.command-view";
|
|
411
|
+
"surface.command-queue": "surface.command-queue";
|
|
412
|
+
"surface.pipeline": "surface.pipeline";
|
|
413
|
+
"surface.lists": "surface.lists";
|
|
414
|
+
"surface.resources": "surface.resources";
|
|
415
|
+
"surface.settings": "surface.settings";
|
|
416
|
+
"status.success": "status.success";
|
|
417
|
+
"status.error": "status.error";
|
|
418
|
+
"status.warning": "status.warning";
|
|
419
|
+
"status.info": "status.info";
|
|
420
|
+
"status.pending": "status.pending";
|
|
421
|
+
"action.approve": "action.approve";
|
|
422
|
+
"action.reject": "action.reject";
|
|
423
|
+
"action.retry": "action.retry";
|
|
424
|
+
"action.edit": "action.edit";
|
|
425
|
+
"action.view": "action.view";
|
|
426
|
+
"action.launch": "action.launch";
|
|
427
|
+
"action.message": "action.message";
|
|
428
|
+
"action.escalate": "action.escalate";
|
|
429
|
+
"action.promote": "action.promote";
|
|
430
|
+
"action.submit": "action.submit";
|
|
431
|
+
"action.email": "action.email";
|
|
432
|
+
}>, z.ZodString]>>;
|
|
113
433
|
id: z.ZodString;
|
|
114
434
|
order: z.ZodNumber;
|
|
115
435
|
semanticClass: z.ZodEnum<{
|
|
@@ -133,7 +453,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
133
453
|
label: z.ZodString;
|
|
134
454
|
description: z.ZodOptional<z.ZodString>;
|
|
135
455
|
color: z.ZodOptional<z.ZodString>;
|
|
136
|
-
icon: z.ZodOptional<z.
|
|
456
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
457
|
+
"nav.dashboard": "nav.dashboard";
|
|
458
|
+
"nav.sales": "nav.sales";
|
|
459
|
+
"nav.crm": "nav.crm";
|
|
460
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
461
|
+
"nav.projects": "nav.projects";
|
|
462
|
+
"nav.operations": "nav.operations";
|
|
463
|
+
"nav.monitoring": "nav.monitoring";
|
|
464
|
+
"nav.knowledge": "nav.knowledge";
|
|
465
|
+
"nav.settings": "nav.settings";
|
|
466
|
+
"nav.admin": "nav.admin";
|
|
467
|
+
"nav.archive": "nav.archive";
|
|
468
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
469
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
470
|
+
"knowledge.reference": "knowledge.reference";
|
|
471
|
+
"feature.dashboard": "feature.dashboard";
|
|
472
|
+
"feature.sales": "feature.sales";
|
|
473
|
+
"feature.crm": "feature.crm";
|
|
474
|
+
"feature.finance": "feature.finance";
|
|
475
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
476
|
+
"feature.platform": "feature.platform";
|
|
477
|
+
"feature.projects": "feature.projects";
|
|
478
|
+
"feature.operations": "feature.operations";
|
|
479
|
+
"feature.knowledge": "feature.knowledge";
|
|
480
|
+
"feature.monitoring": "feature.monitoring";
|
|
481
|
+
"feature.settings": "feature.settings";
|
|
482
|
+
"feature.admin": "feature.admin";
|
|
483
|
+
"feature.archive": "feature.archive";
|
|
484
|
+
"feature.seo": "feature.seo";
|
|
485
|
+
"resource.agent": "resource.agent";
|
|
486
|
+
"resource.workflow": "resource.workflow";
|
|
487
|
+
"resource.integration": "resource.integration";
|
|
488
|
+
"resource.database": "resource.database";
|
|
489
|
+
"resource.user": "resource.user";
|
|
490
|
+
"resource.team": "resource.team";
|
|
491
|
+
"integration.gmail": "integration.gmail";
|
|
492
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
493
|
+
"integration.attio": "integration.attio";
|
|
494
|
+
"surface.dashboard": "surface.dashboard";
|
|
495
|
+
"surface.overview": "surface.overview";
|
|
496
|
+
"surface.command-view": "surface.command-view";
|
|
497
|
+
"surface.command-queue": "surface.command-queue";
|
|
498
|
+
"surface.pipeline": "surface.pipeline";
|
|
499
|
+
"surface.lists": "surface.lists";
|
|
500
|
+
"surface.resources": "surface.resources";
|
|
501
|
+
"surface.settings": "surface.settings";
|
|
502
|
+
"status.success": "status.success";
|
|
503
|
+
"status.error": "status.error";
|
|
504
|
+
"status.warning": "status.warning";
|
|
505
|
+
"status.info": "status.info";
|
|
506
|
+
"status.pending": "status.pending";
|
|
507
|
+
"action.approve": "action.approve";
|
|
508
|
+
"action.reject": "action.reject";
|
|
509
|
+
"action.retry": "action.retry";
|
|
510
|
+
"action.edit": "action.edit";
|
|
511
|
+
"action.view": "action.view";
|
|
512
|
+
"action.launch": "action.launch";
|
|
513
|
+
"action.message": "action.message";
|
|
514
|
+
"action.escalate": "action.escalate";
|
|
515
|
+
"action.promote": "action.promote";
|
|
516
|
+
"action.submit": "action.submit";
|
|
517
|
+
"action.email": "action.email";
|
|
518
|
+
}>, z.ZodString]>>;
|
|
137
519
|
id: z.ZodString;
|
|
138
520
|
order: z.ZodNumber;
|
|
139
521
|
}, z.core.$strip>>;
|
|
@@ -141,7 +523,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
141
523
|
label: z.ZodString;
|
|
142
524
|
description: z.ZodOptional<z.ZodString>;
|
|
143
525
|
color: z.ZodOptional<z.ZodString>;
|
|
144
|
-
icon: z.ZodOptional<z.
|
|
526
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
527
|
+
"nav.dashboard": "nav.dashboard";
|
|
528
|
+
"nav.sales": "nav.sales";
|
|
529
|
+
"nav.crm": "nav.crm";
|
|
530
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
531
|
+
"nav.projects": "nav.projects";
|
|
532
|
+
"nav.operations": "nav.operations";
|
|
533
|
+
"nav.monitoring": "nav.monitoring";
|
|
534
|
+
"nav.knowledge": "nav.knowledge";
|
|
535
|
+
"nav.settings": "nav.settings";
|
|
536
|
+
"nav.admin": "nav.admin";
|
|
537
|
+
"nav.archive": "nav.archive";
|
|
538
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
539
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
540
|
+
"knowledge.reference": "knowledge.reference";
|
|
541
|
+
"feature.dashboard": "feature.dashboard";
|
|
542
|
+
"feature.sales": "feature.sales";
|
|
543
|
+
"feature.crm": "feature.crm";
|
|
544
|
+
"feature.finance": "feature.finance";
|
|
545
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
546
|
+
"feature.platform": "feature.platform";
|
|
547
|
+
"feature.projects": "feature.projects";
|
|
548
|
+
"feature.operations": "feature.operations";
|
|
549
|
+
"feature.knowledge": "feature.knowledge";
|
|
550
|
+
"feature.monitoring": "feature.monitoring";
|
|
551
|
+
"feature.settings": "feature.settings";
|
|
552
|
+
"feature.admin": "feature.admin";
|
|
553
|
+
"feature.archive": "feature.archive";
|
|
554
|
+
"feature.seo": "feature.seo";
|
|
555
|
+
"resource.agent": "resource.agent";
|
|
556
|
+
"resource.workflow": "resource.workflow";
|
|
557
|
+
"resource.integration": "resource.integration";
|
|
558
|
+
"resource.database": "resource.database";
|
|
559
|
+
"resource.user": "resource.user";
|
|
560
|
+
"resource.team": "resource.team";
|
|
561
|
+
"integration.gmail": "integration.gmail";
|
|
562
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
563
|
+
"integration.attio": "integration.attio";
|
|
564
|
+
"surface.dashboard": "surface.dashboard";
|
|
565
|
+
"surface.overview": "surface.overview";
|
|
566
|
+
"surface.command-view": "surface.command-view";
|
|
567
|
+
"surface.command-queue": "surface.command-queue";
|
|
568
|
+
"surface.pipeline": "surface.pipeline";
|
|
569
|
+
"surface.lists": "surface.lists";
|
|
570
|
+
"surface.resources": "surface.resources";
|
|
571
|
+
"surface.settings": "surface.settings";
|
|
572
|
+
"status.success": "status.success";
|
|
573
|
+
"status.error": "status.error";
|
|
574
|
+
"status.warning": "status.warning";
|
|
575
|
+
"status.info": "status.info";
|
|
576
|
+
"status.pending": "status.pending";
|
|
577
|
+
"action.approve": "action.approve";
|
|
578
|
+
"action.reject": "action.reject";
|
|
579
|
+
"action.retry": "action.retry";
|
|
580
|
+
"action.edit": "action.edit";
|
|
581
|
+
"action.view": "action.view";
|
|
582
|
+
"action.launch": "action.launch";
|
|
583
|
+
"action.message": "action.message";
|
|
584
|
+
"action.escalate": "action.escalate";
|
|
585
|
+
"action.promote": "action.promote";
|
|
586
|
+
"action.submit": "action.submit";
|
|
587
|
+
"action.email": "action.email";
|
|
588
|
+
}>, z.ZodString]>>;
|
|
145
589
|
id: z.ZodString;
|
|
146
590
|
order: z.ZodNumber;
|
|
147
591
|
}, z.core.$strip>>;
|
|
@@ -150,13 +594,137 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
150
594
|
label: z.ZodString;
|
|
151
595
|
description: z.ZodOptional<z.ZodString>;
|
|
152
596
|
color: z.ZodOptional<z.ZodString>;
|
|
153
|
-
icon: z.ZodOptional<z.
|
|
597
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
598
|
+
"nav.dashboard": "nav.dashboard";
|
|
599
|
+
"nav.sales": "nav.sales";
|
|
600
|
+
"nav.crm": "nav.crm";
|
|
601
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
602
|
+
"nav.projects": "nav.projects";
|
|
603
|
+
"nav.operations": "nav.operations";
|
|
604
|
+
"nav.monitoring": "nav.monitoring";
|
|
605
|
+
"nav.knowledge": "nav.knowledge";
|
|
606
|
+
"nav.settings": "nav.settings";
|
|
607
|
+
"nav.admin": "nav.admin";
|
|
608
|
+
"nav.archive": "nav.archive";
|
|
609
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
610
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
611
|
+
"knowledge.reference": "knowledge.reference";
|
|
612
|
+
"feature.dashboard": "feature.dashboard";
|
|
613
|
+
"feature.sales": "feature.sales";
|
|
614
|
+
"feature.crm": "feature.crm";
|
|
615
|
+
"feature.finance": "feature.finance";
|
|
616
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
617
|
+
"feature.platform": "feature.platform";
|
|
618
|
+
"feature.projects": "feature.projects";
|
|
619
|
+
"feature.operations": "feature.operations";
|
|
620
|
+
"feature.knowledge": "feature.knowledge";
|
|
621
|
+
"feature.monitoring": "feature.monitoring";
|
|
622
|
+
"feature.settings": "feature.settings";
|
|
623
|
+
"feature.admin": "feature.admin";
|
|
624
|
+
"feature.archive": "feature.archive";
|
|
625
|
+
"feature.seo": "feature.seo";
|
|
626
|
+
"resource.agent": "resource.agent";
|
|
627
|
+
"resource.workflow": "resource.workflow";
|
|
628
|
+
"resource.integration": "resource.integration";
|
|
629
|
+
"resource.database": "resource.database";
|
|
630
|
+
"resource.user": "resource.user";
|
|
631
|
+
"resource.team": "resource.team";
|
|
632
|
+
"integration.gmail": "integration.gmail";
|
|
633
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
634
|
+
"integration.attio": "integration.attio";
|
|
635
|
+
"surface.dashboard": "surface.dashboard";
|
|
636
|
+
"surface.overview": "surface.overview";
|
|
637
|
+
"surface.command-view": "surface.command-view";
|
|
638
|
+
"surface.command-queue": "surface.command-queue";
|
|
639
|
+
"surface.pipeline": "surface.pipeline";
|
|
640
|
+
"surface.lists": "surface.lists";
|
|
641
|
+
"surface.resources": "surface.resources";
|
|
642
|
+
"surface.settings": "surface.settings";
|
|
643
|
+
"status.success": "status.success";
|
|
644
|
+
"status.error": "status.error";
|
|
645
|
+
"status.warning": "status.warning";
|
|
646
|
+
"status.info": "status.info";
|
|
647
|
+
"status.pending": "status.pending";
|
|
648
|
+
"action.approve": "action.approve";
|
|
649
|
+
"action.reject": "action.reject";
|
|
650
|
+
"action.retry": "action.retry";
|
|
651
|
+
"action.edit": "action.edit";
|
|
652
|
+
"action.view": "action.view";
|
|
653
|
+
"action.launch": "action.launch";
|
|
654
|
+
"action.message": "action.message";
|
|
655
|
+
"action.escalate": "action.escalate";
|
|
656
|
+
"action.promote": "action.promote";
|
|
657
|
+
"action.submit": "action.submit";
|
|
658
|
+
"action.email": "action.email";
|
|
659
|
+
}>, z.ZodString]>>;
|
|
154
660
|
id: z.ZodString;
|
|
155
661
|
steps: z.ZodArray<z.ZodObject<{
|
|
156
662
|
label: z.ZodString;
|
|
157
663
|
description: z.ZodOptional<z.ZodString>;
|
|
158
664
|
color: z.ZodOptional<z.ZodString>;
|
|
159
|
-
icon: z.ZodOptional<z.
|
|
665
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
666
|
+
"nav.dashboard": "nav.dashboard";
|
|
667
|
+
"nav.sales": "nav.sales";
|
|
668
|
+
"nav.crm": "nav.crm";
|
|
669
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
670
|
+
"nav.projects": "nav.projects";
|
|
671
|
+
"nav.operations": "nav.operations";
|
|
672
|
+
"nav.monitoring": "nav.monitoring";
|
|
673
|
+
"nav.knowledge": "nav.knowledge";
|
|
674
|
+
"nav.settings": "nav.settings";
|
|
675
|
+
"nav.admin": "nav.admin";
|
|
676
|
+
"nav.archive": "nav.archive";
|
|
677
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
678
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
679
|
+
"knowledge.reference": "knowledge.reference";
|
|
680
|
+
"feature.dashboard": "feature.dashboard";
|
|
681
|
+
"feature.sales": "feature.sales";
|
|
682
|
+
"feature.crm": "feature.crm";
|
|
683
|
+
"feature.finance": "feature.finance";
|
|
684
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
685
|
+
"feature.platform": "feature.platform";
|
|
686
|
+
"feature.projects": "feature.projects";
|
|
687
|
+
"feature.operations": "feature.operations";
|
|
688
|
+
"feature.knowledge": "feature.knowledge";
|
|
689
|
+
"feature.monitoring": "feature.monitoring";
|
|
690
|
+
"feature.settings": "feature.settings";
|
|
691
|
+
"feature.admin": "feature.admin";
|
|
692
|
+
"feature.archive": "feature.archive";
|
|
693
|
+
"feature.seo": "feature.seo";
|
|
694
|
+
"resource.agent": "resource.agent";
|
|
695
|
+
"resource.workflow": "resource.workflow";
|
|
696
|
+
"resource.integration": "resource.integration";
|
|
697
|
+
"resource.database": "resource.database";
|
|
698
|
+
"resource.user": "resource.user";
|
|
699
|
+
"resource.team": "resource.team";
|
|
700
|
+
"integration.gmail": "integration.gmail";
|
|
701
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
702
|
+
"integration.attio": "integration.attio";
|
|
703
|
+
"surface.dashboard": "surface.dashboard";
|
|
704
|
+
"surface.overview": "surface.overview";
|
|
705
|
+
"surface.command-view": "surface.command-view";
|
|
706
|
+
"surface.command-queue": "surface.command-queue";
|
|
707
|
+
"surface.pipeline": "surface.pipeline";
|
|
708
|
+
"surface.lists": "surface.lists";
|
|
709
|
+
"surface.resources": "surface.resources";
|
|
710
|
+
"surface.settings": "surface.settings";
|
|
711
|
+
"status.success": "status.success";
|
|
712
|
+
"status.error": "status.error";
|
|
713
|
+
"status.warning": "status.warning";
|
|
714
|
+
"status.info": "status.info";
|
|
715
|
+
"status.pending": "status.pending";
|
|
716
|
+
"action.approve": "action.approve";
|
|
717
|
+
"action.reject": "action.reject";
|
|
718
|
+
"action.retry": "action.retry";
|
|
719
|
+
"action.edit": "action.edit";
|
|
720
|
+
"action.view": "action.view";
|
|
721
|
+
"action.launch": "action.launch";
|
|
722
|
+
"action.message": "action.message";
|
|
723
|
+
"action.escalate": "action.escalate";
|
|
724
|
+
"action.promote": "action.promote";
|
|
725
|
+
"action.submit": "action.submit";
|
|
726
|
+
"action.email": "action.email";
|
|
727
|
+
}>, z.ZodString]>>;
|
|
160
728
|
id: z.ZodString;
|
|
161
729
|
primaryEntity: z.ZodEnum<{
|
|
162
730
|
company: "company";
|
|
@@ -184,7 +752,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
184
752
|
label: z.ZodString;
|
|
185
753
|
description: z.ZodOptional<z.ZodString>;
|
|
186
754
|
color: z.ZodOptional<z.ZodString>;
|
|
187
|
-
icon: z.ZodOptional<z.
|
|
755
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
756
|
+
"nav.dashboard": "nav.dashboard";
|
|
757
|
+
"nav.sales": "nav.sales";
|
|
758
|
+
"nav.crm": "nav.crm";
|
|
759
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
760
|
+
"nav.projects": "nav.projects";
|
|
761
|
+
"nav.operations": "nav.operations";
|
|
762
|
+
"nav.monitoring": "nav.monitoring";
|
|
763
|
+
"nav.knowledge": "nav.knowledge";
|
|
764
|
+
"nav.settings": "nav.settings";
|
|
765
|
+
"nav.admin": "nav.admin";
|
|
766
|
+
"nav.archive": "nav.archive";
|
|
767
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
768
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
769
|
+
"knowledge.reference": "knowledge.reference";
|
|
770
|
+
"feature.dashboard": "feature.dashboard";
|
|
771
|
+
"feature.sales": "feature.sales";
|
|
772
|
+
"feature.crm": "feature.crm";
|
|
773
|
+
"feature.finance": "feature.finance";
|
|
774
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
775
|
+
"feature.platform": "feature.platform";
|
|
776
|
+
"feature.projects": "feature.projects";
|
|
777
|
+
"feature.operations": "feature.operations";
|
|
778
|
+
"feature.knowledge": "feature.knowledge";
|
|
779
|
+
"feature.monitoring": "feature.monitoring";
|
|
780
|
+
"feature.settings": "feature.settings";
|
|
781
|
+
"feature.admin": "feature.admin";
|
|
782
|
+
"feature.archive": "feature.archive";
|
|
783
|
+
"feature.seo": "feature.seo";
|
|
784
|
+
"resource.agent": "resource.agent";
|
|
785
|
+
"resource.workflow": "resource.workflow";
|
|
786
|
+
"resource.integration": "resource.integration";
|
|
787
|
+
"resource.database": "resource.database";
|
|
788
|
+
"resource.user": "resource.user";
|
|
789
|
+
"resource.team": "resource.team";
|
|
790
|
+
"integration.gmail": "integration.gmail";
|
|
791
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
792
|
+
"integration.attio": "integration.attio";
|
|
793
|
+
"surface.dashboard": "surface.dashboard";
|
|
794
|
+
"surface.overview": "surface.overview";
|
|
795
|
+
"surface.command-view": "surface.command-view";
|
|
796
|
+
"surface.command-queue": "surface.command-queue";
|
|
797
|
+
"surface.pipeline": "surface.pipeline";
|
|
798
|
+
"surface.lists": "surface.lists";
|
|
799
|
+
"surface.resources": "surface.resources";
|
|
800
|
+
"surface.settings": "surface.settings";
|
|
801
|
+
"status.success": "status.success";
|
|
802
|
+
"status.error": "status.error";
|
|
803
|
+
"status.warning": "status.warning";
|
|
804
|
+
"status.info": "status.info";
|
|
805
|
+
"status.pending": "status.pending";
|
|
806
|
+
"action.approve": "action.approve";
|
|
807
|
+
"action.reject": "action.reject";
|
|
808
|
+
"action.retry": "action.retry";
|
|
809
|
+
"action.edit": "action.edit";
|
|
810
|
+
"action.view": "action.view";
|
|
811
|
+
"action.launch": "action.launch";
|
|
812
|
+
"action.message": "action.message";
|
|
813
|
+
"action.escalate": "action.escalate";
|
|
814
|
+
"action.promote": "action.promote";
|
|
815
|
+
"action.submit": "action.submit";
|
|
816
|
+
"action.email": "action.email";
|
|
817
|
+
}>, z.ZodString]>>;
|
|
188
818
|
id: z.ZodString;
|
|
189
819
|
order: z.ZodNumber;
|
|
190
820
|
}, z.core.$strip>>;
|
|
@@ -192,7 +822,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
192
822
|
label: z.ZodString;
|
|
193
823
|
description: z.ZodOptional<z.ZodString>;
|
|
194
824
|
color: z.ZodOptional<z.ZodString>;
|
|
195
|
-
icon: z.ZodOptional<z.
|
|
825
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
826
|
+
"nav.dashboard": "nav.dashboard";
|
|
827
|
+
"nav.sales": "nav.sales";
|
|
828
|
+
"nav.crm": "nav.crm";
|
|
829
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
830
|
+
"nav.projects": "nav.projects";
|
|
831
|
+
"nav.operations": "nav.operations";
|
|
832
|
+
"nav.monitoring": "nav.monitoring";
|
|
833
|
+
"nav.knowledge": "nav.knowledge";
|
|
834
|
+
"nav.settings": "nav.settings";
|
|
835
|
+
"nav.admin": "nav.admin";
|
|
836
|
+
"nav.archive": "nav.archive";
|
|
837
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
838
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
839
|
+
"knowledge.reference": "knowledge.reference";
|
|
840
|
+
"feature.dashboard": "feature.dashboard";
|
|
841
|
+
"feature.sales": "feature.sales";
|
|
842
|
+
"feature.crm": "feature.crm";
|
|
843
|
+
"feature.finance": "feature.finance";
|
|
844
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
845
|
+
"feature.platform": "feature.platform";
|
|
846
|
+
"feature.projects": "feature.projects";
|
|
847
|
+
"feature.operations": "feature.operations";
|
|
848
|
+
"feature.knowledge": "feature.knowledge";
|
|
849
|
+
"feature.monitoring": "feature.monitoring";
|
|
850
|
+
"feature.settings": "feature.settings";
|
|
851
|
+
"feature.admin": "feature.admin";
|
|
852
|
+
"feature.archive": "feature.archive";
|
|
853
|
+
"feature.seo": "feature.seo";
|
|
854
|
+
"resource.agent": "resource.agent";
|
|
855
|
+
"resource.workflow": "resource.workflow";
|
|
856
|
+
"resource.integration": "resource.integration";
|
|
857
|
+
"resource.database": "resource.database";
|
|
858
|
+
"resource.user": "resource.user";
|
|
859
|
+
"resource.team": "resource.team";
|
|
860
|
+
"integration.gmail": "integration.gmail";
|
|
861
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
862
|
+
"integration.attio": "integration.attio";
|
|
863
|
+
"surface.dashboard": "surface.dashboard";
|
|
864
|
+
"surface.overview": "surface.overview";
|
|
865
|
+
"surface.command-view": "surface.command-view";
|
|
866
|
+
"surface.command-queue": "surface.command-queue";
|
|
867
|
+
"surface.pipeline": "surface.pipeline";
|
|
868
|
+
"surface.lists": "surface.lists";
|
|
869
|
+
"surface.resources": "surface.resources";
|
|
870
|
+
"surface.settings": "surface.settings";
|
|
871
|
+
"status.success": "status.success";
|
|
872
|
+
"status.error": "status.error";
|
|
873
|
+
"status.warning": "status.warning";
|
|
874
|
+
"status.info": "status.info";
|
|
875
|
+
"status.pending": "status.pending";
|
|
876
|
+
"action.approve": "action.approve";
|
|
877
|
+
"action.reject": "action.reject";
|
|
878
|
+
"action.retry": "action.retry";
|
|
879
|
+
"action.edit": "action.edit";
|
|
880
|
+
"action.view": "action.view";
|
|
881
|
+
"action.launch": "action.launch";
|
|
882
|
+
"action.message": "action.message";
|
|
883
|
+
"action.escalate": "action.escalate";
|
|
884
|
+
"action.promote": "action.promote";
|
|
885
|
+
"action.submit": "action.submit";
|
|
886
|
+
"action.email": "action.email";
|
|
887
|
+
}>, z.ZodString]>>;
|
|
196
888
|
id: z.ZodString;
|
|
197
889
|
order: z.ZodNumber;
|
|
198
890
|
}, z.core.$strip>>;
|
|
@@ -200,7 +892,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
200
892
|
label: z.ZodString;
|
|
201
893
|
description: z.ZodOptional<z.ZodString>;
|
|
202
894
|
color: z.ZodOptional<z.ZodString>;
|
|
203
|
-
icon: z.ZodOptional<z.
|
|
895
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
896
|
+
"nav.dashboard": "nav.dashboard";
|
|
897
|
+
"nav.sales": "nav.sales";
|
|
898
|
+
"nav.crm": "nav.crm";
|
|
899
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
900
|
+
"nav.projects": "nav.projects";
|
|
901
|
+
"nav.operations": "nav.operations";
|
|
902
|
+
"nav.monitoring": "nav.monitoring";
|
|
903
|
+
"nav.knowledge": "nav.knowledge";
|
|
904
|
+
"nav.settings": "nav.settings";
|
|
905
|
+
"nav.admin": "nav.admin";
|
|
906
|
+
"nav.archive": "nav.archive";
|
|
907
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
908
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
909
|
+
"knowledge.reference": "knowledge.reference";
|
|
910
|
+
"feature.dashboard": "feature.dashboard";
|
|
911
|
+
"feature.sales": "feature.sales";
|
|
912
|
+
"feature.crm": "feature.crm";
|
|
913
|
+
"feature.finance": "feature.finance";
|
|
914
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
915
|
+
"feature.platform": "feature.platform";
|
|
916
|
+
"feature.projects": "feature.projects";
|
|
917
|
+
"feature.operations": "feature.operations";
|
|
918
|
+
"feature.knowledge": "feature.knowledge";
|
|
919
|
+
"feature.monitoring": "feature.monitoring";
|
|
920
|
+
"feature.settings": "feature.settings";
|
|
921
|
+
"feature.admin": "feature.admin";
|
|
922
|
+
"feature.archive": "feature.archive";
|
|
923
|
+
"feature.seo": "feature.seo";
|
|
924
|
+
"resource.agent": "resource.agent";
|
|
925
|
+
"resource.workflow": "resource.workflow";
|
|
926
|
+
"resource.integration": "resource.integration";
|
|
927
|
+
"resource.database": "resource.database";
|
|
928
|
+
"resource.user": "resource.user";
|
|
929
|
+
"resource.team": "resource.team";
|
|
930
|
+
"integration.gmail": "integration.gmail";
|
|
931
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
932
|
+
"integration.attio": "integration.attio";
|
|
933
|
+
"surface.dashboard": "surface.dashboard";
|
|
934
|
+
"surface.overview": "surface.overview";
|
|
935
|
+
"surface.command-view": "surface.command-view";
|
|
936
|
+
"surface.command-queue": "surface.command-queue";
|
|
937
|
+
"surface.pipeline": "surface.pipeline";
|
|
938
|
+
"surface.lists": "surface.lists";
|
|
939
|
+
"surface.resources": "surface.resources";
|
|
940
|
+
"surface.settings": "surface.settings";
|
|
941
|
+
"status.success": "status.success";
|
|
942
|
+
"status.error": "status.error";
|
|
943
|
+
"status.warning": "status.warning";
|
|
944
|
+
"status.info": "status.info";
|
|
945
|
+
"status.pending": "status.pending";
|
|
946
|
+
"action.approve": "action.approve";
|
|
947
|
+
"action.reject": "action.reject";
|
|
948
|
+
"action.retry": "action.retry";
|
|
949
|
+
"action.edit": "action.edit";
|
|
950
|
+
"action.view": "action.view";
|
|
951
|
+
"action.launch": "action.launch";
|
|
952
|
+
"action.message": "action.message";
|
|
953
|
+
"action.escalate": "action.escalate";
|
|
954
|
+
"action.promote": "action.promote";
|
|
955
|
+
"action.submit": "action.submit";
|
|
956
|
+
"action.email": "action.email";
|
|
957
|
+
}>, z.ZodString]>>;
|
|
204
958
|
id: z.ZodString;
|
|
205
959
|
order: z.ZodNumber;
|
|
206
960
|
}, z.core.$strip>>;
|
|
@@ -345,6 +1099,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
345
1099
|
}>;
|
|
346
1100
|
title: z.ZodString;
|
|
347
1101
|
summary: z.ZodString;
|
|
1102
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1103
|
+
"nav.dashboard": "nav.dashboard";
|
|
1104
|
+
"nav.sales": "nav.sales";
|
|
1105
|
+
"nav.crm": "nav.crm";
|
|
1106
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
1107
|
+
"nav.projects": "nav.projects";
|
|
1108
|
+
"nav.operations": "nav.operations";
|
|
1109
|
+
"nav.monitoring": "nav.monitoring";
|
|
1110
|
+
"nav.knowledge": "nav.knowledge";
|
|
1111
|
+
"nav.settings": "nav.settings";
|
|
1112
|
+
"nav.admin": "nav.admin";
|
|
1113
|
+
"nav.archive": "nav.archive";
|
|
1114
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
1115
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
1116
|
+
"knowledge.reference": "knowledge.reference";
|
|
1117
|
+
"feature.dashboard": "feature.dashboard";
|
|
1118
|
+
"feature.sales": "feature.sales";
|
|
1119
|
+
"feature.crm": "feature.crm";
|
|
1120
|
+
"feature.finance": "feature.finance";
|
|
1121
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
1122
|
+
"feature.platform": "feature.platform";
|
|
1123
|
+
"feature.projects": "feature.projects";
|
|
1124
|
+
"feature.operations": "feature.operations";
|
|
1125
|
+
"feature.knowledge": "feature.knowledge";
|
|
1126
|
+
"feature.monitoring": "feature.monitoring";
|
|
1127
|
+
"feature.settings": "feature.settings";
|
|
1128
|
+
"feature.admin": "feature.admin";
|
|
1129
|
+
"feature.archive": "feature.archive";
|
|
1130
|
+
"feature.seo": "feature.seo";
|
|
1131
|
+
"resource.agent": "resource.agent";
|
|
1132
|
+
"resource.workflow": "resource.workflow";
|
|
1133
|
+
"resource.integration": "resource.integration";
|
|
1134
|
+
"resource.database": "resource.database";
|
|
1135
|
+
"resource.user": "resource.user";
|
|
1136
|
+
"resource.team": "resource.team";
|
|
1137
|
+
"integration.gmail": "integration.gmail";
|
|
1138
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
1139
|
+
"integration.attio": "integration.attio";
|
|
1140
|
+
"surface.dashboard": "surface.dashboard";
|
|
1141
|
+
"surface.overview": "surface.overview";
|
|
1142
|
+
"surface.command-view": "surface.command-view";
|
|
1143
|
+
"surface.command-queue": "surface.command-queue";
|
|
1144
|
+
"surface.pipeline": "surface.pipeline";
|
|
1145
|
+
"surface.lists": "surface.lists";
|
|
1146
|
+
"surface.resources": "surface.resources";
|
|
1147
|
+
"surface.settings": "surface.settings";
|
|
1148
|
+
"status.success": "status.success";
|
|
1149
|
+
"status.error": "status.error";
|
|
1150
|
+
"status.warning": "status.warning";
|
|
1151
|
+
"status.info": "status.info";
|
|
1152
|
+
"status.pending": "status.pending";
|
|
1153
|
+
"action.approve": "action.approve";
|
|
1154
|
+
"action.reject": "action.reject";
|
|
1155
|
+
"action.retry": "action.retry";
|
|
1156
|
+
"action.edit": "action.edit";
|
|
1157
|
+
"action.view": "action.view";
|
|
1158
|
+
"action.launch": "action.launch";
|
|
1159
|
+
"action.message": "action.message";
|
|
1160
|
+
"action.escalate": "action.escalate";
|
|
1161
|
+
"action.promote": "action.promote";
|
|
1162
|
+
"action.submit": "action.submit";
|
|
1163
|
+
"action.email": "action.email";
|
|
1164
|
+
}>, z.ZodString]>>;
|
|
348
1165
|
body: z.ZodString;
|
|
349
1166
|
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
350
1167
|
nodeId: z.ZodString;
|
|
@@ -357,6 +1174,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
357
1174
|
|
|
358
1175
|
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
359
1176
|
type OrgKnowledgeNode = z.infer<typeof OrgKnowledgeNodeSchema>;
|
|
1177
|
+
type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
|
|
360
1178
|
|
|
361
1179
|
type OrganizationGraphNodeKind = 'organization' | 'feature' | 'surface' | 'entity' | 'capability' | 'resource' | 'knowledge';
|
|
362
1180
|
type OrganizationGraphEdgeKind = 'contains' | 'references' | 'exposes' | 'maps_to' | 'operates-on' | 'uses' | 'governs';
|
|
@@ -367,6 +1185,7 @@ interface OrganizationGraphNode {
|
|
|
367
1185
|
label: string;
|
|
368
1186
|
sourceId?: string;
|
|
369
1187
|
description?: string;
|
|
1188
|
+
icon?: OrganizationModelIconToken;
|
|
370
1189
|
enabled?: boolean;
|
|
371
1190
|
featureId?: string;
|
|
372
1191
|
resourceType?: 'workflow' | 'agent' | 'trigger' | 'integration' | 'external' | 'human_checkpoint';
|
|
@@ -391,37 +1210,37 @@ interface KnowledgeBrowserProps {
|
|
|
391
1210
|
graph: OrganizationGraph;
|
|
392
1211
|
/** All knowledge nodes (OM authoring shape). */
|
|
393
1212
|
knowledgeNodes: OrgKnowledgeNode[];
|
|
394
|
-
/** Optional id of the node to render
|
|
1213
|
+
/** Optional id of the node to render. */
|
|
395
1214
|
initialNodeId?: string;
|
|
396
1215
|
/** Optional callback invoked when a graph edge chip is clicked in the node view. */
|
|
397
1216
|
onNavigateToNode?: (graphNodeId: string) => void;
|
|
1217
|
+
/** Optional callback invoked when the overview links to a knowledge node. */
|
|
1218
|
+
onSelectNode?: (nodeId: string) => void;
|
|
398
1219
|
}
|
|
399
1220
|
/**
|
|
400
|
-
*
|
|
1221
|
+
* Renders the selected knowledge node detail, or the root knowledge overview.
|
|
401
1222
|
*
|
|
402
|
-
*
|
|
403
|
-
* (
|
|
404
|
-
* nav lives in the subshell sidebar (KnowledgeSidebar / KnowledgeSidebarMiddle).
|
|
405
|
-
* Selection is URL-driven via `initialNodeId` (sourced from route params).
|
|
1223
|
+
* The file-system tree nav and the search bar live in the subshell sidebar
|
|
1224
|
+
* (`KnowledgeSidebarMiddle`). Selection is URL-driven via `initialNodeId`.
|
|
406
1225
|
*/
|
|
407
|
-
declare function KnowledgeBrowser({ graph, knowledgeNodes, initialNodeId, onNavigateToNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
1226
|
+
declare function KnowledgeBrowser({ graph, knowledgeNodes, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
408
1227
|
|
|
409
1228
|
interface KnowledgeTreeProps {
|
|
410
|
-
/** Built organization graph
|
|
1229
|
+
/** Built organization graph - used to enumerate features and resolve `governs` edges. */
|
|
411
1230
|
graph: OrganizationGraph;
|
|
412
1231
|
/** All knowledge nodes (the OM authoring shape; queries need this for body/links). */
|
|
413
1232
|
knowledgeNodes: OrgKnowledgeNode[];
|
|
414
1233
|
/** Called when a knowledge node is selected. */
|
|
415
1234
|
onSelectNode: (node: OrgKnowledgeNode) => void;
|
|
1235
|
+
/** Called when a graph/config node is selected. */
|
|
1236
|
+
onSelectGraphNode?: (node: OrganizationGraphNode) => void;
|
|
416
1237
|
/** Currently selected node id (highlights the active row). */
|
|
417
1238
|
selectedNodeId?: string;
|
|
418
1239
|
}
|
|
419
1240
|
/**
|
|
420
|
-
* By-feature primary tree
|
|
421
|
-
* knowledge nodes nested underneath. Features with no governing nodes are
|
|
422
|
-
* omitted to keep the tree focused.
|
|
1241
|
+
* By-feature primary tree using Mantine `Tree`.
|
|
423
1242
|
*/
|
|
424
|
-
declare function KnowledgeTree({ graph, knowledgeNodes, onSelectNode, selectedNodeId }: KnowledgeTreeProps): react_jsx_runtime.JSX.Element;
|
|
1243
|
+
declare function KnowledgeTree({ graph, knowledgeNodes, onSelectNode, onSelectGraphNode, selectedNodeId }: KnowledgeTreeProps): react_jsx_runtime.JSX.Element;
|
|
425
1244
|
|
|
426
1245
|
interface KnowledgeNodeListProps {
|
|
427
1246
|
/** Nodes to render. Usually the result of a query (byFeature, byKind, search). */
|
|
@@ -445,7 +1264,7 @@ declare function KnowledgeNodeList({ nodes, onSelect, selectedNodeId, label }: K
|
|
|
445
1264
|
interface KnowledgeNodeViewProps {
|
|
446
1265
|
/** The knowledge node to display. */
|
|
447
1266
|
node: OrgKnowledgeNode;
|
|
448
|
-
/** The organization graph
|
|
1267
|
+
/** The organization graph - used to resolve edge relationships. */
|
|
449
1268
|
graph: OrganizationGraph;
|
|
450
1269
|
/**
|
|
451
1270
|
* Optional callback when the user clicks a graph edge chip (e.g. to navigate
|
|
@@ -459,21 +1278,8 @@ interface KnowledgeNodeViewProps {
|
|
|
459
1278
|
extraComponents?: Record<string, React.ComponentType<any>>;
|
|
460
1279
|
}
|
|
461
1280
|
/**
|
|
462
|
-
* Full single-node view: title, kind
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
* Internally wraps the MDX body in a `KnowledgeMDXProvider` so `KNOWLEDGE_BODIES`
|
|
466
|
-
* components receive the standard allowlist. Pass `extraComponents` to extend
|
|
467
|
-
* or override allowlist entries for this view only.
|
|
468
|
-
*
|
|
469
|
-
* @example
|
|
470
|
-
* ```tsx
|
|
471
|
-
* <KnowledgeNodeView
|
|
472
|
-
* node={selectedNode}
|
|
473
|
-
* graph={graph}
|
|
474
|
-
* onNavigateToNode={(id) => navigate(`/knowledge/${id}`)}
|
|
475
|
-
* />
|
|
476
|
-
* ```
|
|
1281
|
+
* Full single-node view: title, kind chip, summary, compiled MDX body, graph
|
|
1282
|
+
* relationships, and technical metadata for the backing graph node.
|
|
477
1283
|
*/
|
|
478
1284
|
declare function KnowledgeNodeView({ node, graph, onNavigateToNode, extraComponents }: KnowledgeNodeViewProps): react_jsx_runtime.JSX.Element;
|
|
479
1285
|
|
|
@@ -576,6 +1382,28 @@ declare const KnowledgeSidebarMiddle: ({ items }?: KnowledgeSidebarMiddleProps)
|
|
|
576
1382
|
*/
|
|
577
1383
|
declare const KNOWLEDGE_ITEMS: NavItem[];
|
|
578
1384
|
|
|
1385
|
+
type SemanticIconToken = string;
|
|
1386
|
+
type TablerIconComponent = typeof IconBrain;
|
|
1387
|
+
type SemanticIconFallbackKind = 'knowledge' | 'playbook' | 'strategy' | 'reference' | 'feature' | 'resource' | 'integration' | 'action' | 'status' | 'nav' | 'unknown';
|
|
1388
|
+
type SemanticIconRegistry = Record<SemanticIconToken, TablerIconComponent>;
|
|
1389
|
+
declare function extendSemanticIconRegistry(overrides: SemanticIconRegistry): void;
|
|
1390
|
+
declare function getSemanticIconComponent(token?: string | null, fallbackKind?: SemanticIconFallbackKind, fallbackToken?: string): TablerIconComponent;
|
|
1391
|
+
declare function resolveSemanticIconComponent(token?: string | null): TablerIconComponent | null;
|
|
1392
|
+
interface SemanticIconProps {
|
|
1393
|
+
token?: string | null;
|
|
1394
|
+
fallbackKind?: SemanticIconFallbackKind;
|
|
1395
|
+
fallbackToken?: string;
|
|
1396
|
+
size?: number;
|
|
1397
|
+
stroke?: number;
|
|
1398
|
+
className?: string;
|
|
1399
|
+
style?: CSSProperties;
|
|
1400
|
+
'aria-hidden'?: boolean;
|
|
1401
|
+
}
|
|
1402
|
+
declare function SemanticIcon({ token, fallbackKind, fallbackToken, size, stroke, className, style, 'aria-hidden': ariaHidden }: SemanticIconProps): react_jsx_runtime.JSX.Element;
|
|
1403
|
+
|
|
1404
|
+
declare const KNOWLEDGE_ICON_TOKEN_BY_KIND: Record<OrgKnowledgeKind, SemanticIconToken>;
|
|
1405
|
+
declare function getKnowledgeIconToken(node: OrgKnowledgeNode): string | undefined;
|
|
1406
|
+
|
|
579
1407
|
/**
|
|
580
1408
|
* Default v1 component allowlist for knowledge MDX bodies.
|
|
581
1409
|
*
|
|
@@ -639,5 +1467,117 @@ type KnowledgeBodyProps = {
|
|
|
639
1467
|
};
|
|
640
1468
|
declare const KNOWLEDGE_BODIES: Record<string, ComponentType<KnowledgeBodyProps>>;
|
|
641
1469
|
|
|
642
|
-
|
|
643
|
-
|
|
1470
|
+
interface DescribeNodeViewProps {
|
|
1471
|
+
/** The graph node to display. */
|
|
1472
|
+
node: OrganizationGraphNode;
|
|
1473
|
+
/** The organization graph, used to resolve edge relationships. */
|
|
1474
|
+
graph: OrganizationGraph;
|
|
1475
|
+
/** Full knowledge nodes from the organization model, used to hydrate graph knowledge stubs. */
|
|
1476
|
+
knowledgeNodes?: OrgKnowledgeNode[];
|
|
1477
|
+
/**
|
|
1478
|
+
* Optional callback when the user clicks a graph edge chip.
|
|
1479
|
+
* The raw graph node id is passed.
|
|
1480
|
+
*/
|
|
1481
|
+
onNavigateToNode?: (graphNodeId: string) => void;
|
|
1482
|
+
}
|
|
1483
|
+
/**
|
|
1484
|
+
* Kind-dispatching describe view. Routes each `OrganizationGraphNode` kind to
|
|
1485
|
+
* its appropriate read-only detail component. Falls back to `GenericDescribeView`
|
|
1486
|
+
* for kinds that do not have a dedicated view or knowledge graph stubs that
|
|
1487
|
+
* cannot be hydrated from the organization model.
|
|
1488
|
+
*/
|
|
1489
|
+
declare function DescribeNodeView({ node, graph, knowledgeNodes, onNavigateToNode }: DescribeNodeViewProps): react_jsx_runtime.JSX.Element;
|
|
1490
|
+
|
|
1491
|
+
interface FeatureDescribeViewProps {
|
|
1492
|
+
node: OrganizationGraphNode;
|
|
1493
|
+
graph: OrganizationGraph;
|
|
1494
|
+
knowledgeNodes?: OrgKnowledgeNode[];
|
|
1495
|
+
onNavigateToNode?: (graphNodeId: string) => void;
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* Minimal describe view for `feature` graph nodes.
|
|
1499
|
+
* Shows: header, key fields (id, sourceId/path, enabled, featureId), relationships, metadata.
|
|
1500
|
+
*/
|
|
1501
|
+
declare function FeatureDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: FeatureDescribeViewProps): react_jsx_runtime.JSX.Element;
|
|
1502
|
+
|
|
1503
|
+
interface ResourceDescribeViewProps {
|
|
1504
|
+
node: OrganizationGraphNode;
|
|
1505
|
+
graph: OrganizationGraph;
|
|
1506
|
+
knowledgeNodes?: OrgKnowledgeNode[];
|
|
1507
|
+
onNavigateToNode?: (graphNodeId: string) => void;
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* Minimal describe view for `resource` graph nodes.
|
|
1511
|
+
* Shows: header, resource metadata, relationships, technical metadata.
|
|
1512
|
+
*/
|
|
1513
|
+
declare function ResourceDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: ResourceDescribeViewProps): react_jsx_runtime.JSX.Element;
|
|
1514
|
+
|
|
1515
|
+
interface OrganizationDescribeViewProps {
|
|
1516
|
+
node: OrganizationGraphNode;
|
|
1517
|
+
graph: OrganizationGraph;
|
|
1518
|
+
knowledgeNodes?: OrgKnowledgeNode[];
|
|
1519
|
+
onNavigateToNode?: (graphNodeId: string) => void;
|
|
1520
|
+
}
|
|
1521
|
+
/**
|
|
1522
|
+
* Minimal describe view for `organization` graph nodes.
|
|
1523
|
+
* Shows: header, id, relationships, technical metadata.
|
|
1524
|
+
*/
|
|
1525
|
+
declare function OrganizationDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: OrganizationDescribeViewProps): react_jsx_runtime.JSX.Element;
|
|
1526
|
+
|
|
1527
|
+
interface GenericDescribeViewProps {
|
|
1528
|
+
node: OrganizationGraphNode;
|
|
1529
|
+
graph: OrganizationGraph;
|
|
1530
|
+
knowledgeNodes?: OrgKnowledgeNode[];
|
|
1531
|
+
onNavigateToNode?: (graphNodeId: string) => void;
|
|
1532
|
+
}
|
|
1533
|
+
/**
|
|
1534
|
+
* Fallback describe view for unknown graph node kinds.
|
|
1535
|
+
* Renders a key/value table over all node properties.
|
|
1536
|
+
*/
|
|
1537
|
+
declare function GenericDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: GenericDescribeViewProps): react_jsx_runtime.JSX.Element;
|
|
1538
|
+
|
|
1539
|
+
type KindChipTone = 'subtle' | 'primary' | 'muted';
|
|
1540
|
+
interface KindChipProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
1541
|
+
kind: string;
|
|
1542
|
+
tone?: KindChipTone;
|
|
1543
|
+
}
|
|
1544
|
+
declare function KindChip({ kind, tone, style, ...spanProps }: KindChipProps): react_jsx_runtime.JSX.Element;
|
|
1545
|
+
interface NodeHeaderProps {
|
|
1546
|
+
title: ReactNode;
|
|
1547
|
+
kind: string;
|
|
1548
|
+
tone?: KindChipTone;
|
|
1549
|
+
iconToken?: string;
|
|
1550
|
+
description?: ReactNode;
|
|
1551
|
+
updatedAt?: string;
|
|
1552
|
+
rightSection?: ReactNode;
|
|
1553
|
+
}
|
|
1554
|
+
declare function NodeHeader({ title, kind, tone, iconToken, description, updatedAt, rightSection }: NodeHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1555
|
+
interface RelatedKnowledgeSectionProps {
|
|
1556
|
+
nodeId: string;
|
|
1557
|
+
graph: OrganizationGraph;
|
|
1558
|
+
knowledgeNodes: OrgKnowledgeNode[];
|
|
1559
|
+
onNavigateToNode?: (nodeId: string) => void;
|
|
1560
|
+
}
|
|
1561
|
+
declare function RelatedKnowledgeSection({ nodeId, graph, knowledgeNodes, onNavigateToNode }: RelatedKnowledgeSectionProps): react_jsx_runtime.JSX.Element | null;
|
|
1562
|
+
interface EdgeRelationshipGroupProps {
|
|
1563
|
+
nodeId: string;
|
|
1564
|
+
graph: OrganizationGraph;
|
|
1565
|
+
knowledgeNodes?: OrgKnowledgeNode[];
|
|
1566
|
+
onNavigateToNode?: (nodeId: string) => void;
|
|
1567
|
+
}
|
|
1568
|
+
declare function EdgeRelationshipGroup({ nodeId, graph, knowledgeNodes, onNavigateToNode }: EdgeRelationshipGroupProps): react_jsx_runtime.JSX.Element | null;
|
|
1569
|
+
interface NodeMetadataFooterProps {
|
|
1570
|
+
node: OrganizationGraphNode;
|
|
1571
|
+
title?: string;
|
|
1572
|
+
}
|
|
1573
|
+
declare function NodeMetadataFooter({ node, title }: NodeMetadataFooterProps): react_jsx_runtime.JSX.Element | null;
|
|
1574
|
+
interface NodeDescribeShellProps {
|
|
1575
|
+
header?: ReactNode;
|
|
1576
|
+
content?: ReactNode;
|
|
1577
|
+
relationships?: ReactNode;
|
|
1578
|
+
footer?: ReactNode;
|
|
1579
|
+
}
|
|
1580
|
+
declare function NodeDescribeShell({ header, content, relationships, footer }: NodeDescribeShellProps): react_jsx_runtime.JSX.Element;
|
|
1581
|
+
|
|
1582
|
+
export { DescribeNodeView, EdgeRelationshipGroup, FeatureDescribeView, GenericDescribeView, KNOWLEDGE_ALLOWLIST, KNOWLEDGE_BODIES, KNOWLEDGE_ICON_TOKEN_BY_KIND, KNOWLEDGE_ITEMS, KindChip, KnowledgeBrowser, KnowledgeMDXProvider, KnowledgeNodeList, KnowledgeNodeView, KnowledgeSearchBar, KnowledgeSidebarMiddle, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, OrganizationDescribeView, RelatedKnowledgeSection, ResourceDescribeView, SemanticIcon, extendSemanticIconRegistry, getKnowledgeIconToken, getSemanticIconComponent, resolveSemanticIconComponent, useKnowledgeAllowlist };
|
|
1583
|
+
export type { DescribeNodeViewProps, EdgeRelationshipGroupProps, FeatureDescribeViewProps, GenericDescribeViewProps, KindChipProps, KindChipTone, KnowledgeBrowserProps, KnowledgeNodeListProps, KnowledgeNodeViewProps, KnowledgeSearchBarProps, KnowledgeSidebarMiddleProps, KnowledgeTreeProps, NodeDescribeShellProps, NodeHeaderProps, NodeMetadataFooterProps, OrganizationDescribeViewProps, RelatedKnowledgeSectionProps, ResourceDescribeViewProps, SemanticIconProps, SemanticIconRegistry, SemanticIconToken };
|