@sprucelabs/spruce-cli 14.29.12 → 14.29.16
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/CHANGELOG.md +32 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js +37 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js +51 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js.map +1 -0
- package/build/.spruce/schemas/schemas.types.d.ts +84 -16
- package/build/.spruce/schemas/schemas.types.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js +2 -2
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -1
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/skillWithExtraField.builder.d.ts +1 -1
- package/build/constants.d.ts +1 -1
- package/build/constants.js +1 -1
- package/build/constants.js.map +1 -1
- package/build/features/skill/actions/LoginAction.js +1 -1
- package/build/features/skill/actions/LoginAction.js.map +1 -1
- package/build/features/skill/actions/RegisterAction.js +1 -1
- package/build/features/skill/actions/RegisterAction.js.map +1 -1
- package/build/interfaces/TerminalInterface.js +1 -1
- package/build/interfaces/TerminalInterface.js.map +1 -1
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js +1 -1
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
- package/package.json +29 -29
- package/src/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.ts +25 -0
- package/src/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.ts +43 -0
- package/src/.spruce/schemas/schemas.types.ts +102 -18
- package/src/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.ts +2 -2
- package/src/constants.ts +1 -1
- package/src/features/skill/actions/LoginAction.ts +1 -1
- package/src/features/skill/actions/RegisterAction.ts +1 -1
- package/src/interfaces/TerminalInterface.ts +1 -1
- package/src/schemas/v2020_07_22/setupTestsOptions.builder.ts +1 -1
|
@@ -374,44 +374,83 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
374
374
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
375
375
|
|
|
376
376
|
|
|
377
|
-
interface
|
|
377
|
+
interface ListViewsResult {
|
|
378
378
|
|
|
379
379
|
|
|
380
|
-
'
|
|
381
|
-
|
|
382
|
-
'
|
|
383
|
-
|
|
384
|
-
'
|
|
380
|
+
'namespace': string
|
|
381
|
+
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
|
382
|
+
'svcIds': string[]
|
|
383
|
+
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
|
384
|
+
'vcIds': string[]
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
interface
|
|
388
|
-
id: '
|
|
387
|
+
interface ListViewsResultSchema extends SpruceSchema.Schema {
|
|
388
|
+
id: 'listViewsResult',
|
|
389
389
|
version: 'v2021_02_11',
|
|
390
390
|
namespace: 'Heartwood',
|
|
391
391
|
name: '',
|
|
392
392
|
fields: {
|
|
393
393
|
/** . */
|
|
394
|
-
'
|
|
394
|
+
'namespace': {
|
|
395
395
|
type: 'text',
|
|
396
396
|
isRequired: true,
|
|
397
|
+
options: undefined
|
|
398
|
+
},
|
|
399
|
+
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
|
400
|
+
'svcIds': {
|
|
401
|
+
label: 'Skill view ids',
|
|
402
|
+
type: 'id',
|
|
403
|
+
isRequired: true,
|
|
404
|
+
hint: 'For now this is every view, but soon will be only skill views',
|
|
397
405
|
isArray: true,
|
|
406
|
+
minArrayLength: 0,
|
|
398
407
|
options: undefined
|
|
399
408
|
},
|
|
400
|
-
/** . */
|
|
401
|
-
'
|
|
402
|
-
|
|
409
|
+
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
|
410
|
+
'vcIds': {
|
|
411
|
+
label: 'View ids',
|
|
412
|
+
type: 'id',
|
|
403
413
|
isRequired: true,
|
|
414
|
+
hint: 'For now this is every view, but soon will be only views (not skill views)',
|
|
415
|
+
isArray: true,
|
|
416
|
+
minArrayLength: 0,
|
|
404
417
|
options: undefined
|
|
405
418
|
},
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
type ListViewsResultEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ListViewsResultSchema>
|
|
423
|
+
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
interface ListViewsResponsePayload {
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
'views': SpruceSchemas.Heartwood.v2021_02_11.ListViewsResult[]
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
interface ListViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
437
|
+
id: 'listViewsResponsePayload',
|
|
438
|
+
version: 'v2021_02_11',
|
|
439
|
+
namespace: 'Heartwood',
|
|
440
|
+
name: '',
|
|
441
|
+
fields: {
|
|
406
442
|
/** . */
|
|
407
|
-
'
|
|
443
|
+
'views': {
|
|
408
444
|
type: 'schema',
|
|
409
|
-
|
|
445
|
+
isRequired: true,
|
|
446
|
+
isArray: true,
|
|
447
|
+
minArrayLength: 0,
|
|
448
|
+
options: {schema: SpruceSchemas.Heartwood.v2021_02_11.ListViewsResultSchema,}
|
|
410
449
|
},
|
|
411
450
|
}
|
|
412
451
|
}
|
|
413
452
|
|
|
414
|
-
type
|
|
453
|
+
type ListViewsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ListViewsResponsePayloadSchema>
|
|
415
454
|
|
|
416
455
|
}
|
|
417
456
|
|
|
@@ -453,6 +492,51 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
453
492
|
}
|
|
454
493
|
|
|
455
494
|
|
|
495
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
interface RegisterSkillViewsEmitPayload {
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
'ids': string[]
|
|
502
|
+
|
|
503
|
+
'source': string
|
|
504
|
+
|
|
505
|
+
'theme'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme| undefined | null
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
interface RegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
509
|
+
id: 'registerSkillViewsEmitPayload',
|
|
510
|
+
version: 'v2021_02_11',
|
|
511
|
+
namespace: 'Heartwood',
|
|
512
|
+
name: '',
|
|
513
|
+
fields: {
|
|
514
|
+
/** . */
|
|
515
|
+
'ids': {
|
|
516
|
+
type: 'text',
|
|
517
|
+
isRequired: true,
|
|
518
|
+
isArray: true,
|
|
519
|
+
options: undefined
|
|
520
|
+
},
|
|
521
|
+
/** . */
|
|
522
|
+
'source': {
|
|
523
|
+
type: 'text',
|
|
524
|
+
isRequired: true,
|
|
525
|
+
options: undefined
|
|
526
|
+
},
|
|
527
|
+
/** . */
|
|
528
|
+
'theme': {
|
|
529
|
+
type: 'schema',
|
|
530
|
+
options: {schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema,}
|
|
531
|
+
},
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
type RegisterSkillViewsEmitPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayloadSchema>
|
|
536
|
+
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
|
|
456
540
|
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
457
541
|
|
|
458
542
|
|
|
@@ -1360,7 +1444,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1360
1444
|
|
|
1361
1445
|
/** Demo phone number. */
|
|
1362
1446
|
'demoNumber': string
|
|
1363
|
-
/**
|
|
1447
|
+
/** Namespace. */
|
|
1364
1448
|
'skillSlug': string
|
|
1365
1449
|
}
|
|
1366
1450
|
|
|
@@ -1378,9 +1462,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1378
1462
|
isRequired: true,
|
|
1379
1463
|
options: undefined
|
|
1380
1464
|
},
|
|
1381
|
-
/**
|
|
1465
|
+
/** Namespace. */
|
|
1382
1466
|
'skillSlug': {
|
|
1383
|
-
label: '
|
|
1467
|
+
label: 'Namespace',
|
|
1384
1468
|
type: 'text',
|
|
1385
1469
|
isRequired: true,
|
|
1386
1470
|
options: undefined
|
|
@@ -17,9 +17,9 @@ const setupTestsOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SetupTestsOpt
|
|
|
17
17
|
isRequired: true,
|
|
18
18
|
options: undefined
|
|
19
19
|
},
|
|
20
|
-
/**
|
|
20
|
+
/** Namespace. */
|
|
21
21
|
'skillSlug': {
|
|
22
|
-
label: '
|
|
22
|
+
label: 'Namespace',
|
|
23
23
|
type: 'text',
|
|
24
24
|
isRequired: true,
|
|
25
25
|
options: undefined
|
package/src/constants.ts
CHANGED
|
@@ -288,7 +288,7 @@ export default class TerminalInterface implements GraphicsInterface {
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
public renderHero(message: string, effects?: GraphicsTextEffect[]) {
|
|
291
|
-
fonts.say(message, {
|
|
291
|
+
fonts.say(message.replace(/[aeiou]/gi, ''), {
|
|
292
292
|
// Font: 'tiny',
|
|
293
293
|
align: 'left',
|
|
294
294
|
gradient: [GraphicsTextEffect.Red, GraphicsTextEffect.Blue],
|