@sprucelabs/spruce-cli 15.4.12 → 17.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/build/.spruce/errors/spruceCli/actionCancelled.schema.js.map +1 -1
  3. package/build/.spruce/errors/spruceCli/bootError.schema.js.map +1 -1
  4. package/build/.spruce/errors/spruceCli/buildFailed.schema.js.map +1 -1
  5. package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js.map +1 -1
  6. package/build/.spruce/errors/spruceCli/commandAborted.schema.js.map +1 -1
  7. package/build/.spruce/errors/spruceCli/commandBlocked.schema.js.map +1 -1
  8. package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js.map +1 -1
  9. package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js.map +1 -1
  10. package/build/.spruce/errors/spruceCli/dependencyExists.schema.js.map +1 -1
  11. package/build/.spruce/errors/spruceCli/deployFailed.schema.js.map +1 -1
  12. package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js.map +1 -1
  13. package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js.map +1 -1
  14. package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js.map +1 -1
  15. package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js.map +1 -1
  16. package/build/.spruce/errors/spruceCli/failedToImport.schema.js.map +1 -1
  17. package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js.map +1 -1
  18. package/build/.spruce/errors/spruceCli/fileExists.schema.js.map +1 -1
  19. package/build/.spruce/errors/spruceCli/generic.schema.js.map +1 -1
  20. package/build/.spruce/errors/spruceCli/invalidCommand.schema.js.map +1 -1
  21. package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js.map +1 -1
  22. package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js.map +1 -1
  23. package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js.map +1 -1
  24. package/build/.spruce/errors/spruceCli/lintFailed.schema.js.map +1 -1
  25. package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js.map +1 -1
  26. package/build/.spruce/errors/spruceCli/missingDependencies.schema.js.map +1 -1
  27. package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js.map +1 -1
  28. package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js.map +1 -1
  29. package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js.map +1 -1
  30. package/build/.spruce/errors/spruceCli/notImplemented.schema.js.map +1 -1
  31. package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js.map +1 -1
  32. package/build/.spruce/errors/spruceCli/schemaExists.schema.js.map +1 -1
  33. package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js.map +1 -1
  34. package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js.map +1 -1
  35. package/build/.spruce/errors/spruceCli/skillNotFound.schema.js.map +1 -1
  36. package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js.map +1 -1
  37. package/build/.spruce/errors/spruceCli/skillViewExists.schema.js.map +1 -1
  38. package/build/.spruce/errors/spruceCli/storeExists.schema.js.map +1 -1
  39. package/build/.spruce/errors/spruceCli/testFailed.schema.js.map +1 -1
  40. package/build/.spruce/errors/spruceCli/themeExists.schema.js.map +1 -1
  41. package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js.map +1 -1
  42. package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js.map +1 -1
  43. package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -1
  44. package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
  45. package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -1
  46. package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js.map +1 -1
  47. package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js.map +1 -1
  48. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js.map +1 -1
  49. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js.map +1 -1
  50. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  51. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js.map +1 -1
  52. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js.map +1 -1
  53. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js.map +1 -1
  54. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js.map +1 -1
  55. package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  56. package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js.map +1 -1
  57. package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js.map +1 -1
  58. package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js.map +1 -1
  59. package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js.map +1 -1
  60. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js.map +1 -1
  61. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  62. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js.map +1 -1
  63. package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js.map +1 -1
  64. package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js.map +1 -1
  65. package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js.map +1 -1
  66. package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js.map +1 -1
  67. package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js.map +1 -1
  68. package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -1
  69. package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js.map +1 -1
  70. package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js.map +1 -1
  71. package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map +1 -1
  72. package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js.map +1 -1
  73. package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js.map +1 -1
  74. package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -1
  75. package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js.map +1 -1
  76. package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js.map +1 -1
  77. package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js.map +1 -1
  78. package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js.map +1 -1
  79. package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -1
  80. package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js.map +1 -1
  81. package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js.map +1 -1
  82. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js.map +1 -1
  83. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js.map +1 -1
  84. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js.map +1 -1
  85. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js.map +1 -1
  86. package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js.map +1 -1
  87. package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js.map +1 -1
  88. package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js.map +1 -1
  89. package/build/GlobalEmitter.js.map +1 -1
  90. package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -1
  91. package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -1
  92. package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -1
  93. package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -1
  94. package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
  95. package/build/__tests__/behavioral/CreatingSchemasWithGenerics.test.js.map +1 -1
  96. package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -1
  97. package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
  98. package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -1
  99. package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -1
  100. package/build/__tests__/behavioral/InstallingASkillAtAnOrg.test.js.map +1 -1
  101. package/build/__tests__/behavioral/ListeningToCoreEvents.test.js.map +1 -1
  102. package/build/__tests__/behavioral/LoggingInAsASkill.test.js.map +1 -1
  103. package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -1
  104. package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -1
  105. package/build/__tests__/behavioral/RebuildingASkill.test.js.map +1 -1
  106. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
  107. package/build/__tests__/behavioral/RegisteringEventsOnBoot.test.js.map +1 -1
  108. package/build/__tests__/behavioral/RegisteringGlobalEvents.test.js.map +1 -1
  109. package/build/__tests__/behavioral/RegisteringSkillViewOnBoot.test.js.map +1 -1
  110. package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -1
  111. package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -1
  112. package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -1
  113. package/build/__tests__/behavioral/SettingUpASkillForTesting.test.js.map +1 -1
  114. package/build/__tests__/behavioral/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
  115. package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -1
  116. package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js.map +1 -1
  117. package/build/__tests__/behavioral/TestReporterSettingsRemembered.test.js.map +1 -1
  118. package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -1
  119. package/build/__tests__/behavioral/TestingDataStores.test.js.map +1 -1
  120. package/build/__tests__/behavioral/WatchingSkillViews.test.js.map +1 -1
  121. package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -1
  122. package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -1
  123. package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -1
  124. package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -1
  125. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
  126. package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
  127. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
  128. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
  129. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
  130. package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -1
  131. package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -1
  132. package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -1
  133. package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -1
  134. package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -1
  135. package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -1
  136. package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -1
  137. package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -1
  138. package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -1
  139. package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -1
  140. package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -1
  141. package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -1
  142. package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -1
  143. package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -1
  144. package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -1
  145. package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -1
  146. package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -1
  147. package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -1
  148. package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
  149. package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -1
  150. package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -1
  151. package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -1
  152. package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -1
  153. package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -1
  154. package/build/__tests__/behavioral/tests/CreatingATest.test.js +3 -3
  155. package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
  156. package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
  157. package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -1
  158. package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -1
  159. package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -1
  160. package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -1
  161. package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -1
  162. package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -1
  163. package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -1
  164. package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -1
  165. package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -1
  166. package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -1
  167. package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -1
  168. package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -1
  169. package/build/__tests__/behavioral/views/CreatingASkillView.test.js +1 -1
  170. package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -1
  171. package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
  172. package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -1
  173. package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
  174. package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -1
  175. package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -1
  176. package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -1
  177. package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -1
  178. package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -1
  179. package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -1
  180. package/build/__tests__/implementation/ArgParser.test.js.map +1 -1
  181. package/build/__tests__/implementation/BuildService.test.js.map +1 -1
  182. package/build/__tests__/implementation/BulkImporting.test.js.map +1 -1
  183. package/build/__tests__/implementation/CachingImports.test.js.map +1 -1
  184. package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -1
  185. package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -1
  186. package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -1
  187. package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -1
  188. package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
  189. package/build/__tests__/implementation/EventStore.test.js.map +1 -1
  190. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
  191. package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -1
  192. package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -1
  193. package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -1
  194. package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -1
  195. package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -1
  196. package/build/__tests__/implementation/GlobalEmitter.js.map +1 -1
  197. package/build/__tests__/implementation/Introspection.test.js.map +1 -1
  198. package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -1
  199. package/build/__tests__/implementation/LintService.test.js.map +1 -1
  200. package/build/__tests__/implementation/ListenerStore.test.js.map +1 -1
  201. package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -1
  202. package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -1
  203. package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -1
  204. package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -1
  205. package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -1
  206. package/build/__tests__/implementation/PkgService.test.js.map +1 -1
  207. package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
  208. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
  209. package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -1
  210. package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -1
  211. package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -1
  212. package/build/__tests__/implementation/SkillStore.test.js.map +1 -1
  213. package/build/__tests__/implementation/StoreFeature.test.js.map +1 -1
  214. package/build/__tests__/implementation/TestReporter.test.js.map +1 -1
  215. package/build/__tests__/implementation/TestRunner.test.js.map +1 -1
  216. package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -1
  217. package/build/__tests__/implementation/Widgets.test.js.map +1 -1
  218. package/build/__tests__/support/scripts/first.script.js.map +1 -1
  219. package/build/addons/filePrompt.addon.js.map +1 -1
  220. package/build/cli.js.map +1 -1
  221. package/build/components/FormComponent.js.map +1 -1
  222. package/build/components/QuizComponent.js.map +1 -1
  223. package/build/errors/SpruceError.js.map +1 -1
  224. package/build/errors/actionCancelled.builder.js.map +1 -1
  225. package/build/errors/bootError.builder.js.map +1 -1
  226. package/build/errors/buildFailed.builder.js.map +1 -1
  227. package/build/errors/cacheNotEnabled.builder.js.map +1 -1
  228. package/build/errors/commandAborted.builder.js.map +1 -1
  229. package/build/errors/commandBlocked.builder.js.map +1 -1
  230. package/build/errors/commandNotImplemented.builder.js.map +1 -1
  231. package/build/errors/createAutoloaderFailed.builder.js.map +1 -1
  232. package/build/errors/dependencyExists.builder.js.map +1 -1
  233. package/build/errors/deployFailed.builder.js.map +1 -1
  234. package/build/errors/directoryEmpty.builder.js.map +1 -1
  235. package/build/errors/directoryNotSkill.builder.js.map +1 -1
  236. package/build/errors/dockerNotStarted.builder.js.map +1 -1
  237. package/build/errors/executingCommandFailed.builder.js.map +1 -1
  238. package/build/errors/failedToImport.builder.js.map +1 -1
  239. package/build/errors/featureNotInstalled.builder.js.map +1 -1
  240. package/build/errors/fileExists.builder.js.map +1 -1
  241. package/build/errors/generic.builder.js.map +1 -1
  242. package/build/errors/invalidCommand.builder.js.map +1 -1
  243. package/build/errors/invalidEventContract.builder.js.map +1 -1
  244. package/build/errors/invalidFeatureCode.builder.js.map +1 -1
  245. package/build/errors/invalidTestDirectory.builder.js.map +1 -1
  246. package/build/errors/lintFailed.builder.js.map +1 -1
  247. package/build/errors/mercuryResponseError.builder.js.map +1 -1
  248. package/build/errors/missingDependencies.builder.js.map +1 -1
  249. package/build/errors/noOrganizationsFound.builder.js.map +1 -1
  250. package/build/errors/noSkillsRegistered.builder.js.map +1 -1
  251. package/build/errors/notImplemented.builder.js.map +1 -1
  252. package/build/errors/notLoggedIn.builder.js.map +1 -1
  253. package/build/errors/schemaExists.builder.js.map +1 -1
  254. package/build/errors/schemaFailedToImport.builder.js.map +1 -1
  255. package/build/errors/schemaTemplateItemBuildingFailed.builder.js.map +1 -1
  256. package/build/errors/skillNotFound.builder.js.map +1 -1
  257. package/build/errors/skillNotRegistered.builder.js.map +1 -1
  258. package/build/errors/skillViewExists.builder.js.map +1 -1
  259. package/build/errors/storeExists.builder.js.map +1 -1
  260. package/build/errors/testFailed.builder.js.map +1 -1
  261. package/build/errors/themeExists.builder.js.map +1 -1
  262. package/build/errors/transportAlreadyExists.builder.js.map +1 -1
  263. package/build/errors/vscodeNotInstalled.builder.js.map +1 -1
  264. package/build/features/AbstractAction.d.ts +1 -1
  265. package/build/features/AbstractAction.js.map +1 -1
  266. package/build/features/AbstractFeature.js.map +1 -1
  267. package/build/features/ActionExecuter.js.map +1 -1
  268. package/build/features/ActionFactory.js.map +1 -1
  269. package/build/features/ActionQuestionAsker.js.map +1 -1
  270. package/build/features/FeatureCommandAttacher.js.map +1 -1
  271. package/build/features/FeatureInstaller.js.map +1 -1
  272. package/build/features/OverrideActionDecorator.js.map +1 -1
  273. package/build/features/cache/CacheFeature.js.map +1 -1
  274. package/build/features/cache/actions/DisableAction.js.map +1 -1
  275. package/build/features/cache/actions/EnableAction.js.map +1 -1
  276. package/build/features/conversation/ConversationFeature.js.map +1 -1
  277. package/build/features/conversation/actions/TestAction.js.map +1 -1
  278. package/build/features/conversation/stores/ConversationStore.js.map +1 -1
  279. package/build/features/conversation/writers/ConversationWriter.js.map +1 -1
  280. package/build/features/dependencies/DependencyFeature.js.map +1 -1
  281. package/build/features/dependencies/actions/AddAction.js.map +1 -1
  282. package/build/features/dependencies/actions/ManageAction.js.map +1 -1
  283. package/build/features/deploy/DeployFeature.js.map +1 -1
  284. package/build/features/deploy/actions/HerokuAction.js.map +1 -1
  285. package/build/features/deploy/writers/DeployWriter.js.map +1 -1
  286. package/build/features/error/ErrorFeature.js.map +1 -1
  287. package/build/features/error/ParentTestFinder.js.map +1 -1
  288. package/build/features/error/actions/CreateAction.js.map +1 -1
  289. package/build/features/error/actions/SyncAction.js.map +1 -1
  290. package/build/features/error/writers/ErrorWriter.js.map +1 -1
  291. package/build/features/event/EventFeature.js.map +1 -1
  292. package/build/features/event/actions/CreateAction.js.map +1 -1
  293. package/build/features/event/actions/ListenAction.js.map +1 -1
  294. package/build/features/event/actions/SetRemoteAction.js.map +1 -1
  295. package/build/features/event/actions/SyncAction.js.map +1 -1
  296. package/build/features/event/actions/SyncListenersAction.js.map +1 -1
  297. package/build/features/event/builders/EventContractBuilder.js.map +1 -1
  298. package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
  299. package/build/features/event/stores/EventStore.js.map +1 -1
  300. package/build/features/event/stores/ListenerStore.js.map +1 -1
  301. package/build/features/event/writers/EventWriter.js.map +1 -1
  302. package/build/features/eventContract/EventContractFeature.js.map +1 -1
  303. package/build/features/eventContract/actions/PullAction.js.map +1 -1
  304. package/build/features/feature.utilities.js.map +1 -1
  305. package/build/features/features.types.js.map +1 -1
  306. package/build/features/log/LogFeature.js.map +1 -1
  307. package/build/features/log/actions/CreateTransportAction.js.map +1 -1
  308. package/build/features/log/writers/LogWriter.js.map +1 -1
  309. package/build/features/node/NodeFeature.js.map +1 -1
  310. package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -1
  311. package/build/features/node/actions/UpgradeAction.js.map +1 -1
  312. package/build/features/node/writers/NodeWriter.js.map +1 -1
  313. package/build/features/onboard/OnboardFeature.js.map +1 -1
  314. package/build/features/onboard/ScriptLoader.js.map +1 -1
  315. package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -1
  316. package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -1
  317. package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -1
  318. package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -1
  319. package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -1
  320. package/build/features/onboard/stores/OnboardingStore.js.map +1 -1
  321. package/build/features/organization/OrganizationFeature.js.map +1 -1
  322. package/build/features/organization/stores/OrganizationStore.js.map +1 -1
  323. package/build/features/person/PersonFeature.js.map +1 -1
  324. package/build/features/person/actions/LoginAction.js.map +1 -1
  325. package/build/features/person/actions/LogoutAction.js.map +1 -1
  326. package/build/features/person/actions/WhoamiAction.js.map +1 -1
  327. package/build/features/sandbox/SandboxFeature.js.map +1 -1
  328. package/build/features/sandbox/actions/SetupAction.js.map +1 -1
  329. package/build/features/sandbox/writers/SandboxWriter.js.map +1 -1
  330. package/build/features/schema/SchemaFeature.js.map +1 -1
  331. package/build/features/schema/ValueTypeBuilder.js.map +1 -1
  332. package/build/features/schema/actions/CreateAction.js.map +1 -1
  333. package/build/features/schema/actions/SyncAction.js.map +1 -1
  334. package/build/features/schema/actions/SyncFieldsAction.js.map +1 -1
  335. package/build/features/schema/services/SchemaService.js.map +1 -1
  336. package/build/features/schema/stores/SchemaStore.d.ts +2 -1
  337. package/build/features/schema/stores/SchemaStore.js +2 -1
  338. package/build/features/schema/stores/SchemaStore.js.map +1 -1
  339. package/build/features/schema/utilities/schema.utility.js.map +1 -1
  340. package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
  341. package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -1
  342. package/build/features/schema/writers/SchemaWriter.js.map +1 -1
  343. package/build/features/skill/SkillFeature.js.map +1 -1
  344. package/build/features/skill/actions/BootAction.js.map +1 -1
  345. package/build/features/skill/actions/CreateAction.js.map +1 -1
  346. package/build/features/skill/actions/DashboardAction.js.map +1 -1
  347. package/build/features/skill/actions/LoginAction.js.map +1 -1
  348. package/build/features/skill/actions/RebuildAction.js.map +1 -1
  349. package/build/features/skill/actions/RegisterAction.js.map +1 -1
  350. package/build/features/skill/stores/SkillStore.js.map +1 -1
  351. package/build/features/skill/updaters/Updater.js.map +1 -1
  352. package/build/features/skill/writers/SkillWriter.js.map +1 -1
  353. package/build/features/store/StoreFeature.js.map +1 -1
  354. package/build/features/store/actions/CreateAction.js.map +1 -1
  355. package/build/features/store/actions/SyncAction.js.map +1 -1
  356. package/build/features/store/stores/StoreStore.js.map +1 -1
  357. package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -1
  358. package/build/features/store/writers/StoreWriter.js.map +1 -1
  359. package/build/features/test/TestFeature.js.map +1 -1
  360. package/build/features/test/TestLogItemGenerator.js.map +1 -1
  361. package/build/features/test/TestReporter.js.map +1 -1
  362. package/build/features/test/TestRunner.js.map +1 -1
  363. package/build/features/test/actions/CreateAction.js.map +1 -1
  364. package/build/features/test/actions/SetupAction.js.map +1 -1
  365. package/build/features/test/actions/TestAction.js.map +1 -1
  366. package/build/features/test/writers/TestWriter.js.map +1 -1
  367. package/build/features/validateAndNormalize.utility.js.map +1 -1
  368. package/build/features/view/ViewFeature.js.map +1 -1
  369. package/build/features/view/actions/CreateAction.js.map +1 -1
  370. package/build/features/view/actions/CreateThemeAction.js.map +1 -1
  371. package/build/features/view/actions/SyncAction.js.map +1 -1
  372. package/build/features/view/actions/WatchAction.js.map +1 -1
  373. package/build/features/view/stores/ViewStore.js.map +1 -1
  374. package/build/features/view/writers/ViewWriter.js.map +1 -1
  375. package/build/features/vscode/VsCodeFeature.js.map +1 -1
  376. package/build/features/vscode/services/VsCodeService.js.map +1 -1
  377. package/build/features/vscode/writers/VsCodeWriter.js.map +1 -1
  378. package/build/features/watch/WatchFeature.js.map +1 -1
  379. package/build/index.js.map +1 -1
  380. package/build/interfaces/SpyInterface.js +0 -1
  381. package/build/interfaces/SpyInterface.js.map +1 -1
  382. package/build/interfaces/TerminalInterface.js.map +1 -1
  383. package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -1
  384. package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
  385. package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
  386. package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
  387. package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
  388. package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
  389. package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -1
  390. package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
  391. package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -1
  392. package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -1
  393. package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -1
  394. package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -1
  395. package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -1
  396. package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -1
  397. package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
  398. package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -1
  399. package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
  400. package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
  401. package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -1
  402. package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -1
  403. package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
  404. package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -1
  405. package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -1
  406. package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -1
  407. package/build/services/CommandService.d.ts +1 -0
  408. package/build/services/CommandService.js.map +1 -1
  409. package/build/services/GameService.js.map +1 -1
  410. package/build/services/ImportService.js.map +1 -1
  411. package/build/services/LintService.js.map +1 -1
  412. package/build/services/PkgService.js.map +1 -1
  413. package/build/services/ServiceFactory.js.map +1 -1
  414. package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
  415. package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -1
  416. package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
  417. package/build/tests/AbstractCliTest.js.map +1 -1
  418. package/build/tests/AbstractEventTest.js.map +1 -1
  419. package/build/tests/AbstractSchemaTest.js.map +1 -1
  420. package/build/tests/AbstractTestTest.js.map +1 -1
  421. package/build/tests/CommandFaker.js.map +1 -1
  422. package/build/tests/JestJsonParser.js.map +1 -1
  423. package/build/tests/buildTestCache.js.map +1 -1
  424. package/build/tests/cleanTestCache.js.map +1 -1
  425. package/build/tests/cleanTestData.js.map +1 -1
  426. package/build/tests/fixtures/FeatureFixture.js.map +1 -1
  427. package/build/tests/fixtures/MercuryFixture.js.map +1 -1
  428. package/build/tests/fixtures/PersonFixture.js.map +1 -1
  429. package/build/tests/fixtures/SkillFixture.js.map +1 -1
  430. package/build/tests/utilities/test.utility.js.map +1 -1
  431. package/build/tests/utilities/uiAssert.utility.js.map +1 -1
  432. package/build/utilities/action.utility.js.map +1 -1
  433. package/build/utilities/apiClient.utility.d.ts +1 -1
  434. package/build/utilities/commander.utility.js.map +1 -1
  435. package/build/utilities/eventContractCleaner.utility.js.map +1 -1
  436. package/build/utilities/form.utility.js.map +1 -1
  437. package/build/utilities/introspection.utility.js.map +1 -1
  438. package/build/utilities/tsConfig.utility.js.map +1 -1
  439. package/build/widgets/Theme.js.map +1 -1
  440. package/build/widgets/WidgetFactory.js.map +1 -1
  441. package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
  442. package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
  443. package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
  444. package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
  445. package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
  446. package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
  447. package/build/widgets/terminalKit/termKit.utility.d.ts +1 -1
  448. package/build/widgets/terminalKit/termKit.utility.js.map +1 -1
  449. package/build/widgets/types/input.types.js.map +1 -1
  450. package/build/widgets/types/menuBar.types.js.map +1 -1
  451. package/build/widgets/types/text.types.js.map +1 -1
  452. package/build/widgets/types/window.types.js.map +1 -1
  453. package/build/widgets/widget.utilities.d.ts +1 -1
  454. package/build/writers/AbstractWriter.js.map +1 -1
  455. package/package.json +36 -36
  456. package/src/__tests__/behavioral/views/CreatingASkillView.test.ts +3 -2
  457. package/src/features/schema/stores/SchemaStore.ts +4 -2
  458. package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.d.ts +0 -1
  459. package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.js +0 -14
  460. package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.js.map +0 -1
  461. package/src/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"namedTemplateItem.schema.js","names":["namedTemplateItemSchema","id","version","namespace","name","description","fields","label","type","isRequired","hint","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst namedTemplateItemSchema: SpruceSchemas.SpruceCli.v2020_07_22.NamedTemplateItemSchema = {\n\tid: 'namedTemplateItem',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'NamedTemplateItem',\n\tdescription: 'Used to collect input on the names of a class or interface',\n\t fields: {\n\t /** Readable name. The name people will read */\n\t 'nameReadable': {\n\t label: 'Readable name',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'The name people will read',\n\t options: undefined\n\t },\n\t /** Readable name (plural). The plural form of the name people will read */\n\t 'nameReadablePlural': {\n\t label: 'Readable name (plural)',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'The plural form of the name people will read',\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 /** Plural camel case name. camelCase version of the name */\n\t 'nameCamelPlural': {\n\t label: 'Plural camel case name',\n\t type: 'text',\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 /** Plural Pascal case name. PascalCase of the name */\n\t 'namePascalPlural': {\n\t label: 'Plural Pascal case name',\n\t type: 'text',\n\t hint: 'PascalCase of the name',\n\t options: undefined\n\t },\n\t /** Constant case name. CONST_CASE of the name */\n\t 'nameConst': {\n\t label: 'Constant case name',\n\t type: 'text',\n\t hint: 'CONST_CASE of the name',\n\t options: undefined\n\t },\n\t /** Kebab case name. kebab-case of the name */\n\t 'nameKebab': {\n\t label: 'Kebab case name',\n\t type: 'text',\n\t hint: 'kebab-case of the name',\n\t options: undefined\n\t },\n\t /** Snake case name. snake_case of the name */\n\t 'nameSnake': {\n\t label: 'Snake case name',\n\t type: 'text',\n\t hint: 'snake_case of the name',\n\t options: undefined\n\t },\n\t /** Snake case name (plural). snakes_case of the name */\n\t 'nameSnakePlural': {\n\t label: 'Snake case name (plural)',\n\t type: 'text',\n\t hint: 'snakes_case of the name',\n\t options: undefined\n\t },\n\t /** Description. Describe a bit more here */\n\t 'description': {\n\t label: 'Description',\n\t type: 'text',\n\t hint: 'Describe a bit more here',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(namedTemplateItemSchema)\n\nexport default namedTemplateItemSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,uBAAoF,GAAI;EAC7FC,EAAE,EAAE,mBADyF;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AJA,CAtDb;;IA4DA;IACA,aAAa;MACTL,KAAK,EAAE,iBADE;MAETC,IAAI,EAAE,MAFG;MAGTE,IAAI,EAAE,wBAHG;MAITC,OAAO,EAAEC;IAJA,CA7Db;;IAmEA;IACA,mBAAmB;MACfL,KAAK,EAAE,0BADQ;MAEfC,IAAI,EAAE,MAFS;MAGfE,IAAI,EAAE,yBAHS;MAIfC,OAAO,EAAEC;IAJM,CApEnB;;IA0EA;IACA,eAAe;MACXL,KAAK,EAAE,aADI;MAEXC,IAAI,EAAE,MAFK;MAGXE,IAAI,EAAE,0BAHK;MAIXC,OAAO,EAAEC;IAJE;EA3Ef;AANiF,CAA9F;;AA0FAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,uBAAzC;;eAEeA,uB"}
1
+ {"version":3,"file":"namedTemplateItem.schema.js","names":["namedTemplateItemSchema","id","version","namespace","name","description","fields","label","type","isRequired","hint","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst namedTemplateItemSchema: SpruceSchemas.SpruceCli.v2020_07_22.NamedTemplateItemSchema = {\n\tid: 'namedTemplateItem',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'NamedTemplateItem',\n\tdescription: 'Used to collect input on the names of a class or interface',\n\t fields: {\n\t /** Readable name. The name people will read */\n\t 'nameReadable': {\n\t label: 'Readable name',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'The name people will read',\n\t options: undefined\n\t },\n\t /** Readable name (plural). The plural form of the name people will read */\n\t 'nameReadablePlural': {\n\t label: 'Readable name (plural)',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'The plural form of the name people will read',\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 /** Plural camel case name. camelCase version of the name */\n\t 'nameCamelPlural': {\n\t label: 'Plural camel case name',\n\t type: 'text',\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 /** Plural Pascal case name. PascalCase of the name */\n\t 'namePascalPlural': {\n\t label: 'Plural Pascal case name',\n\t type: 'text',\n\t hint: 'PascalCase of the name',\n\t options: undefined\n\t },\n\t /** Constant case name. CONST_CASE of the name */\n\t 'nameConst': {\n\t label: 'Constant case name',\n\t type: 'text',\n\t hint: 'CONST_CASE of the name',\n\t options: undefined\n\t },\n\t /** Kebab case name. kebab-case of the name */\n\t 'nameKebab': {\n\t label: 'Kebab case name',\n\t type: 'text',\n\t hint: 'kebab-case of the name',\n\t options: undefined\n\t },\n\t /** Snake case name. snake_case of the name */\n\t 'nameSnake': {\n\t label: 'Snake case name',\n\t type: 'text',\n\t hint: 'snake_case of the name',\n\t options: undefined\n\t },\n\t /** Snake case name (plural). snakes_case of the name */\n\t 'nameSnakePlural': {\n\t label: 'Snake case name (plural)',\n\t type: 'text',\n\t hint: 'snakes_case of the name',\n\t options: undefined\n\t },\n\t /** Description. Describe a bit more here */\n\t 'description': {\n\t label: 'Description',\n\t type: 'text',\n\t hint: 'Describe a bit more here',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(namedTemplateItemSchema)\n\nexport default namedTemplateItemSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,uBAAoF,GAAI;EAC7FC,EAAE,EAAE,mBADyF;EAE7FC,OAAO,EAAE,aAFoF;EAG7FC,SAAS,EAAE,WAHkF;EAI7FC,IAAI,EAAE,mBAJuF;EAK7FC,WAAW,EAAE,4DALgF;EAMzFC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AAEC;IAJA,CA7Db;;IAmEA;IACA,mBAAmB;MACfL,KAAK,EAAE,0BADQ;MAEfC,IAAI,EAAE,MAFS;MAGfE,IAAI,EAAE,yBAHS;MAIfC,OAAO,EAAEC;IAJM,CApEnB;;IA0EA;IACA,eAAe;MACXL,KAAK,EAAE,aADI;MAEXC,IAAI,EAAE,MAFK;MAGXE,IAAI,EAAE,0BAHK;MAIXC,OAAO,EAAEC;IAJE;EA3Ef;AANiF,CAA9F;;AA0FAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,uBAAzC;;eAEeA,uB"}
@@ -1 +1 @@
1
- {"version":3,"file":"nodeFeatureOptions.schema.js","names":["nodeFeatureOptionsSchema","id","version","namespace","name","description","fields","type","defaultValue","options","undefined","label","isRequired","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst nodeFeatureOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.NodeFeatureOptionsSchema = {\n\tid: 'nodeFeatureOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Create node module',\n\tdescription: 'Create a new node module, to be written in typescript, ready to rock!',\n\t fields: {\n\t /** . */\n\t 'destination': {\n\t type: 'text',\n\t defaultValue: \".\",\n\t options: undefined\n\t },\n\t /** What's the name of your module?. */\n\t 'name': {\n\t label: 'What\\'s the name of your module?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** How would you describe your module?. */\n\t 'description': {\n\t label: 'How would you describe your module?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(nodeFeatureOptionsSchema)\n\nexport default nodeFeatureOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,wBAAsF,GAAI;EAC/FC,EAAE,EAAE,oBAD2F;EAE/FC,OAAO,EAAE,aAFsF;EAG/FC,SAAS,EAAE,WAHoF;EAI/FC,IAAI,EAAE,oBAJyF;EAK/FC,WAAW,EAAE,uEALkF;EAM3FC,MAAM,EAAE;IACA;IACA,eAAe;MACXC,IAAI,EAAE,MADK;MAEXC,YAAY,EAAE,GAFH;MAGXC,OAAO,EAAEC;IAHE,CAFf;;IAOA;IACA,QAAQ;MACJC,KAAK,EAAE,kCADH;MAEJJ,IAAI,EAAE,MAFF;MAGJK,UAAU,EAAE,IAHR;MAIJH,OAAO,EAAEC;IAJL,CARR;;IAcA;IACA,eAAe;MACXC,KAAK,EAAE,qCADI;MAEXJ,IAAI,EAAE,MAFK;MAGXK,UAAU,EAAE,IAHD;MAIXH,OAAO,EAAEC;IAJE;EAff;AANmF,CAAhG;;AA8BAG,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,wBAAzC;;eAEeA,wB"}
1
+ {"version":3,"file":"nodeFeatureOptions.schema.js","names":["nodeFeatureOptionsSchema","id","version","namespace","name","description","fields","type","defaultValue","options","undefined","label","isRequired","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst nodeFeatureOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.NodeFeatureOptionsSchema = {\n\tid: 'nodeFeatureOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Create node module',\n\tdescription: 'Create a new node module, to be written in typescript, ready to rock!',\n\t fields: {\n\t /** . */\n\t 'destination': {\n\t type: 'text',\n\t defaultValue: \".\",\n\t options: undefined\n\t },\n\t /** What's the name of your module?. */\n\t 'name': {\n\t label: 'What\\'s the name of your module?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** How would you describe your module?. */\n\t 'description': {\n\t label: 'How would you describe your module?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(nodeFeatureOptionsSchema)\n\nexport default nodeFeatureOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,wBAAsF,GAAI;EAC/FC,EAAE,EAAE,oBAD2F;EAE/FC,OAAO,EAAE,aAFsF;EAG/FC,SAAS,EAAE,WAHoF;EAI/FC,IAAI,EAAE,oBAJyF;EAK/FC,WAAW,EAAE,uEALkF;EAM3FC,MAAM,EAAE;IACA;IACA,eAAe;MACXC,IAAI,EAAE,MADK;MAEXC,YAAY,EAAE,GAFH;MAGXC,OAAO,EAAEC;IAHE,CAFf;;IAOA;IACA,QAAQ;MACJC,KAAK,EAAE,kCADH;MAEJJ,IAAI,EAAE,MAFF;MAGJK,UAAU,EAAE,IAHR;MAIJH,OAAO,EAAEC;IAJL,CARR;;IAcA;IACA,eAAe;MACXC,KAAK,EAAE,qCADI;MAEXJ,IAAI,EAAE,MAFK;MAGXK,UAAU,EAAE,IAHD;MAIXH,OAAO,EAAEC;IAJE;EAff;AANmF,CAAhG;;AA8BAG,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,wBAAzC;;eAEeA,wB"}
@@ -1 +1 @@
1
- {"version":3,"file":"onboardOptions.schema.js","names":["onboardOptionsSchema","id","version","namespace","name","description","fields","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst onboardOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.OnboardOptionsSchema = {\n\tid: 'onboardOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Onboard action',\n\tdescription: 'The question is; Are you read? ⚡️',\n\t fields: {\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(onboardOptionsSchema)\n\nexport default onboardOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,oBAA8E,GAAI;EACvFC,EAAE,EAAE,gBADmF;EAEvFC,OAAO,EAAE,aAF8E;EAGvFC,SAAS,EAAE,WAH4E;EAIvFC,IAAI,EAAE,gBAJiF;EAKvFC,WAAW,EAAE,mCAL0E;EAMnFC,MAAM,EAAE;AAN2E,CAAxF;;AAUAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCT,oBAAzC;;eAEeA,oB"}
1
+ {"version":3,"file":"onboardOptions.schema.js","names":["onboardOptionsSchema","id","version","namespace","name","description","fields","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst onboardOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.OnboardOptionsSchema = {\n\tid: 'onboardOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Onboard action',\n\tdescription: 'The question is; Are you read? ⚡️',\n\t fields: {\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(onboardOptionsSchema)\n\nexport default onboardOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,oBAA8E,GAAI;EACvFC,EAAE,EAAE,gBADmF;EAEvFC,OAAO,EAAE,aAF8E;EAGvFC,SAAS,EAAE,WAH4E;EAIvFC,IAAI,EAAE,gBAJiF;EAKvFC,WAAW,EAAE,mCAL0E;EAMnFC,MAAM,EAAE;AAN2E,CAAxF;;AAUAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCT,oBAAzC;;eAEeA,oB"}
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding.schema.js","names":["onboardingSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","choices","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst onboardingSchema: SpruceSchemas.SpruceCli.v2020_07_22.OnboardingSchema = {\n\tid: 'onboarding',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Onboarding',\n\tdescription: 'Track onboarding progress and tutorials & quizzes completed.',\n\t fields: {\n\t /** mode. */\n\t 'mode': {\n\t label: 'mode',\n\t type: 'select',\n\t isRequired: true,\n\t options: {choices: [{\"label\":\"Short\",\"value\":\"short\"},{\"label\":\"Immersive\",\"value\":\"immersive\"},{\"label\":\"Off\",\"value\":\"off\"}],}\n\t },\n\t /** Stage. */\n\t 'stage': {\n\t label: 'Stage',\n\t type: 'select',\n\t options: {choices: [{\"label\":\"Create skill\",\"value\":\"create.skill\"},{\"label\":\"Test\",\"value\":\"test\"}],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(onboardingSchema)\n\nexport default onboardingSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,gBAAsE,GAAI;EAC/EC,EAAE,EAAE,YAD2E;EAE/EC,OAAO,EAAE,aAFsE;EAG/EC,SAAS,EAAE,WAHoE;EAI/EC,IAAI,EAAE,YAJyE;EAK/EC,WAAW,EAAE,8DALkE;EAM3EC,MAAM,EAAE;IACA;IACA,QAAQ;MACJC,KAAK,EAAE,MADH;MAEJC,IAAI,EAAE,QAFF;MAGJC,UAAU,EAAE,IAHR;MAIJC,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,OAAT;UAAiB,SAAQ;QAAzB,CAAD,EAAmC;UAAC,SAAQ,WAAT;UAAqB,SAAQ;QAA7B,CAAnC,EAA6E;UAAC,SAAQ,KAAT;UAAe,SAAQ;QAAvB,CAA7E;MAAV;IAJL,CAFR;;IAQA;IACA,SAAS;MACLJ,KAAK,EAAE,OADF;MAELC,IAAI,EAAE,QAFD;MAGLE,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,cAAT;UAAwB,SAAQ;QAAhC,CAAD,EAAiD;UAAC,SAAQ,MAAT;UAAgB,SAAQ;QAAxB,CAAjD;MAAV;IAHJ;EATT;AANmE,CAAhF;;AAuBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,gBAAzC;;eAEeA,gB"}
1
+ {"version":3,"file":"onboarding.schema.js","names":["onboardingSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","choices","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst onboardingSchema: SpruceSchemas.SpruceCli.v2020_07_22.OnboardingSchema = {\n\tid: 'onboarding',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Onboarding',\n\tdescription: 'Track onboarding progress and tutorials & quizzes completed.',\n\t fields: {\n\t /** mode. */\n\t 'mode': {\n\t label: 'mode',\n\t type: 'select',\n\t isRequired: true,\n\t options: {choices: [{\"label\":\"Short\",\"value\":\"short\"},{\"label\":\"Immersive\",\"value\":\"immersive\"},{\"label\":\"Off\",\"value\":\"off\"}],}\n\t },\n\t /** Stage. */\n\t 'stage': {\n\t label: 'Stage',\n\t type: 'select',\n\t options: {choices: [{\"label\":\"Create skill\",\"value\":\"create.skill\"},{\"label\":\"Test\",\"value\":\"test\"}],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(onboardingSchema)\n\nexport default onboardingSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,gBAAsE,GAAI;EAC/EC,EAAE,EAAE,YAD2E;EAE/EC,OAAO,EAAE,aAFsE;EAG/EC,SAAS,EAAE,WAHoE;EAI/EC,IAAI,EAAE,YAJyE;EAK/EC,WAAW,EAAE,8DALkE;EAM3EC,MAAM,EAAE;IACA;IACA,QAAQ;MACJC,KAAK,EAAE,MADH;MAEJC,IAAI,EAAE,QAFF;MAGJC,UAAU,EAAE,IAHR;MAIJC,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,OAAT;UAAiB,SAAQ;QAAzB,CAAD,EAAmC;UAAC,SAAQ,WAAT;UAAqB,SAAQ;QAA7B,CAAnC,EAA6E;UAAC,SAAQ,KAAT;UAAe,SAAQ;QAAvB,CAA7E;MAAV;IAJL,CAFR;;IAQA;IACA,SAAS;MACLJ,KAAK,EAAE,OADF;MAELC,IAAI,EAAE,QAFD;MAGLE,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,cAAT;UAAwB,SAAQ;QAAhC,CAAD,EAAiD;UAAC,SAAQ,MAAT;UAAgB,SAAQ;QAAxB,CAAjD;MAAV;IAHJ;EATT;AANmE,CAAhF;;AAuBAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,gBAAzC;;eAEeA,gB"}
@@ -1 +1 @@
1
- {"version":3,"file":"personWithToken.schema.js","names":["personWithTokenSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","undefined","hint","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst personWithTokenSchema: SpruceSchemas.SpruceCli.v2020_07_22.PersonWithTokenSchema = {\n\tid: 'personWithToken',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: '',\n\tdescription: 'A stripped down cli user with token details for login',\n\t fields: {\n\t /** Id. */\n\t 'id': {\n\t label: 'Id',\n\t type: 'id',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** Casual name. The name you can use when talking to this person. */\n\t 'casualName': {\n\t label: 'Casual name',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'The name you can use when talking to this person.',\n\t options: undefined\n\t },\n\t /** . */\n\t 'token': {\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** Logged in. */\n\t 'isLoggedIn': {\n\t label: 'Logged in',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(personWithTokenSchema)\n\nexport default personWithTokenSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,qBAAgF,GAAI;EACzFC,EAAE,EAAE,iBADqF;EAEzFC,OAAO,EAAE,aAFgF;EAGzFC,SAAS,EAAE,WAH8E;EAIzFC,IAAI,EAAE,EAJmF;EAKzFC,WAAW,EAAE,uDAL4E;EAMrFC,MAAM,EAAE;IACA;IACA,MAAM;MACFC,KAAK,EAAE,IADL;MAEFC,IAAI,EAAE,IAFJ;MAGFC,UAAU,EAAE,IAHV;MAIFC,OAAO,EAAEC;IAJP,CAFN;;IAQA;IACA,cAAc;MACVJ,KAAK,EAAE,aADG;MAEVC,IAAI,EAAE,MAFI;MAGVC,UAAU,EAAE,IAHF;MAIVG,IAAI,EAAE,mDAJI;MAKVF,OAAO,EAAEC;IALC,CATd;;IAgBA;IACA,SAAS;MACLH,IAAI,EAAE,MADD;MAELC,UAAU,EAAE,IAFP;MAGLC,OAAO,EAAEC;IAHJ,CAjBT;;IAsBA;IACA,cAAc;MACVJ,KAAK,EAAE,WADG;MAEVC,IAAI,EAAE,SAFI;MAGVE,OAAO,EAAEC;IAHC;EAvBd;AAN6E,CAA1F;;AAqCAE,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,qBAAzC;;eAEeA,qB"}
1
+ {"version":3,"file":"personWithToken.schema.js","names":["personWithTokenSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","undefined","hint","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst personWithTokenSchema: SpruceSchemas.SpruceCli.v2020_07_22.PersonWithTokenSchema = {\n\tid: 'personWithToken',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: '',\n\tdescription: 'A stripped down cli user with token details for login',\n\t fields: {\n\t /** Id. */\n\t 'id': {\n\t label: 'Id',\n\t type: 'id',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** Casual name. The name you can use when talking to this person. */\n\t 'casualName': {\n\t label: 'Casual name',\n\t type: 'text',\n\t isRequired: true,\n\t hint: 'The name you can use when talking to this person.',\n\t options: undefined\n\t },\n\t /** . */\n\t 'token': {\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** Logged in. */\n\t 'isLoggedIn': {\n\t label: 'Logged in',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(personWithTokenSchema)\n\nexport default personWithTokenSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,qBAAgF,GAAI;EACzFC,EAAE,EAAE,iBADqF;EAEzFC,OAAO,EAAE,aAFgF;EAGzFC,SAAS,EAAE,WAH8E;EAIzFC,IAAI,EAAE,EAJmF;EAKzFC,WAAW,EAAE,uDAL4E;EAMrFC,MAAM,EAAE;IACA;IACA,MAAM;MACFC,KAAK,EAAE,IADL;MAEFC,IAAI,EAAE,IAFJ;MAGFC,UAAU,EAAE,IAHV;MAIFC,OAAO,EAAEC;IAJP,CAFN;;IAQA;IACA,cAAc;MACVJ,KAAK,EAAE,aADG;MAEVC,IAAI,EAAE,MAFI;MAGVC,UAAU,EAAE,IAHF;MAIVG,IAAI,EAAE,mDAJI;MAKVF,OAAO,EAAEC;IALC,CATd;;IAgBA;IACA,SAAS;MACLH,IAAI,EAAE,MADD;MAELC,UAAU,EAAE,IAFP;MAGLC,OAAO,EAAEC;IAHJ,CAjBT;;IAsBA;IACA,cAAc;MACVJ,KAAK,EAAE,WADG;MAEVC,IAAI,EAAE,SAFI;MAGVE,OAAO,EAAEC;IAHC;EAvBd;AAN6E,CAA1F;;AAqCAE,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,qBAAzC;;eAEeA,qB"}
@@ -1 +1 @@
1
- {"version":3,"file":"registerDashboardWidgetsEmitPayloadSchema.schema.js","names":["registerDashboardWidgetsEmitPayloadSchemaSchema","id","version","namespace","name","fields","type","options","valueType","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst registerDashboardWidgetsEmitPayloadSchemaSchema: SpruceSchemas.SpruceCli.v2020_07_22.RegisterDashboardWidgetsEmitPayloadSchemaSchema = {\n\tid: 'registerDashboardWidgetsEmitPayloadSchema',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'register dashboard widgets emit payload schema',\n\t fields: {\n\t /** . */\n\t 'widgets': {\n\t type: 'raw',\n\t options: {valueType: `BaseWidget`,}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(registerDashboardWidgetsEmitPayloadSchemaSchema)\n\nexport default registerDashboardWidgetsEmitPayloadSchemaSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,+CAAoI,GAAI;EAC7IC,EAAE,EAAE,2CADyI;EAE7IC,OAAO,EAAE,aAFoI;EAG7IC,SAAS,EAAE,WAHkI;EAI7IC,IAAI,EAAE,gDAJuI;EAKzIC,MAAM,EAAE;IACA;IACA,WAAW;MACPC,IAAI,EAAE,KADC;MAEPC,OAAO,EAAE;QAACC,SAAS;MAAV;IAFF;EAFX;AALiI,CAA9I;;AAcAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCX,+CAAzC;;eAEeA,+C"}
1
+ {"version":3,"file":"registerDashboardWidgetsEmitPayloadSchema.schema.js","names":["registerDashboardWidgetsEmitPayloadSchemaSchema","id","version","namespace","name","fields","type","options","valueType","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst registerDashboardWidgetsEmitPayloadSchemaSchema: SpruceSchemas.SpruceCli.v2020_07_22.RegisterDashboardWidgetsEmitPayloadSchemaSchema = {\n\tid: 'registerDashboardWidgetsEmitPayloadSchema',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'register dashboard widgets emit payload schema',\n\t fields: {\n\t /** . */\n\t 'widgets': {\n\t type: 'raw',\n\t options: {valueType: `BaseWidget`,}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(registerDashboardWidgetsEmitPayloadSchemaSchema)\n\nexport default registerDashboardWidgetsEmitPayloadSchemaSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,+CAAoI,GAAI;EAC7IC,EAAE,EAAE,2CADyI;EAE7IC,OAAO,EAAE,aAFoI;EAG7IC,SAAS,EAAE,WAHkI;EAI7IC,IAAI,EAAE,gDAJuI;EAKzIC,MAAM,EAAE;IACA;IACA,WAAW;MACPC,IAAI,EAAE,KADC;MAEPC,OAAO,EAAE;QAACC,SAAS;MAAV;IAFF;EAFX;AALiI,CAA9I;;AAcAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCX,+CAAzC;;eAEeA,+C"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupTestsOptions.schema.js","names":["setupTestsOptionsSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst setupTestsOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SetupTestsOptionsSchema = {\n\tid: 'setupTestsOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Setup tests options',\n\tdescription: 'Use this with in your CI/CD environment to get your skill ready to run tests.',\n\t fields: {\n\t /** Demo phone number. */\n\t 'demoNumber': {\n\t label: 'Demo phone number',\n\t type: 'phone',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** Namespace. */\n\t 'skillSlug': {\n\t label: 'Namespace',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(setupTestsOptionsSchema)\n\nexport default setupTestsOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,uBAAoF,GAAI;EAC7FC,EAAE,EAAE,mBADyF;EAE7FC,OAAO,EAAE,aAFoF;EAG7FC,SAAS,EAAE,WAHkF;EAI7FC,IAAI,EAAE,qBAJuF;EAK7FC,WAAW,EAAE,+EALgF;EAMzFC,MAAM,EAAE;IACA;IACA,cAAc;MACVC,KAAK,EAAE,mBADG;MAEVC,IAAI,EAAE,OAFI;MAGVC,UAAU,EAAE,IAHF;MAIVC,OAAO,EAAEC;IAJC,CAFd;;IAQA;IACA,aAAa;MACTJ,KAAK,EAAE,WADE;MAETC,IAAI,EAAE,MAFG;MAGTC,UAAU,EAAE,IAHH;MAITC,OAAO,EAAEC;IAJA;EATb;AANiF,CAA9F;;AAwBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,uBAAzC;;eAEeA,uB"}
1
+ {"version":3,"file":"setupTestsOptions.schema.js","names":["setupTestsOptionsSchema","id","version","namespace","name","description","fields","label","type","isRequired","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst setupTestsOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SetupTestsOptionsSchema = {\n\tid: 'setupTestsOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Setup tests options',\n\tdescription: 'Use this with in your CI/CD environment to get your skill ready to run tests.',\n\t fields: {\n\t /** Demo phone number. */\n\t 'demoNumber': {\n\t label: 'Demo phone number',\n\t type: 'phone',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** Namespace. */\n\t 'skillSlug': {\n\t label: 'Namespace',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(setupTestsOptionsSchema)\n\nexport default setupTestsOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,uBAAoF,GAAI;EAC7FC,EAAE,EAAE,mBADyF;EAE7FC,OAAO,EAAE,aAFoF;EAG7FC,SAAS,EAAE,WAHkF;EAI7FC,IAAI,EAAE,qBAJuF;EAK7FC,WAAW,EAAE,+EALgF;EAMzFC,MAAM,EAAE;IACA;IACA,cAAc;MACVC,KAAK,EAAE,mBADG;MAEVC,IAAI,EAAE,OAFI;MAGVC,UAAU,EAAE,IAHF;MAIVC,OAAO,EAAEC;IAJC,CAFd;;IAQA;IACA,aAAa;MACTJ,KAAK,EAAE,WADE;MAETC,IAAI,EAAE,MAFG;MAGTC,UAAU,EAAE,IAHH;MAITC,OAAO,EAAEC;IAJA;EATb;AANiF,CAA9F;;AAwBAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,uBAAzC;;eAEeA,uB"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupVscodeOptions.schema.js","names":["setupVscodeOptionsSchema","id","version","namespace","name","description","fields","label","type","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst setupVscodeOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SetupVscodeOptionsSchema = {\n\tid: 'setupVscodeOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Setup vscode action',\n\tdescription: 'Install vscode extensions, launch configs, and settings the Spruce team uses in-house!',\n\t fields: {\n\t /** Install everything. */\n\t 'all': {\n\t label: 'Install everything',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(setupVscodeOptionsSchema)\n\nexport default setupVscodeOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,wBAAsF,GAAI;EAC/FC,EAAE,EAAE,oBAD2F;EAE/FC,OAAO,EAAE,aAFsF;EAG/FC,SAAS,EAAE,WAHoF;EAI/FC,IAAI,EAAE,qBAJyF;EAK/FC,WAAW,EAAE,wFALkF;EAM3FC,MAAM,EAAE;IACA;IACA,OAAO;MACHC,KAAK,EAAE,oBADJ;MAEHC,IAAI,EAAE,SAFH;MAGHC,OAAO,EAAEC;IAHN;EAFP;AANmF,CAAhG;;AAgBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCb,wBAAzC;;eAEeA,wB"}
1
+ {"version":3,"file":"setupVscodeOptions.schema.js","names":["setupVscodeOptionsSchema","id","version","namespace","name","description","fields","label","type","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst setupVscodeOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SetupVscodeOptionsSchema = {\n\tid: 'setupVscodeOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Setup vscode action',\n\tdescription: 'Install vscode extensions, launch configs, and settings the Spruce team uses in-house!',\n\t fields: {\n\t /** Install everything. */\n\t 'all': {\n\t label: 'Install everything',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(setupVscodeOptionsSchema)\n\nexport default setupVscodeOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,wBAAsF,GAAI;EAC/FC,EAAE,EAAE,oBAD2F;EAE/FC,OAAO,EAAE,aAFsF;EAG/FC,SAAS,EAAE,WAHoF;EAI/FC,IAAI,EAAE,qBAJyF;EAK/FC,WAAW,EAAE,wFALkF;EAM3FC,MAAM,EAAE;IACA;IACA,OAAO;MACHC,KAAK,EAAE,oBADJ;MAEHC,IAAI,EAAE,SAFH;MAGHC,OAAO,EAAEC;IAHN;EAFP;AANmF,CAAhG;;AAgBAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCb,wBAAzC;;eAEeA,wB"}
@@ -1 +1 @@
1
- {"version":3,"file":"skillFeature.schema.js","names":["skillFeatureSchema","id","version","namespace","name","fields","type","defaultValue","options","undefined","label","isRequired","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst skillFeatureSchema: SpruceSchemas.SpruceCli.v2020_07_22.SkillFeatureSchema = {\n\tid: 'skillFeature',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Skill feature options',\n\t fields: {\n\t /** . */\n\t 'destination': {\n\t type: 'text',\n\t defaultValue: \".\",\n\t options: undefined\n\t },\n\t /** What's the name of your skill?. */\n\t 'name': {\n\t label: 'What\\'s the name of your skill?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** How would you describe your skill?. */\n\t 'description': {\n\t label: 'How would you describe your skill?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(skillFeatureSchema)\n\nexport default skillFeatureSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,kBAA0E,GAAI;EACnFC,EAAE,EAAE,cAD+E;EAEnFC,OAAO,EAAE,aAF0E;EAGnFC,SAAS,EAAE,WAHwE;EAInFC,IAAI,EAAE,uBAJ6E;EAK/EC,MAAM,EAAE;IACA;IACA,eAAe;MACXC,IAAI,EAAE,MADK;MAEXC,YAAY,EAAE,GAFH;MAGXC,OAAO,EAAEC;IAHE,CAFf;;IAOA;IACA,QAAQ;MACJC,KAAK,EAAE,iCADH;MAEJJ,IAAI,EAAE,MAFF;MAGJK,UAAU,EAAE,IAHR;MAIJH,OAAO,EAAEC;IAJL,CARR;;IAcA;IACA,eAAe;MACXC,KAAK,EAAE,oCADI;MAEXJ,IAAI,EAAE,MAFK;MAGXK,UAAU,EAAE,IAHD;MAIXH,OAAO,EAAEC;IAJE;EAff;AALuE,CAApF;;AA6BAG,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,kBAAzC;;eAEeA,kB"}
1
+ {"version":3,"file":"skillFeature.schema.js","names":["skillFeatureSchema","id","version","namespace","name","fields","type","defaultValue","options","undefined","label","isRequired","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst skillFeatureSchema: SpruceSchemas.SpruceCli.v2020_07_22.SkillFeatureSchema = {\n\tid: 'skillFeature',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Skill feature options',\n\t fields: {\n\t /** . */\n\t 'destination': {\n\t type: 'text',\n\t defaultValue: \".\",\n\t options: undefined\n\t },\n\t /** What's the name of your skill?. */\n\t 'name': {\n\t label: 'What\\'s the name of your skill?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t /** How would you describe your skill?. */\n\t 'description': {\n\t label: 'How would you describe your skill?',\n\t type: 'text',\n\t isRequired: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(skillFeatureSchema)\n\nexport default skillFeatureSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,kBAA0E,GAAI;EACnFC,EAAE,EAAE,cAD+E;EAEnFC,OAAO,EAAE,aAF0E;EAGnFC,SAAS,EAAE,WAHwE;EAInFC,IAAI,EAAE,uBAJ6E;EAK/EC,MAAM,EAAE;IACA;IACA,eAAe;MACXC,IAAI,EAAE,MADK;MAEXC,YAAY,EAAE,GAFH;MAGXC,OAAO,EAAEC;IAHE,CAFf;;IAOA;IACA,QAAQ;MACJC,KAAK,EAAE,iCADH;MAEJJ,IAAI,EAAE,MAFF;MAGJK,UAAU,EAAE,IAHR;MAIJH,OAAO,EAAEC;IAJL,CARR;;IAcA;IACA,eAAe;MACXC,KAAK,EAAE,oCADI;MAEXJ,IAAI,EAAE,MAFK;MAGXK,UAAU,EAAE,IAHD;MAIXH,OAAO,EAAEC;IAJE;EAff;AALuE,CAApF;;AA6BAG,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,kBAAzC;;eAEeA,kB"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncErrorOptions.schema.js","names":["syncErrorOptionsSchema","id","version","namespace","name","description","fields","label","type","isPrivate","hint","defaultValue","options","undefined","isRequired","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncErrorOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncErrorOptionsSchema = {\n\tid: 'syncErrorOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Sync error action',\n\tdescription: 'Keep your errors types in sync with your builders',\n\t fields: {\n\t /** Field types directory. Where field types and interfaces will be generated. */\n\t 'fieldTypesDestinationDir': {\n\t label: 'Field types directory',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'Where field types and interfaces will be generated.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Addons lookup directory. Where I'll look for new schema fields to be registered. */\n\t 'addonsLookupDir': {\n\t label: 'Addons lookup directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll look for new schema fields to be registered.',\n\t defaultValue: \"src/addons\",\n\t options: undefined\n\t },\n\t /** Generate field types. Should I generate field types too? */\n\t 'generateFieldTypes': {\n\t label: 'Generate field types',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I generate field types too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Schema types destination directory. Where I will generate schema types and interfaces. */\n\t 'schemaTypesDestinationDirOrFile': {\n\t label: 'Schema types destination directory',\n\t type: 'text',\n\t hint: 'Where I will generate schema types and interfaces.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** . Where I should look for your schema builders? */\n\t 'schemaLookupDir': {\n\t type: 'text',\n\t hint: 'Where I should look for your schema builders?',\n\t defaultValue: \"src/schemas\",\n\t options: undefined\n\t },\n\t /** Module import. When other skills use your schemas, will they import them from a module? */\n\t 'moduleToImportFromWhenRemote': {\n\t label: 'Module import',\n\t type: 'text',\n\t hint: 'When other skills use your schemas, will they import them from a module?',\n\t options: undefined\n\t },\n\t /** Auto install missing dependencies. */\n\t 'shouldInstallMissingDependencies': {\n\t label: 'Auto install missing dependencies',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t /** Enable versioning. Should we use versioning? */\n\t 'shouldEnableVersioning': {\n\t label: 'Enable versioning',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should we use versioning?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */\n\t 'globalSchemaNamespace': {\n\t label: 'Global namespace',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'The name you\\'ll use when accessing these schemas, e.g. SpruceSchemas',\n\t defaultValue: \"SpruceSchemas\",\n\t options: undefined\n\t },\n\t /** Fetch remote schemas. I will pull in schemas from other features. */\n\t 'shouldFetchRemoteSchemas': {\n\t label: 'Fetch remote schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will pull in schemas from other features.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */\n\t 'shouldFetchLocalSchemas': {\n\t label: 'Fetch local schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will look in schemaLookupDir to load local schemas.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch core schemas. Should I pull in core schemas too? */\n\t 'shouldFetchCoreSchemas': {\n\t label: 'Fetch core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I pull in core schemas too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */\n\t 'shouldGenerateCoreSchemaTypes': {\n\t label: 'Generate core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',\n\t options: undefined\n\t },\n\t /** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */\n\t 'registerBuiltSchemas': {\n\t label: 'Register built schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should the schemas use the SchemaRegistry for tracking?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */\n\t 'generateStandaloneTypesFile': {\n\t label: 'Generate standalone types file',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'By default, I\\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** message. */\n\t 'syncingMessage': {\n\t label: ' message',\n\t type: 'text',\n\t isPrivate: true,\n\t defaultValue: \"Syncing schemas...\",\n\t options: undefined\n\t },\n\t /** Error class destination. Where I'll save your new Error class file? */\n\t 'errorClassDestinationDir': {\n\t label: 'Error class destination',\n\t type: 'text',\n\t isPrivate: true,\n\t isRequired: true,\n\t hint: 'Where I\\'ll save your new Error class file?',\n\t defaultValue: \"src/errors\",\n\t options: undefined\n\t },\n\t /** . Where I should look for your error builders? */\n\t 'errorLookupDir': {\n\t type: 'text',\n\t hint: 'Where I should look for your error builders?',\n\t defaultValue: \"src/errors\",\n\t options: undefined\n\t },\n\t /** Types destination dir. This is where error options and type information will be written */\n\t 'errorTypesDestinationDir': {\n\t label: 'Types destination dir',\n\t type: 'text',\n\t hint: 'This is where error options and type information will be written',\n\t defaultValue: \"#spruce/errors\",\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncErrorOptionsSchema)\n\nexport default syncErrorOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,sBAAkF,GAAI;EAC3FC,EAAE,EAAE,kBADuF;EAE3FC,OAAO,EAAE,aAFkF;EAG3FC,SAAS,EAAE,WAHgF;EAI3FC,IAAI,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,+BAA+B;MAC3BN,KAAK,EAAE,gCADoB;MAE3BC,IAAI,EAAE,SAFqB;MAG3BC,SAAS,EAAE,IAHgB;MAI3BC,IAAI,EAAE,qKAJqB;MAK3BC,YAAY,EAAE,KALa;MAM3BC,OAAO,EAAEC;IANkB,CAtH/B;;IA8HA;IACA,kBAAkB;MACdN,KAAK,EAAE,UADO;MAEdC,IAAI,EAAE,MAFQ;MAGdC,SAAS,EAAE,IAHG;MAIdE,YAAY,EAAE,oBAJA;MAKdC,OAAO,EAAEC;IALK,CA/HlB;;IAsIA;IACA,4BAA4B;MACxBN,KAAK,EAAE,yBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBC,SAAS,EAAE,IAHa;MAIxBK,UAAU,EAAE,IAJY;MAKxBJ,IAAI,EAAE,6CALkB;MAMxBC,YAAY,EAAE,YANU;MAOxBC,OAAO,EAAEC;IAPe,CAvI5B;;IAgJA;IACA,kBAAkB;MACdL,IAAI,EAAE,MADQ;MAEdE,IAAI,EAAE,8CAFQ;MAGdC,YAAY,EAAE,YAHA;MAIdC,OAAO,EAAEC;IAJK,CAjJlB;;IAuJA;IACA,4BAA4B;MACxBN,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBE,IAAI,EAAE,kEAHkB;MAIxBC,YAAY,EAAE,gBAJU;MAKxBC,OAAO,EAAEC;IALe;EAxJ5B;AAN+E,CAA5F;;AAwKAE,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCjB,sBAAzC;;eAEeA,sB"}
1
+ {"version":3,"file":"syncErrorOptions.schema.js","names":["syncErrorOptionsSchema","id","version","namespace","name","description","fields","label","type","isPrivate","hint","defaultValue","options","undefined","isRequired","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncErrorOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncErrorOptionsSchema = {\n\tid: 'syncErrorOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Sync error action',\n\tdescription: 'Keep your errors types in sync with your builders',\n\t fields: {\n\t /** Field types directory. Where field types and interfaces will be generated. */\n\t 'fieldTypesDestinationDir': {\n\t label: 'Field types directory',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'Where field types and interfaces will be generated.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Addons lookup directory. Where I'll look for new schema fields to be registered. */\n\t 'addonsLookupDir': {\n\t label: 'Addons lookup directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll look for new schema fields to be registered.',\n\t defaultValue: \"src/addons\",\n\t options: undefined\n\t },\n\t /** Generate field types. Should I generate field types too? */\n\t 'generateFieldTypes': {\n\t label: 'Generate field types',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I generate field types too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Schema types destination directory. Where I will generate schema types and interfaces. */\n\t 'schemaTypesDestinationDirOrFile': {\n\t label: 'Schema types destination directory',\n\t type: 'text',\n\t hint: 'Where I will generate schema types and interfaces.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** . Where I should look for your schema builders? */\n\t 'schemaLookupDir': {\n\t type: 'text',\n\t hint: 'Where I should look for your schema builders?',\n\t defaultValue: \"src/schemas\",\n\t options: undefined\n\t },\n\t /** Module import. When other skills use your schemas, will they import them from a module? */\n\t 'moduleToImportFromWhenRemote': {\n\t label: 'Module import',\n\t type: 'text',\n\t hint: 'When other skills use your schemas, will they import them from a module?',\n\t options: undefined\n\t },\n\t /** Auto install missing dependencies. */\n\t 'shouldInstallMissingDependencies': {\n\t label: 'Auto install missing dependencies',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t /** Enable versioning. Should we use versioning? */\n\t 'shouldEnableVersioning': {\n\t label: 'Enable versioning',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should we use versioning?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */\n\t 'globalSchemaNamespace': {\n\t label: 'Global namespace',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'The name you\\'ll use when accessing these schemas, e.g. SpruceSchemas',\n\t defaultValue: \"SpruceSchemas\",\n\t options: undefined\n\t },\n\t /** Fetch remote schemas. I will pull in schemas from other features. */\n\t 'shouldFetchRemoteSchemas': {\n\t label: 'Fetch remote schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will pull in schemas from other features.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */\n\t 'shouldFetchLocalSchemas': {\n\t label: 'Fetch local schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will look in schemaLookupDir to load local schemas.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch core schemas. Should I pull in core schemas too? */\n\t 'shouldFetchCoreSchemas': {\n\t label: 'Fetch core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I pull in core schemas too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */\n\t 'shouldGenerateCoreSchemaTypes': {\n\t label: 'Generate core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',\n\t options: undefined\n\t },\n\t /** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */\n\t 'registerBuiltSchemas': {\n\t label: 'Register built schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should the schemas use the SchemaRegistry for tracking?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */\n\t 'generateStandaloneTypesFile': {\n\t label: 'Generate standalone types file',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'By default, I\\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** message. */\n\t 'syncingMessage': {\n\t label: ' message',\n\t type: 'text',\n\t isPrivate: true,\n\t defaultValue: \"Syncing schemas...\",\n\t options: undefined\n\t },\n\t /** Error class destination. Where I'll save your new Error class file? */\n\t 'errorClassDestinationDir': {\n\t label: 'Error class destination',\n\t type: 'text',\n\t isPrivate: true,\n\t isRequired: true,\n\t hint: 'Where I\\'ll save your new Error class file?',\n\t defaultValue: \"src/errors\",\n\t options: undefined\n\t },\n\t /** . Where I should look for your error builders? */\n\t 'errorLookupDir': {\n\t type: 'text',\n\t hint: 'Where I should look for your error builders?',\n\t defaultValue: \"src/errors\",\n\t options: undefined\n\t },\n\t /** Types destination dir. This is where error options and type information will be written */\n\t 'errorTypesDestinationDir': {\n\t label: 'Types destination dir',\n\t type: 'text',\n\t hint: 'This is where error options and type information will be written',\n\t defaultValue: \"#spruce/errors\",\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncErrorOptionsSchema)\n\nexport default syncErrorOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,sBAAkF,GAAI;EAC3FC,EAAE,EAAE,kBADuF;EAE3FC,OAAO,EAAE,aAFkF;EAG3FC,SAAS,EAAE,WAHgF;EAI3FC,IAAI,EAAE,mBAJqF;EAK3FC,WAAW,EAAE,mDAL8E;EAMvFC,MAA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E,SAFqB;MAG3BC,SAAS,EAAE,IAHgB;MAI3BC,IAAI,EAAE,qKAJqB;MAK3BC,YAAY,EAAE,KALa;MAM3BC,OAAO,EAAEC;IANkB,CAtH/B;;IA8HA;IACA,kBAAkB;MACdN,KAAK,EAAE,UADO;MAEdC,IAAI,EAAE,MAFQ;MAGdC,SAAS,EAAE,IAHG;MAIdE,YAAY,EAAE,oBAJA;MAKdC,OAAO,EAAEC;IALK,CA/HlB;;IAsIA;IACA,4BAA4B;MACxBN,KAAK,EAAE,yBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBC,SAAS,EAAE,IAHa;MAIxBK,UAAU,EAAE,IAJY;MAKxBJ,IAAI,EAAE,6CALkB;MAMxBC,YAAY,EAAE,YANU;MAOxBC,OAAO,EAAEC;IAPe,CAvI5B;;IAgJA;IACA,kBAAkB;MACdL,IAAI,EAAE,MADQ;MAEdE,IAAI,EAAE,8CAFQ;MAGdC,YAAY,EAAE,YAHA;MAIdC,OAAO,EAAEC;IAJK,CAjJlB;;IAuJA;IACA,4BAA4B;MACxBN,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBE,IAAI,EAAE,kEAHkB;MAIxBC,YAAY,EAAE,gBAJU;MAKxBC,OAAO,EAAEC;IALe;EAxJ5B;AAN+E,CAA5F;;AAwKAE,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCjB,sBAAzC;;eAEeA,sB"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncEventOptions.schema.js","names":["syncEventOptionsSchema","id","version","namespace","name","description","fields","label","type","hint","defaultValue","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncEventOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncEventOptionsSchema = {\n\tid: 'syncEventOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'sync event action',\n\tdescription: 'Pull down event contracts from Mercury to make them available in your skill.',\n\t fields: {\n\t /** Contract destination. Where I will generate event contracts. */\n\t 'contractDestinationDir': {\n\t label: 'Contract destination',\n\t type: 'text',\n\t hint: 'Where I will generate event contracts.',\n\t defaultValue: \"#spruce/events\",\n\t options: undefined\n\t },\n\t /** Schema types lookup directory. Where I will lookup schema types and interfaces. */\n\t 'schemaTypesLookupDir': {\n\t label: 'Schema types lookup directory',\n\t type: 'text',\n\t hint: 'Where I will lookup schema types and interfaces.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Sync only core events. For use in @sprucelabs/mercury-types */\n\t 'shouldSyncOnlyCoreEvents': {\n\t label: 'Sync only core events',\n\t type: 'boolean',\n\t hint: 'For use in @sprucelabs/mercury-types',\n\t options: undefined\n\t },\n\t /** Event signature types file. */\n\t 'skillEventContractTypesFile': {\n\t label: 'Event signature types file',\n\t type: 'text',\n\t defaultValue: \"@sprucelabs/mercury-types/build/types/mercury.types\",\n\t options: undefined\n\t },\n\t /** Event builder file. */\n\t 'eventBuilderFile': {\n\t label: 'Event builder file',\n\t type: 'text',\n\t defaultValue: \"@sprucelabs/mercury-types\",\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncEventOptionsSchema)\n\nexport default syncEventOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,sBAAkF,GAAI;EAC3FC,EAAE,EAAE,kBADuF;EAE3FC,OAAO,EAAE,aAFkF;EAG3FC,SAAS,EAAE,WAHgF;EAI3FC,IAAI,EAAE,mBAJqF;EAK3FC,WAAW,EAAE,8EAL8E;EAMvFC,MAAM,EAAE;IACA;IACA,0BAA0B;MACtBC,KAAK,EAAE,sBADe;MAEtBC,IAAI,EAAE,MAFgB;MAGtBC,IAAI,EAAE,wCAHgB;MAItBC,YAAY,EAAE,gBAJQ;MAKtBC,OAAO,EAAEC;IALa,CAF1B;;IASA;IACA,wBAAwB;MACpBL,KAAK,EAAE,+BADa;MAEpBC,IAAI,EAAE,MAFc;MAGpBC,IAAI,EAAE,kDAHc;MAIpBC,YAAY,EAAE,iBAJM;MAKpBC,OAAO,EAAEC;IALW,CAVxB;;IAiBA;IACA,4BAA4B;MACxBL,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,SAFkB;MAGxBC,IAAI,EAAE,sCAHkB;MAIxBE,OAAO,EAAEC;IAJe,CAlB5B;;IAwBA;IACA,+BAA+B;MAC3BL,KAAK,EAAE,4BADoB;MAE3BC,IAAI,EAAE,MAFqB;MAG3BE,YAAY,EAAE,qDAHa;MAI3BC,OAAO,EAAEC;IAJkB,CAzB/B;;IA+BA;IACA,oBAAoB;MAChBL,KAAK,EAAE,oBADS;MAEhBC,IAAI,EAAE,MAFU;MAGhBE,YAAY,EAAE,2BAHE;MAIhBC,OAAO,EAAEC;IAJO;EAhCpB;AAN+E,CAA5F;;AA+CAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,sBAAzC;;eAEeA,sB"}
1
+ {"version":3,"file":"syncEventOptions.schema.js","names":["syncEventOptionsSchema","id","version","namespace","name","description","fields","label","type","hint","defaultValue","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncEventOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncEventOptionsSchema = {\n\tid: 'syncEventOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'sync event action',\n\tdescription: 'Pull down event contracts from Mercury to make them available in your skill.',\n\t fields: {\n\t /** Contract destination. Where I will generate event contracts. */\n\t 'contractDestinationDir': {\n\t label: 'Contract destination',\n\t type: 'text',\n\t hint: 'Where I will generate event contracts.',\n\t defaultValue: \"#spruce/events\",\n\t options: undefined\n\t },\n\t /** Schema types lookup directory. Where I will lookup schema types and interfaces. */\n\t 'schemaTypesLookupDir': {\n\t label: 'Schema types lookup directory',\n\t type: 'text',\n\t hint: 'Where I will lookup schema types and interfaces.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Sync only core events. For use in @sprucelabs/mercury-types */\n\t 'shouldSyncOnlyCoreEvents': {\n\t label: 'Sync only core events',\n\t type: 'boolean',\n\t hint: 'For use in @sprucelabs/mercury-types',\n\t options: undefined\n\t },\n\t /** Event signature types file. */\n\t 'skillEventContractTypesFile': {\n\t label: 'Event signature types file',\n\t type: 'text',\n\t defaultValue: \"@sprucelabs/mercury-types/build/types/mercury.types\",\n\t options: undefined\n\t },\n\t /** Event builder file. */\n\t 'eventBuilderFile': {\n\t label: 'Event builder file',\n\t type: 'text',\n\t defaultValue: \"@sprucelabs/mercury-types\",\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncEventOptionsSchema)\n\nexport default syncEventOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,sBAAkF,GAAI;EAC3FC,EAAE,EAAE,kBADuF;EAE3FC,OAAO,EAAE,aAFkF;EAG3FC,SAAS,EAAE,WAHgF;EAI3FC,IAAI,EAAE,mBAJqF;EAK3FC,WAAW,EAAE,8EAL8E;EAMvFC,MAAM,EAAE;IACA;IACA,0BAA0B;MACtBC,KAAK,EAAE,sBADe;MAEtBC,IAAI,EAAE,MAFgB;MAGtBC,IAAI,EAAE,wCAHgB;MAItBC,YAAY,EAAE,gBAJQ;MAKtBC,OAAO,EAAEC;IALa,CAF1B;;IASA;IACA,wBAAwB;MACpBL,KAAK,EAAE,+BADa;MAEpBC,IAAI,EAAE,MAFc;MAGpBC,IAAI,EAAE,kDAHc;MAIpBC,YAAY,EAAE,iBAJM;MAKpBC,OAAO,EAAEC;IALW,CAVxB;;IAiBA;IACA,4BAA4B;MACxBL,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,SAFkB;MAGxBC,IAAI,EAAE,sCAHkB;MAIxBE,OAAO,EAAEC;IAJe,CAlB5B;;IAwBA;IACA,+BAA+B;MAC3BL,KAAK,EAAE,4BADoB;MAE3BC,IAAI,EAAE,MAFqB;MAG3BE,YAAY,EAAE,qDAHa;MAI3BC,OAAO,EAAEC;IAJkB,CAzB/B;;IA+BA;IACA,oBAAoB;MAChBL,KAAK,EAAE,oBADS;MAEhBC,IAAI,EAAE,MAFU;MAGhBE,YAAY,EAAE,2BAHE;MAIhBC,OAAO,EAAEC;IAJO;EAhCpB;AAN+E,CAA5F;;AA+CAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,sBAAzC;;eAEeA,sB"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncSchemaFieldsOptions.schema.js","names":["syncSchemaFieldsOptionsSchema","id","version","namespace","name","description","fields","label","type","isPrivate","hint","defaultValue","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncSchemaFieldsOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncSchemaFieldsOptionsSchema = {\n\tid: 'syncSchemaFieldsOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'syncSchemaFieldsOptions',\n\tdescription: 'Sync schema fields so you can use schemas!',\n\t fields: {\n\t /** Field types directory. Where field types and interfaces will be generated. */\n\t 'fieldTypesDestinationDir': {\n\t label: 'Field types directory',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'Where field types and interfaces will be generated.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Addons lookup directory. Where I'll look for new schema fields to be registered. */\n\t 'addonsLookupDir': {\n\t label: 'Addons lookup directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll look for new schema fields to be registered.',\n\t defaultValue: \"src/addons\",\n\t options: undefined\n\t },\n\t /** Generate field types. Should I generate field types too? */\n\t 'generateFieldTypes': {\n\t label: 'Generate field types',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I generate field types too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncSchemaFieldsOptionsSchema)\n\nexport default syncSchemaFieldsOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,6BAAgG,GAAI;EACzGC,EAAE,EAAE,yBADqG;EAEzGC,OAAO,EAAE,aAFgG;EAGzGC,SAAS,EAAE,WAH8F;EAIzGC,IAAI,EAAE,yBAJmG;EAKzGC,WAAW,EAAE,4CAL4F;EAMrGC,MAAM,EAAE;IACA;IACA,4BAA4B;MACxBC,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBC,SAAS,EAAE,IAHa;MAIxBC,IAAI,EAAE,qDAJkB;MAKxBC,YAAY,EAAE,iBALU;MAMxBC,OAAO,EAAEC;IANe,CAF5B;;IAUA;IACA,mBAAmB;MACfN,KAAK,EAAE,yBADQ;MAEfC,IAAI,EAAE,MAFS;MAGfE,IAAI,EAAE,0DAHS;MAIfC,YAAY,EAAE,YAJC;MAKfC,OAAO,EAAEC;IALM,CAXnB;;IAkBA;IACA,sBAAsB;MAClBN,KAAK,EAAE,sBADW;MAElBC,IAAI,EAAE,SAFY;MAGlBC,SAAS,EAAE,IAHO;MAIlBC,IAAI,EAAE,oCAJY;MAKlBC,YAAY,EAAE,IALI;MAMlBC,OAAO,EAAEC;IANS;EAnBtB;AAN6F,CAA1G;;AAoCAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyChB,6BAAzC;;eAEeA,6B"}
1
+ {"version":3,"file":"syncSchemaFieldsOptions.schema.js","names":["syncSchemaFieldsOptionsSchema","id","version","namespace","name","description","fields","label","type","isPrivate","hint","defaultValue","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncSchemaFieldsOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncSchemaFieldsOptionsSchema = {\n\tid: 'syncSchemaFieldsOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'syncSchemaFieldsOptions',\n\tdescription: 'Sync schema fields so you can use schemas!',\n\t fields: {\n\t /** Field types directory. Where field types and interfaces will be generated. */\n\t 'fieldTypesDestinationDir': {\n\t label: 'Field types directory',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'Where field types and interfaces will be generated.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Addons lookup directory. Where I'll look for new schema fields to be registered. */\n\t 'addonsLookupDir': {\n\t label: 'Addons lookup directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll look for new schema fields to be registered.',\n\t defaultValue: \"src/addons\",\n\t options: undefined\n\t },\n\t /** Generate field types. Should I generate field types too? */\n\t 'generateFieldTypes': {\n\t label: 'Generate field types',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I generate field types too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncSchemaFieldsOptionsSchema)\n\nexport default syncSchemaFieldsOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,6BAAgG,GAAI;EACzGC,EAAE,EAAE,yBADqG;EAEzGC,OAAO,EAAE,aAFgG;EAGzGC,SAAS,EAAE,WAH8F;EAIzGC,IAAI,EAAE,yBAJmG;EAKzGC,WAAW,EAAE,4CAL4F;EAMrGC,MAAM,EAAE;IACA;IACA,4BAA4B;MACxBC,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBC,SAAS,EAAE,IAHa;MAIxBC,IAAI,EAAE,qDAJkB;MAKxBC,YAAY,EAAE,iBALU;MAMxBC,OAAO,EAAEC;IANe,CAF5B;;IAUA;IACA,mBAAmB;MACfN,KAAK,EAAE,yBADQ;MAEfC,IAAI,EAAE,MAFS;MAGfE,IAAI,EAAE,0DAHS;MAIfC,YAAY,EAAE,YAJC;MAKfC,OAAO,EAAEC;IALM,CAXnB;;IAkBA;IACA,sBAAsB;MAClBN,KAAK,EAAE,sBADW;MAElBC,IAAI,EAAE,SAFY;MAGlBC,SAAS,EAAE,IAHO;MAIlBC,IAAI,EAAE,oCAJY;MAKlBC,YAAY,EAAE,IALI;MAMlBC,OAAO,EAAEC;IANS;EAnBtB;AAN6F,CAA1G;;AAoCAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyChB,6BAAzC;;eAEeA,6B"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncSchemasOptions.schema.js","names":["syncSchemasOptionsSchema","id","version","namespace","name","description","fields","label","type","isPrivate","hint","defaultValue","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncSchemasOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncSchemasOptionsSchema = {\n\tid: 'syncSchemasOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Sync schemas action',\n\tdescription: 'Options for schema.sync.',\n\t fields: {\n\t /** Field types directory. Where field types and interfaces will be generated. */\n\t 'fieldTypesDestinationDir': {\n\t label: 'Field types directory',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'Where field types and interfaces will be generated.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Addons lookup directory. Where I'll look for new schema fields to be registered. */\n\t 'addonsLookupDir': {\n\t label: 'Addons lookup directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll look for new schema fields to be registered.',\n\t defaultValue: \"src/addons\",\n\t options: undefined\n\t },\n\t /** Generate field types. Should I generate field types too? */\n\t 'generateFieldTypes': {\n\t label: 'Generate field types',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I generate field types too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Schema types destination directory. Where I will generate schema types and interfaces. */\n\t 'schemaTypesDestinationDirOrFile': {\n\t label: 'Schema types destination directory',\n\t type: 'text',\n\t hint: 'Where I will generate schema types and interfaces.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** . Where I should look for your schema builders? */\n\t 'schemaLookupDir': {\n\t type: 'text',\n\t hint: 'Where I should look for your schema builders?',\n\t defaultValue: \"src/schemas\",\n\t options: undefined\n\t },\n\t /** Module import. When other skills use your schemas, will they import them from a module? */\n\t 'moduleToImportFromWhenRemote': {\n\t label: 'Module import',\n\t type: 'text',\n\t hint: 'When other skills use your schemas, will they import them from a module?',\n\t options: undefined\n\t },\n\t /** Auto install missing dependencies. */\n\t 'shouldInstallMissingDependencies': {\n\t label: 'Auto install missing dependencies',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t /** Enable versioning. Should we use versioning? */\n\t 'shouldEnableVersioning': {\n\t label: 'Enable versioning',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should we use versioning?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */\n\t 'globalSchemaNamespace': {\n\t label: 'Global namespace',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'The name you\\'ll use when accessing these schemas, e.g. SpruceSchemas',\n\t defaultValue: \"SpruceSchemas\",\n\t options: undefined\n\t },\n\t /** Fetch remote schemas. I will pull in schemas from other features. */\n\t 'shouldFetchRemoteSchemas': {\n\t label: 'Fetch remote schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will pull in schemas from other features.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */\n\t 'shouldFetchLocalSchemas': {\n\t label: 'Fetch local schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will look in schemaLookupDir to load local schemas.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch core schemas. Should I pull in core schemas too? */\n\t 'shouldFetchCoreSchemas': {\n\t label: 'Fetch core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I pull in core schemas too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */\n\t 'shouldGenerateCoreSchemaTypes': {\n\t label: 'Generate core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',\n\t options: undefined\n\t },\n\t /** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */\n\t 'registerBuiltSchemas': {\n\t label: 'Register built schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should the schemas use the SchemaRegistry for tracking?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */\n\t 'deleteDestinationDirIfNoSchemas': {\n\t label: 'Delete directory if no schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I delete the schema directory if no schemas are found?',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** Delete orphaned schemas. Should I delete schemas where the builders are missing? */\n\t 'deleteOrphanedSchemas': {\n\t label: 'Delete orphaned schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I delete schemas where the builders are missing?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */\n\t 'generateStandaloneTypesFile': {\n\t label: 'Generate standalone types file',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'By default, I\\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** message. */\n\t 'syncingMessage': {\n\t label: ' message',\n\t type: 'text',\n\t isPrivate: true,\n\t defaultValue: \"Syncing schemas...\",\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncSchemasOptionsSchema)\n\nexport default syncSchemasOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,wBAAsF,GAAI;EAC/FC,EAAE,EAAE,oBAD2F;EAE/FC,OAAO,EAAE,aAFsF;EAG/FC,SAAS,EAAE,WAHoF;EAI/FC,IAAI,EAAE,qBAJyF;EAK/FC,WAAW,EAAE,0BALkF;EAM3FC,MAAM,EAAE;IACA;IACA,4BAA4B;MACxBC,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBC,SAAS,EAAE,IAHa;MAIxBC,IAAI,EAAE,qDAJkB;MAKxBC,YAAY,EAAE,iBALU;MAMxBC,OAAO,EAAEC;IANe,CAF5B;;IAUA;IACA,mBAAmB;MACfN,KAAK,EAAE,yBADQ;MAEfC,IAAI,EAAE,MAFS;MAGfE,IAAI,EAAE,0DAHS;MAIfC,YAAY,EAAE,YAJC;MAKfC,OAAO,EAAEC;IALM,CAXnB;;IAkBA;IACA,sBAAsB;MAClBN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,EAAE,SAFqB;MAG3BC,SAAS,EAAE,IAHgB;MAI3BC,IAAI,EAAE,qKAJqB;MAK3BC,YAAY,EAAE,KALa;MAM3BC,OAAO,EAAEC;IANkB,CAxI/B;;IAgJA;IACA,kBAAkB;MACdN,KAAK,EAAE,UADO;MAEdC,IAAI,EAAE,MAFQ;MAGdC,SAAS,EAAE,IAHG;MAIdE,YAAY,EAAE,oBAJA;MAKdC,OAAO,EAAEC;IALK;EAjJlB;AANmF,CAAhG;;AAiKAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyChB,wBAAzC;;eAEeA,wB"}
1
+ {"version":3,"file":"syncSchemasOptions.schema.js","names":["syncSchemasOptionsSchema","id","version","namespace","name","description","fields","label","type","isPrivate","hint","defaultValue","options","undefined","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst syncSchemasOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.SyncSchemasOptionsSchema = {\n\tid: 'syncSchemasOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Sync schemas action',\n\tdescription: 'Options for schema.sync.',\n\t fields: {\n\t /** Field types directory. Where field types and interfaces will be generated. */\n\t 'fieldTypesDestinationDir': {\n\t label: 'Field types directory',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'Where field types and interfaces will be generated.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** Addons lookup directory. Where I'll look for new schema fields to be registered. */\n\t 'addonsLookupDir': {\n\t label: 'Addons lookup directory',\n\t type: 'text',\n\t hint: 'Where I\\'ll look for new schema fields to be registered.',\n\t defaultValue: \"src/addons\",\n\t options: undefined\n\t },\n\t /** Generate field types. Should I generate field types too? */\n\t 'generateFieldTypes': {\n\t label: 'Generate field types',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I generate field types too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Schema types destination directory. Where I will generate schema types and interfaces. */\n\t 'schemaTypesDestinationDirOrFile': {\n\t label: 'Schema types destination directory',\n\t type: 'text',\n\t hint: 'Where I will generate schema types and interfaces.',\n\t defaultValue: \"#spruce/schemas\",\n\t options: undefined\n\t },\n\t /** . Where I should look for your schema builders? */\n\t 'schemaLookupDir': {\n\t type: 'text',\n\t hint: 'Where I should look for your schema builders?',\n\t defaultValue: \"src/schemas\",\n\t options: undefined\n\t },\n\t /** Module import. When other skills use your schemas, will they import them from a module? */\n\t 'moduleToImportFromWhenRemote': {\n\t label: 'Module import',\n\t type: 'text',\n\t hint: 'When other skills use your schemas, will they import them from a module?',\n\t options: undefined\n\t },\n\t /** Auto install missing dependencies. */\n\t 'shouldInstallMissingDependencies': {\n\t label: 'Auto install missing dependencies',\n\t type: 'boolean',\n\t options: undefined\n\t },\n\t /** Enable versioning. Should we use versioning? */\n\t 'shouldEnableVersioning': {\n\t label: 'Enable versioning',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should we use versioning?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */\n\t 'globalSchemaNamespace': {\n\t label: 'Global namespace',\n\t type: 'text',\n\t isPrivate: true,\n\t hint: 'The name you\\'ll use when accessing these schemas, e.g. SpruceSchemas',\n\t defaultValue: \"SpruceSchemas\",\n\t options: undefined\n\t },\n\t /** Fetch remote schemas. I will pull in schemas from other features. */\n\t 'shouldFetchRemoteSchemas': {\n\t label: 'Fetch remote schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will pull in schemas from other features.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */\n\t 'shouldFetchLocalSchemas': {\n\t label: 'Fetch local schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'I will look in schemaLookupDir to load local schemas.',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Fetch core schemas. Should I pull in core schemas too? */\n\t 'shouldFetchCoreSchemas': {\n\t label: 'Fetch core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I pull in core schemas too?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */\n\t 'shouldGenerateCoreSchemaTypes': {\n\t label: 'Generate core schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',\n\t options: undefined\n\t },\n\t /** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */\n\t 'registerBuiltSchemas': {\n\t label: 'Register built schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should the schemas use the SchemaRegistry for tracking?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */\n\t 'deleteDestinationDirIfNoSchemas': {\n\t label: 'Delete directory if no schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I delete the schema directory if no schemas are found?',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** Delete orphaned schemas. Should I delete schemas where the builders are missing? */\n\t 'deleteOrphanedSchemas': {\n\t label: 'Delete orphaned schemas',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'Should I delete schemas where the builders are missing?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */\n\t 'generateStandaloneTypesFile': {\n\t label: 'Generate standalone types file',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'By default, I\\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** message. */\n\t 'syncingMessage': {\n\t label: ' message',\n\t type: 'text',\n\t isPrivate: true,\n\t defaultValue: \"Syncing schemas...\",\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(syncSchemasOptionsSchema)\n\nexport default syncSchemasOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,wBAAsF,GAAI;EAC/FC,EAAE,EAAE,oBAD2F;EAE/FC,OAAO,EAAE,aAFsF;EAG/FC,SAAS,EAAE,WAHoF;EAI/FC,IAAI,EAAE,qBAJyF;EAK/FC,WAAW,EAAE,0BALkF;EAM3FC,MAAM,EAAE;IACA;IACA,4BAA4B;MACxBC,KAAK,EAAE,uBADiB;MAExBC,IAAI,EAAE,MAFkB;MAGxBC,SAAS,EAAE,IAHa;MAIxBC,IAAI,EAAE,qDAJkB;MAKxBC,YAAY,EAAE,iBALU;MAMxBC,OAAO,EAAEC;IANe,CAF5B;;IAUA;IACA,mBAAmB;MACfN,KAAK,EAAE,yBADQ;MAEfC,IAAI,EAAE,MAFS;MAGfE,IAAI,EAAE,0DAHS;MAIfC,YAAY,EAAE,YAJC;MAKfC,OAAO,EAAEC;IALM,CAXnB;;IAkBA;IACA,sBAAsB;MAClBN,KAAK,EAAE,sBADW;MAElBC,IAAI,EAAE,SAFY;MAGlBC,SAAS,EAAE,IAHO;MAIlBC,IAAI,EAAE,oCAJY;MAKlBC,YAAY,EAAE,IALI;MAMlBC,OAAO,EAAEC;IANS,CAnBtB;;IA2BA;IACA,mCAAmC;MAC/BN,KAAK,EAAE,oCADwB;MAE/BC,IAAI,EAAE,MAFyB;MAG/BE,IAAI,EAAE,oDAHyB;MAI/B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AEC;IALK;EAjJlB;AANmF,CAAhG;;AAiKAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyChB,wBAAzC;;eAEeA,wB"}
@@ -1 +1 @@
1
- {"version":3,"file":"testOptions.schema.js","names":["testOptionsSchema","id","version","namespace","name","description","fields","label","type","hint","defaultValue","options","undefined","isPrivate","choices","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst testOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.TestOptionsSchema = {\n\tid: 'testOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Test skill',\n\tdescription: 'Test your might! 💪',\n\t fields: {\n\t /** Report while running. Should I output the test results while they are running? */\n\t 'shouldReportWhileRunning': {\n\t label: 'Report while running',\n\t type: 'boolean',\n\t hint: 'Should I output the test results while they are running?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Pattern. I'll filter all tests that match this pattern */\n\t 'pattern': {\n\t label: 'Pattern',\n\t type: 'text',\n\t hint: 'I\\'ll filter all tests that match this pattern',\n\t options: undefined\n\t },\n\t /** Inspect. Pass --inspect related args to test process. */\n\t 'inspect': {\n\t label: 'Inspect',\n\t type: 'number',\n\t hint: 'Pass --inspect related args to test process.',\n\t options: undefined\n\t },\n\t /** Should wait for manual start?. */\n\t 'shouldHoldAtStart': {\n\t label: 'Should wait for manual start?',\n\t type: 'boolean',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** Wait until tests are finished. For testing. Returns immediately after executing test so the running process can be managed programatically. */\n\t 'shouldReturnImmediately': {\n\t label: 'Wait until tests are finished',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'For testing. Returns immediately after executing test so the running process can be managed programatically.',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** Watch. */\n\t 'watchMode': {\n\t label: 'Watch',\n\t type: 'select',\n\t options: {choices: [{\"value\":\"off\",\"label\":\"Off\"},{\"value\":\"standard\",\"label\":\"Standard\"},{\"value\":\"smart\",\"label\":\"Smart\"}],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(testOptionsSchema)\n\nexport default testOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,iBAAwE,GAAI;EACjFC,EAAE,EAAE,aAD6E;EAEjFC,OAAO,EAAE,aAFwE;EAGjFC,SAAS,EAAE,WAHsE;EAIjFC,IAAI,EAAE,YAJ2E;EAKjFC,WAAW,EAAE,qBALoE;EAM7EC,MAAM,EAAE;IACA;IACA,4BAA4B;MACxBC,KAAK,EAAE,sBADiB;MAExBC,IAAI,EAAE,SAFkB;MAGxBC,IAAI,EAAE,0DAHkB;MAIxBC,YAAY,EAAE,IAJU;MAKxBC,OAAO,EAAEC;IALe,CAF5B;;IASA;IACA,WAAW;MACPL,KAAK,EAAE,SADA;MAEPC,IAAI,EAAE,MAFC;MAGPC,IAAI,EAAE,gDAHC;MAIPE,OAAO,EAAEC;IAJF,CAVX;;IAgBA;IACA,WAAW;MACPL,KAAK,EAAE,SADA;MAEPC,IAAI,EAAE,QAFC;MAGPC,IAAI,EAAE,8CAHC;MAIPE,OAAO,EAAEC;IAJF,CAjBX;;IAuBA;IACA,qBAAqB;MACjBL,KAAK,EAAE,+BADU;MAEjBC,IAAI,EAAE,SAFW;MAGjBE,YAAY,EAAE,KAHG;MAIjBC,OAAO,EAAEC;IAJQ,CAxBrB;;IA8BA;IACA,2BAA2B;MACvBL,KAAK,EAAE,+BADgB;MAEvBC,IAAI,EAAE,SAFiB;MAGvBK,SAAS,EAAE,IAHY;MAIvBJ,IAAI,EAAE,8GAJiB;MAKvBC,YAAY,EAAE,KALS;MAMvBC,OAAO,EAAEC;IANc,CA/B3B;;IAuCA;IACA,aAAa;MACTL,KAAK,EAAE,OADE;MAETC,IAAI,EAAE,QAFG;MAGTG,OAAO,EAAE;QAACG,OAAO,EAAE,CAAC;UAAC,SAAQ,KAAT;UAAe,SAAQ;QAAvB,CAAD,EAA+B;UAAC,SAAQ,UAAT;UAAoB,SAAQ;QAA5B,CAA/B,EAAuE;UAAC,SAAQ,OAAT;UAAiB,SAAQ;QAAzB,CAAvE;MAAV;IAHA;EAxCb;AANqE,CAAlF;;AAsDAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCjB,iBAAzC;;eAEeA,iB"}
1
+ {"version":3,"file":"testOptions.schema.js","names":["testOptionsSchema","id","version","namespace","name","description","fields","label","type","hint","defaultValue","options","undefined","isPrivate","choices","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst testOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.TestOptionsSchema = {\n\tid: 'testOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Test skill',\n\tdescription: 'Test your might! 💪',\n\t fields: {\n\t /** Report while running. Should I output the test results while they are running? */\n\t 'shouldReportWhileRunning': {\n\t label: 'Report while running',\n\t type: 'boolean',\n\t hint: 'Should I output the test results while they are running?',\n\t defaultValue: true,\n\t options: undefined\n\t },\n\t /** Pattern. I'll filter all tests that match this pattern */\n\t 'pattern': {\n\t label: 'Pattern',\n\t type: 'text',\n\t hint: 'I\\'ll filter all tests that match this pattern',\n\t options: undefined\n\t },\n\t /** Inspect. Pass --inspect related args to test process. */\n\t 'inspect': {\n\t label: 'Inspect',\n\t type: 'number',\n\t hint: 'Pass --inspect related args to test process.',\n\t options: undefined\n\t },\n\t /** Should wait for manual start?. */\n\t 'shouldHoldAtStart': {\n\t label: 'Should wait for manual start?',\n\t type: 'boolean',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** Wait until tests are finished. For testing. Returns immediately after executing test so the running process can be managed programatically. */\n\t 'shouldReturnImmediately': {\n\t label: 'Wait until tests are finished',\n\t type: 'boolean',\n\t isPrivate: true,\n\t hint: 'For testing. Returns immediately after executing test so the running process can be managed programatically.',\n\t defaultValue: false,\n\t options: undefined\n\t },\n\t /** Watch. */\n\t 'watchMode': {\n\t label: 'Watch',\n\t type: 'select',\n\t options: {choices: [{\"value\":\"off\",\"label\":\"Off\"},{\"value\":\"standard\",\"label\":\"Standard\"},{\"value\":\"smart\",\"label\":\"Smart\"}],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(testOptionsSchema)\n\nexport default testOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,iBAAwE,GAAI;EACjFC,EAAE,EAAE,aAD6E;EAEjFC,OAAO,EAAE,aAFwE;EAGjFC,SAAS,EAAE,WAHsE;EAIjFC,IAAI,EAAE,YAJ2E;EAKjFC,WAAW,EAAE,qBALoE;EAM7EC,MAAM,EAAE;IACA;IACA,4BAA4B;MACxBC,KAAK,EAAE,sBADiB;MAExBC,IAAI,EAAE,SAFkB;MAGxBC,IAAI,EAAE,0DAHkB;MAIxBC,YAAY,EAAE,IAJU;MAKxBC,OAAO,EAAEC;IALe,CAF5B;;IASA;IACA,WAAW;MACPL,KAAK,EAAE,SADA;MAEPC,IAAI,EAAE,MAFC;MAGPC,IAAI,EAAE,gDAHC;MAIPE,OAAO,EAAEC;IAJF,CAVX;;IAgBA;IACA,WAAW;MACPL,KAAK,EAAE,SADA;MAEPC,IAAI,EAAE,QAFC;MAGPC,IAAI,EAAE,8CAHC;MAIPE,OAAO,EAAEC;IAJF,CAjBX;;IAuBA;IACA,qBAAqB;MACjBL,KAAK,EAAE,+BADU;MAEjBC,IAAI,EAAE,SAFW;MAGjBE,YAAY,EAAE,KAHG;MAIjBC,OAAO,EAAEC;IAJQ,CAxBrB;;IA8BA;IACA,2BAA2B;MACvBL,KAAK,EAAE,+BADgB;MAEvBC,IAAI,EAAE,SAFiB;MAGvBK,SAAS,EAAE,IAHY;MAIvBJ,IAAI,EAAE,8GAJiB;MAKvBC,YAAY,EAAE,KALS;MAMvBC,OAAO,EAAEC;IANc,CA/B3B;;IAuCA;IACA,aAAa;MACTL,KAAK,EAAE,OADE;MAETC,IAAI,EAAE,QAFG;MAGTG,OAAO,EAAE;QAACG,OAAO,EAAE,CAAC;UAAC,SAAQ,KAAT;UAAe,SAAQ;QAAvB,CAAD,EAA+B;UAAC,SAAQ,UAAT;UAAoB,SAAQ;QAA5B,CAA/B,EAAuE;UAAC,SAAQ,OAAT;UAAiB,SAAQ;QAAzB,CAAvE;MAAV;IAHA;EAxCb;AANqE,CAAlF;;AAsDAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCjB,iBAAzC;;eAEeA,iB"}
@@ -1 +1 @@
1
- {"version":3,"file":"upgradeSkillOptions.schema.js","names":["upgradeSkillOptionsSchema","id","version","namespace","name","description","fields","label","type","defaultValue","options","choices","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst upgradeSkillOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.UpgradeSkillOptionsSchema = {\n\tid: 'upgradeSkillOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Upgrade skill action',\n\tdescription: 'Upgrade. Everything. Heads up, this can take a few minutes. ⏱',\n\t fields: {\n\t /** Upgrade mode. */\n\t 'upgradeMode': {\n\t label: 'Upgrade mode',\n\t type: 'select',\n\t defaultValue: \"askForChanged\",\n\t options: {choices: [{\"value\":\"askForChanged\",\"label\":\"Ask for changed files\"},{\"value\":\"forceEverything\",\"label\":\"Force everything\"},{\"value\":\"forceRequiredSkipRest\",\"label\":\"Force required (skipping all non-essential)\"}],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(upgradeSkillOptionsSchema)\n\nexport default upgradeSkillOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,yBAAwF,GAAI;EACjGC,EAAE,EAAE,qBAD6F;EAEjGC,OAAO,EAAE,aAFwF;EAGjGC,SAAS,EAAE,WAHsF;EAIjGC,IAAI,EAAE,sBAJ2F;EAKjGC,WAAW,EAAE,+DALoF;EAM7FC,MAAM,EAAE;IACA;IACA,eAAe;MACXC,KAAK,EAAE,cADI;MAEXC,IAAI,EAAE,QAFK;MAGXC,YAAY,EAAE,eAHH;MAIXC,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,eAAT;UAAyB,SAAQ;QAAjC,CAAD,EAA2D;UAAC,SAAQ,iBAAT;UAA2B,SAAQ;QAAnC,CAA3D,EAAkH;UAAC,SAAQ,uBAAT;UAAiC,SAAQ;QAAzC,CAAlH;MAAV;IAJE;EAFf;AANqF,CAAlG;;AAiBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,yBAAzC;;eAEeA,yB"}
1
+ {"version":3,"file":"upgradeSkillOptions.schema.js","names":["upgradeSkillOptionsSchema","id","version","namespace","name","description","fields","label","type","defaultValue","options","choices","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst upgradeSkillOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.UpgradeSkillOptionsSchema = {\n\tid: 'upgradeSkillOptions',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Upgrade skill action',\n\tdescription: 'Upgrade. Everything. Heads up, this can take a few minutes. ⏱',\n\t fields: {\n\t /** Upgrade mode. */\n\t 'upgradeMode': {\n\t label: 'Upgrade mode',\n\t type: 'select',\n\t defaultValue: \"askForChanged\",\n\t options: {choices: [{\"value\":\"askForChanged\",\"label\":\"Ask for changed files\"},{\"value\":\"forceEverything\",\"label\":\"Force everything\"},{\"value\":\"forceRequiredSkipRest\",\"label\":\"Force required (skipping all non-essential)\"}],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(upgradeSkillOptionsSchema)\n\nexport default upgradeSkillOptionsSchema\n"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,yBAAwF,GAAI;EACjGC,EAAE,EAAE,qBAD6F;EAEjGC,OAAO,EAAE,aAFwF;EAGjGC,SAAS,EAAE,WAHsF;EAIjGC,IAAI,EAAE,sBAJ2F;EAKjGC,WAAW,EAAE,+DALoF;EAM7FC,MAAM,EAAE;IACA;IACA,eAAe;MACXC,KAAK,EAAE,cADI;MAEXC,IAAI,EAAE,QAFK;MAGXC,YAAY,EAAE,eAHH;MAIXC,OAAO,EAAE;QAACC,OAAO,EAAE,CAAC;UAAC,SAAQ,eAAT;UAAyB,SAAQ;QAAjC,CAAD,EAA2D;UAAC,SAAQ,iBAAT;UAA2B,SAAQ;QAAnC,CAA3D,EAAkH;UAAC,SAAQ,uBAAT;UAAiC,SAAQ;QAAzC,CAAlH;MAAV;IAJE;EAFf;AANqF,CAAlG;;AAiBAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,yBAAzC;;eAEeA,yB"}
@@ -1 +1 @@
1
- {"version":3,"file":"watcherDidDetectChangesEmitPayload.schema.js","names":["watcherDidDetectChangesEmitPayloadSchema","id","version","namespace","name","fields","type","isRequired","isArray","options","schemas","generatedFileSchema_v2020_07_22","generatedDirSchema_v2020_07_22","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\nimport generatedFileSchema_v2020_07_22 from '#spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema'\nimport generatedDirSchema_v2020_07_22 from '#spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema'\n\nconst watcherDidDetectChangesEmitPayloadSchema: SpruceSchemas.SpruceCli.v2020_07_22.WatcherDidDetectChangesEmitPayloadSchema = {\n\tid: 'watcherDidDetectChangesEmitPayload',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Watcher did detect changes emit payload',\n\t fields: {\n\t /** . */\n\t 'changes': {\n\t type: 'schema',\n\t isRequired: true,\n\t isArray: true,\n\t options: {schemas: [generatedFileSchema_v2020_07_22, generatedDirSchema_v2020_07_22],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(watcherDidDetectChangesEmitPayloadSchema)\n\nexport default watcherDidDetectChangesEmitPayloadSchema\n"],"mappings":";;;;;;;;;AAAA;;AAGA;;AACA;;AAEA,IAAMA,wCAAsH,GAAI;EAC/HC,EAAE,EAAE,oCAD2H;EAE/HC,OAAO,EAAE,aAFsH;EAG/HC,SAAS,EAAE,WAHoH;EAI/HC,IAAI,EAAE,yCAJyH;EAK3HC,MAAM,EAAE;IACA;IACA,WAAW;MACPC,IAAI,EAAE,QADC;MAEPC,UAAU,EAAE,IAFL;MAGPC,OAAO,EAAE,IAHF;MAIPC,OAAO,EAAE;QAACC,OAAO,EAAE,CAACC,yBAAD,EAAkCC,wBAAlC;MAAV;IAJF;EAFX;AALmH,CAAhI;;AAgBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,wCAAzC;;eAEeA,wC"}
1
+ {"version":3,"file":"watcherDidDetectChangesEmitPayload.schema.js","names":["watcherDidDetectChangesEmitPayloadSchema","id","version","namespace","name","fields","type","isRequired","isArray","options","schemas","generatedFileSchema_v2020_07_22","generatedDirSchema_v2020_07_22","SchemaRegistry","getInstance","trackSchema"],"sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.ts"],"sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\nimport generatedFileSchema_v2020_07_22 from '#spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema'\nimport generatedDirSchema_v2020_07_22 from '#spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema'\n\nconst watcherDidDetectChangesEmitPayloadSchema: SpruceSchemas.SpruceCli.v2020_07_22.WatcherDidDetectChangesEmitPayloadSchema = {\n\tid: 'watcherDidDetectChangesEmitPayload',\n\tversion: 'v2020_07_22',\n\tnamespace: 'SpruceCli',\n\tname: 'Watcher did detect changes emit payload',\n\t fields: {\n\t /** . */\n\t 'changes': {\n\t type: 'schema',\n\t isRequired: true,\n\t isArray: true,\n\t options: {schemas: [generatedFileSchema_v2020_07_22, generatedDirSchema_v2020_07_22],}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(watcherDidDetectChangesEmitPayloadSchema)\n\nexport default watcherDidDetectChangesEmitPayloadSchema\n"],"mappings":";;;;;;;;;AAAA;;AAGA;;AACA;;AAEA,IAAMA,wCAAsH,GAAI;EAC/HC,EAAE,EAAE,oCAD2H;EAE/HC,OAAO,EAAE,aAFsH;EAG/HC,SAAS,EAAE,WAHoH;EAI/HC,IAAI,EAAE,yCAJyH;EAK3HC,MAAM,EAAE;IACA;IACA,WAAW;MACPC,IAAI,EAAE,QADC;MAEPC,UAAU,EAAE,IAFL;MAGPC,OAAO,EAAE,IAHF;MAIPC,OAAO,EAAE;QAACC,OAAO,EAAE,CAACC,yBAAD,EAAkCC,wBAAlC;MAAV;IAJF;EAFX;AALmH,CAAhI;;AAgBAC,sBAAA,CAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,wCAAzC;;eAEeA,wC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalEmitter.js","names":["globalContract","eventSignatures","emitPayloadSchema","watcherDidDetectChangesEmitPayloadSchema","id","fields","schemas","type","isArray","options","valueType","responsePayloadSchema","abstractClasses","isRequired","schema","name","label","featureCode","importsWhenLocal","actionCode","actionResponseSchema","results","reporter","filesToSkip","CliGlobalEmitter","shouldEmitSequentally","AbstractEventEmitter"],"sources":["../src/GlobalEmitter.ts"],"sourcesContent":["import { AbstractEventEmitter } from '@sprucelabs/mercury-event-emitter'\nimport {\n\tbuildEventContract,\n\tMercuryEventEmitter,\n} from '@sprucelabs/mercury-types'\nimport { buildSchema } from '@sprucelabs/schema'\nimport watcherDidDetectChangesEmitPayloadSchema from '#spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema'\nimport { actionResponseSchema } from './features/features.types'\n\nexport const globalContract = buildEventContract({\n\teventSignatures: {\n\t\t'watcher.did-detect-change': {\n\t\t\temitPayloadSchema: watcherDidDetectChangesEmitPayloadSchema,\n\t\t},\n\t\t'schema.did-fetch-schemas': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'didFetchSchemasEmitPayload',\n\t\t\t\tfields: {\n\t\t\t\t\tschemas: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'Schema',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'didFetchSchemasResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\tschemas: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'Schema',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'skill.register-dashboard-widgets': {},\n\n\t\t'test.register-abstract-test-classes': {\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'registerAbstractTestClassResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\tabstractClasses: {\n\t\t\t\t\t\ttype: 'schema',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tschema: buildSchema({\n\t\t\t\t\t\t\t\tid: 'abstractClassRegistration',\n\t\t\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\t\t\tname: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tlabel: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\timport: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tfeatureCode: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'feature.will-execute': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'willExecuteEmitPayload',\n\t\t\t\timportsWhenLocal: [\n\t\t\t\t\t'import { FeatureActionResponse } from #spruce/../features/features/features.types',\n\t\t\t\t],\n\t\t\t\tfields: {\n\t\t\t\t\tfeatureCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\tactionCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'Record<string, any>',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'willExecuteResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\t...actionResponseSchema.fields,\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'feature.did-execute': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'didExecuteEmitPayload',\n\t\t\t\timportsWhenLocal: [\n\t\t\t\t\t'import { FeatureActionResponse } from #spruce/../features/features/features.types',\n\t\t\t\t],\n\t\t\t\tfields: {\n\t\t\t\t\tfeatureCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\tactionCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\tresults: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'FeatureActionResponse',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'didExecuteResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\t...actionResponseSchema.fields,\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'test.reporter-did-boot': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'testReporterDidBootEmitPayload',\n\t\t\t\tfields: {\n\t\t\t\t\treporter: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'TestAction',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'skill.will-write-directory-template': {\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'wilLWriteDirectoryTemplateResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\tfilesToSkip: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t},\n})\n\nexport type GlobalEventContract = typeof globalContract\nexport type GlobalEmitter = MercuryEventEmitter<GlobalEventContract>\n\nexport default class CliGlobalEmitter extends AbstractEventEmitter<GlobalEventContract> {\n\tpublic static Emitter() {\n\t\treturn new CliGlobalEmitter(globalContract, {\n\t\t\tshouldEmitSequentally: true,\n\t\t}) as GlobalEmitter\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAIA;;AACA;;AACA;;;;;;;;;;AAEO,IAAMA,cAAc,GAAG,sCAAmB;EAChDC,eAAe,EAAE;IAChB,6BAA6B;MAC5BC,iBAAiB,EAAEC;IADS,CADb;IAIhB,4BAA4B;MAC3BD,iBAAiB,EAAE,yBAAY;QAC9BE,EAAE,EAAE,4BAD0B;QAE9BC,MAAM,EAAE;UACPC,OAAO,EAAE;YACRC,IAAI,EAAE,KADE;YAERC,OAAO,EAAE,IAFD;YAGRC,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHD;QADF;MAFsB,CAAZ,CADQ;MAa3BC,qBAAqB,EAAE,yBAAY;QAClCP,EAAE,EAAE,gCAD8B;QAElCC,MAAM,EAAE;UACPC,OAAO,EAAE;YACRC,IAAI,EAAE,KADE;YAERC,OAAO,EAAE,IAFD;YAGRC,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHD;QADF;MAF0B,CAAZ;IAbI,CAJZ;IA8BhB,oCAAoC,EA9BpB;IAgChB,uCAAuC;MACtCC,qBAAqB,EAAE,yBAAY;QAClCP,EAAE,EAAE,0CAD8B;QAElCC,MAAM,EAAE;UACPO,eAAe,EAAE;YAChBL,IAAI,EAAE,QADU;YAEhBM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AAE,MADK;YAEXM,UAAU,EAAE;UAFD,CALL;UASPQ,OAAO,EAAE;YACRd,IAAI,EAAE,KADE;YAERM,UAAU,EAAE,IAFJ;YAGRJ,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHD;QATF;MALsB,CAAZ,CADG;MAwBtBC,qBAAqB,EAAE,yBAAY;QAClCP,EAAE,EAAE,2BAD8B;QAElCC,MAAM,oBACFe,+BAAqBf,MADnB;MAF4B,CAAZ;IAxBD,CAhGP;IA+HhB,0BAA0B;MACzBH,iBAAiB,EAAE,yBAAY;QAC9BE,EAAE,EAAE,gCAD0B;QAE9BC,MAAM,EAAE;UACPiB,QAAQ,EAAE;YACTf,IAAI,EAAE,KADG;YAETM,UAAU,EAAE,IAFH;YAGTJ,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHA;QADH;MAFsB,CAAZ;IADM,CA/HV;IA6IhB,uCAAuC;MACtCC,qBAAqB,EAAE,yBAAY;QAClCP,EAAE,EAAE,2CAD8B;QAElCC,MAAM,EAAE;UACPkB,WAAW,EAAE;YACZhB,IAAI,EAAE,MADM;YAEZC,OAAO,EAAE;UAFG;QADN;MAF0B,CAAZ;IADe;EA7IvB;AAD+B,CAAnB,CAAvB;;;IA+JcgB,gB;;;;;;;;;;;;WACpB,mBAAwB;MACvB,OAAO,IAAIA,gBAAJ,CAAqBxB,cAArB,EAAqC;QAC3CyB,qBAAqB,EAAE;MADoB,CAArC,CAAP;IAGA;;;EAL4CC,yC"}
1
+ {"version":3,"file":"GlobalEmitter.js","names":["globalContract","buildEventContract","eventSignatures","emitPayloadSchema","watcherDidDetectChangesEmitPayloadSchema","buildSchema","id","fields","schemas","type","isArray","options","valueType","responsePayloadSchema","abstractClasses","isRequired","schema","name","label","featureCode","importsWhenLocal","actionCode","actionResponseSchema","results","reporter","filesToSkip","CliGlobalEmitter","shouldEmitSequentally","AbstractEventEmitter"],"sources":["../src/GlobalEmitter.ts"],"sourcesContent":["import { AbstractEventEmitter } from '@sprucelabs/mercury-event-emitter'\nimport {\n\tbuildEventContract,\n\tMercuryEventEmitter,\n} from '@sprucelabs/mercury-types'\nimport { buildSchema } from '@sprucelabs/schema'\nimport watcherDidDetectChangesEmitPayloadSchema from '#spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema'\nimport { actionResponseSchema } from './features/features.types'\n\nexport const globalContract = buildEventContract({\n\teventSignatures: {\n\t\t'watcher.did-detect-change': {\n\t\t\temitPayloadSchema: watcherDidDetectChangesEmitPayloadSchema,\n\t\t},\n\t\t'schema.did-fetch-schemas': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'didFetchSchemasEmitPayload',\n\t\t\t\tfields: {\n\t\t\t\t\tschemas: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'Schema',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'didFetchSchemasResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\tschemas: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'Schema',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'skill.register-dashboard-widgets': {},\n\n\t\t'test.register-abstract-test-classes': {\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'registerAbstractTestClassResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\tabstractClasses: {\n\t\t\t\t\t\ttype: 'schema',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tschema: buildSchema({\n\t\t\t\t\t\t\t\tid: 'abstractClassRegistration',\n\t\t\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\t\t\tname: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tlabel: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\timport: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tfeatureCode: {\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'feature.will-execute': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'willExecuteEmitPayload',\n\t\t\t\timportsWhenLocal: [\n\t\t\t\t\t'import { FeatureActionResponse } from #spruce/../features/features/features.types',\n\t\t\t\t],\n\t\t\t\tfields: {\n\t\t\t\t\tfeatureCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\tactionCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'Record<string, any>',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'willExecuteResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\t...actionResponseSchema.fields,\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'feature.did-execute': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'didExecuteEmitPayload',\n\t\t\t\timportsWhenLocal: [\n\t\t\t\t\t'import { FeatureActionResponse } from #spruce/../features/features/features.types',\n\t\t\t\t],\n\t\t\t\tfields: {\n\t\t\t\t\tfeatureCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\tactionCode: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t},\n\t\t\t\t\tresults: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'FeatureActionResponse',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'didExecuteResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\t...actionResponseSchema.fields,\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'test.reporter-did-boot': {\n\t\t\temitPayloadSchema: buildSchema({\n\t\t\t\tid: 'testReporterDidBootEmitPayload',\n\t\t\t\tfields: {\n\t\t\t\t\treporter: {\n\t\t\t\t\t\ttype: 'raw',\n\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\tvalueType: 'TestAction',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t'skill.will-write-directory-template': {\n\t\t\tresponsePayloadSchema: buildSchema({\n\t\t\t\tid: 'wilLWriteDirectoryTemplateResponsePayload',\n\t\t\t\tfields: {\n\t\t\t\t\tfilesToSkip: {\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\tisArray: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t},\n})\n\nexport type GlobalEventContract = typeof globalContract\nexport type GlobalEmitter = MercuryEventEmitter<GlobalEventContract>\n\nexport default class CliGlobalEmitter extends AbstractEventEmitter<GlobalEventContract> {\n\tpublic static Emitter() {\n\t\treturn new CliGlobalEmitter(globalContract, {\n\t\t\tshouldEmitSequentally: true,\n\t\t}) as GlobalEmitter\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAIA;;AACA;;AACA;;;;;;;;;;AAEO,IAAMA,cAAc,GAAG,IAAAC,gCAAA,EAAmB;EAChDC,eAAe,EAAE;IAChB,6BAA6B;MAC5BC,iBAAiB,EAAEC;IADS,CADb;IAIhB,4BAA4B;MAC3BD,iBAAiB,EAAE,IAAAE,mBAAA,EAAY;QAC9BC,EAAE,EAAE,4BAD0B;QAE9BC,MAAM,EAAE;UACPC,OAAO,EAAE;YACRC,IAAI,EAAE,KADE;YAERC,OAAO,EAAE,IAFD;YAGRC,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHD;QADF;MAFsB,CAAZ,CADQ;MAa3BC,qBAAqB,EAAE,IAAAR,mBAAA,EAAY;QAClCC,EAAE,EAAE,gCAD8B;QAElCC,MAAM,EAAE;UACPC,OAAO,EAAE;YACRC,IAAI,EAAE,KADE;YAERC,OAAO,EAAE,IAFD;YAGRC,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHD;QADF;MAF0B,CAAZ;IAbI,CAJZ;IA8BhB,oCAAoC,EA9BpB;IAgChB,uCAAuC;MACtCC,qBAAqB,EAAE,IAAAR,mBAAA,EAAY;QAClCC,EAAE,EAAE,0CAD8B;QAElCC,MAAM,EAAE;UACPO,eAAe,EAAE;YAChBL,IAAI,EAAE,QADU;YAEhBM,UAAU,EAAE,IAFI;YAGhBL,OAAO,EAAE,IAHO;YAIhBC,OAAO,EAAE;cACRK,MAAM,EAAE,IAAAX,mBAAA,EAAY;gBACnBC,EAAE,EAAE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,IAAI,EAAE,KADE;YAERM,UAAU,EAAE,IAFJ;YAGRJ,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHD;QATF;MALsB,CAAZ,CADG;MAwBtBC,qBAAqB,EAAE,IAAAR,mBAAA,EAAY;QAClCC,EAAE,EAAE,2BAD8B;QAElCC,MAAM,oBACFe,8BAAA,CAAqBf,MADnB;MAF4B,CAAZ;IAxBD,CAhGP;IA+HhB,0BAA0B;MACzBJ,iBAAiB,EAAE,IAAAE,mBAAA,EAAY;QAC9BC,EAAE,EAAE,gCAD0B;QAE9BC,MAAM,EAAE;UACPiB,QAAQ,EAAE;YACTf,IAAI,EAAE,KADG;YAETM,UAAU,EAAE,IAFH;YAGTJ,OAAO,EAAE;cACRC,SAAS,EAAE;YADH;UAHA;QADH;MAFsB,CAAZ;IADM,CA/HV;IA6IhB,uCAAuC;MACtCC,qBAAqB,EAAE,IAAAR,mBAAA,EAAY;QAClCC,EAAE,EAAE,2CAD8B;QAElCC,MAAM,EAAE;UACPkB,WAAW,EAAE;YACZhB,IAAI,EAAE,MADM;YAEZC,OAAO,EAAE;UAFG;QADN;MAF0B,CAAZ;IADe;EA7IvB;AAD+B,CAAnB,CAAvB;;;IA+JcgB,gB;;;;;;;;;;;;WACpB,mBAAwB;MACvB,OAAO,IAAIA,gBAAJ,CAAqB1B,cAArB,EAAqC;QAC3C2B,qBAAqB,EAAE;MADoB,CAArC,CAAP;IAGA;;;EAL4CC,yC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AddingADependency.test.js","names":["ConfiguringDependenciesTest","assert","isFunction","Action","execute","getSkillFixture","registerCurrentSkill","name","namespace","results","isTruthy","errors","errorAssert","assertError","seedDemoSkill","parentSkill","slug","isFalsy","settings","Service","dependencies","get","isEqualDeep","id","err","doesThrow","add","otherSkill","promise","waitForInput","last","ui","getLastInvocation","doesInclude","options","choices","value","label","sendInput","people","loginAsDemoPerson","uiAssert","assertSelectDidNotRenderChoice","reset","skill","DEMO_NUMBER_GLOBAL_EVENTS","AbstractSkillTest"],"sources":["../../../src/__tests__/behavioral/AddingADependency.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport { errorAssert } from '@sprucelabs/test-utils'\nimport AbstractSkillTest from '../../tests/AbstractSkillTest'\nimport { DEMO_NUMBER_GLOBAL_EVENTS } from '../../tests/constants'\nimport uiAssert from '../../tests/utilities/uiAssert.utility'\n\nexport default class ConfiguringDependenciesTest extends AbstractSkillTest {\n\tprotected static skillCacheKey = 'skills'\n\tprivate static parentSkill: {\n\t\tid: string\n\t\tslug: string\n\t\tname: string\n\t}\n\n\t@test()\n\tprotected static async hasAddDependencyAction() {\n\t\tassert.isFunction(this.Action('dependency', 'add').execute)\n\t}\n\n\t@test()\n\tprotected static async errorsWhenPassedBadNamespace() {\n\t\tawait this.getSkillFixture().registerCurrentSkill({\n\t\t\tname: 'current skill in adding deps',\n\t\t})\n\n\t\tconst results = await this.Action('dependency', 'add').execute({\n\t\t\tnamespace: 'waka-waka',\n\t\t})\n\n\t\tassert.isTruthy(results.errors)\n\n\t\terrorAssert.assertError(results.errors[0], 'SKILL_NOT_FOUND')\n\t}\n\n\t@test()\n\tprotected static async succeedsWhenPassedGoodNamespace() {\n\t\tconst parentSkill = await this.getSkillFixture().seedDemoSkill({\n\t\t\tname: 'dependent skill',\n\t\t})\n\n\t\tconst results = await this.Action('dependency', 'add').execute({\n\t\t\tnamespace: parentSkill.slug,\n\t\t})\n\n\t\tassert.isFalsy(results.errors)\n\n\t\tthis.parentSkill = parentSkill\n\n\t\tconst settings = this.Service('settings')\n\t\tconst dependencies = settings.get('dependencies')\n\n\t\tassert.isEqualDeep(dependencies, [\n\t\t\t{\n\t\t\t\tid: parentSkill.id,\n\t\t\t\tnamespace: parentSkill.slug,\n\t\t\t},\n\t\t])\n\t}\n\n\t@test()\n\tprotected static async cantAddDependencyTwice() {\n\t\tconst err = assert.doesThrow(() =>\n\t\t\tthis.Service('dependency').add({\n\t\t\t\tid: this.parentSkill.id,\n\t\t\t\tnamespace: this.parentSkill.slug,\n\t\t\t})\n\t\t)\n\n\t\terrorAssert.assertError(err, 'DEPENDENCY_EXISTS')\n\t}\n\n\t@test()\n\tprotected static async asksToSelectSkillWhenNoNamespacePassed() {\n\t\tconst otherSkill = await this.getSkillFixture().seedDemoSkill({\n\t\t\tname: 'dependent skill',\n\t\t})\n\n\t\tconst promise = this.Action('dependency', 'add').execute({})\n\n\t\tawait this.waitForInput()\n\n\t\tconst last = this.ui.getLastInvocation()\n\n\t\tassert.doesInclude(last.options.options.choices, {\n\t\t\tvalue: otherSkill.slug,\n\t\t\tlabel: otherSkill.name,\n\t\t})\n\n\t\tawait this.ui.sendInput(otherSkill.slug)\n\n\t\tconst results = await promise\n\t\tassert.isFalsy(results.errors)\n\n\t\tconst settings = this.Service('settings')\n\t\tconst dependencies = settings.get('dependencies')\n\n\t\tassert.isEqualDeep(dependencies[1], {\n\t\t\tid: otherSkill.id,\n\t\t\tnamespace: otherSkill.slug,\n\t\t})\n\t}\n\n\t@test()\n\tprotected static async doesNotShowSkillsThatAreAlreadySetAsADependency() {\n\t\tawait this.people.loginAsDemoPerson()\n\n\t\tvoid this.Action('dependency', 'add').execute({})\n\n\t\tawait this.waitForInput()\n\n\t\tuiAssert.assertSelectDidNotRenderChoice(\n\t\t\tthis.ui,\n\t\t\tthis.parentSkill.slug,\n\t\t\tthis.parentSkill.name\n\t\t)\n\n\t\tthis.ui.reset()\n\t}\n\n\t@test()\n\tprotected static async canAddSkillThatWasCreatedBySomeoneElse() {\n\t\tconst skill = await this.getSkillFixture().seedDemoSkill({\n\t\t\tname: 'global dependency skill',\n\t\t})\n\n\t\tawait this.people.loginAsDemoPerson(DEMO_NUMBER_GLOBAL_EVENTS)\n\n\t\tconst results = await this.Action('dependency', 'add').execute({\n\t\t\tnamespace: skill.slug,\n\t\t})\n\n\t\tassert.isFalsy(results.errors)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;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;;cAAA;gBAAA;gBAAA,OAQuB,KAAK1C,MAAL,CAAY,YAAZ,EAA0B,KAA1B,EAAiCC,OAAjC,CAAyC;kBAC9DI,SAAS,EAAEoC,KAAK,CAAC5B;gBAD6C,CAAzC,CARvB;;cAAA;gBAQOP,OARP;;gBAYCR,aAAOgB,OAAP,CAAeR,OAAO,CAACE,MAAvB;;cAZD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAjHwDmC,8B,8DACvB,Q"}
1
+ {"version":3,"file":"AddingADependency.test.js","names":["ConfiguringDependenciesTest","test","assert","isFunction","Action","execute","getSkillFixture","registerCurrentSkill","name","namespace","results","isTruthy","errors","errorAssert","assertError","seedDemoSkill","parentSkill","slug","isFalsy","settings","Service","dependencies","get","isEqualDeep","id","err","doesThrow","add","otherSkill","promise","waitForInput","last","ui","getLastInvocation","doesInclude","options","choices","value","label","sendInput","people","loginAsDemoPerson","uiAssert","assertSelectDidNotRenderChoice","reset","skill","DEMO_NUMBER_GLOBAL_EVENTS","AbstractSkillTest"],"sources":["../../../src/__tests__/behavioral/AddingADependency.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport { errorAssert } from '@sprucelabs/test-utils'\nimport AbstractSkillTest from '../../tests/AbstractSkillTest'\nimport { DEMO_NUMBER_GLOBAL_EVENTS } from '../../tests/constants'\nimport uiAssert from '../../tests/utilities/uiAssert.utility'\n\nexport default class ConfiguringDependenciesTest extends AbstractSkillTest {\n\tprotected static skillCacheKey = 'skills'\n\tprivate static parentSkill: {\n\t\tid: string\n\t\tslug: string\n\t\tname: string\n\t}\n\n\t@test()\n\tprotected static async hasAddDependencyAction() {\n\t\tassert.isFunction(this.Action('dependency', 'add').execute)\n\t}\n\n\t@test()\n\tprotected static async errorsWhenPassedBadNamespace() {\n\t\tawait this.getSkillFixture().registerCurrentSkill({\n\t\t\tname: 'current skill in adding deps',\n\t\t})\n\n\t\tconst results = await this.Action('dependency', 'add').execute({\n\t\t\tnamespace: 'waka-waka',\n\t\t})\n\n\t\tassert.isTruthy(results.errors)\n\n\t\terrorAssert.assertError(results.errors[0], 'SKILL_NOT_FOUND')\n\t}\n\n\t@test()\n\tprotected static async succeedsWhenPassedGoodNamespace() {\n\t\tconst parentSkill = await this.getSkillFixture().seedDemoSkill({\n\t\t\tname: 'dependent skill',\n\t\t})\n\n\t\tconst results = await this.Action('dependency', 'add').execute({\n\t\t\tnamespace: parentSkill.slug,\n\t\t})\n\n\t\tassert.isFalsy(results.errors)\n\n\t\tthis.parentSkill = parentSkill\n\n\t\tconst settings = this.Service('settings')\n\t\tconst dependencies = settings.get('dependencies')\n\n\t\tassert.isEqualDeep(dependencies, [\n\t\t\t{\n\t\t\t\tid: parentSkill.id,\n\t\t\t\tnamespace: parentSkill.slug,\n\t\t\t},\n\t\t])\n\t}\n\n\t@test()\n\tprotected static async cantAddDependencyTwice() {\n\t\tconst err = assert.doesThrow(() =>\n\t\t\tthis.Service('dependency').add({\n\t\t\t\tid: this.parentSkill.id,\n\t\t\t\tnamespace: this.parentSkill.slug,\n\t\t\t})\n\t\t)\n\n\t\terrorAssert.assertError(err, 'DEPENDENCY_EXISTS')\n\t}\n\n\t@test()\n\tprotected static async asksToSelectSkillWhenNoNamespacePassed() {\n\t\tconst otherSkill = await this.getSkillFixture().seedDemoSkill({\n\t\t\tname: 'dependent skill',\n\t\t})\n\n\t\tconst promise = this.Action('dependency', 'add').execute({})\n\n\t\tawait this.waitForInput()\n\n\t\tconst last = this.ui.getLastInvocation()\n\n\t\tassert.doesInclude(last.options.options.choices, {\n\t\t\tvalue: otherSkill.slug,\n\t\t\tlabel: otherSkill.name,\n\t\t})\n\n\t\tawait this.ui.sendInput(otherSkill.slug)\n\n\t\tconst results = await promise\n\t\tassert.isFalsy(results.errors)\n\n\t\tconst settings = this.Service('settings')\n\t\tconst dependencies = settings.get('dependencies')\n\n\t\tassert.isEqualDeep(dependencies[1], {\n\t\t\tid: otherSkill.id,\n\t\t\tnamespace: otherSkill.slug,\n\t\t})\n\t}\n\n\t@test()\n\tprotected static async doesNotShowSkillsThatAreAlreadySetAsADependency() {\n\t\tawait this.people.loginAsDemoPerson()\n\n\t\tvoid this.Action('dependency', 'add').execute({})\n\n\t\tawait this.waitForInput()\n\n\t\tuiAssert.assertSelectDidNotRenderChoice(\n\t\t\tthis.ui,\n\t\t\tthis.parentSkill.slug,\n\t\t\tthis.parentSkill.name\n\t\t)\n\n\t\tthis.ui.reset()\n\t}\n\n\t@test()\n\tprotected static async canAddSkillThatWasCreatedBySomeoneElse() {\n\t\tconst skill = await this.getSkillFixture().seedDemoSkill({\n\t\t\tname: 'global dependency skill',\n\t\t})\n\n\t\tawait this.people.loginAsDemoPerson(DEMO_NUMBER_GLOBAL_EVENTS)\n\n\t\tconst results = await this.Action('dependency', 'add').execute({\n\t\t\tnamespace: skill.slug,\n\t\t})\n\n\t\tassert.isFalsy(results.errors)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,2B,WAQnB,IAAAC,UAAA,G,UAKA,IAAAA,UAAA,G,UAeA,IAAAA,UAAA,G,UAyBA,IAAAA,UAAA,G,UAYA,IAAAA,UAAA,G,UA+BA,IAAAA,UAAA,G,UAiBA,IAAAA,UAAA,G;;;;;;;;;;;;;kHAzGD;QAAA;UAAA;YAAA;cAAA;gBAECC,YAAA,CAAOC,UAAP,CAAkB,KAAKC,MAAL,CAAY,YAAZ,EAA0B,KAA1B,EAAiCC,OAAnD;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;wHAKA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,KAAKC,eAAL,GAAuBC,oBAAvB,CAA4C;kBACjDC,IAAI,EAAE;gBAD2C,CAA5C,CAFP;;cAAA;gBAAA;gBAAA,OAMuB,KAAKJ,MAAL,CAAY,YAAZ,EAA0B,KAA1B,EAAi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f,SAAS,EAAEmB,UAAU,CAACX;gBAFa,CAApC;;cAzBD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;2IA+BA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,KAAKuB,MAAL,CAAYC,iBAAZ,EAFP;;cAAA;gBAIC,KAAK,KAAKrC,MAAL,CAAY,YAAZ,EAA0B,KAA1B,EAAiCC,OAAjC,CAAyC,EAAzC,CAAL;gBAJD;gBAAA,OAMO,KAAKyB,YAAL,EANP;;cAAA;gBAQCY,oBAAA,CAASC,8BAAT,CACC,KAAKX,EADN,EAEC,KAAKhB,WAAL,CAAiBC,IAFlB,EAGC,KAAKD,WAAL,CAAiBR,IAHlB;;gBAMA,KAAKwB,EAAL,CAAQY,KAAR;;cAdD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;kIAiBA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEqB,KAAKtC,eAAL,GAAuBS,aAAvB,CAAqC;kBACxDP,IAAI,EAAE;gBADkD,CAArC,CAFrB;;cAAA;gBAEOqC,KAFP;gBAAA;gBAAA,OAMO,KAAKL,MAAL,CAAYC,iBAAZ,CAA8BK,oCAA9B,CANP;;cAAA;gBAAA;gBAAA,OAQuB,KAAK1C,MAAL,CAAY,YAAZ,EAA0B,KAA1B,EAAiCC,OAAjC,CAAyC;kBAC9DI,SAAS,EAAEoC,KAAK,CAAC5B;gBAD6C,CAAzC,CARvB;;cAAA;gBAQOP,OARP;;gBAYCR,YAAA,CAAOgB,OAAP,CAAeR,OAAO,CAACE,MAAvB;;cAZD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAjHwDmC,8B,8DACvB,Q"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlockingCommands.test.js","names":["OverridingCommandsInPackageJsonTest","pkg","Service","set","path","value","FeatureFixture","Cli","program","MockProgramFactory","Program","cli","executer","getActionExecuter","Action","execute","results","assert","isTruthy","errors","errorAssert","assertError","cwd","graphicsInterface","ui","nameReadable","namePascal","nameCamel","description","AbstractSkillTest"],"sources":["../../../src/__tests__/behavioral/BlockingCommands.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport { errorAssert } from '@sprucelabs/test-utils'\nimport AbstractSkillTest from '../../tests/AbstractSkillTest'\nimport MockProgramFactory from '../../tests/MockProgramFactory'\n\nexport default class OverridingCommandsInPackageJsonTest extends AbstractSkillTest {\n\tprotected static skillCacheKey = 'schemas'\n\n\t@test()\n\tprotected static async blockedCommandsThrow() {\n\t\tconst pkg = this.Service('pkg')\n\t\tpkg.set({\n\t\t\tpath: ['skill', 'blockedCommands'],\n\t\t\tvalue: { 'sync.schemas': `Stop now!` },\n\t\t})\n\n\t\tconst cli = await this.FeatureFixture().Cli({\n\t\t\tprogram: MockProgramFactory.Program(),\n\t\t})\n\n\t\t//@ts-ignore\n\t\tconst executer = cli.getActionExecuter()\n\t\tconst results = await executer.Action('schema', 'sync').execute()\n\n\t\tassert.isTruthy(results.errors)\n\t\terrorAssert.assertError(results.errors[0], 'COMMAND_BLOCKED')\n\t}\n\n\t@test()\n\tprotected static async blocksWhenCommandIsForwardedFromAnother() {\n\t\tconst pkg = this.Service('pkg')\n\t\tpkg.set({\n\t\t\tpath: ['skill', 'blockedCommands'],\n\t\t\tvalue: { 'sync.schemas': `Stop now!` },\n\t\t})\n\n\t\tconst cli = await this.FeatureFixture().Cli({\n\t\t\tprogram: MockProgramFactory.Program(),\n\t\t\tcwd: this.cwd,\n\t\t\tgraphicsInterface: this.ui,\n\t\t})\n\n\t\t//@ts-ignore\n\t\tconst executer = cli.getActionExecuter()\n\t\tconst results = await executer.Action('schema', 'create').execute({\n\t\t\tnameReadable: 'Test schema!',\n\t\t\tnamePascal: 'Test',\n\t\t\tnameCamel: 'test',\n\t\t\tdescription: 'this is so great!',\n\t\t})\n\n\t\tassert.isTruthy(results.errors)\n\t\terrorAssert.assertError(results.err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KAAKA,GAFiC;kBAG3CC,iBAAiB,EAAE,KAAKC;gBAHmB,CAA1B,CARnB;;cAAA;gBAQOb,GARP;gBAcC;gBACMC,QAfP,GAekBD,GAAG,CAACE,iBAAJ,EAflB;gBAAA;gBAAA,OAgBuBD,QAAQ,CAACE,MAAT,CAAgB,QAAhB,EAA0B,QAA1B,EAAoCC,OAApC,CAA4C;kBACjEU,YAAY,EAAE,cADmD;kBAEjEC,UAAU,EAAE,MAFqD;kBAGjEC,SAAS,EAAE,MAHsD;kBAIjEC,WAAW,EAAE;gBAJoD,CAA5C,CAhBvB;;cAAA;gBAgBOZ,OAhBP;;gBAuBCC,aAAOC,QAAP,CAAgBF,OAAO,CAACG,MAAxB;;gBACAC,uBAAYC,WAAZ,CAAwBL,OAAO,CAACG,MAAR,CAAe,CAAf,CAAxB,EAA2C,iBAA3C;;cAxBD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAvBgEU,8B,8DAC/B,S"}
1
+ {"version":3,"file":"BlockingCommands.test.js","names":["OverridingCommandsInPackageJsonTest","test","pkg","Service","set","path","value","FeatureFixture","Cli","program","MockProgramFactory","Program","cli","executer","getActionExecuter","Action","execute","results","assert","isTruthy","errors","errorAssert","assertError","cwd","graphicsInterface","ui","nameReadable","namePascal","nameCamel","description","AbstractSkillTest"],"sources":["../../../src/__tests__/behavioral/BlockingCommands.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport { errorAssert } from '@sprucelabs/test-utils'\nimport AbstractSkillTest from '../../tests/AbstractSkillTest'\nimport MockProgramFactory from '../../tests/MockProgramFactory'\n\nexport default class OverridingCommandsInPackageJsonTest extends AbstractSkillTest {\n\tprotected static skillCacheKey = 'schemas'\n\n\t@test()\n\tprotected static async blockedCommandsThrow() {\n\t\tconst pkg = this.Service('pkg')\n\t\tpkg.set({\n\t\t\tpath: ['skill', 'blockedCommands'],\n\t\t\tvalue: { 'sync.schemas': `Stop now!` },\n\t\t})\n\n\t\tconst cli = await this.FeatureFixture().Cli({\n\t\t\tprogram: MockProgramFactory.Program(),\n\t\t})\n\n\t\t//@ts-ignore\n\t\tconst executer = cli.getActionExecuter()\n\t\tconst results = await executer.Action('schema', 'sync').execute()\n\n\t\tassert.isTruthy(results.errors)\n\t\terrorAssert.assertError(results.errors[0], 'COMMAND_BLOCKED')\n\t}\n\n\t@test()\n\tprotected static async blocksWhenCommandIsForwardedFromAnother() {\n\t\tconst pkg = this.Service('pkg')\n\t\tpkg.set({\n\t\t\tpath: ['skill', 'blockedCommands'],\n\t\t\tvalue: { 'sync.schemas': `Stop now!` },\n\t\t})\n\n\t\tconst cli = await this.FeatureFixture().Cli({\n\t\t\tprogram: MockProgramFactory.Program(),\n\t\t\tcwd: this.cwd,\n\t\t\tgraphicsInterface: this.ui,\n\t\t})\n\n\t\t//@ts-ignore\n\t\tconst executer = cli.getActionExecuter()\n\t\tconst results = await executer.Action('schema', 'create').execute({\n\t\t\tnameReadable: 'Test schema!',\n\t\t\tnamePascal: 'Test',\n\t\t\tnameCamel: 'test',\n\t\t\tdescription: 'this is so great!',\n\t\t})\n\n\t\tassert.isTruthy(results.errors)\n\t\terrorAssert.assertError(results.errors[0], 'COMMAND_BLOCKED')\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,mC,WAGnB,IAAAC,UAAA,G,UAoBA,IAAAA,UAAA,G;;;;;;;;;;;;;gHApBD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEOC,GAFP,GAEa,KAAKC,OAAL,CAAa,KAAb,CAFb;gBAGCD,GAAG,CAACE,GAAJ,CAAQ;kBACPC,IAAI,EAAE,CAAC,OAAD,EAAU,iBAAV,CADC;kBAEPC,KAAK,EAAE;oBAAE;kBAAF;gBAFA,CAAR;gBAHD;gBAAA,OAQmB,KAAKC,cAAL,GAAsBC,GAAtB,CAA0B;kBAC3CC,OAAO,EAAEC,8BAAA,CAAm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B;;gBACAC,sBAAA,CAAYC,WAAZ,CAAwBL,OAAO,CAACG,MAAR,CAAe,CAAf,CAAxB,EAA2C,iBAA3C;;cAxBD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAvBgEU,8B,8DAC/B,S"}
@@ -1 +1 @@
1
- {"version":3,"file":"BootingTheCli.test.js","names":["BootTest","Cli","cli","assert","isTruthy","AbstractCliTest"],"sources":["../../../src/__tests__/behavioral/BootingTheCli.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\nexport default class BootTest extends AbstractCliTest {\n\t@test()\n\tprotected static async canBootTheCli() {\n\t\tconst cli = await this.Cli()\n\t\tassert.isTruthy(cli)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;;;;;;;IAEqBA,Q,WACnB,iB;;;;;;;;;;;;;yGAAD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEmB,KAAKC,GAAL,EAFnB;;cAAA;gBAEOC,GAFP;;gBAGCC,aAAOC,QAAP,CAAgBF,GAAhB;;cAHD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EADqCG,4B"}
1
+ {"version":3,"file":"BootingTheCli.test.js","names":["BootTest","test","Cli","cli","assert","isTruthy","AbstractCliTest"],"sources":["../../../src/__tests__/behavioral/BootingTheCli.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\nexport default class BootTest extends AbstractCliTest {\n\t@test()\n\tprotected static async canBootTheCli() {\n\t\tconst cli = await this.Cli()\n\t\tassert.isTruthy(cli)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;;;;;;;IAEqBA,Q,WACnB,IAAAC,UAAA,G;;;;;;;;;;;;;yGAAD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEmB,KAAKC,GAAL,EAFnB;;cAAA;gBAEOC,GAFP;;gBAGCC,YAAA,CAAOC,QAAP,CAAgBF,GAAhB;;cAHD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EADqCG,4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"BootingWithBadFiles.test.js","names":["BootingWithBadFilesTest","FeatureFixture","installCachedFeatures","breakSchemaAndBoot","bootResults","assert","isTruthy","errors","doesInclude","message","diskUtil","writeFile","resolvePath","isFalsy","Action","execute","results","match","testUtil","assertFileByNameInGeneratedFiles","files","local","AbstractCliTest"],"sources":["../../../src/__tests__/behavioral/BootingWithBadFiles.test.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { test, assert } from '@sprucelabs/test'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\nimport testUtil from '../../tests/utilities/test.utility'\n\nexport default class BootingWithBadFilesTest extends AbstractCliTest {\n\t@test()\n\tprotected static async bootingWithAEmptySchemaThrowsErrorWithNameOfBadSchema() {\n\t\tawait this.FeatureFixture().installCachedFeatures('schemas')\n\t\tconst bootResults = await this.breakSchemaAndBoot()\n\t\tassert.isTruthy(bootResults.errors)\n\t\tassert.doesInclude(bootResults.errors[0].message, 'location.schema.ts')\n\t}\n\n\t@test()\n\tprotected static async disablesSchemaCheckingWithFlag() {\n\t\tawait this.FeatureFixture().installCachedFeatures('schemas')\n\t\tdiskUtil.writeFile(\n\t\t\tthis.resolvePath('.env'),\n\t\t\t'SHOULD_VALIDATE_SCHEMAS_ON_BOOT=false'\n\t\t)\n\t\tconst bootResults = await this.breakSchemaAndBoot()\n\t\tassert.isFalsy(bootResults.errors)\n\t}\n\n\tprivate static async breakSchemaAndBoot() {\n\t\tconst results = await this.Action('schema', 'sync').execute({})\n\n\t\tconst match = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'location.schema.ts',\n\t\t\tresults.files\n\t\t)\n\n\t\tdiskUt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KAAnB,EAA0B,EAA1B;;gBARD;gBAAA,OAU2B,KAAKH,MAAL,CAAY,OAAZ,EAAqB,MAArB,EAA6BC,OAA7B,CAAqC;kBAC9DM,KAAK,EAAE;gBADuD,CAArC,CAV3B;;cAAA;gBAUOjB,WAVP;gBAAA,kCAcQA,WAdR;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EApBoDkB,4B"}
1
+ {"version":3,"file":"BootingWithBadFiles.test.js","names":["BootingWithBadFilesTest","test","FeatureFixture","installCachedFeatures","breakSchemaAndBoot","bootResults","assert","isTruthy","errors","doesInclude","message","diskUtil","writeFile","resolvePath","isFalsy","Action","execute","results","match","testUtil","assertFileByNameInGeneratedFiles","files","local","AbstractCliTest"],"sources":["../../../src/__tests__/behavioral/BootingWithBadFiles.test.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { test, assert } from '@sprucelabs/test'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\nimport testUtil from '../../tests/utilities/test.utility'\n\nexport default class BootingWithBadFilesTest extends AbstractCliTest {\n\t@test()\n\tprotected static async bootingWithAEmptySchemaThrowsErrorWithNameOfBadSchema() {\n\t\tawait this.FeatureFixture().installCachedFeatures('schemas')\n\t\tconst bootResults = await this.breakSchemaAndBoot()\n\t\tassert.isTruthy(bootResults.errors)\n\t\tassert.doesInclude(bootResults.errors[0].message, 'location.schema.ts')\n\t}\n\n\t@test()\n\tprotected static async disablesSchemaCheckingWithFlag() {\n\t\tawait this.FeatureFixture().installCachedFeatures('schemas')\n\t\tdiskUtil.writeFile(\n\t\t\tthis.resolvePath('.env'),\n\t\t\t'SHOULD_VALIDATE_SCHEMAS_ON_BOOT=false'\n\t\t)\n\t\tconst bootResults = await this.breakSchemaAndBoot()\n\t\tassert.isFalsy(bootResults.errors)\n\t}\n\n\tprivate static async breakSchemaAndBoot() {\n\t\tconst results = await this.Action('schema', 'sync').execute({})\n\n\t\tconst match = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'location.schema.ts',\n\t\t\tresults.files\n\t\t)\n\n\t\tdiskUtil.writeFile(match, '')\n\n\t\tconst bootResults = await this.Action('skill', 'boot').execute({\n\t\t\tlocal: true,\n\t\t})\n\n\t\treturn bootResults\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,uB,WACnB,IAAAC,UAAA,G,UAQA,IAAAA,UAAA,G;;;;;;;;;;;;;iJARD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,KAAKC,cAAL,GAAsBC,qBAAtB,CAA4C,SAA5C,CAFP;;cAAA;gBAAA;gBAAA,OAG2B,KAAKC,kBAAL,EAH3B;;cAAA;gBAGOC,WAHP;;gBAICC,YAAA,CAAOC,QAAP,CAAgBF,WAAW,CAACG,MAA5B;;gBACAF,YAAA,CAAOG,WAAP,CAAmBJ,WAAW,CAACG,MAAZ,CAAmB,CAAnB,EAAsBE,OAAzC,EAAkD,oBAAlD;;cALD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;0HAQA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,KAAKR,cAAL,GAAsBC,qBAAtB,CAA4C,SAA5C,CAFP;;cAAA;gBAGCQ,0BAAA,CAASC,SAAT,CACC,KAAKC,WAAL,CAAiB,MAAjB,CADD,EAEC,uCAFD;;gBAHD;gBAAA,OAO2B,KAAKT,kBAAL,EAP3B;;cAAA;gBAOOC,WAPP;;gBAQCC,YAAA,CAAOQ,OAAP,CAAeT,WAAW,CAACG,MAA3B;;cARD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;8GAWA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACuB,KAAKO,MAAL,CAAY,QAAZ,EAAsB,MAAtB,EAA8BC,OAA9B,CAAsC,EAAtC,CADvB;;cAAA;gBACOC,OADP;gBAGOC,KAHP,GAGeC,iBAAA,CAASC,gCAAT,CACb,oBADa,EAEbH,OAAO,CAACI,KAFK,CAHf;;gBAQCV,0BAAA,CAASC,SAAT,CAAmBM,KAAnB,EAA0B,EAA1B;;gBARD;gBAAA,OAU2B,KAAKH,MAAL,CAAY,OAAZ,EAAqB,MAArB,EAA6BC,OAA7B,CAAqC;kBAC9DM,KAAK,EAAE;gBADuD,CAArC,CAV3B;;cAAA;gBAUOjB,WAVP;gBAAA,kCAcQA,WAdR;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EApBoDkB,4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreatingAConversationTopic.test.js","names":["CreatingAConversationTopicTest","assert","isFunction","Action","execute","FeatureFixture","installCachedFeatures","cli","nameReadable","nameCamel","results","match","testUtil","assertFileByNameInGeneratedFiles","files","Service","importDefault","imported","isTruthy","isEqual","label","isArray","utterances","script","assertHealthCheckResultsAreValid","checkHealth","health","conversation","topics","isLength","doesInclude","AbstractCliTest"],"sources":["../../../src/__tests__/behavioral/CreatingAConversationTopic.test.ts"],"sourcesContent":["import '@sprucelabs/spruce-conversation-plugin'\nimport { test, assert } from '@sprucelabs/test'\nimport { CliInterface } from '../../cli'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\nimport testUtil from '../../tests/utilities/test.utility'\n\nexport default class CreatingAConversationTopicTest extends AbstractCliTest {\n\t@test()\n\tprotected static async hasCreateConversationAction() {\n\t\tassert.isFunction(this.Action('conversation', 'create').execute)\n\t}\n\n\t@test()\n\tprotected static async createsValidConversationTopicDefinition() {\n\t\tconst cli = await this.FeatureFixture().installCachedFeatures(\n\t\t\t'conversation'\n\t\t)\n\n\t\tconst results = await this.Action('conversation', 'create').execute({\n\t\t\tnameReadable: 'book an appointment',\n\t\t\tnameCamel: 'bookAnAppointment',\n\t\t})\n\n\t\tconst match = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'bookAnAppointment.topic.ts',\n\t\t\tresults.files\n\t\t)\n\n\t\tconst imported = await this.Service('import').importDefault(match)\n\n\t\tassert.isTruthy(imported)\n\t\tassert.isEqual(imported.label, 'book an appointment')\n\t\tassert.isArray(imported.utterances)\n\t\tassert.isArray(imported.script)\n\n\t\tawait this.assertHealthCheckResultsAreValid(cli)\n\t}\n\n\tprivate static async assertHealthCheckResultsAreValid(cli: CliInterface) {\n\t\tconst health = await cli.checkHealth()\n\t\t//@ts-ignore\n\t\tassert.isTruthy(health.conversation)\n\t\t//@ts-ignore\n\t\tassert.isArray(health.conversation.topics)\n\t\t//@ts-ignore\n\t\tassert.isLength(health.conversation.topics, 1)\n\t\t//@ts-ignore\n\t\tassert.doesInclude(health.conversation.topics, 'bookAnAppointment')\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;;;IAEqBA,8B,WACnB,iB,UAKA,iB;;;;;;;;;;;;;uHALD;QAAA;UAAA;YAAA;cAAA;gBAECC,aAAOC,UAAP,CAAkB,KAAKC,MAAL,CAAY,cAAZ,EAA4B,QAA5B,EAAsCC,OAAxD;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;mIAKA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEmB,KAAKC,cAAL,GAAsBC,qBAAtB,CACjB,cADiB,CAFnB;;cAAA;gBAEOC,GAFP;gBAAA;gBAAA,OAMuB,KAAKJ,MAAL,CAAY,cAAZ,EAA4B,QAA5B,EAAsCC,OAAtC,CAA8C;kBACnEI,YAAY,EAAE,qBADqD;kBAEnEC,SAAS,EAAE;gBAFwD,CAA9C,CANvB;;cAAA;gBAMOC,OANP;gBAWOC,KAXP,GAWeC,kBAASC,gCAAT,CACb,4BADa,EAEbH,OAAO,CAACI,KAFK,CAXf;gBAAA;gBAAA,OAgBwB,KAAKC,OAAL,CAAa,QAAb,EAAuBC,aAAvB,CAAqCL,KAArC,CAhBxB;;cAAA;gBAgBOM,QAhBP;;gBAkBChB,aAAOiB,QAAP,CAAgBD,QAAhB;;gBACAhB,aAAOkB,OAAP,CAAeF,QAAQ,CAACG,KAAxB,EAA+B,qBAA/B;;gBACAnB,aAAOoB,OAAP,CAAeJ,QAAQ,CAACK,UAAxB;;gBACArB,aAAOoB,OAAP,CAAeJ,QAAQ,CAACM,MAAxB;;gBArBD;gBAAA,OAuBO,KAAKC,gCAAL,CAAsCjB,GAAtC,CAvBP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;4HA0BA,kBAAsDA,GAAtD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACsBA,GAAG,CAACkB,WAAJ,EADtB;;cAAA;gBACOC,MADP;;gBAEC;gBACAzB,aAAOiB,QAAP,CAAgBQ,MAAM,CAACC,YAAvB,EAHD,CAIC;;;gBACA1B,aAAOoB,OAAP,CAAeK,MAAM,CAACC,YAAP,CAAoBC,MAAnC,EALD,CAMC;;;gBACA3B,aAAO4B,QAAP,CAAgBH,MAAM,CAACC,YAAP,CAAoBC,MAApC,EAA4C,CAA5C,EAPD,CAQC;;;gBACA3B,aAAO6B,WAAP,CAAmBJ,MAAM,CAACC,YAAP,CAAoBC,MAAvC,EAA+C,mBAA/C;;cATD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAhC2DG,4B"}
1
+ {"version":3,"file":"CreatingAConversationTopic.test.js","names":["CreatingAConversationTopicTest","test","assert","isFunction","Action","execute","FeatureFixture","installCachedFeatures","cli","nameReadable","nameCamel","results","match","testUtil","assertFileByNameInGeneratedFiles","files","Service","importDefault","imported","isTruthy","isEqual","label","isArray","utterances","script","assertHealthCheckResultsAreValid","checkHealth","health","conversation","topics","isLength","doesInclude","AbstractCliTest"],"sources":["../../../src/__tests__/behavioral/CreatingAConversationTopic.test.ts"],"sourcesContent":["import '@sprucelabs/spruce-conversation-plugin'\nimport { test, assert } from '@sprucelabs/test'\nimport { CliInterface } from '../../cli'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\nimport testUtil from '../../tests/utilities/test.utility'\n\nexport default class CreatingAConversationTopicTest extends AbstractCliTest {\n\t@test()\n\tprotected static async hasCreateConversationAction() {\n\t\tassert.isFunction(this.Action('conversation', 'create').execute)\n\t}\n\n\t@test()\n\tprotected static async createsValidConversationTopicDefinition() {\n\t\tconst cli = await this.FeatureFixture().installCachedFeatures(\n\t\t\t'conversation'\n\t\t)\n\n\t\tconst results = await this.Action('conversation', 'create').execute({\n\t\t\tnameReadable: 'book an appointment',\n\t\t\tnameCamel: 'bookAnAppointment',\n\t\t})\n\n\t\tconst match = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'bookAnAppointment.topic.ts',\n\t\t\tresults.files\n\t\t)\n\n\t\tconst imported = await this.Service('import').importDefault(match)\n\n\t\tassert.isTruthy(imported)\n\t\tassert.isEqual(imported.label, 'book an appointment')\n\t\tassert.isArray(imported.utterances)\n\t\tassert.isArray(imported.script)\n\n\t\tawait this.assertHealthCheckResultsAreValid(cli)\n\t}\n\n\tprivate static async assertHealthCheckResultsAreValid(cli: CliInterface) {\n\t\tconst health = await cli.checkHealth()\n\t\t//@ts-ignore\n\t\tassert.isTruthy(health.conversation)\n\t\t//@ts-ignore\n\t\tassert.isArray(health.conversation.topics)\n\t\t//@ts-ignore\n\t\tassert.isLength(health.conversation.topics, 1)\n\t\t//@ts-ignore\n\t\tassert.doesInclude(health.conversation.topics, 'bookAnAppointment')\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;;;IAEqBA,8B,WACnB,IAAAC,UAAA,G,UAKA,IAAAA,UAAA,G;;;;;;;;;;;;;uHALD;QAAA;UAAA;YAAA;cAAA;gBAECC,YAAA,CAAOC,UAAP,CAAkB,KAAKC,MAAL,CAAY,cAAZ,EAA4B,QAA5B,EAAsCC,OAAxD;;c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CAAgBH,MAAM,CAACC,YAAP,CAAoBC,MAApC,EAA4C,CAA5C,EAPD,CAQC;;;gBACA3B,YAAA,CAAO6B,WAAP,CAAmBJ,MAAM,CAACC,YAAP,CAAoBC,MAAvC,EAA+C,mBAA/C;;cATD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAhC2DG,4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreatingSchemasWithGenerics.test.js","names":["CreatingSchemasWithGenericsTest","installSchemaFeature","source","resolveTestPath","destination","resolvePath","diskUtil","copyDir","Action","execute","results","assert","isFalsy","errors","isTruthy","files","match","testUtil","assertFileByNameInGeneratedFiles","contents","readFile","doesInclude","assertValidActionResponseFiles","AbstractSchemaTest"],"sources":["../../../src/__tests__/behavioral/CreatingSchemasWithGenerics.test.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { test, assert } from '@sprucelabs/test'\nimport AbstractSchemaTest from '../../tests/AbstractSchemaTest'\nimport testUtil from '../../tests/utilities/test.utility'\n\nexport default class CreatingSchemasWithGenericsTest extends AbstractSchemaTest {\n\t@test()\n\tprotected static async schemaImportsLocalImports() {\n\t\tawait this.installSchemaFeature('schemas')\n\n\t\tconst source = this.resolveTestPath('schemas_with_suffix')\n\n\t\tconst destination = this.resolvePath('src', 'schemas')\n\n\t\tawait diskUtil.copyDir(source, destination)\n\n\t\tconst results = await this.Action('schema', 'sync').execute({})\n\n\t\tassert.isFalsy(results.errors)\n\t\tassert.isTruthy(results.files)\n\n\t\tconst match = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'schemas.types.ts',\n\t\t\tresults.files\n\t\t)\n\n\t\tconst contents = diskUtil.readFile(match)\n\t\tassert.doesInclude(contents, '<Type extends string = string>')\n\t\tassert.doesInclude(contents, '<Type2 extends string = string>')\n\t\tassert.doesInclude(contents, '<Type>')\n\t\tassert.doesInclude(contents, \"typedByGeneric'?: (Type2)| undefined | null\")\n\n\t\tawait this.assertValidActionResponseFiles(results)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,+B,WACnB,iB;;;;;;;;;;;;;qHAAD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,KAAKC,oBAAL,CAA0B,SAA1B,CAFP;;cAAA;gBAIOC,MAJP,GAIgB,KAAKC,eAAL,CAAqB,qBAArB,CAJhB;gBAMOC,WANP,GAMqB,KAAKC,WAAL,CAAiB,KAAjB,EAAwB,SAAxB,CANrB;gBAAA;gBAAA,OAQOC,2BAASC,OAAT,CAAiBL,MAAjB,EAAyBE,WAAzB,CARP;;cAAA;gBAAA;gBAAA,OAUuB,KAAKI,MAAL,CAAY,QAAZ,EAAsB,MAAtB,EAA8BC,OAA9B,CAAsC,EAAtC,CAVvB;;cAAA;gBAUOC,OAVP;;gBAYCC,aAAOC,OAAP,CAAeF,OAAO,CAACG,MAAvB;;gBACAF,aAAOG,QAAP,CAAgBJ,OAAO,CAACK,KAAxB;;gBAEMC,KAfP,GAeeC,kBAASC,gCAAT,CACb,kBADa,EAEbR,OAAO,CAACK,KAFK,CAff;gBAoBOI,QApBP,GAoBkBb,2BAASc,QAAT,CAAkBJ,KAAlB,CApBlB;;gBAqBCL,aAAOU,WAAP,CAAmBF,QAAnB,EAA6B,gCAA7B;;gBACAR,aAAOU,WAAP,CAAmBF,QAAnB,EAA6B,iCAA7B;;gBACAR,aAAOU,WAAP,CAAmBF,QAAnB,EAA6B,QAA7B;;gBACAR,aAAOU,WAAP,CAAmBF,QAAnB,EAA6B,6CAA7B;;gBAxBD;gBAAA,OA0BO,KAAKG,8BAAL,CAAoCZ,OAApC,CA1BP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAD4Da,+B"}
1
+ {"version":3,"file":"CreatingSchemasWithGenerics.test.js","names":["CreatingSchemasWithGenericsTest","test","installSchemaFeature","source","resolveTestPath","destination","resolvePath","diskUtil","copyDir","Action","execute","results","assert","isFalsy","errors","isTruthy","files","match","testUtil","assertFileByNameInGeneratedFiles","contents","readFile","doesInclude","assertValidActionResponseFiles","AbstractSchemaTest"],"sources":["../../../src/__tests__/behavioral/CreatingSchemasWithGenerics.test.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { test, assert } from '@sprucelabs/test'\nimport AbstractSchemaTest from '../../tests/AbstractSchemaTest'\nimport testUtil from '../../tests/utilities/test.utility'\n\nexport default class CreatingSchemasWithGenericsTest extends AbstractSchemaTest {\n\t@test()\n\tprotected static async schemaImportsLocalImports() {\n\t\tawait this.installSchemaFeature('schemas')\n\n\t\tconst source = this.resolveTestPath('schemas_with_suffix')\n\n\t\tconst destination = this.resolvePath('src', 'schemas')\n\n\t\tawait diskUtil.copyDir(source, destination)\n\n\t\tconst results = await this.Action('schema', 'sync').execute({})\n\n\t\tassert.isFalsy(results.errors)\n\t\tassert.isTruthy(results.files)\n\n\t\tconst match = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'schemas.types.ts',\n\t\t\tresults.files\n\t\t)\n\n\t\tconst contents = diskUtil.readFile(match)\n\t\tassert.doesInclude(contents, '<Type extends string = string>')\n\t\tassert.doesInclude(contents, '<Type2 extends string = string>')\n\t\tassert.doesInclude(contents, '<Type>')\n\t\tassert.doesInclude(contents, \"typedByGeneric'?: (Type2)| undefined | null\")\n\n\t\tawait this.assertValidActionResponseFiles(results)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,+B,WACnB,IAAAC,UAAA,G;;;;;;;;;;;;;qHAAD;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,KAAKC,oBAAL,CAA0B,SAA1B,CAFP;;cAAA;gBAIOC,MAJP,GAIgB,KAAKC,eAAL,CAAqB,qBAArB,CAJhB;gBAMOC,WANP,GAMqB,KA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