@sprucelabs/spruce-role-utils 3.0.182 → 4.0.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/build/.spruce/schemas/roles/v2022_08_26/selectedRoleWithRequirement.schema.js +10 -5
- package/build/.spruce/schemas/schemas.types.d.ts +105 -100
- package/build/.spruce/schemas/schemas.types.js +1 -2
- package/build/esm/.spruce/schemas/roles/v2022_08_26/selectedRoleWithRequirement.schema.js +10 -5
- package/build/esm/.spruce/schemas/schemas.types.d.ts +105 -100
- package/build/esm/.spruce/schemas/schemas.types.js +1 -2
- package/build/esm/index-module.d.ts +1 -1
- package/build/index-module.d.ts +1 -1
- package/build/selectingRoles/RoleSelectCard.vc.js +17 -8
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
6
6
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
7
7
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
8
8
|
interface DidRegisterSkillViewsEmitTarget {
|
|
9
|
-
|
|
9
|
+
personId: string;
|
|
10
10
|
}
|
|
11
11
|
interface DidRegisterSkillViewsEmitTargetSchema extends SpruceSchema.Schema {
|
|
12
12
|
id: 'didRegisterSkillViewsEmitTarget';
|
|
@@ -15,7 +15,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
15
15
|
name: '';
|
|
16
16
|
fields: {
|
|
17
17
|
/** . */
|
|
18
|
-
|
|
18
|
+
personId: {
|
|
19
19
|
type: 'id';
|
|
20
20
|
isRequired: true;
|
|
21
21
|
options: undefined;
|
|
@@ -28,7 +28,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
28
28
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
29
29
|
interface DidRegisterSkillViewsEmitPayload {
|
|
30
30
|
/** View namespace. */
|
|
31
|
-
|
|
31
|
+
namespace: string;
|
|
32
32
|
}
|
|
33
33
|
interface DidRegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
34
34
|
id: 'didRegisterSkillViewsEmitPayload';
|
|
@@ -37,7 +37,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
37
37
|
name: '';
|
|
38
38
|
fields: {
|
|
39
39
|
/** View namespace. */
|
|
40
|
-
|
|
40
|
+
namespace: {
|
|
41
41
|
label: 'View namespace';
|
|
42
42
|
type: 'text';
|
|
43
43
|
isRequired: true;
|
|
@@ -51,17 +51,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
51
51
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
52
52
|
interface GenerateUrlEmitTarget {
|
|
53
53
|
/** Skill View Id. */
|
|
54
|
-
|
|
54
|
+
skillViewId?: SkillViewControllerId | undefined | null;
|
|
55
55
|
}
|
|
56
56
|
interface GenerateUrlEmitTargetSchema extends SpruceSchema.Schema {
|
|
57
57
|
id: 'generateUrlEmitTarget';
|
|
58
58
|
version: 'v2021_02_11';
|
|
59
59
|
namespace: 'Heartwood';
|
|
60
60
|
name: '';
|
|
61
|
-
importsWhenRemote: [
|
|
61
|
+
importsWhenRemote: [
|
|
62
|
+
"import { SkillViewControllerId } from '@sprucelabs/heartwood-view-controllers'"
|
|
63
|
+
];
|
|
62
64
|
fields: {
|
|
63
65
|
/** Skill View Id. */
|
|
64
|
-
|
|
66
|
+
skillViewId: {
|
|
65
67
|
label: 'Skill View Id';
|
|
66
68
|
type: 'raw';
|
|
67
69
|
options: {
|
|
@@ -76,7 +78,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
76
78
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
77
79
|
interface GenerateUrlEmitPayload {
|
|
78
80
|
/** Load args. */
|
|
79
|
-
|
|
81
|
+
args?: Record<string, any> | undefined | null;
|
|
80
82
|
}
|
|
81
83
|
interface GenerateUrlEmitPayloadSchema extends SpruceSchema.Schema {
|
|
82
84
|
id: 'generateUrlEmitPayload';
|
|
@@ -85,7 +87,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
85
87
|
name: '';
|
|
86
88
|
fields: {
|
|
87
89
|
/** Load args. */
|
|
88
|
-
|
|
90
|
+
args: {
|
|
89
91
|
label: 'Load args';
|
|
90
92
|
type: 'raw';
|
|
91
93
|
options: {
|
|
@@ -100,9 +102,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
100
102
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
101
103
|
interface GenerateUrlEmitTargetAndPayload {
|
|
102
104
|
/** Source. */
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
source?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
106
|
+
target?: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTarget | undefined | null;
|
|
107
|
+
payload?: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayload | undefined | null;
|
|
106
108
|
}
|
|
107
109
|
interface GenerateUrlEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
108
110
|
id: 'generateUrlEmitTargetAndPayload';
|
|
@@ -111,7 +113,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
111
113
|
name: '';
|
|
112
114
|
fields: {
|
|
113
115
|
/** Source. */
|
|
114
|
-
|
|
116
|
+
source: {
|
|
115
117
|
label: 'Source';
|
|
116
118
|
type: 'schema';
|
|
117
119
|
options: {
|
|
@@ -119,14 +121,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
119
121
|
};
|
|
120
122
|
};
|
|
121
123
|
/** . */
|
|
122
|
-
|
|
124
|
+
target: {
|
|
123
125
|
type: 'schema';
|
|
124
126
|
options: {
|
|
125
127
|
schema: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetSchema;
|
|
126
128
|
};
|
|
127
129
|
};
|
|
128
130
|
/** . */
|
|
129
|
-
|
|
131
|
+
payload: {
|
|
130
132
|
type: 'schema';
|
|
131
133
|
options: {
|
|
132
134
|
schema: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayloadSchema;
|
|
@@ -140,7 +142,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
140
142
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
141
143
|
interface GenerateUrlResponsePayload {
|
|
142
144
|
/** Url. */
|
|
143
|
-
|
|
145
|
+
url: string;
|
|
144
146
|
}
|
|
145
147
|
interface GenerateUrlResponsePayloadSchema extends SpruceSchema.Schema {
|
|
146
148
|
id: 'generateUrlResponsePayload';
|
|
@@ -149,7 +151,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
149
151
|
name: '';
|
|
150
152
|
fields: {
|
|
151
153
|
/** Url. */
|
|
152
|
-
|
|
154
|
+
url: {
|
|
153
155
|
label: 'Url';
|
|
154
156
|
type: 'text';
|
|
155
157
|
isRequired: true;
|
|
@@ -162,7 +164,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
162
164
|
}
|
|
163
165
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
164
166
|
interface GetActiveThemeEmitTarget {
|
|
165
|
-
|
|
167
|
+
organizationId: string;
|
|
166
168
|
}
|
|
167
169
|
interface GetActiveThemeEmitTargetSchema extends SpruceSchema.Schema {
|
|
168
170
|
id: 'getActiveThemeEmitTarget';
|
|
@@ -171,7 +173,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
171
173
|
name: '';
|
|
172
174
|
fields: {
|
|
173
175
|
/** . */
|
|
174
|
-
|
|
176
|
+
organizationId: {
|
|
175
177
|
type: 'id';
|
|
176
178
|
isRequired: true;
|
|
177
179
|
options: undefined;
|
|
@@ -184,8 +186,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
184
186
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
185
187
|
interface GetActiveThemeEmitTargetAndPayload {
|
|
186
188
|
/** Source. */
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
source?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
190
|
+
target: SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTarget;
|
|
189
191
|
}
|
|
190
192
|
interface GetActiveThemeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
191
193
|
id: 'getActiveThemeEmitTargetAndPayload';
|
|
@@ -194,7 +196,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
194
196
|
name: '';
|
|
195
197
|
fields: {
|
|
196
198
|
/** Source. */
|
|
197
|
-
|
|
199
|
+
source: {
|
|
198
200
|
label: 'Source';
|
|
199
201
|
type: 'schema';
|
|
200
202
|
options: {
|
|
@@ -202,7 +204,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
202
204
|
};
|
|
203
205
|
};
|
|
204
206
|
/** . */
|
|
205
|
-
|
|
207
|
+
target: {
|
|
206
208
|
type: 'schema';
|
|
207
209
|
isRequired: true;
|
|
208
210
|
options: {
|
|
@@ -216,7 +218,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
216
218
|
}
|
|
217
219
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
218
220
|
interface UpsertThemeResponsePayload {
|
|
219
|
-
|
|
221
|
+
theme: SpruceSchemas.Heartwood.v2021_02_11.Theme;
|
|
220
222
|
}
|
|
221
223
|
interface UpsertThemeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
222
224
|
id: 'upsertThemeResponsePayload';
|
|
@@ -225,7 +227,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
225
227
|
name: '';
|
|
226
228
|
fields: {
|
|
227
229
|
/** . */
|
|
228
|
-
|
|
230
|
+
theme: {
|
|
229
231
|
type: 'schema';
|
|
230
232
|
isRequired: true;
|
|
231
233
|
options: {
|
|
@@ -239,7 +241,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
239
241
|
}
|
|
240
242
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
241
243
|
interface GetViewControllersEmitTarget {
|
|
242
|
-
|
|
244
|
+
namespace: string;
|
|
243
245
|
}
|
|
244
246
|
interface GetViewControllersEmitTargetSchema extends SpruceSchema.Schema {
|
|
245
247
|
id: 'getViewControllersEmitTarget';
|
|
@@ -248,7 +250,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
248
250
|
name: '';
|
|
249
251
|
fields: {
|
|
250
252
|
/** . */
|
|
251
|
-
|
|
253
|
+
namespace: {
|
|
252
254
|
type: 'text';
|
|
253
255
|
isRequired: true;
|
|
254
256
|
options: undefined;
|
|
@@ -261,8 +263,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
261
263
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
262
264
|
interface GetSkillViewsEmitTargetAndPayload {
|
|
263
265
|
/** Source. */
|
|
264
|
-
|
|
265
|
-
|
|
266
|
+
source?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
267
|
+
target: SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTarget;
|
|
266
268
|
}
|
|
267
269
|
interface GetSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
268
270
|
id: 'getSkillViewsEmitTargetAndPayload';
|
|
@@ -271,7 +273,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
271
273
|
name: '';
|
|
272
274
|
fields: {
|
|
273
275
|
/** Source. */
|
|
274
|
-
|
|
276
|
+
source: {
|
|
275
277
|
label: 'Source';
|
|
276
278
|
type: 'schema';
|
|
277
279
|
options: {
|
|
@@ -279,7 +281,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
279
281
|
};
|
|
280
282
|
};
|
|
281
283
|
/** . */
|
|
282
|
-
|
|
284
|
+
target: {
|
|
283
285
|
type: 'schema';
|
|
284
286
|
isRequired: true;
|
|
285
287
|
options: {
|
|
@@ -293,11 +295,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
293
295
|
}
|
|
294
296
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
295
297
|
interface GetSkillViewsResponsePayload {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
298
|
+
id: string;
|
|
299
|
+
ids: string[];
|
|
300
|
+
source?: string | undefined | null;
|
|
301
|
+
sourceUrl?: string | undefined | null;
|
|
302
|
+
theme?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme | undefined | null;
|
|
301
303
|
}
|
|
302
304
|
interface GetSkillViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
303
305
|
id: 'getSkillViewsResponsePayload';
|
|
@@ -306,30 +308,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
306
308
|
name: '';
|
|
307
309
|
fields: {
|
|
308
310
|
/** . */
|
|
309
|
-
|
|
311
|
+
id: {
|
|
310
312
|
type: 'id';
|
|
311
313
|
isRequired: true;
|
|
312
314
|
options: undefined;
|
|
313
315
|
};
|
|
314
316
|
/** . */
|
|
315
|
-
|
|
317
|
+
ids: {
|
|
316
318
|
type: 'text';
|
|
317
319
|
isRequired: true;
|
|
318
320
|
isArray: true;
|
|
319
321
|
options: undefined;
|
|
320
322
|
};
|
|
321
323
|
/** . */
|
|
322
|
-
|
|
324
|
+
source: {
|
|
323
325
|
type: 'text';
|
|
324
326
|
options: undefined;
|
|
325
327
|
};
|
|
326
328
|
/** . */
|
|
327
|
-
|
|
329
|
+
sourceUrl: {
|
|
328
330
|
type: 'text';
|
|
329
331
|
options: undefined;
|
|
330
332
|
};
|
|
331
333
|
/** . */
|
|
332
|
-
|
|
334
|
+
theme: {
|
|
333
335
|
type: 'schema';
|
|
334
336
|
options: {
|
|
335
337
|
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema;
|
|
@@ -342,11 +344,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
342
344
|
}
|
|
343
345
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
344
346
|
interface ListViewsResult {
|
|
345
|
-
|
|
347
|
+
namespace: string;
|
|
346
348
|
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
|
347
|
-
|
|
349
|
+
svcIds: string[];
|
|
348
350
|
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
|
349
|
-
|
|
351
|
+
vcIds: string[];
|
|
350
352
|
}
|
|
351
353
|
interface ListViewsResultSchema extends SpruceSchema.Schema {
|
|
352
354
|
id: 'listViewsResult';
|
|
@@ -355,13 +357,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
355
357
|
name: '';
|
|
356
358
|
fields: {
|
|
357
359
|
/** . */
|
|
358
|
-
|
|
360
|
+
namespace: {
|
|
359
361
|
type: 'text';
|
|
360
362
|
isRequired: true;
|
|
361
363
|
options: undefined;
|
|
362
364
|
};
|
|
363
365
|
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
|
364
|
-
|
|
366
|
+
svcIds: {
|
|
365
367
|
label: 'Skill view ids';
|
|
366
368
|
type: 'id';
|
|
367
369
|
isRequired: true;
|
|
@@ -371,7 +373,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
371
373
|
options: undefined;
|
|
372
374
|
};
|
|
373
375
|
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
|
374
|
-
|
|
376
|
+
vcIds: {
|
|
375
377
|
label: 'View ids';
|
|
376
378
|
type: 'id';
|
|
377
379
|
isRequired: true;
|
|
@@ -387,7 +389,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
387
389
|
}
|
|
388
390
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
389
391
|
interface ListViewsResponsePayload {
|
|
390
|
-
|
|
392
|
+
views: SpruceSchemas.Heartwood.v2021_02_11.ListViewsResult[];
|
|
391
393
|
}
|
|
392
394
|
interface ListViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
393
395
|
id: 'listViewsResponsePayload';
|
|
@@ -396,7 +398,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
396
398
|
name: '';
|
|
397
399
|
fields: {
|
|
398
400
|
/** . */
|
|
399
|
-
|
|
401
|
+
views: {
|
|
400
402
|
type: 'schema';
|
|
401
403
|
isRequired: true;
|
|
402
404
|
isArray: true;
|
|
@@ -412,7 +414,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
412
414
|
}
|
|
413
415
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
414
416
|
interface RegisterDashboardCardsResponsePayload {
|
|
415
|
-
|
|
417
|
+
vcIds: string[];
|
|
416
418
|
}
|
|
417
419
|
interface RegisterDashboardCardsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
418
420
|
id: 'registerDashboardCardsResponsePayload';
|
|
@@ -421,7 +423,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
421
423
|
name: '';
|
|
422
424
|
fields: {
|
|
423
425
|
/** . */
|
|
424
|
-
|
|
426
|
+
vcIds: {
|
|
425
427
|
type: 'id';
|
|
426
428
|
isRequired: true;
|
|
427
429
|
isArray: true;
|
|
@@ -436,8 +438,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
436
438
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
437
439
|
interface RegisterSkillViewsEmitTargetAndPayload {
|
|
438
440
|
/** Source. */
|
|
439
|
-
|
|
440
|
-
|
|
441
|
+
source?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
442
|
+
payload: SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayload;
|
|
441
443
|
}
|
|
442
444
|
interface RegisterSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
443
445
|
id: 'registerSkillViewsEmitTargetAndPayload';
|
|
@@ -446,7 +448,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
446
448
|
name: '';
|
|
447
449
|
fields: {
|
|
448
450
|
/** Source. */
|
|
449
|
-
|
|
451
|
+
source: {
|
|
450
452
|
label: 'Source';
|
|
451
453
|
type: 'schema';
|
|
452
454
|
options: {
|
|
@@ -454,7 +456,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
454
456
|
};
|
|
455
457
|
};
|
|
456
458
|
/** . */
|
|
457
|
-
|
|
459
|
+
payload: {
|
|
458
460
|
type: 'schema';
|
|
459
461
|
isRequired: true;
|
|
460
462
|
options: {
|
|
@@ -468,10 +470,10 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
468
470
|
}
|
|
469
471
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
470
472
|
interface RegisterSkillViewsEmitPayload {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
ids: string[];
|
|
474
|
+
source?: string | undefined | null;
|
|
475
|
+
sourceUrl?: string | undefined | null;
|
|
476
|
+
theme?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme | undefined | null;
|
|
475
477
|
}
|
|
476
478
|
interface RegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
477
479
|
id: 'registerSkillViewsEmitPayload';
|
|
@@ -480,24 +482,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
480
482
|
name: '';
|
|
481
483
|
fields: {
|
|
482
484
|
/** . */
|
|
483
|
-
|
|
485
|
+
ids: {
|
|
484
486
|
type: 'text';
|
|
485
487
|
isRequired: true;
|
|
486
488
|
isArray: true;
|
|
487
489
|
options: undefined;
|
|
488
490
|
};
|
|
489
491
|
/** . */
|
|
490
|
-
|
|
492
|
+
source: {
|
|
491
493
|
type: 'text';
|
|
492
494
|
options: undefined;
|
|
493
495
|
};
|
|
494
496
|
/** . */
|
|
495
|
-
|
|
497
|
+
sourceUrl: {
|
|
496
498
|
type: 'text';
|
|
497
499
|
options: undefined;
|
|
498
500
|
};
|
|
499
501
|
/** . */
|
|
500
|
-
|
|
502
|
+
theme: {
|
|
501
503
|
type: 'schema';
|
|
502
504
|
options: {
|
|
503
505
|
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema;
|
|
@@ -511,7 +513,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
511
513
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
512
514
|
interface RegisterSkillViewsResponsePayload {
|
|
513
515
|
/** . Views that were registered. Will match the number of ids you sent. */
|
|
514
|
-
|
|
516
|
+
totalRegistered: number;
|
|
515
517
|
}
|
|
516
518
|
interface RegisterSkillViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
517
519
|
id: 'registerSkillViewsResponsePayload';
|
|
@@ -520,7 +522,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
520
522
|
name: '';
|
|
521
523
|
fields: {
|
|
522
524
|
/** . Views that were registered. Will match the number of ids you sent. */
|
|
523
|
-
|
|
525
|
+
totalRegistered: {
|
|
524
526
|
type: 'number';
|
|
525
527
|
isRequired: true;
|
|
526
528
|
hint: 'Views that were registered. Will match the number of ids you sent.';
|
|
@@ -534,9 +536,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
534
536
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
535
537
|
interface DidRegisterSkillViewsEmitTargetAndPayload {
|
|
536
538
|
/** Source. */
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
539
|
+
source?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
540
|
+
target: SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTarget;
|
|
541
|
+
payload: SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayload;
|
|
540
542
|
}
|
|
541
543
|
interface DidRegisterSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
542
544
|
id: 'didRegisterSkillViewsEmitTargetAndPayload';
|
|
@@ -545,7 +547,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
545
547
|
name: '';
|
|
546
548
|
fields: {
|
|
547
549
|
/** Source. */
|
|
548
|
-
|
|
550
|
+
source: {
|
|
549
551
|
label: 'Source';
|
|
550
552
|
type: 'schema';
|
|
551
553
|
options: {
|
|
@@ -553,7 +555,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
553
555
|
};
|
|
554
556
|
};
|
|
555
557
|
/** . */
|
|
556
|
-
|
|
558
|
+
target: {
|
|
557
559
|
type: 'schema';
|
|
558
560
|
isRequired: true;
|
|
559
561
|
options: {
|
|
@@ -561,7 +563,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
561
563
|
};
|
|
562
564
|
};
|
|
563
565
|
/** . */
|
|
564
|
-
|
|
566
|
+
payload: {
|
|
565
567
|
type: 'schema';
|
|
566
568
|
isRequired: true;
|
|
567
569
|
options: {
|
|
@@ -575,7 +577,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
575
577
|
}
|
|
576
578
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
577
579
|
interface UpsertThemeEmitTarget {
|
|
578
|
-
|
|
580
|
+
organizationId: string;
|
|
579
581
|
}
|
|
580
582
|
interface UpsertThemeEmitTargetSchema extends SpruceSchema.Schema {
|
|
581
583
|
id: 'upsertThemeEmitTarget';
|
|
@@ -584,7 +586,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
584
586
|
name: '';
|
|
585
587
|
fields: {
|
|
586
588
|
/** . */
|
|
587
|
-
|
|
589
|
+
organizationId: {
|
|
588
590
|
type: 'id';
|
|
589
591
|
isRequired: true;
|
|
590
592
|
options: undefined;
|
|
@@ -597,9 +599,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
597
599
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
598
600
|
interface UpsertThemeEmitTargetAndPayload {
|
|
599
601
|
/** Source. */
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
602
|
+
source?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
603
|
+
target: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTarget;
|
|
604
|
+
payload: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayload;
|
|
603
605
|
}
|
|
604
606
|
interface UpsertThemeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
605
607
|
id: 'upsertThemeEmitTargetAndPayload';
|
|
@@ -608,7 +610,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
608
610
|
name: '';
|
|
609
611
|
fields: {
|
|
610
612
|
/** Source. */
|
|
611
|
-
|
|
613
|
+
source: {
|
|
612
614
|
label: 'Source';
|
|
613
615
|
type: 'schema';
|
|
614
616
|
options: {
|
|
@@ -616,7 +618,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
616
618
|
};
|
|
617
619
|
};
|
|
618
620
|
/** . */
|
|
619
|
-
|
|
621
|
+
target: {
|
|
620
622
|
type: 'schema';
|
|
621
623
|
isRequired: true;
|
|
622
624
|
options: {
|
|
@@ -624,7 +626,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
624
626
|
};
|
|
625
627
|
};
|
|
626
628
|
/** . */
|
|
627
|
-
|
|
629
|
+
payload: {
|
|
628
630
|
type: 'schema';
|
|
629
631
|
isRequired: true;
|
|
630
632
|
options: {
|
|
@@ -638,9 +640,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
638
640
|
}
|
|
639
641
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
640
642
|
interface Theme {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
643
|
+
slug: string;
|
|
644
|
+
name: string;
|
|
645
|
+
props: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeProps;
|
|
644
646
|
}
|
|
645
647
|
interface ThemeSchema extends SpruceSchema.Schema {
|
|
646
648
|
id: 'theme';
|
|
@@ -649,19 +651,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
649
651
|
name: 'Theme';
|
|
650
652
|
fields: {
|
|
651
653
|
/** . */
|
|
652
|
-
|
|
654
|
+
slug: {
|
|
653
655
|
type: 'id';
|
|
654
656
|
isRequired: true;
|
|
655
657
|
options: undefined;
|
|
656
658
|
};
|
|
657
659
|
/** . */
|
|
658
|
-
|
|
660
|
+
name: {
|
|
659
661
|
type: 'text';
|
|
660
662
|
isRequired: true;
|
|
661
663
|
options: undefined;
|
|
662
664
|
};
|
|
663
665
|
/** . */
|
|
664
|
-
|
|
666
|
+
props: {
|
|
665
667
|
type: 'schema';
|
|
666
668
|
isRequired: true;
|
|
667
669
|
options: {
|
|
@@ -675,7 +677,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
675
677
|
}
|
|
676
678
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
677
679
|
interface GetActiveThemeResponsePayload {
|
|
678
|
-
|
|
680
|
+
theme?: SpruceSchemas.Heartwood.v2021_02_11.Theme | undefined | null;
|
|
679
681
|
}
|
|
680
682
|
interface GetActiveThemeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
681
683
|
id: 'getActiveThemeResponsePayload';
|
|
@@ -684,7 +686,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
684
686
|
name: '';
|
|
685
687
|
fields: {
|
|
686
688
|
/** . */
|
|
687
|
-
|
|
689
|
+
theme: {
|
|
688
690
|
type: 'schema';
|
|
689
691
|
options: {
|
|
690
692
|
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
|
@@ -697,7 +699,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
697
699
|
}
|
|
698
700
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
699
701
|
interface UpsertThemeEmitPayload {
|
|
700
|
-
|
|
702
|
+
theme: SpruceSchemas.Heartwood.v2021_02_11.Theme;
|
|
701
703
|
}
|
|
702
704
|
interface UpsertThemeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
703
705
|
id: 'upsertThemeEmitPayload';
|
|
@@ -706,7 +708,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
706
708
|
name: '';
|
|
707
709
|
fields: {
|
|
708
710
|
/** . */
|
|
709
|
-
|
|
711
|
+
theme: {
|
|
710
712
|
type: 'schema';
|
|
711
713
|
isRequired: true;
|
|
712
714
|
options: {
|
|
@@ -720,8 +722,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
720
722
|
}
|
|
721
723
|
namespace SpruceSchemas.Roles.v2022_08_26 {
|
|
722
724
|
interface SelectedRoleWithRequirement {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
+
roleId: string;
|
|
726
|
+
requirement: 'optional' | 'required';
|
|
725
727
|
}
|
|
726
728
|
interface SelectedRoleWithRequirementSchema extends SpruceSchema.Schema {
|
|
727
729
|
id: 'selectedRoleWithRequirement';
|
|
@@ -731,23 +733,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
731
733
|
moduleToImportFromWhenRemote: '@sprucelabs/spruce-role-utils';
|
|
732
734
|
fields: {
|
|
733
735
|
/** . */
|
|
734
|
-
|
|
736
|
+
roleId: {
|
|
735
737
|
type: 'id';
|
|
736
738
|
isRequired: true;
|
|
737
739
|
options: undefined;
|
|
738
740
|
};
|
|
739
741
|
/** . */
|
|
740
|
-
|
|
742
|
+
requirement: {
|
|
741
743
|
type: 'select';
|
|
742
744
|
isRequired: true;
|
|
743
745
|
options: {
|
|
744
|
-
choices: [
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
746
|
+
choices: [
|
|
747
|
+
{
|
|
748
|
+
value: 'optional';
|
|
749
|
+
label: 'Optional';
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
value: 'required';
|
|
753
|
+
label: 'Required';
|
|
754
|
+
}
|
|
755
|
+
];
|
|
751
756
|
};
|
|
752
757
|
};
|
|
753
758
|
};
|