@sprucelabs/spruce-cli 17.1.51 → 17.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.d.ts +3 -0
  3. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js +29 -0
  4. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js.map +1 -0
  5. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.d.ts +3 -0
  6. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js +46 -0
  7. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js.map +1 -0
  8. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.d.ts +3 -0
  9. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js +34 -0
  10. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js.map +1 -0
  11. package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.d.ts +3 -0
  12. package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js +31 -0
  13. package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js.map +1 -0
  14. package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.d.ts +3 -0
  15. package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js +49 -0
  16. package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js.map +1 -0
  17. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.d.ts +3 -0
  18. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js +35 -0
  19. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js.map +1 -0
  20. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.d.ts +3 -0
  21. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js +29 -0
  22. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js.map +1 -0
  23. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.d.ts +3 -0
  24. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js +57 -0
  25. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js.map +1 -0
  26. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.d.ts +3 -0
  27. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js +35 -0
  28. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js.map +1 -0
  29. package/build/.spruce/schemas/schemas.types.d.ts +349 -63
  30. package/build/.spruce/schemas/schemas.types.js.map +1 -1
  31. package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.d.ts +1 -0
  32. package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js +14 -0
  33. package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js.map +1 -0
  34. package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.d.ts +1 -0
  35. package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js +14 -0
  36. package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js.map +1 -0
  37. package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js +2 -2
  38. package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -1
  39. package/build/schemas/v2020_07_22/createTestOptions.builder.js +1 -1
  40. package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
  41. package/package.json +26 -26
  42. package/src/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.ts +23 -0
  43. package/src/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.ts +30 -0
  44. package/src/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.ts +22 -0
  45. package/src/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.ts +25 -0
  46. package/src/.spruce/schemas/heartwood/v2021_02_11/theme.schema.ts +35 -0
  47. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.ts +23 -0
  48. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.ts +23 -0
  49. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.ts +37 -0
  50. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.ts +23 -0
  51. package/src/.spruce/schemas/schemas.types.ts +361 -59
  52. package/src/.spruce/schemas/spruce/v2020_07_22/choice.schema.ts +1 -0
  53. package/src/.spruce/schemas/spruce/v2020_07_22/link.schema.ts +1 -0
  54. package/src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts +2 -2
  55. package/src/schemas/v2020_07_22/createTestOptions.builder.ts +1 -1
@@ -0,0 +1 @@
1
+ export { choiceSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _spruceCoreSchemas.choiceSchema;
10
+ }
11
+ });
12
+
13
+ var _spruceCoreSchemas = require("@sprucelabs/spruce-core-schemas");
14
+ //# sourceMappingURL=choice.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"choice.schema.js","names":[],"sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/choice.schema.ts"],"sourcesContent":["export { choiceSchema as default } from '@sprucelabs/spruce-core-schemas'\n"],"mappings":";;;;;;;;;;;;AAAA"}
@@ -0,0 +1 @@
1
+ export { linkSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _spruceCoreSchemas.linkSchema;
10
+ }
11
+ });
12
+
13
+ var _spruceCoreSchemas = require("@sprucelabs/spruce-core-schemas");
14
+ //# sourceMappingURL=link.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.schema.js","names":[],"sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/link.schema.ts"],"sourcesContent":["export { linkSchema as default } from '@sprucelabs/spruce-core-schemas'\n"],"mappings":";;;;;;;;;;;;AAAA"}
@@ -30,12 +30,12 @@ var createTestOptionsSchema = {
30
30
  }
31
31
  },
32
32
 
33
- /** What are you testing?. E.g. Booking an appointment or turning on a light */
33
+ /** What are you testing?. E.g. Todo Card or Systems List */
34
34
  'nameReadable': {
35
35
  label: 'What are you testing?',
36
36
  type: 'text',
37
37
  isRequired: true,
38
- hint: 'E.g. Booking an appointment or turning on a light',
38
+ hint: 'E.g. Todo Card or Systems List',
39
39
  options: undefined
40
40
  },
41
41
 
@@ -1 +1 @@
1
- {"version":3,"file":"createTestOptions.schema.js","names":["createTestOptionsSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","choices","hint","undefined","defaultValue","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst createTestOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.CreateTestOptionsSchema = {\n\tid: 'createTestOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Create test action',\n\tdescription: 'Your first failing test just a command away! ⚔️',\n\t fields: {\n\t /** Type of test. */\n\t 'type': {\n\t label: 'Type of test',\n\t type: 'select',\n\t isRequired: true,\n\t options: {choices: [{\"value\":\"behavioral\",\"label\":\"Behavioral\"},{\"value\":\"implementation\",\"label\":\"Implementation\"}],}\n\t },\n\t /** What are you testing?. E.g. Booking an appointment or turning on a light */\n\t 'nameReadable': {\n\t label: 'What are you testing?',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'E.g. Booking an appointment or turning on a light',\n\t options: undefined\n\t },\n\t /** Test destination directory. Where I'll save your new test. */\n\t 'testDestinationDir': {\n\t label: 'Test destination directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll save your new test.',\n\t defaultValue: \"src/__tests__\",\n\t options: undefined\n\t },\n\t /** Camel case name. camelCase version of the name */\n\t 'nameCamel': {\n\t label: 'Camel case name',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'camelCase version of the name',\n\t options: undefined\n\t },\n\t /** Pascal case name. PascalCase of the name */\n\t 'namePascal': {\n\t label: 'Pascal case name',\n\t type: 'text',\n\t hint: 'PascalCase of the name',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(createTestOptionsSchema)\n\nexport default createTestOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,uBAAoF,GAAI;EAC7FC,EAAE,EAAE,mBADyF;EAE7FC,OAAO,EAAE,aAFoF;EAG7FC,SAAS,EAAE,WAHkF;EAI7FC,IAAI,EAAE,oBAJuF;EAK7FC,WAAW,EAAE,iDALgF;EAMzFC,MAAM,EAAE;IACA;IACA,QAAQ;MACJC,KAAK,EAAE,cADH;MAEJC,IAAI,EAAE,QAFF;MAGJC,UAAU,EAAE,IAHR;MAIJC,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,YAAT;UAAsB,SAAQ;QAA9B,CAAD,EAA6C;UAAC,SAAQ,gBAAT;UAA0B,SAAQ;QAAlC,CAA7C;MAAV;IAJL,CAFR;;IAQA;IACA,gBAAgB;MACZJ,KAAK,EAAE,uBADK;MAEZC,IAAI,EAAE,MAFM;MAGZC,UAAU,EAAE,IAHA;MAIZG,IAAI,EAAE,mDAJM;MAKZF,OAAO,EAAEG;IALG,CAThB;;IAgBA;IACA,sBAAsB;MAClBN,KAAK,EAAE,4BADW;MAElBC,IAAI,EAAE,MAFY;MAGlBI,IAAI,EAAE,iCAHY;MAIlBE,YAAY,EAAE,eAJI;MAKlBJ,OAAO,EAAEG;IALS,CAjBtB;;IAwBA;IACA,aAAa;MACTN,KAAK,EAAE,iBADE;MAETC,IAAI,EAAE,MAFG;MAGTC,UAAU,EAAE,IAHH;MAITG,IAAI,EAAE,+BAJG;MAKTF,OAAO,EAAEG;IALA,CAzBb;;IAgCA;IACA,cAAc;MACVN,KAAK,EAAE,kBADG;MAEVC,IAAI,EAAE,MAFI;MAGVI,IAAI,EAAE,wBAHI;MAIVF,OAAO,EAAEG;IAJC;EAjCd;AANiF,CAA9F;;AAgDAE,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCjB,uBAAzC;;eAEeA,uB"}
1
+ {"version":3,"file":"createTestOptions.schema.js","names":["createTestOptionsSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","choices","hint","undefined","defaultValue","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst createTestOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.CreateTestOptionsSchema = {\n\tid: 'createTestOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Create test action',\n\tdescription: 'Your first failing test just a command away! ⚔️',\n\t fields: {\n\t /** Type of test. */\n\t 'type': {\n\t label: 'Type of test',\n\t type: 'select',\n\t isRequired: true,\n\t options: {choices: [{\"value\":\"behavioral\",\"label\":\"Behavioral\"},{\"value\":\"implementation\",\"label\":\"Implementation\"}],}\n\t },\n\t /** What are you testing?. E.g. Todo Card or Systems List */\n\t 'nameReadable': {\n\t label: 'What are you testing?',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'E.g. Todo Card or Systems List',\n\t options: undefined\n\t },\n\t /** Test destination directory. Where I'll save your new test. */\n\t 'testDestinationDir': {\n\t label: 'Test destination directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll save your new test.',\n\t defaultValue: \"src/__tests__\",\n\t options: undefined\n\t },\n\t /** Camel case name. camelCase version of the name */\n\t 'nameCamel': {\n\t label: 'Camel case name',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'camelCase version of the name',\n\t options: undefined\n\t },\n\t /** Pascal case name. PascalCase of the name */\n\t 'namePascal': {\n\t label: 'Pascal case name',\n\t type: 'text',\n\t hint: 'PascalCase of the name',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(createTestOptionsSchema)\n\nexport default createTestOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,uBAAoF,GAAI;EAC7FC,EAAE,EAAE,mBADyF;EAE7FC,OAAO,EAAE,aAFoF;EAG7FC,SAAS,EAAE,WAHkF;EAI7FC,IAAI,EAAE,oBAJuF;EAK7FC,WAAW,EAAE,iDALgF;EAMzFC,MAAM,EAAE;IACA;IACA,QAAQ;MACJC,KAAK,EAAE,cADH;MAEJC,IAAI,EAAE,QAFF;MAGJC,UAAU,EAAE,IAHR;MAIJC,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,YAAT;UAAsB,SAAQ;QAA9B,CAAD,EAA6C;UAAC,SAAQ,gBAAT;UAA0B,SAAQ;QAAlC,CAA7C;MAAV;IAJL,CAFR;;IAQA;IACA,gBAAgB;MACZJ,KAAK,EAAE,uBADK;MAEZC,IAAI,EAAE,MAFM;MAGZC,UAAU,EAAE,IAHA;MAIZG,IAAI,EAAE,gCAJM;MAKZF,OAAO,EAAEG;IALG,CAThB;;IAgBA;IACA,sBAAsB;MAClBN,KAAK,EAAE,4BADW;MAElBC,IAAI,EAAE,MAFY;MAGlBI,IAAI,EAAE,iCAHY;MAIlBE,YAAY,EAAE,eAJI;MAKlBJ,OAAO,EAAEG;IALS,CAjBtB;;IAwBA;IACA,aAAa;MACTN,KAAK,EAAE,iBADE;MAETC,IAAI,EAAE,MAFG;MAGTC,UAAU,EAAE,IAHH;MAITG,IAAI,EAAE,+BAJG;MAKTF,OAAO,EAAEG;IALA,CAzBb;;IAgCA;IACA,cAAc;MACVN,KAAK,EAAE,kBADG;MAEVC,IAAI,EAAE,MAFI;MAGVI,IAAI,EAAE,wBAHI;MAIVF,OAAO,EAAEG;IAJC;EAjCd;AANiF,CAA9F;;AAgDAE,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCjB,uBAAzC;;eAEeA,uB"}
@@ -34,7 +34,7 @@ var _default = (0, _schema.buildSchema)({
34
34
  type: 'text',
35
35
  label: 'What are you testing?',
36
36
  isRequired: true,
37
- hint: 'E.g. Booking an appointment or turning on a light'
37
+ hint: 'E.g. Todo Card or Systems List'
38
38
  },
39
39
  testDestinationDir: {
40
40
  type: 'text',
@@ -1 +1 @@
1
- {"version":3,"file":"createTestOptions.builder.js","names":["buildSchema","id","name","description","fields","type","label","isRequired","options","choices","value","nameReadable","hint","testDestinationDir","defaultValue","nameCamel","namedTemplateItemBuilder","namePascal"],"sources":["../../../src/schemas/v2020_07_22/createTestOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createTestOptions',\n\tname: 'Create test action',\n\tdescription: 'Your first failing test just a command away! ⚔️',\n\tfields: {\n\t\ttype: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Type of test',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{ value: 'behavioral', label: 'Behavioral' },\n\t\t\t\t\t{ value: 'implementation', label: 'Implementation' },\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tnameReadable: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'What are you testing?',\n\t\t\tisRequired: true,\n\t\t\thint: 'E.g. Booking an appointment or turning on a light',\n\t\t},\n\t\ttestDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Test destination directory',\n\t\t\thint: \"Where I'll save your new test.\",\n\t\t\tdefaultValue: 'src/__tests__',\n\t\t},\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AACA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,oBAFoB;EAG1BC,WAAW,EAAE,iDAHa;EAI1BC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLA,IAAI,EAAE,QADD;MAELC,KAAK,EAAE,cAFF;MAGLC,UAAU,EAAE,IAHP;MAILC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UAAEC,KAAK,EAAE,YAAT;UAAuBJ,KAAK,EAAE;QAA9B,CADQ,EAER;UAAEI,KAAK,EAAE,gBAAT;UAA2BJ,KAAK,EAAE;QAAlC,CAFQ;MADD;IAJJ,CADC;IAYPK,YAAY,EAAE;MACbN,IAAI,EAAE,MADO;MAEbC,KAAK,EAAE,uBAFM;MAGbC,UAAU,EAAE,IAHC;MAIbK,IAAI,EAAE;IAJO,CAZP;IAkBPC,kBAAkB,EAAE;MACnBR,IAAI,EAAE,MADa;MAEnBC,KAAK,EAAE,4BAFY;MAGnBM,IAAI,EAAE,gCAHa;MAInBE,YAAY,EAAE;IAJK,CAlBb;IAwBPC,SAAS,EAAEC,6BAAA,CAAyBZ,MAAzB,CAAgCW,SAxBpC;IAyBPE,UAAU,EAAED,6BAAA,CAAyBZ,MAAzB,CAAgCa;EAzBrC;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"createTestOptions.builder.js","names":["buildSchema","id","name","description","fields","type","label","isRequired","options","choices","value","nameReadable","hint","testDestinationDir","defaultValue","nameCamel","namedTemplateItemBuilder","namePascal"],"sources":["../../../src/schemas/v2020_07_22/createTestOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createTestOptions',\n\tname: 'Create test action',\n\tdescription: 'Your first failing test just a command away! ⚔️',\n\tfields: {\n\t\ttype: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Type of test',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{ value: 'behavioral', label: 'Behavioral' },\n\t\t\t\t\t{ value: 'implementation', label: 'Implementation' },\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tnameReadable: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'What are you testing?',\n\t\t\tisRequired: true,\n\t\t\thint: 'E.g. Todo Card or Systems List',\n\t\t},\n\t\ttestDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Test destination directory',\n\t\t\thint: \"Where I'll save your new test.\",\n\t\t\tdefaultValue: 'src/__tests__',\n\t\t},\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AACA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,oBAFoB;EAG1BC,WAAW,EAAE,iDAHa;EAI1BC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLA,IAAI,EAAE,QADD;MAELC,KAAK,EAAE,cAFF;MAGLC,UAAU,EAAE,IAHP;MAILC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UAAEC,KAAK,EAAE,YAAT;UAAuBJ,KAAK,EAAE;QAA9B,CADQ,EAER;UAAEI,KAAK,EAAE,gBAAT;UAA2BJ,KAAK,EAAE;QAAlC,CAFQ;MADD;IAJJ,CADC;IAYPK,YAAY,EAAE;MACbN,IAAI,EAAE,MADO;MAEbC,KAAK,EAAE,uBAFM;MAGbC,UAAU,EAAE,IAHC;MAIbK,IAAI,EAAE;IAJO,CAZP;IAkBPC,kBAAkB,EAAE;MACnBR,IAAI,EAAE,MADa;MAEnBC,KAAK,EAAE,4BAFY;MAGnBM,IAAI,EAAE,gCAHa;MAInBE,YAAY,EAAE;IAJK,CAlBb;IAwBPC,SAAS,EAAEC,6BAAA,CAAyBZ,MAAzB,CAAgCW,SAxBpC;IAyBPE,UAAU,EAAED,6BAAA,CAAyBZ,MAAzB,CAAgCa;EAzBrC;AAJkB,CAAZ,C"}
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "license": "MIT",
21
- "version": "17.1.51",
21
+ "version": "17.1.53",
22
22
  "bin": {
23
23
  "spruce": "./build/index.js"
24
24
  },
@@ -76,17 +76,17 @@
76
76
  "@babel/plugin-proposal-decorators": "^7.19.3",
77
77
  "@babel/runtime": "^7.19.0",
78
78
  "@jest/reporters": "^29.1.2",
79
- "@sprucelabs/error": "^5.0.521",
80
- "@sprucelabs/heartwood-view-controllers": "^91.0.9",
81
- "@sprucelabs/jest-json-reporter": "^6.0.487",
82
- "@sprucelabs/mercury-client": "^31.0.238",
83
- "@sprucelabs/mercury-event-emitter": "^31.0.238",
84
- "@sprucelabs/mercury-types": "^35.0.181",
85
- "@sprucelabs/schema": "^28.5.29",
86
- "@sprucelabs/spruce-core-schemas": "^34.2.138",
87
- "@sprucelabs/spruce-event-utils": "^27.0.215",
88
- "@sprucelabs/spruce-skill-utils": "^26.4.117",
89
- "@sprucelabs/spruce-templates": "^17.1.51",
79
+ "@sprucelabs/error": "^5.0.523",
80
+ "@sprucelabs/heartwood-view-controllers": "^91.5.1",
81
+ "@sprucelabs/jest-json-reporter": "^6.0.492",
82
+ "@sprucelabs/mercury-client": "^31.0.251",
83
+ "@sprucelabs/mercury-event-emitter": "^31.0.251",
84
+ "@sprucelabs/mercury-types": "^35.0.195",
85
+ "@sprucelabs/schema": "^28.5.35",
86
+ "@sprucelabs/spruce-core-schemas": "^34.2.149",
87
+ "@sprucelabs/spruce-event-utils": "^27.0.229",
88
+ "@sprucelabs/spruce-skill-utils": "^26.4.131",
89
+ "@sprucelabs/spruce-templates": "^17.1.53",
90
90
  "@typescript-eslint/eslint-plugin": "^5.27.1",
91
91
  "@typescript-eslint/parser": "^5.27.1",
92
92
  "cfonts": "^3.1.1",
@@ -104,7 +104,7 @@
104
104
  "md5": "^2.3.0",
105
105
  "open": "^8.4.0",
106
106
  "ora": "5.4.1",
107
- "semver": "^7.3.7",
107
+ "semver": "^7.3.8",
108
108
  "string-argv": "^0.3.1",
109
109
  "terminal-image": "1.2.1",
110
110
  "terminal-kit": "sprucelabsai/terminal-kit",
@@ -114,16 +114,16 @@
114
114
  "uuid": "^9.0.0"
115
115
  },
116
116
  "devDependencies": {
117
- "@sprucelabs/data-stores": "^18.1.87",
118
- "@sprucelabs/jest-sheets-reporter": "^1.3.117",
119
- "@sprucelabs/mercury-core-events": "^12.2.55",
120
- "@sprucelabs/resolve-path-aliases": "^1.1.109",
121
- "@sprucelabs/spruce-conversation-plugin": "^50.0.7",
122
- "@sprucelabs/spruce-deploy-plugin": "^50.0.7",
123
- "@sprucelabs/spruce-store-plugin": "^50.0.7",
124
- "@sprucelabs/spruce-test-fixtures": "^50.0.7",
125
- "@sprucelabs/test": "^7.7.369",
126
- "@sprucelabs/test-utils": "^3.2.18",
117
+ "@sprucelabs/data-stores": "^18.1.98",
118
+ "@sprucelabs/jest-sheets-reporter": "^1.3.124",
119
+ "@sprucelabs/mercury-core-events": "^12.2.69",
120
+ "@sprucelabs/resolve-path-aliases": "^1.1.111",
121
+ "@sprucelabs/spruce-conversation-plugin": "^50.0.18",
122
+ "@sprucelabs/spruce-deploy-plugin": "^50.0.18",
123
+ "@sprucelabs/spruce-store-plugin": "^50.0.18",
124
+ "@sprucelabs/spruce-test-fixtures": "^50.0.18",
125
+ "@sprucelabs/test": "^7.7.371",
126
+ "@sprucelabs/test-utils": "^3.2.24",
127
127
  "@types/blessed": "^0.1.19",
128
128
  "@types/eslint": "^8.4.6",
129
129
  "@types/fs-extra": "^9.0.13",
@@ -131,7 +131,7 @@
131
131
  "@types/lodash": "^4.14.186",
132
132
  "@types/md5": "^2.3.2",
133
133
  "@types/mkdirp": "^1.0.2",
134
- "@types/node": "^18.8.0",
134
+ "@types/node": "^18.8.3",
135
135
  "@types/promise.allsettled": "^1.0.3",
136
136
  "@types/ps-node": "^0.1.1",
137
137
  "@types/rimraf": "^3.0.2",
@@ -145,7 +145,7 @@
145
145
  "concurrently": "^7.4.0",
146
146
  "conventional-changelog-sprucelabs": "^1.1.2",
147
147
  "dotenv": "^16.0.3",
148
- "eslint": "^8.24.0",
148
+ "eslint": "^8.25.0",
149
149
  "eslint-config-spruce": "^10.11.4",
150
150
  "find-process": "^1.4.7",
151
151
  "jest": "^29.1.2",
@@ -619,5 +619,5 @@
619
619
  "terminal-kit"
620
620
  ]
621
621
  },
622
- "gitHead": "d84cbec844745b8bbe9ce895d2455c4f279d226a"
622
+ "gitHead": "40f5df9eb5bb32bd0d2204c475958be9ed1c7c60"
623
623
  }
@@ -0,0 +1,23 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+
5
+
6
+ const getActiveThemeEmitTargetSchema: SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetSchema = {
7
+ id: 'getActiveThemeEmitTarget',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: '',
11
+ fields: {
12
+ /** . */
13
+ 'organizationId': {
14
+ type: 'id',
15
+ isRequired: true,
16
+ options: undefined
17
+ },
18
+ }
19
+ }
20
+
21
+ SchemaRegistry.getInstance().trackSchema(getActiveThemeEmitTargetSchema)
22
+
23
+ export default getActiveThemeEmitTargetSchema
@@ -0,0 +1,30 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+ import eventSourceSchema_v2021_09_13 from '#spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema'
5
+ import getActiveThemeEmitTargetSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema'
6
+
7
+ const getActiveThemeEmitTargetAndPayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetAndPayloadSchema = {
8
+ id: 'getActiveThemeEmitTargetAndPayload',
9
+ version: 'v2021_02_11',
10
+ namespace: 'Heartwood',
11
+ name: '',
12
+ fields: {
13
+ /** Source. */
14
+ 'source': {
15
+ label: 'Source',
16
+ type: 'schema',
17
+ options: {schema: eventSourceSchema_v2021_09_13,}
18
+ },
19
+ /** . */
20
+ 'target': {
21
+ type: 'schema',
22
+ isRequired: true,
23
+ options: {schema: getActiveThemeEmitTargetSchema_v2021_02_11,}
24
+ },
25
+ }
26
+ }
27
+
28
+ SchemaRegistry.getInstance().trackSchema(getActiveThemeEmitTargetAndPayloadSchema)
29
+
30
+ export default getActiveThemeEmitTargetAndPayloadSchema
@@ -0,0 +1,22 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+ import themeSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/theme.schema'
5
+
6
+ const getActiveThemeResponsePayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeResponsePayloadSchema = {
7
+ id: 'getActiveThemeResponsePayload',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: '',
11
+ fields: {
12
+ /** . */
13
+ 'theme': {
14
+ type: 'schema',
15
+ options: {schema: themeSchema_v2021_02_11,}
16
+ },
17
+ }
18
+ }
19
+
20
+ SchemaRegistry.getInstance().trackSchema(getActiveThemeResponsePayloadSchema)
21
+
22
+ export default getActiveThemeResponsePayloadSchema
@@ -0,0 +1,25 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+
5
+
6
+ const registerDashboardCardsResponsePayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.RegisterDashboardCardsResponsePayloadSchema = {
7
+ id: 'registerDashboardCardsResponsePayload',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: '',
11
+ fields: {
12
+ /** . */
13
+ 'vcIds': {
14
+ type: 'id',
15
+ isRequired: true,
16
+ isArray: true,
17
+ minArrayLength: 0,
18
+ options: undefined
19
+ },
20
+ }
21
+ }
22
+
23
+ SchemaRegistry.getInstance().trackSchema(registerDashboardCardsResponsePayloadSchema)
24
+
25
+ export default registerDashboardCardsResponsePayloadSchema
@@ -0,0 +1,35 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+ import themePropsSchema_v2021_02_11 from '#spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema'
5
+
6
+ const themeSchema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema = {
7
+ id: 'theme',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: 'Theme',
11
+ fields: {
12
+ /** . */
13
+ 'slug': {
14
+ type: 'id',
15
+ isRequired: true,
16
+ options: undefined
17
+ },
18
+ /** . */
19
+ 'name': {
20
+ type: 'text',
21
+ isRequired: true,
22
+ options: undefined
23
+ },
24
+ /** . */
25
+ 'props': {
26
+ type: 'schema',
27
+ isRequired: true,
28
+ options: {schema: themePropsSchema_v2021_02_11,}
29
+ },
30
+ }
31
+ }
32
+
33
+ SchemaRegistry.getInstance().trackSchema(themeSchema)
34
+
35
+ export default themeSchema
@@ -0,0 +1,23 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+ import themeSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/theme.schema'
5
+
6
+ const upsertThemeEmitPayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema = {
7
+ id: 'upsertThemeEmitPayload',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: '',
11
+ fields: {
12
+ /** . */
13
+ 'theme': {
14
+ type: 'schema',
15
+ isRequired: true,
16
+ options: {schema: themeSchema_v2021_02_11,}
17
+ },
18
+ }
19
+ }
20
+
21
+ SchemaRegistry.getInstance().trackSchema(upsertThemeEmitPayloadSchema)
22
+
23
+ export default upsertThemeEmitPayloadSchema
@@ -0,0 +1,23 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+
5
+
6
+ const upsertThemeEmitTargetSchema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetSchema = {
7
+ id: 'upsertThemeEmitTarget',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: '',
11
+ fields: {
12
+ /** . */
13
+ 'organizationId': {
14
+ type: 'id',
15
+ isRequired: true,
16
+ options: undefined
17
+ },
18
+ }
19
+ }
20
+
21
+ SchemaRegistry.getInstance().trackSchema(upsertThemeEmitTargetSchema)
22
+
23
+ export default upsertThemeEmitTargetSchema
@@ -0,0 +1,37 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+ import eventSourceSchema_v2021_09_13 from '#spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema'
5
+ import upsertThemeEmitTargetSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema'
6
+ import upsertThemeEmitPayloadSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema'
7
+
8
+ const upsertThemeEmitTargetAndPayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetAndPayloadSchema = {
9
+ id: 'upsertThemeEmitTargetAndPayload',
10
+ version: 'v2021_02_11',
11
+ namespace: 'Heartwood',
12
+ name: '',
13
+ fields: {
14
+ /** Source. */
15
+ 'source': {
16
+ label: 'Source',
17
+ type: 'schema',
18
+ options: {schema: eventSourceSchema_v2021_09_13,}
19
+ },
20
+ /** . */
21
+ 'target': {
22
+ type: 'schema',
23
+ isRequired: true,
24
+ options: {schema: upsertThemeEmitTargetSchema_v2021_02_11,}
25
+ },
26
+ /** . */
27
+ 'payload': {
28
+ type: 'schema',
29
+ isRequired: true,
30
+ options: {schema: upsertThemeEmitPayloadSchema_v2021_02_11,}
31
+ },
32
+ }
33
+ }
34
+
35
+ SchemaRegistry.getInstance().trackSchema(upsertThemeEmitTargetAndPayloadSchema)
36
+
37
+ export default upsertThemeEmitTargetAndPayloadSchema
@@ -0,0 +1,23 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema'
2
+ import { SpruceSchemas } from '../../schemas.types'
3
+
4
+ import themeSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/theme.schema'
5
+
6
+ const upsertThemeResponsePayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeResponsePayloadSchema = {
7
+ id: 'upsertThemeResponsePayload',
8
+ version: 'v2021_02_11',
9
+ namespace: 'Heartwood',
10
+ name: '',
11
+ fields: {
12
+ /** . */
13
+ 'theme': {
14
+ type: 'schema',
15
+ isRequired: true,
16
+ options: {schema: themeSchema_v2021_02_11,}
17
+ },
18
+ }
19
+ }
20
+
21
+ SchemaRegistry.getInstance().trackSchema(upsertThemeResponsePayloadSchema)
22
+
23
+ export default upsertThemeResponsePayloadSchema