@sprucelabs/spruce-cli 17.1.50 → 17.1.52

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 (57) 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/features/onboard/templates/RootViewController.test.ts.hbs +7 -5
  40. package/build/schemas/v2020_07_22/createTestOptions.builder.js +1 -1
  41. package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
  42. package/package.json +3 -3
  43. package/src/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.ts +23 -0
  44. package/src/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.ts +30 -0
  45. package/src/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.ts +22 -0
  46. package/src/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.ts +25 -0
  47. package/src/.spruce/schemas/heartwood/v2021_02_11/theme.schema.ts +35 -0
  48. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.ts +23 -0
  49. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.ts +23 -0
  50. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.ts +37 -0
  51. package/src/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.ts +23 -0
  52. package/src/.spruce/schemas/schemas.types.ts +361 -59
  53. package/src/.spruce/schemas/spruce/v2020_07_22/choice.schema.ts +1 -0
  54. package/src/.spruce/schemas/spruce/v2020_07_22/link.schema.ts +1 -0
  55. package/src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts +2 -2
  56. package/src/features/onboard/templates/RootViewController.test.ts.hbs +7 -5
  57. 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"}
@@ -5,15 +5,17 @@ import AbstractSpruceTest, { test, assert } from '@sprucelabs/test-utils'
5
5
 
6
6
  // Can you believe how far we've come?
7
7
 
8
- // For these tests, we're going to get to creating, reading, updating, and deleting todos.
8
+ // When you're ready....
9
9
 
10
- // Great news is that I'll do most of the work for you, I just need you define some things for me.
10
+ // And by ready, I mean, like have 2 hours to focus...
11
11
 
12
- // When you're ready, hit control+space and type "create.store" into the command prompt.
12
+ // Checkout the onboarding video Tay stumbled through making.
13
13
 
14
- // See you there!
14
+ // I highlighly recommend you second screen this video and code along.
15
15
 
16
- // PS, you can delete the introduction test below.
16
+ // And make popcorn 🍿
17
+
18
+ // https://youtu.be/SiUckNpPLag
17
19
 
18
20
  // 🌲🤖
19
21
 
@@ -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.50",
21
+ "version": "17.1.52",
22
22
  "bin": {
23
23
  "spruce": "./build/index.js"
24
24
  },
@@ -86,7 +86,7 @@
86
86
  "@sprucelabs/spruce-core-schemas": "^34.2.138",
87
87
  "@sprucelabs/spruce-event-utils": "^27.0.215",
88
88
  "@sprucelabs/spruce-skill-utils": "^26.4.117",
89
- "@sprucelabs/spruce-templates": "^17.1.50",
89
+ "@sprucelabs/spruce-templates": "^17.1.52",
90
90
  "@typescript-eslint/eslint-plugin": "^5.27.1",
91
91
  "@typescript-eslint/parser": "^5.27.1",
92
92
  "cfonts": "^3.1.1",
@@ -619,5 +619,5 @@
619
619
  "terminal-kit"
620
620
  ]
621
621
  },
622
- "gitHead": "1785f3336ef61c50bf4e0c55fe80648e1bdb07c9"
622
+ "gitHead": "8ee513601e9a92c13098488dd86f6aaec17327d0"
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