@sprucelabs/spruce-cli 15.4.10 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (456) hide show
  1. package/CHANGELOG.md +27 -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.js.map +1 -1
  265. package/build/features/AbstractFeature.js.map +1 -1
  266. package/build/features/ActionExecuter.js.map +1 -1
  267. package/build/features/ActionFactory.js.map +1 -1
  268. package/build/features/ActionQuestionAsker.js.map +1 -1
  269. package/build/features/FeatureCommandAttacher.js.map +1 -1
  270. package/build/features/FeatureInstaller.js.map +1 -1
  271. package/build/features/OverrideActionDecorator.js.map +1 -1
  272. package/build/features/cache/CacheFeature.js.map +1 -1
  273. package/build/features/cache/actions/DisableAction.js.map +1 -1
  274. package/build/features/cache/actions/EnableAction.js.map +1 -1
  275. package/build/features/conversation/ConversationFeature.js.map +1 -1
  276. package/build/features/conversation/actions/TestAction.js.map +1 -1
  277. package/build/features/conversation/stores/ConversationStore.js.map +1 -1
  278. package/build/features/conversation/writers/ConversationWriter.js.map +1 -1
  279. package/build/features/dependencies/DependencyFeature.js.map +1 -1
  280. package/build/features/dependencies/actions/AddAction.js.map +1 -1
  281. package/build/features/dependencies/actions/ManageAction.js.map +1 -1
  282. package/build/features/deploy/DeployFeature.js.map +1 -1
  283. package/build/features/deploy/actions/HerokuAction.js.map +1 -1
  284. package/build/features/deploy/writers/DeployWriter.js.map +1 -1
  285. package/build/features/error/ErrorFeature.js.map +1 -1
  286. package/build/features/error/ParentTestFinder.js.map +1 -1
  287. package/build/features/error/actions/CreateAction.js.map +1 -1
  288. package/build/features/error/actions/SyncAction.js.map +1 -1
  289. package/build/features/error/writers/ErrorWriter.js.map +1 -1
  290. package/build/features/event/EventFeature.js.map +1 -1
  291. package/build/features/event/actions/CreateAction.js.map +1 -1
  292. package/build/features/event/actions/ListenAction.js.map +1 -1
  293. package/build/features/event/actions/SetRemoteAction.js.map +1 -1
  294. package/build/features/event/actions/SyncAction.js.map +1 -1
  295. package/build/features/event/actions/SyncListenersAction.js.map +1 -1
  296. package/build/features/event/builders/EventContractBuilder.js.map +1 -1
  297. package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
  298. package/build/features/event/stores/EventStore.js.map +1 -1
  299. package/build/features/event/stores/ListenerStore.js.map +1 -1
  300. package/build/features/event/writers/EventWriter.js.map +1 -1
  301. package/build/features/eventContract/EventContractFeature.js.map +1 -1
  302. package/build/features/eventContract/actions/PullAction.js.map +1 -1
  303. package/build/features/feature.utilities.js.map +1 -1
  304. package/build/features/features.types.js.map +1 -1
  305. package/build/features/log/LogFeature.js.map +1 -1
  306. package/build/features/log/actions/CreateTransportAction.js.map +1 -1
  307. package/build/features/log/writers/LogWriter.js.map +1 -1
  308. package/build/features/node/NodeFeature.js.map +1 -1
  309. package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -1
  310. package/build/features/node/actions/UpgradeAction.js.map +1 -1
  311. package/build/features/node/writers/NodeWriter.js.map +1 -1
  312. package/build/features/onboard/OnboardFeature.js.map +1 -1
  313. package/build/features/onboard/ScriptLoader.js.map +1 -1
  314. package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -1
  315. package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -1
  316. package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -1
  317. package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -1
  318. package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -1
  319. package/build/features/onboard/stores/OnboardingStore.js.map +1 -1
  320. package/build/features/organization/OrganizationFeature.js.map +1 -1
  321. package/build/features/organization/stores/OrganizationStore.js.map +1 -1
  322. package/build/features/person/PersonFeature.js.map +1 -1
  323. package/build/features/person/actions/LoginAction.js.map +1 -1
  324. package/build/features/person/actions/LogoutAction.js.map +1 -1
  325. package/build/features/person/actions/WhoamiAction.js.map +1 -1
  326. package/build/features/sandbox/SandboxFeature.js.map +1 -1
  327. package/build/features/sandbox/actions/SetupAction.js.map +1 -1
  328. package/build/features/sandbox/writers/SandboxWriter.js.map +1 -1
  329. package/build/features/schema/SchemaFeature.js.map +1 -1
  330. package/build/features/schema/ValueTypeBuilder.js.map +1 -1
  331. package/build/features/schema/actions/CreateAction.js.map +1 -1
  332. package/build/features/schema/actions/SyncAction.js.map +1 -1
  333. package/build/features/schema/actions/SyncFieldsAction.js.map +1 -1
  334. package/build/features/schema/services/SchemaService.js.map +1 -1
  335. package/build/features/schema/stores/SchemaStore.d.ts +2 -1
  336. package/build/features/schema/stores/SchemaStore.js +2 -1
  337. package/build/features/schema/stores/SchemaStore.js.map +1 -1
  338. package/build/features/schema/utilities/schema.utility.js.map +1 -1
  339. package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
  340. package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -1
  341. package/build/features/schema/writers/SchemaWriter.js.map +1 -1
  342. package/build/features/skill/SkillFeature.js.map +1 -1
  343. package/build/features/skill/actions/BootAction.js.map +1 -1
  344. package/build/features/skill/actions/CreateAction.js.map +1 -1
  345. package/build/features/skill/actions/DashboardAction.js.map +1 -1
  346. package/build/features/skill/actions/LoginAction.js.map +1 -1
  347. package/build/features/skill/actions/RebuildAction.js.map +1 -1
  348. package/build/features/skill/actions/RegisterAction.js.map +1 -1
  349. package/build/features/skill/stores/SkillStore.js.map +1 -1
  350. package/build/features/skill/updaters/Updater.js.map +1 -1
  351. package/build/features/skill/writers/SkillWriter.js.map +1 -1
  352. package/build/features/store/StoreFeature.js.map +1 -1
  353. package/build/features/store/actions/CreateAction.js.map +1 -1
  354. package/build/features/store/actions/SyncAction.js.map +1 -1
  355. package/build/features/store/stores/StoreStore.js.map +1 -1
  356. package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -1
  357. package/build/features/store/writers/StoreWriter.js.map +1 -1
  358. package/build/features/test/TestFeature.js.map +1 -1
  359. package/build/features/test/TestLogItemGenerator.js.map +1 -1
  360. package/build/features/test/TestReporter.js.map +1 -1
  361. package/build/features/test/TestRunner.js.map +1 -1
  362. package/build/features/test/actions/CreateAction.js.map +1 -1
  363. package/build/features/test/actions/SetupAction.js.map +1 -1
  364. package/build/features/test/actions/TestAction.js.map +1 -1
  365. package/build/features/test/writers/TestWriter.js.map +1 -1
  366. package/build/features/validateAndNormalize.utility.js.map +1 -1
  367. package/build/features/view/ViewFeature.js.map +1 -1
  368. package/build/features/view/actions/CreateAction.js.map +1 -1
  369. package/build/features/view/actions/CreateThemeAction.js.map +1 -1
  370. package/build/features/view/actions/SyncAction.js.map +1 -1
  371. package/build/features/view/actions/WatchAction.js.map +1 -1
  372. package/build/features/view/stores/ViewStore.js.map +1 -1
  373. package/build/features/view/writers/ViewWriter.js.map +1 -1
  374. package/build/features/vscode/VsCodeFeature.js.map +1 -1
  375. package/build/features/vscode/services/VsCodeService.js.map +1 -1
  376. package/build/features/vscode/writers/VsCodeWriter.js.map +1 -1
  377. package/build/features/watch/WatchFeature.js.map +1 -1
  378. package/build/index.js.map +1 -1
  379. package/build/interfaces/SpyInterface.js +0 -1
  380. package/build/interfaces/SpyInterface.js.map +1 -1
  381. package/build/interfaces/TerminalInterface.js.map +1 -1
  382. package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -1
  383. package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
  384. package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
  385. package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
  386. package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
  387. package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
  388. package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -1
  389. package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
  390. package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -1
  391. package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -1
  392. package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -1
  393. package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -1
  394. package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -1
  395. package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -1
  396. package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
  397. package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -1
  398. package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
  399. package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
  400. package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -1
  401. package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -1
  402. package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
  403. package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -1
  404. package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -1
  405. package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -1
  406. package/build/services/CommandService.js.map +1 -1
  407. package/build/services/GameService.js.map +1 -1
  408. package/build/services/ImportService.js.map +1 -1
  409. package/build/services/LintService.js.map +1 -1
  410. package/build/services/PkgService.js.map +1 -1
  411. package/build/services/ServiceFactory.js.map +1 -1
  412. package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
  413. package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -1
  414. package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
  415. package/build/tests/AbstractCliTest.js.map +1 -1
  416. package/build/tests/AbstractEventTest.js.map +1 -1
  417. package/build/tests/AbstractSchemaTest.js.map +1 -1
  418. package/build/tests/AbstractTestTest.js.map +1 -1
  419. package/build/tests/CommandFaker.js.map +1 -1
  420. package/build/tests/JestJsonParser.js.map +1 -1
  421. package/build/tests/buildTestCache.js.map +1 -1
  422. package/build/tests/cleanTestCache.js.map +1 -1
  423. package/build/tests/cleanTestData.js.map +1 -1
  424. package/build/tests/fixtures/FeatureFixture.js.map +1 -1
  425. package/build/tests/fixtures/MercuryFixture.js.map +1 -1
  426. package/build/tests/fixtures/PersonFixture.js.map +1 -1
  427. package/build/tests/fixtures/SkillFixture.js.map +1 -1
  428. package/build/tests/utilities/test.utility.js.map +1 -1
  429. package/build/tests/utilities/uiAssert.utility.js.map +1 -1
  430. package/build/utilities/action.utility.js.map +1 -1
  431. package/build/utilities/commander.utility.js.map +1 -1
  432. package/build/utilities/eventContractCleaner.utility.js.map +1 -1
  433. package/build/utilities/form.utility.js.map +1 -1
  434. package/build/utilities/introspection.utility.js.map +1 -1
  435. package/build/utilities/tsConfig.utility.js.map +1 -1
  436. package/build/widgets/Theme.js.map +1 -1
  437. package/build/widgets/WidgetFactory.js.map +1 -1
  438. package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
  439. package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
  440. package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
  441. package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
  442. package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
  443. package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
  444. package/build/widgets/terminalKit/termKit.utility.js.map +1 -1
  445. package/build/widgets/types/input.types.js.map +1 -1
  446. package/build/widgets/types/menuBar.types.js.map +1 -1
  447. package/build/widgets/types/text.types.js.map +1 -1
  448. package/build/widgets/types/window.types.js.map +1 -1
  449. package/build/writers/AbstractWriter.js.map +1 -1
  450. package/package.json +35 -35
  451. package/src/__tests__/behavioral/views/CreatingASkillView.test.ts +3 -2
  452. package/src/features/schema/stores/SchemaStore.ts +4 -2
  453. package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.d.ts +0 -1
  454. package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.js +0 -14
  455. package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.js.map +0 -1
  456. package/src/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TerminalInterface.js","names":["terminalImage","require","fieldCount","generateInquirerFieldName","filterEffectsForCFonts","effects","effect","GraphicsTextEffect","SpruceHeader","Reset","Bold","Dim","Italic","Underline","Inverse","Hidden","Strikethrough","Visible","indexOf","TerminalInterface","cwd","renderStackTraces","log","console","bind","Error","lines","forEach","line","renderLine","object","Green","renderDivider","Object","keys","key","chalk","bold","JSON","stringify","options","headline","dividerEffects","headlineEffects","Blue","bodyEffects","renderHeadline","renderLines","renderObject","bar","results","generatedFiles","files","filter","f","action","updatedFiles","skippedFiles","errors","packagesInstalled","renderHero","summaryLines","length","push","renderSection","featuresUtil","generateCommand","featureCode","actionCode","table","Table","head","colWidths","wordWrap","colAligns","sort","one","two","name","pkg","isDev","toString","file","description","namesUtil","toPascal","hints","err","renderError","totalTime","durationUtil","msToFriendly","message","isSpruce","fonts","say","font","align","space","colors","shouldStripVowels","process","stdout","columns","stripped","replace","gradient","Red","undefined","write","eraseBeforeRender","terminal","eraseLine","Yellow","stopLoading","loader","text","start","stop","question","inquirer","prompt","type","confirmResult","answer","label","bgGreenBright","black","clear","code","colored","emphasize","highlight","value","renderWarning","definition","isPromptActive","fieldDefinition","defaultValue","promptOptions","generatePromptLabel","field","FieldFactory","Field","transformer","toValueType","validate","id","fields","isArray","choices","map","choice","checked","_","includes","SpruceError","friendlyMessage","dirPath","path","join","root","onlyShowDir","fs","existsSync","lstatSync","isDirectory","cleanedPath","uri","directory","extname","response","result","hint","italic","dim","stackLines","cleanStack","splice","stack","AbstractSpruceError","original","originalError","split","removeProgressBar","progressBar","percent","showPercent","eta","showEta","items","totalItems","inline","renderInline","update","image","Promise","resolve","requestCursorLocation","getCursorLocation","x","y","saveCursor","restoreCursor","moveTo","eraseDisplayBelow","_doesSupportColor","isTTy","isTTY"],"sources":["../../src/interfaces/TerminalInterface.ts"],"sourcesContent":["import path from 'path'\nimport AbstractSpruceError from '@sprucelabs/error'\nimport {\n\tFieldFactory,\n\tFieldDefinitionValueType,\n\tareSchemaValuesValid,\n} from '@sprucelabs/schema'\nimport { IField } from '@sprucelabs/schema'\nimport { namesUtil } from '@sprucelabs/spruce-skill-utils'\n// @ts-ignore\nimport fonts from 'cfonts'\nimport chalk from 'chalk'\n// @ts-ignore No definition available\nimport Table from 'cli-table3'\n// @ts-ignore No definition available\nimport emphasize from 'emphasize'\nimport fs from 'fs-extra'\nimport globby from 'globby'\nimport inquirer from 'inquirer'\nimport _ from 'lodash'\nimport { filter } from 'lodash'\nimport ora from 'ora'\nimport { terminal } from 'terminal-kit'\nimport { ProgressBarController } from 'terminal-kit/Terminal'\nimport { FieldDefinitions } from '#spruce/schemas/fields/fields.types'\nimport SpruceError from '../errors/SpruceError'\nimport featuresUtil from '../features/feature.utilities'\nimport { ExecutionResults, GraphicsInterface } from '../types/cli.types'\nimport {\n\tGraphicsTextEffect,\n\tImageDimensions,\n\tProgressBarOptions,\n\tProgressBarUpdateOptions,\n} from '../types/graphicsInterface.types'\nimport durationUtil from '../utilities/duration.utility'\nimport isCi from '../utilities/isCi'\nconst terminalImage = require('terminal-image')\n\nlet fieldCount = 0\nfunction generateInquirerFieldName() {\n\tfieldCount++\n\treturn `field-${fieldCount}`\n}\n\n/** Remove effects cfonts does not support */\nfunction filterEffectsForCFonts(effects: GraphicsTextEffect[]) {\n\treturn filter(\n\t\teffects,\n\t\t(effect) =>\n\t\t\t[\n\t\t\t\tGraphicsTextEffect.SpruceHeader,\n\t\t\t\tGraphicsTextEffect.Reset,\n\t\t\t\tGraphicsTextEffect.Bold,\n\t\t\t\tGraphicsTextEffect.Dim,\n\t\t\t\tGraphicsTextEffect.Italic,\n\t\t\t\tGraphicsTextEffect.Underline,\n\t\t\t\tGraphicsTextEffect.Inverse,\n\t\t\t\tGraphicsTextEffect.Hidden,\n\t\t\t\tGraphicsTextEffect.Strikethrough,\n\t\t\t\tGraphicsTextEffect.Visible,\n\t\t\t].indexOf(effect) === -1\n\t)\n}\n\ntype TerminalSpecificOptions = {\n\teraseBeforeRender?: boolean\n}\n\nexport default class TerminalInterface implements GraphicsInterface {\n\tpublic isPromptActive = false\n\tpublic cwd: string\n\tprivate renderStackTraces = false\n\tprivate static loader?: ora.Ora | null\n\tprivate progressBar: ProgressBarController | null = null\n\tprivate static _doesSupportColor = process?.stdout?.isTTY && !isCi()\n\tprivate log: (...args: any[]) => void\n\n\tpublic constructor(\n\t\tcwd: string,\n\t\trenderStackTraces = false,\n\t\tlog = console.log.bind(console)\n\t) {\n\t\tthis.cwd = cwd\n\t\tthis.renderStackTraces = renderStackTraces\n\t\tthis.log = log\n\t}\n\n\tpublic static doesSupportColor() {\n\t\treturn this._doesSupportColor\n\t}\n\n\tpublic static setDoesSupportColor(isTTy: boolean) {\n\t\tthis._doesSupportColor = isTTy\n\t}\n\n\tpublic async sendInput(): Promise<void> {\n\t\tthrow new Error('sendInput not supported on the TerminalInterface!')\n\t}\n\n\tpublic renderLines(lines: any[], effects?: GraphicsTextEffect[]) {\n\t\tlines.forEach((line) => {\n\t\t\tthis.renderLine(line, effects)\n\t\t})\n\t}\n\n\tpublic renderObject(\n\t\tobject: Record<string, any>,\n\t\teffects: GraphicsTextEffect[] = [GraphicsTextEffect.Green]\n\t) {\n\t\tthis.renderLine('')\n\t\tthis.renderDivider()\n\t\tthis.renderLine('')\n\t\tObject.keys(object).forEach((key) => {\n\t\t\tthis.renderLine(\n\t\t\t\t`${chalk.bold(key)}: ${\n\t\t\t\t\ttypeof object[key] === 'string'\n\t\t\t\t\t\t? object[key]\n\t\t\t\t\t\t: JSON.stringify(object[key])\n\t\t\t\t}`,\n\t\t\t\teffects\n\t\t\t)\n\t\t})\n\t\tthis.renderLine('')\n\t\tthis.renderDivider()\n\t\tthis.renderLine('')\n\t}\n\n\tpublic renderSection(options: {\n\t\theadline?: string\n\t\tlines?: string[]\n\t\tobject?: Record<string, any>\n\t\theadlineEffects?: GraphicsTextEffect[]\n\t\tbodyEffects?: GraphicsTextEffect[]\n\t\tdividerEffects?: GraphicsTextEffect[]\n\t}) {\n\t\tconst {\n\t\t\theadline,\n\t\t\tlines,\n\t\t\tobject,\n\t\t\tdividerEffects = [],\n\t\t\theadlineEffects = [GraphicsTextEffect.Blue, GraphicsTextEffect.Bold],\n\t\t\tbodyEffects = [GraphicsTextEffect.Green],\n\t\t} = options\n\n\t\tif (headline) {\n\t\t\tthis.renderHeadline(`${headline} 🌲🤖`, headlineEffects, dividerEffects)\n\t\t}\n\n\t\tif (lines) {\n\t\t\tthis.renderLines(lines, bodyEffects)\n\n\t\t\tthis.renderLine('')\n\t\t\tthis.renderDivider(dividerEffects)\n\t\t}\n\n\t\tif (object) {\n\t\t\tthis.renderObject(object, bodyEffects)\n\t\t}\n\n\t\tthis.renderLine('')\n\t}\n\n\tpublic renderDivider(effects?: GraphicsTextEffect[]) {\n\t\tconst bar = '=================================================='\n\t\tthis.renderLine(bar, effects)\n\t}\n\n\tpublic renderActionSummary(\n\t\tresults: ExecutionResults & { totalTime?: number }\n\t) {\n\t\tconst generatedFiles =\n\t\t\tresults.files?.filter((f) => f.action === 'generated') ?? []\n\t\tconst updatedFiles =\n\t\t\tresults.files?.filter((f) => f.action === 'updated') ?? []\n\t\tconst skippedFiles =\n\t\t\tresults.files?.filter((f) => f.action === 'skipped') ?? []\n\n\t\tconst errors = results.errors ?? []\n\t\tconst packagesInstalled = results.packagesInstalled ?? []\n\n\t\tthis.renderHero(`${results.headline}`)\n\n\t\tlet summaryLines: string[] = [\n\t\t\terrors.length > 0 ? `Errors: ${errors.length}` : null,\n\t\t\tgeneratedFiles.length > 0\n\t\t\t\t? `Generated files: ${generatedFiles.length}`\n\t\t\t\t: null,\n\t\t\tupdatedFiles.length > 0 ? `Updated files: ${updatedFiles.length}` : null,\n\t\t\tskippedFiles.length > 0 ? `Skipped files: ${skippedFiles.length}` : null,\n\t\t\tpackagesInstalled.length > 0\n\t\t\t\t? `NPM packages installed: ${packagesInstalled.length}`\n\t\t\t\t: null,\n\t\t\t...(results.summaryLines ?? []),\n\t\t].filter((line) => !!line) as string[]\n\n\t\tif (summaryLines.length === 0) {\n\t\t\tsummaryLines.push('Nothing to report!')\n\t\t}\n\t\tthis.renderSection({\n\t\t\theadline: `${featuresUtil.generateCommand(\n\t\t\t\tresults.featureCode,\n\t\t\t\tresults.actionCode\n\t\t\t)} summary`,\n\t\t\tlines: summaryLines,\n\t\t})\n\n\t\tif (packagesInstalled.length > 0) {\n\t\t\tconst table = new Table({\n\t\t\t\thead: ['Name', 'Dev'],\n\t\t\t\tcolWidths: [40, 5],\n\t\t\t\twordWrap: true,\n\t\t\t\tcolAligns: ['left', 'center'],\n\t\t\t})\n\t\t\tpackagesInstalled\n\t\t\t\t.sort((one, two) => (one.name > two.name ? 1 : -1))\n\t\t\t\t.forEach((pkg) => {\n\t\t\t\t\ttable.push([pkg.name, pkg.isDev ? '√' : ''])\n\t\t\t\t})\n\n\t\t\tthis.renderSection({\n\t\t\t\theadline: `NPM packages summary`,\n\t\t\t\tlines: [table.toString()],\n\t\t\t})\n\t\t}\n\n\t\tfor (let files of [generatedFiles, updatedFiles]) {\n\t\t\tif (files.length > 0) {\n\t\t\t\tconst table = new Table({\n\t\t\t\t\thead: ['File', 'Description'],\n\t\t\t\t\twordWrap: true,\n\t\t\t\t})\n\n\t\t\t\tfiles = files.sort()\n\n\t\t\t\tfor (const file of files) {\n\t\t\t\t\ttable.push([file.name, file.description ?? ''])\n\t\t\t\t}\n\n\t\t\t\tthis.renderSection({\n\t\t\t\t\theadline: `${namesUtil.toPascal(files[0].action)} file summary`,\n\t\t\t\t\tlines: [table.toString()],\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\n\t\tif (results.hints) {\n\t\t\tthis.renderSection({\n\t\t\t\theadline: 'Read below 👇',\n\t\t\t\tlines: results.hints,\n\t\t\t})\n\t\t}\n\n\t\tif (errors.length > 0) {\n\t\t\tthis.renderHeadline('Errors')\n\t\t\terrors.forEach((err) => this.renderError(err))\n\t\t}\n\n\t\tif (results.totalTime) {\n\t\t\tthis.renderLine(\n\t\t\t\t`Total time: ${durationUtil.msToFriendly(results.totalTime)}`\n\t\t\t)\n\t\t}\n\t}\n\n\tpublic renderHeadline(\n\t\tmessage: string,\n\t\teffects: GraphicsTextEffect[] = [\n\t\t\tGraphicsTextEffect.Blue,\n\t\t\tGraphicsTextEffect.Bold,\n\t\t],\n\t\tdividerEffects: GraphicsTextEffect[] = []\n\t) {\n\t\tconst isSpruce = effects.indexOf(GraphicsTextEffect.SpruceHeader) > -1\n\n\t\tif (isSpruce) {\n\t\t\tfonts.say(message, {\n\t\t\t\tfont: GraphicsTextEffect.SpruceHeader,\n\t\t\t\talign: 'left',\n\t\t\t\tspace: false,\n\t\t\t\tcolors: filterEffectsForCFonts(effects),\n\t\t\t})\n\t\t} else {\n\t\t\tthis.renderDivider(dividerEffects)\n\t\t\tthis.renderLine(message, effects)\n\t\t\tthis.renderDivider(dividerEffects)\n\t\t\tthis.renderLine('')\n\t\t}\n\t}\n\n\tpublic renderHero(message: string, effects?: GraphicsTextEffect[]) {\n\t\tconst shouldStripVowels = process.stdout.columns < 80\n\n\t\tconst stripped = shouldStripVowels\n\t\t\t? message.replace(/[aeiou]/gi, '')\n\t\t\t: message\n\n\t\tfonts.say(stripped, {\n\t\t\t// Font: 'tiny',\n\t\t\talign: 'left',\n\t\t\tgradient: [GraphicsTextEffect.Red, GraphicsTextEffect.Blue],\n\t\t\tcolors: effects ? filterEffectsForCFonts(effects) : undefined,\n\t\t})\n\t}\n\n\tpublic renderHint(message: string) {\n\t\treturn this.renderLine(`👨‍🏫 ${message}`)\n\t}\n\n\tpublic renderLine(\n\t\tmessage: any,\n\t\teffects: GraphicsTextEffect[] = [],\n\t\toptions?: TerminalSpecificOptions\n\t) {\n\t\tlet write: any = chalk\n\t\teffects.forEach((effect) => {\n\t\t\twrite = write[effect]\n\t\t})\n\n\t\tif (options?.eraseBeforeRender) {\n\t\t\tterminal.eraseLine()\n\t\t}\n\n\t\tthis.log(effects.length > 0 ? write(message) : message)\n\t}\n\n\tpublic renderWarning(message: string) {\n\t\tthis.renderLine(`⚠️ ${message}`, [\n\t\t\tGraphicsTextEffect.Bold,\n\t\t\tGraphicsTextEffect.Yellow,\n\t\t])\n\t}\n\n\tpublic async startLoading(message?: string) {\n\t\t// eslint-disable-next-line @typescript-eslint/no-floating-promises\n\t\tthis.stopLoading()\n\t\tTerminalInterface.loader = ora({\n\t\t\ttext: message,\n\t\t}).start()\n\t}\n\n\tpublic async stopLoading() {\n\t\tTerminalInterface.loader?.stop()\n\t\tTerminalInterface.loader = null\n\t}\n\n\tpublic async confirm(question: string): Promise<boolean> {\n\t\tconst confirmResult = await inquirer.prompt({\n\t\t\ttype: 'confirm',\n\t\t\tname: 'answer',\n\t\t\tmessage: question,\n\t\t})\n\n\t\treturn !!confirmResult.answer\n\t}\n\n\tpublic async waitForEnter(message?: string) {\n\t\tawait this.prompt({\n\t\t\ttype: 'text',\n\t\t\tlabel: `${message ? message + ' ' : ''}${chalk.bgGreenBright.black(\n\t\t\t\t'hit enter'\n\t\t\t)}`,\n\t\t})\n\t\tthis.renderLine('')\n\t\treturn\n\t}\n\n\tpublic clear() {\n\t\tvoid this.stopLoading()\n\t\tconsole.clear()\n\t}\n\n\tpublic renderCodeSample(code: string) {\n\t\ttry {\n\t\t\tconst colored = emphasize.highlight('js', code).value\n\t\t\tthis.renderLine(colored)\n\t\t} catch (err: any) {\n\t\t\tthis.renderWarning(err)\n\t\t}\n\t}\n\n\tpublic async prompt<T extends FieldDefinitions>(\n\t\tdefinition: T\n\t): Promise<FieldDefinitionValueType<T>> {\n\t\tthis.isPromptActive = true\n\t\tconst name = generateInquirerFieldName()\n\t\tconst fieldDefinition: FieldDefinitions = definition\n\t\tconst { defaultValue } = fieldDefinition\n\n\t\tconst promptOptions: Record<string, any> = {\n\t\t\tdefault: defaultValue,\n\t\t\tname,\n\t\t\tmessage: this.generatePromptLabel(fieldDefinition),\n\t\t}\n\n\t\tconst field = FieldFactory.Field('prompt', fieldDefinition)\n\n\t\tpromptOptions.transformer = (value: string) => {\n\t\t\treturn (field as IField<any>).toValueType(value)\n\t\t}\n\n\t\tpromptOptions.validate = (value: string) => {\n\t\t\treturn areSchemaValuesValid(\n\t\t\t\t{\n\t\t\t\t\tid: 'promptvalidateschema',\n\t\t\t\t\tfields: {\n\t\t\t\t\t\tprompt: fieldDefinition,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{ prompt: value }\n\t\t\t)\n\t\t\t// return field.validate(value, {}).length === 0\n\t\t}\n\n\t\tswitch (fieldDefinition.type) {\n\t\t\t// Map select options to prompt list choices\n\t\t\tcase 'boolean':\n\t\t\t\tpromptOptions.type = 'confirm'\n\t\t\t\tbreak\n\n\t\t\tcase 'select':\n\t\t\t\tpromptOptions.type = fieldDefinition.isArray ? 'checkbox' : 'list'\n\n\t\t\t\tpromptOptions.choices = fieldDefinition.options.choices.map(\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t(choice) => ({\n\t\t\t\t\t\tname: choice.label,\n\t\t\t\t\t\tvalue: choice.value,\n\t\t\t\t\t\tchecked: _.includes(fieldDefinition.defaultValue, choice.value),\n\t\t\t\t\t})\n\t\t\t\t)\n\n\t\t\t\tbreak\n\t\t\t// Directory select\n\t\t\t// File select\n\t\t\tcase 'directory': {\n\t\t\t\tif (fieldDefinition.isArray) {\n\t\t\t\t\tthrow new SpruceError({\n\t\t\t\t\t\tcode: 'NOT_IMPLEMENTED',\n\t\t\t\t\t\tfriendlyMessage:\n\t\t\t\t\t\t\t'isArray file field not supported, prompt needs to be rewritten with isArray support',\n\t\t\t\t\t})\n\t\t\t\t}\n\n\t\t\t\tconst dirPath = path.join(\n\t\t\t\t\tfieldDefinition.defaultValue?.path ?? this.cwd,\n\t\t\t\t\t'/'\n\t\t\t\t)\n\n\t\t\t\tpromptOptions.type = 'file'\n\t\t\t\tpromptOptions.root = dirPath\n\t\t\t\tpromptOptions.onlyShowDir = true\n\n\t\t\t\t// Only let people select an actual file\n\t\t\t\tpromptOptions.validate = (value: string) => {\n\t\t\t\t\treturn fs.existsSync(value) && fs.lstatSync(value).isDirectory()\n\t\t\t\t}\n\t\t\t\t// Strip out cwd from the paths while selecting\n\t\t\t\tpromptOptions.transformer = (path: string) => {\n\t\t\t\t\tconst cleanedPath = path.replace(promptOptions.root, '')\n\t\t\t\t\treturn cleanedPath.length === 0 ? promptOptions.root : cleanedPath\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\t\t\tcase 'file': {\n\t\t\t\tif (fieldDefinition.isArray) {\n\t\t\t\t\tthrow new SpruceError({\n\t\t\t\t\t\tcode: 'NOT_IMPLEMENTED',\n\t\t\t\t\t\tfriendlyMessage:\n\t\t\t\t\t\t\t'isArray file field not supported, prompt needs to be rewritten with isArray support',\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tconst dirPath = path.join(\n\t\t\t\t\tfieldDefinition.defaultValue?.uri ?? this.cwd,\n\t\t\t\t\t'/'\n\t\t\t\t)\n\n\t\t\t\t// Check if directory is empty.\n\t\t\t\tconst files = await globby(`${dirPath}**/*`)\n\n\t\t\t\tif (files.length === 0) {\n\t\t\t\t\tthrow new SpruceError({\n\t\t\t\t\t\tcode: 'DIRECTORY_EMPTY',\n\t\t\t\t\t\tdirectory: dirPath,\n\t\t\t\t\t\tfriendlyMessage: `I wanted to help you select a file, but none exist in ${dirPath}.`,\n\t\t\t\t\t})\n\t\t\t\t}\n\n\t\t\t\tpromptOptions.type = 'file'\n\t\t\t\tpromptOptions.root = dirPath\n\n\t\t\t\t// Only let people select an actual file\n\t\t\t\tpromptOptions.validate = (value: string) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tfs.existsSync(value) &&\n\t\t\t\t\t\t!fs.lstatSync(value).isDirectory() &&\n\t\t\t\t\t\tpath.extname(value) === '.ts'\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t\t// Strip out cwd from the paths while selecting\n\t\t\t\tpromptOptions.transformer = (path: string) => {\n\t\t\t\t\tconst cleanedPath = path.replace(promptOptions.root, '')\n\t\t\t\t\treturn cleanedPath.length === 0 ? promptOptions.root : cleanedPath\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\n\t\t\t// Defaults to input\n\t\t\tdefault:\n\t\t\t\tpromptOptions.type = 'input'\n\t\t}\n\n\t\tconst response = (await inquirer.prompt(promptOptions)) as any\n\n\t\tthis.isPromptActive = false\n\n\t\tconst result =\n\t\t\ttypeof response[name] !== 'undefined'\n\t\t\t\t? (field as IField<any>).toValueType(response[name])\n\t\t\t\t: response[name]\n\n\t\treturn result\n\t}\n\tprivate generatePromptLabel(fieldDefinition: FieldDefinitions): any {\n\t\tlet label = fieldDefinition.label\n\n\t\tif (fieldDefinition.hint) {\n\t\t\tlabel = `${label} ${chalk.italic.dim(`(${fieldDefinition.hint})`)}`\n\t\t}\n\n\t\tlabel = label + ': '\n\n\t\treturn label\n\t}\n\n\tpublic renderError(err: Error) {\n\t\t// eslint-disable-next-line @typescript-eslint/no-floating-promises\n\t\tthis.stopLoading()\n\n\t\tconst message = err.message\n\t\t// Remove message from stack so the message is not doubled up\n\t\tconst stackLines = this.cleanStack(err)\n\t\tthis.renderSection({\n\t\t\theadline: message,\n\t\t\tlines: this.renderStackTraces ? stackLines.splice(0, 100) : undefined,\n\t\t\theadlineEffects: [GraphicsTextEffect.Bold, GraphicsTextEffect.Red],\n\t\t\tdividerEffects: [GraphicsTextEffect.Red],\n\t\t\tbodyEffects: [GraphicsTextEffect.Red],\n\t\t})\n\t}\n\n\tprivate cleanStack(err: Error) {\n\t\tconst message = err.message\n\t\tlet stack = err.stack ? err.stack.replace(message, '') : ''\n\n\t\tif (err instanceof AbstractSpruceError) {\n\t\t\tlet original = err.originalError\n\t\t\twhile (original) {\n\t\t\t\tstack = stack.replace('Error: ' + original.message, '')\n\t\t\t\toriginal = (original as AbstractSpruceError).originalError\n\t\t\t}\n\t\t}\n\n\t\tconst stackLines = stack.split('\\n')\n\n\t\treturn stackLines\n\t}\n\n\tpublic renderProgressBar(options: ProgressBarOptions): void {\n\t\tthis.removeProgressBar()\n\t\tthis.progressBar = terminal.progressBar({\n\t\t\t...options,\n\t\t\tpercent: options.showPercent,\n\t\t\teta: options.showEta,\n\t\t\titems: options.totalItems,\n\t\t\tinline: options.renderInline,\n\t\t})\n\t}\n\n\tpublic removeProgressBar() {\n\t\tif (this.progressBar) {\n\t\t\tthis.progressBar.stop()\n\t\t\tthis.progressBar = null\n\t\t}\n\t}\n\n\tpublic updateProgressBar(options: ProgressBarUpdateOptions): void {\n\t\tif (this.progressBar) {\n\t\t\tthis.progressBar.update({\n\t\t\t\t...options,\n\t\t\t\titems: options.totalItems,\n\t\t\t})\n\t\t}\n\t}\n\n\tpublic async renderImage(\n\t\tpath: string,\n\t\toptions?: ImageDimensions\n\t): Promise<void> {\n\t\tconst image = await terminalImage.file(path, options)\n\t\tthis.renderLine(image)\n\t}\n\n\tpublic async getCursorPosition(): Promise<{ x: number; y: number } | null> {\n\t\treturn new Promise((resolve) => {\n\t\t\tterminal.requestCursorLocation()\n\t\t\tterminal.getCursorLocation((err, x, y) => {\n\t\t\t\tresolve(err ? null : { x: x ?? 0, y: y ?? 0 })\n\t\t\t})\n\t\t})\n\t}\n\n\tpublic saveCursor() {\n\t\tterminal.saveCursor()\n\t}\n\n\tpublic restoreCursor() {\n\t\tterminal.restoreCursor()\n\t}\n\n\tpublic moveCursorTo(x: number, y: number): void {\n\t\tterminal.moveTo(x, y)\n\t}\n\n\tpublic clearBelowCursor(): void {\n\t\tterminal.eraseDisplayBelow()\n\t}\n\n\tpublic eraseLine() {\n\t\tterminal.eraseLine()\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAMA;;AAEA;;AACA;;AAEA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AAGA;;AACA;;AAEA;;AAMA;;AACA;;;;;;;;;;;;;;;;;;AACA,IAAMA,aAAa,GAAGC,OAAO,CAAC,gBAAD,CAA7B;;AAEA,IAAIC,UAAU,GAAG,CAAjB;;AACA,SAASC,yBAAT,GAAqC;EACpCD,UAAU;EACV,uBAAgBA,UAAhB;AACA;AAED;;;AACA,SAASE,sBAAT,CAAgCC,OAAhC,EAA+D;EAC9D,OAAO,oBACNA,OADM,EAEN,UAACC,MAAD;IAAA,OACC,CACCC,sCAAmBC,YADpB,EAECD,sCAAmBE,KAFpB,EAGCF,sCAAmBG,IAHpB,EAICH,sCAAmBI,GAJpB,EAKCJ,sCAAmBK,MALpB,EAMCL,sCAAmBM,SANpB,EAOCN,sCAAmBO,OAPpB,EAQCP,sCAAmBQ,MARpB,EASCR,sCAAmBS,aATpB,EAUCT,sCAAmBU,OAVpB,EAWEC,OAXF,CAWUZ,MAXV,MAWsB,CAAC,CAZxB;EAAA,CAFM,CAAP;AAgBA;;IAMoBa,iB;EASpB,2BACCC,GADD,EAIE;IAAA,IAFDC,iBAEC,uEAFmB,KAEnB;IAAA,IADDC,GACC,uEADKC,OAAO,CAACD,GAAR,CAAYE,IAAZ,CAAiBD,OAAjB,CACL;IAAA;IAAA,yDAZsB,KAYtB;IAAA;IAAA,4DAV0B,KAU1B;IAAA,sDARkD,IAQlD;IAAA;IACD,KAAKH,GAAL,GAAWA,GAAX;IACA,KAAKC,iBAAL,GAAyBA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ldName","filterEffectsForCFonts","effects","filter","effect","GraphicsTextEffect","SpruceHeader","Reset","Bold","Dim","Italic","Underline","Inverse","Hidden","Strikethrough","Visible","indexOf","TerminalInterface","cwd","renderStackTraces","log","console","bind","Error","lines","forEach","line","renderLine","object","Green","renderDivider","Object","keys","key","chalk","bold","JSON","stringify","options","headline","dividerEffects","headlineEffects","Blue","bodyEffects","renderHeadline","renderLines","renderObject","bar","results","generatedFiles","files","f","action","updatedFiles","skippedFiles","errors","packagesInstalled","renderHero","summaryLines","length","push","renderSection","featuresUtil","generateCommand","featureCode","actionCode","table","Table","head","colWidths","wordWrap","colAligns","sort","one","two","name","pkg","isDev","toString","file","description","namesUtil","toPascal","hints","err","renderError","totalTime","durationUtil","msToFriendly","message","isSpruce","fonts","say","font","align","space","colors","shouldStripVowels","process","stdout","columns","stripped","replace","gradient","Red","undefined","write","eraseBeforeRender","terminal","eraseLine","Yellow","stopLoading","loader","ora","text","start","stop","question","inquirer","prompt","type","confirmResult","answer","label","bgGreenBright","black","clear","code","colored","emphasize","highlight","value","renderWarning","definition","isPromptActive","fieldDefinition","defaultValue","promptOptions","generatePromptLabel","field","FieldFactory","Field","transformer","toValueType","validate","areSchemaValuesValid","id","fields","isArray","choices","map","choice","checked","_","includes","SpruceError","friendlyMessage","dirPath","path","join","root","onlyShowDir","fs","existsSync","lstatSync","isDirectory","cleanedPath","uri","globby","directory","extname","response","result","hint","italic","dim","stackLines","cleanStack","splice","stack","AbstractSpruceError","original","originalError","split","removeProgressBar","progressBar","percent","showPercent","eta","showEta","items","totalItems","inline","renderInline","update","image","Promise","resolve","requestCursorLocation","getCursorLocation","x","y","saveCursor","restoreCursor","moveTo","eraseDisplayBelow","_doesSupportColor","isTTy","isTTY","isCi"],"sources":["../../src/interfaces/TerminalInterface.ts"],"sourcesContent":["import path from 'path'\nimport AbstractSpruceError from '@sprucelabs/error'\nimport {\n\tFieldFactory,\n\tFieldDefinitionValueType,\n\tareSchemaValuesValid,\n} from '@sprucelabs/schema'\nimport { IField } from '@sprucelabs/schema'\nimport { namesUtil } from '@sprucelabs/spruce-skill-utils'\n// @ts-ignore\nimport fonts from 'cfonts'\nimport chalk from 'chalk'\n// @ts-ignore No definition available\nimport Table from 'cli-table3'\n// @ts-ignore No definition available\nimport emphasize from 'emphasize'\nimport fs from 'fs-extra'\nimport globby from 'globby'\nimport inquirer from 'inquirer'\nimport _ from 'lodash'\nimport { filter } from 'lodash'\nimport ora from 'ora'\nimport { terminal } from 'terminal-kit'\nimport { ProgressBarController } from 'terminal-kit/Terminal'\nimport { FieldDefinitions } from '#spruce/schemas/fields/fields.types'\nimport SpruceError from '../errors/SpruceError'\nimport featuresUtil from '../features/feature.utilities'\nimport { ExecutionResults, GraphicsInterface } from '../types/cli.types'\nimport {\n\tGraphicsTextEffect,\n\tImageDimensions,\n\tProgressBarOptions,\n\tProgressBarUpdateOptions,\n} from '../types/graphicsInterface.types'\nimport durationUtil from '../utilities/duration.utility'\nimport isCi from '../utilities/isCi'\nconst terminalImage = require('terminal-image')\n\nlet fieldCount = 0\nfunction generateInquirerFieldName() {\n\tfieldCount++\n\treturn `field-${fieldCount}`\n}\n\n/** Remove effects cfonts does not support */\nfunction filterEffectsForCFonts(effects: GraphicsTextEffect[]) {\n\treturn filter(\n\t\teffects,\n\t\t(effect) =>\n\t\t\t[\n\t\t\t\tGraphicsTextEffect.SpruceHeader,\n\t\t\t\tGraphicsTextEffect.Reset,\n\t\t\t\tGraphicsTextEffect.Bold,\n\t\t\t\tGraphicsTextEffect.Dim,\n\t\t\t\tGraphicsTextEffect.Italic,\n\t\t\t\tGraphicsTextEffect.Underline,\n\t\t\t\tGraphicsTextEffect.Inverse,\n\t\t\t\tGraphicsTextEffect.Hidden,\n\t\t\t\tGraphicsTextEffect.Strikethrough,\n\t\t\t\tGraphicsTextEffect.Visible,\n\t\t\t].indexOf(effect) === -1\n\t)\n}\n\ntype TerminalSpecificOptions = {\n\teraseBeforeRender?: boolean\n}\n\nexport default class TerminalInterface implements GraphicsInterface {\n\tpublic isPromptActive = false\n\tpublic cwd: string\n\tprivate renderStackTraces = false\n\tprivate static loader?: ora.Ora | null\n\tprivate progressBar: ProgressBarController | null = null\n\tprivate static _doesSupportColor = process?.stdout?.isTTY && !isCi()\n\tprivate log: (...args: any[]) => void\n\n\tpublic constructor(\n\t\tcwd: string,\n\t\trenderStackTraces = false,\n\t\tlog = console.log.bind(console)\n\t) {\n\t\tthis.cwd = cwd\n\t\tthis.renderStackTraces = renderStackTraces\n\t\tthis.log = log\n\t}\n\n\tpublic static doesSupportColor() {\n\t\treturn this._doesSupportColor\n\t}\n\n\tpublic static setDoesSupportColor(isTTy: boolean) {\n\t\tthis._doesSupportColor = isTTy\n\t}\n\n\tpublic async sendInput(): Promise<void> {\n\t\tthrow new Error('sendInput not supported on the TerminalInterface!')\n\t}\n\n\tpublic renderLines(lines: any[], effects?: GraphicsTextEffect[]) {\n\t\tlines.forEach((line) => {\n\t\t\tthis.renderLine(line, effects)\n\t\t})\n\t}\n\n\tpublic renderObject(\n\t\tobject: Record<string, any>,\n\t\teffects: GraphicsTextEffect[] = [GraphicsTextEffect.Green]\n\t) {\n\t\tthis.renderLine('')\n\t\tthis.renderDivider()\n\t\tthis.renderLine('')\n\t\tObject.keys(object).forEach((key) => {\n\t\t\tthis.renderLine(\n\t\t\t\t`${chalk.bold(key)}: ${\n\t\t\t\t\ttypeof object[key] === 'string'\n\t\t\t\t\t\t? object[key]\n\t\t\t\t\t\t: JSON.stringify(object[key])\n\t\t\t\t}`,\n\t\t\t\teffects\n\t\t\t)\n\t\t})\n\t\tthis.renderLine('')\n\t\tthis.renderDivider()\n\t\tthis.renderLine('')\n\t}\n\n\tpublic renderSection(options: {\n\t\theadline?: string\n\t\tlines?: string[]\n\t\tobject?: Record<string, any>\n\t\theadlineEffects?: GraphicsTextEffect[]\n\t\tbodyEffects?: GraphicsTextEffect[]\n\t\tdividerEffects?: GraphicsTextEffect[]\n\t}) {\n\t\tconst {\n\t\t\theadline,\n\t\t\tlines,\n\t\t\tobject,\n\t\t\tdividerEffects = [],\n\t\t\theadlineEffects = [GraphicsTextEffect.Blue, GraphicsTextEffect.Bold],\n\t\t\tbodyEffects = [GraphicsTextEffect.Green],\n\t\t} = options\n\n\t\tif (headline) {\n\t\t\tthis.renderHeadline(`${headline} 🌲🤖`, headlineEffects, dividerEffects)\n\t\t}\n\n\t\tif (lines) {\n\t\t\tthis.renderLines(lines, bodyEffects)\n\n\t\t\tthis.renderLine('')\n\t\t\tthis.renderDivider(dividerEffects)\n\t\t}\n\n\t\tif (object) {\n\t\t\tthis.renderObject(object, bodyEffects)\n\t\t}\n\n\t\tthis.renderLine('')\n\t}\n\n\tpublic renderDivider(effects?: GraphicsTextEffect[]) {\n\t\tconst bar = '=================================================='\n\t\tthis.renderLine(bar, effects)\n\t}\n\n\tpublic renderActionSummary(\n\t\tresults: ExecutionResults & { totalTime?: number }\n\t) {\n\t\tconst generatedFiles =\n\t\t\tresults.files?.filter((f) => f.action === 'generated') ?? []\n\t\tconst updatedFiles =\n\t\t\tresults.files?.filter((f) => f.action === 'updated') ?? []\n\t\tconst skippedFiles =\n\t\t\tresults.files?.filter((f) => f.action === 'skipped') ?? []\n\n\t\tconst errors = results.errors ?? []\n\t\tconst packagesInstalled = results.packagesInstalled ?? []\n\n\t\tthis.renderHero(`${results.headline}`)\n\n\t\tlet summaryLines: string[] = [\n\t\t\terrors.length > 0 ? `Errors: ${errors.length}` : null,\n\t\t\tgeneratedFiles.length > 0\n\t\t\t\t? `Generated files: ${generatedFiles.length}`\n\t\t\t\t: null,\n\t\t\tupdatedFiles.length > 0 ? `Updated files: ${updatedFiles.length}` : null,\n\t\t\tskippedFiles.length > 0 ? `Skipped files: ${skippedFiles.length}` : null,\n\t\t\tpackagesInstalled.length > 0\n\t\t\t\t? `NPM packages installed: ${packagesInstalled.length}`\n\t\t\t\t: null,\n\t\t\t...(results.summaryLines ?? []),\n\t\t].filter((line) => !!line) as string[]\n\n\t\tif (summaryLines.length === 0) {\n\t\t\tsummaryLines.push('Nothing to report!')\n\t\t}\n\t\tthis.renderSection({\n\t\t\theadline: `${featuresUtil.generateCommand(\n\t\t\t\tresults.featureCode,\n\t\t\t\tresults.actionCode\n\t\t\t)} summary`,\n\t\t\tlines: summaryLines,\n\t\t})\n\n\t\tif (packagesInstalled.length > 0) {\n\t\t\tconst table = new Table({\n\t\t\t\thead: ['Name', 'Dev'],\n\t\t\t\tcolWidths: [40, 5],\n\t\t\t\twordWrap: true,\n\t\t\t\tcolAligns: ['left', 'center'],\n\t\t\t})\n\t\t\tpackagesInstalled\n\t\t\t\t.sort((one, two) => (one.name > two.name ? 1 : -1))\n\t\t\t\t.forEach((pkg) => {\n\t\t\t\t\ttable.push([pkg.name, pkg.isDev ? '√' : ''])\n\t\t\t\t})\n\n\t\t\tthis.renderSection({\n\t\t\t\theadline: `NPM packages summary`,\n\t\t\t\tlines: [table.toString()],\n\t\t\t})\n\t\t}\n\n\t\tfor (let files of [generatedFiles, updatedFiles]) {\n\t\t\tif (files.length > 0) {\n\t\t\t\tconst table = new Table({\n\t\t\t\t\thead: ['File', 'Description'],\n\t\t\t\t\twordWrap: true,\n\t\t\t\t})\n\n\t\t\t\tfiles = files.sort()\n\n\t\t\t\tfor (const file of files) {\n\t\t\t\t\ttable.push([file.name, file.description ?? ''])\n\t\t\t\t}\n\n\t\t\t\tthis.renderSection({\n\t\t\t\t\theadline: `${namesUtil.toPascal(files[0].action)} file summary`,\n\t\t\t\t\tlines: [table.toString()],\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\n\t\tif (results.hints) {\n\t\t\tthis.renderSection({\n\t\t\t\theadline: 'Read below 👇',\n\t\t\t\tlines: results.hints,\n\t\t\t})\n\t\t}\n\n\t\tif (errors.length > 0) {\n\t\t\tthis.renderHeadline('Errors')\n\t\t\terrors.forEach((err) => this.renderError(err))\n\t\t}\n\n\t\tif (results.totalTime) {\n\t\t\tthis.renderLine(\n\t\t\t\t`Total time: ${durationUtil.msToFriendly(results.totalTime)}`\n\t\t\t)\n\t\t}\n\t}\n\n\tpublic renderHeadline(\n\t\tmessage: string,\n\t\teffects: GraphicsTextEffect[] = [\n\t\t\tGraphicsTextEffect.Blue,\n\t\t\tGraphicsTextEffect.Bold,\n\t\t],\n\t\tdividerEffects: GraphicsTextEffect[] = []\n\t) {\n\t\tconst isSpruce = effects.indexOf(GraphicsTextEffect.SpruceHeader) > -1\n\n\t\tif (isSpruce) {\n\t\t\tfonts.say(message, {\n\t\t\t\tfont: GraphicsTextEffect.SpruceHeader,\n\t\t\t\talign: 'left',\n\t\t\t\tspace: false,\n\t\t\t\tcolors: filterEffectsForCFonts(effects),\n\t\t\t})\n\t\t} else {\n\t\t\tthis.renderDivider(dividerEffects)\n\t\t\tthis.renderLine(message, effects)\n\t\t\tthis.renderDivider(dividerEffects)\n\t\t\tthis.renderLine('')\n\t\t}\n\t}\n\n\tpublic renderHero(message: string, effects?: GraphicsTextEffect[]) {\n\t\tconst shouldStripVowels = process.stdout.columns < 80\n\n\t\tconst stripped = shouldStripVowels\n\t\t\t? message.replace(/[aeiou]/gi, '')\n\t\t\t: message\n\n\t\tfonts.say(stripped, {\n\t\t\t// Font: 'tiny',\n\t\t\talign: 'left',\n\t\t\tgradient: [GraphicsTextEffect.Red, GraphicsTextEffect.Blue],\n\t\t\tcolors: effects ? filterEffectsForCFonts(effects) : undefined,\n\t\t})\n\t}\n\n\tpublic renderHint(message: string) {\n\t\treturn this.renderLine(`👨‍🏫 ${message}`)\n\t}\n\n\tpublic renderLine(\n\t\tmessage: any,\n\t\teffects: GraphicsTextEffect[] = [],\n\t\toptions?: TerminalSpecificOptions\n\t) {\n\t\tlet write: any = chalk\n\t\teffects.forEach((effect) => {\n\t\t\twrite = write[effect]\n\t\t})\n\n\t\tif (options?.eraseBeforeRender) {\n\t\t\tterminal.eraseLine()\n\t\t}\n\n\t\tthis.log(effects.length > 0 ? write(message) : message)\n\t}\n\n\tpublic renderWarning(message: string) {\n\t\tthis.renderLine(`⚠️ ${message}`, [\n\t\t\tGraphicsTextEffect.Bold,\n\t\t\tGraphicsTextEffect.Yellow,\n\t\t])\n\t}\n\n\tpublic async startLoading(message?: string) {\n\t\t// eslint-disable-next-line @typescript-eslint/no-floating-promises\n\t\tthis.stopLoading()\n\t\tTerminalInterface.loader = ora({\n\t\t\ttext: message,\n\t\t}).start()\n\t}\n\n\tpublic async stopLoading() {\n\t\tTerminalInterface.loader?.stop()\n\t\tTerminalInterface.loader = null\n\t}\n\n\tpublic async confirm(question: string): Promise<boolean> {\n\t\tconst confirmResult = await inquirer.prompt({\n\t\t\ttype: 'confirm',\n\t\t\tname: 'answer',\n\t\t\tmessage: question,\n\t\t})\n\n\t\treturn !!confirmResult.answer\n\t}\n\n\tpublic async waitForEnter(message?: string) {\n\t\tawait this.prompt({\n\t\t\ttype: 'text',\n\t\t\tlabel: `${message ? message + ' ' : ''}${chalk.bgGreenBright.black(\n\t\t\t\t'hit enter'\n\t\t\t)}`,\n\t\t})\n\t\tthis.renderLine('')\n\t\treturn\n\t}\n\n\tpublic clear() {\n\t\tvoid this.stopLoading()\n\t\tconsole.clear()\n\t}\n\n\tpublic renderCodeSample(code: string) {\n\t\ttry {\n\t\t\tconst colored = emphasize.highlight('js', code).value\n\t\t\tthis.renderLine(colored)\n\t\t} catch (err: any) {\n\t\t\tthis.renderWarning(err)\n\t\t}\n\t}\n\n\tpublic async prompt<T extends FieldDefinitions>(\n\t\tdefinition: T\n\t): Promise<FieldDefinitionValueType<T>> {\n\t\tthis.isPromptActive = true\n\t\tconst name = generateInquirerFieldName()\n\t\tconst fieldDefinition: FieldDefinitions = definition\n\t\tconst { defaultValue } = fieldDefinition\n\n\t\tconst promptOptions: Record<string, any> = {\n\t\t\tdefault: defaultValue,\n\t\t\tname,\n\t\t\tmessage: this.generatePromptLabel(fieldDefinition),\n\t\t}\n\n\t\tconst field = FieldFactory.Field('prompt', fieldDefinition)\n\n\t\tpromptOptions.transformer = (value: string) => {\n\t\t\treturn (field as IField<any>).toValueType(value)\n\t\t}\n\n\t\tpromptOptions.validate = (value: string) => {\n\t\t\treturn areSchemaValuesValid(\n\t\t\t\t{\n\t\t\t\t\tid: 'promptvalidateschema',\n\t\t\t\t\tfields: {\n\t\t\t\t\t\tprompt: fieldDefinition,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{ prompt: value }\n\t\t\t)\n\t\t\t// return field.validate(value, {}).length === 0\n\t\t}\n\n\t\tswitch (fieldDefinition.type) {\n\t\t\t// Map select options to prompt list choices\n\t\t\tcase 'boolean':\n\t\t\t\tpromptOptions.type = 'confirm'\n\t\t\t\tbreak\n\n\t\t\tcase 'select':\n\t\t\t\tpromptOptions.type = fieldDefinition.isArray ? 'checkbox' : 'list'\n\n\t\t\t\tpromptOptions.choices = fieldDefinition.options.choices.map(\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t(choice) => ({\n\t\t\t\t\t\tname: choice.label,\n\t\t\t\t\t\tvalue: choice.value,\n\t\t\t\t\t\tchecked: _.includes(fieldDefinition.defaultValue, choice.value),\n\t\t\t\t\t})\n\t\t\t\t)\n\n\t\t\t\tbreak\n\t\t\t// Directory select\n\t\t\t// File select\n\t\t\tcase 'directory': {\n\t\t\t\tif (fieldDefinition.isArray) {\n\t\t\t\t\tthrow new SpruceError({\n\t\t\t\t\t\tcode: 'NOT_IMPLEMENTED',\n\t\t\t\t\t\tfriendlyMessage:\n\t\t\t\t\t\t\t'isArray file field not supported, prompt needs to be rewritten with isArray support',\n\t\t\t\t\t})\n\t\t\t\t}\n\n\t\t\t\tconst dirPath = path.join(\n\t\t\t\t\tfieldDefinition.defaultValue?.path ?? this.cwd,\n\t\t\t\t\t'/'\n\t\t\t\t)\n\n\t\t\t\tpromptOptions.type = 'file'\n\t\t\t\tpromptOptions.root = dirPath\n\t\t\t\tpromptOptions.onlyShowDir = true\n\n\t\t\t\t// Only let people select an actual file\n\t\t\t\tpromptOptions.validate = (value: string) => {\n\t\t\t\t\treturn fs.existsSync(value) && fs.lstatSync(value).isDirectory()\n\t\t\t\t}\n\t\t\t\t// Strip out cwd from the paths while selecting\n\t\t\t\tpromptOptions.transformer = (path: string) => {\n\t\t\t\t\tconst cleanedPath = path.replace(promptOptions.root, '')\n\t\t\t\t\treturn cleanedPath.length === 0 ? promptOptions.root : cleanedPath\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\t\t\tcase 'file': {\n\t\t\t\tif (fieldDefinition.isArray) {\n\t\t\t\t\tthrow new SpruceError({\n\t\t\t\t\t\tcode: 'NOT_IMPLEMENTED',\n\t\t\t\t\t\tfriendlyMessage:\n\t\t\t\t\t\t\t'isArray file field not supported, prompt needs to be rewritten with isArray support',\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tconst dirPath = path.join(\n\t\t\t\t\tfieldDefinition.defaultValue?.uri ?? this.cwd,\n\t\t\t\t\t'/'\n\t\t\t\t)\n\n\t\t\t\t// Check if directory is empty.\n\t\t\t\tconst files = await globby(`${dirPath}**/*`)\n\n\t\t\t\tif (files.length === 0) {\n\t\t\t\t\tthrow new SpruceError({\n\t\t\t\t\t\tcode: 'DIRECTORY_EMPTY',\n\t\t\t\t\t\tdirectory: dirPath,\n\t\t\t\t\t\tfriendlyMessage: `I wanted to help you select a file, but none exist in ${dirPath}.`,\n\t\t\t\t\t})\n\t\t\t\t}\n\n\t\t\t\tpromptOptions.type = 'file'\n\t\t\t\tpromptOptions.root = dirPath\n\n\t\t\t\t// Only let people select an actual file\n\t\t\t\tpromptOptions.validate = (value: string) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tfs.existsSync(value) &&\n\t\t\t\t\t\t!fs.lstatSync(value).isDirectory() &&\n\t\t\t\t\t\tpath.extname(value) === '.ts'\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t\t// Strip out cwd from the paths while selecting\n\t\t\t\tpromptOptions.transformer = (path: string) => {\n\t\t\t\t\tconst cleanedPath = path.replace(promptOptions.root, '')\n\t\t\t\t\treturn cleanedPath.length === 0 ? promptOptions.root : cleanedPath\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\n\t\t\t// Defaults to input\n\t\t\tdefault:\n\t\t\t\tpromptOptions.type = 'input'\n\t\t}\n\n\t\tconst response = (await inquirer.prompt(promptOptions)) as any\n\n\t\tthis.isPromptActive = false\n\n\t\tconst result =\n\t\t\ttypeof response[name] !== 'undefined'\n\t\t\t\t? (field as IField<any>).toValueType(response[name])\n\t\t\t\t: response[name]\n\n\t\treturn result\n\t}\n\tprivate generatePromptLabel(fieldDefinition: FieldDefinitions): any {\n\t\tlet label = fieldDefinition.label\n\n\t\tif (fieldDefinition.hint) {\n\t\t\tlabel = `${label} ${chalk.italic.dim(`(${fieldDefinition.hint})`)}`\n\t\t}\n\n\t\tlabel = label + ': '\n\n\t\treturn label\n\t}\n\n\tpublic renderError(err: Error) {\n\t\t// eslint-disable-next-line @typescript-eslint/no-floating-promises\n\t\tthis.stopLoading()\n\n\t\tconst message = err.message\n\t\t// Remove message from stack so the message is not doubled up\n\t\tconst stackLines = this.cleanStack(err)\n\t\tthis.renderSection({\n\t\t\theadline: message,\n\t\t\tlines: this.renderStackTraces ? stackLines.splice(0, 100) : undefined,\n\t\t\theadlineEffects: [GraphicsTextEffect.Bold, GraphicsTextEffect.Red],\n\t\t\tdividerEffects: [GraphicsTextEffect.Red],\n\t\t\tbodyEffects: [GraphicsTextEffect.Red],\n\t\t})\n\t}\n\n\tprivate cleanStack(err: Error) {\n\t\tconst message = err.message\n\t\tlet stack = err.stack ? err.stack.replace(message, '') : ''\n\n\t\tif (err instanceof AbstractSpruceError) {\n\t\t\tlet original = err.originalError\n\t\t\twhile (original) {\n\t\t\t\tstack = stack.replace('Error: ' + original.message, '')\n\t\t\t\toriginal = (original as AbstractSpruceError).originalError\n\t\t\t}\n\t\t}\n\n\t\tconst stackLines = stack.split('\\n')\n\n\t\treturn stackLines\n\t}\n\n\tpublic renderProgressBar(options: ProgressBarOptions): void {\n\t\tthis.removeProgressBar()\n\t\tthis.progressBar = terminal.progressBar({\n\t\t\t...options,\n\t\t\tpercent: options.showPercent,\n\t\t\teta: options.showEta,\n\t\t\titems: options.totalItems,\n\t\t\tinline: options.renderInline,\n\t\t})\n\t}\n\n\tpublic removeProgressBar() {\n\t\tif (this.progressBar) {\n\t\t\tthis.progressBar.stop()\n\t\t\tthis.progressBar = null\n\t\t}\n\t}\n\n\tpublic updateProgressBar(options: ProgressBarUpdateOptions): void {\n\t\tif (this.progressBar) {\n\t\t\tthis.progressBar.update({\n\t\t\t\t...options,\n\t\t\t\titems: options.totalItems,\n\t\t\t})\n\t\t}\n\t}\n\n\tpublic async renderImage(\n\t\tpath: string,\n\t\toptions?: ImageDimensions\n\t): Promise<void> {\n\t\tconst image = await terminalImage.file(path, options)\n\t\tthis.renderLine(image)\n\t}\n\n\tpublic async getCursorPosition(): Promise<{ x: number; y: number } | null> {\n\t\treturn new Promise((resolve) => {\n\t\t\tterminal.requestCursorLocation()\n\t\t\tterminal.getCursorLocation((err, x, y) => {\n\t\t\t\tresolve(err ? null : { x: x ?? 0, y: y ?? 0 })\n\t\t\t})\n\t\t})\n\t}\n\n\tpublic saveCursor() {\n\t\tterminal.saveCursor()\n\t}\n\n\tpublic restoreCursor() {\n\t\tterminal.restoreCursor()\n\t}\n\n\tpublic moveCursorTo(x: number, y: number): void {\n\t\tterminal.moveTo(x, y)\n\t}\n\n\tpublic clearBelowCursor(): void {\n\t\tterminal.eraseDisplayBelow()\n\t}\n\n\tpublic eraseLine() {\n\t\tterminal.eraseLine()\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAMA;;AAEA;;AACA;;AAEA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AAGA;;AACA;;AAEA;;AAMA;;AACA;;;;;;;;;;;;;;;;;;AACA,IAAMA,aAAa,GAAGC,OAAO,CAAC,gBAAD,CAA7B;;AAEA,IAAIC,UAAU,GAAG,CAAjB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cALD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;6GAQA;QAAA;UAAA;YAAA;cAAA;gBAAA,kCACQ,IAAIC,OAAJ,CAAY,UAACC,OAAD,EAAa;kBAC/BzF,qBAAA,CAAS0F,qBAAT;;kBACA1F,qBAAA,CAAS2F,iBAAT,CAA2B,UAACnH,GAAD,EAAMoH,CAAN,EAASC,CAAT,EAAe;oBACzCJ,OAAO,CAACjH,GAAG,GAAG,IAAH,GAAU;sBAAEoH,CAAC,EAAEA,CAAF,aAAEA,CAAF,cAAEA,CAAF,GAAO,CAAV;sBAAaC,CAAC,EAAEA,CAAF,aAAEA,CAAF,cAAEA,CAAF,GAAO;oBAArB,CAAd,CAAP;kBACA,CAFD;gBAGA,CALM,CADR;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;WASA,sBAAoB;MACnB7F,qBAAA,CAAS8F,UAAT;IACA;;;WAED,yBAAuB;MACtB9F,qBAAA,CAAS+F,aAAT;IACA;;;WAED,sBAAoBH,CAApB,EAA+BC,CAA/B,EAAgD;MAC/C7F,qBAAA,CAASgG,MAAT,CAAgBJ,CAAhB,EAAmBC,CAAnB;IACA;;;WAED,4BAAgC;MAC/B7F,qBAAA,CAASiG,iBAAT;IACA;;;WAED,qBAAmB;MAClBjG,qBAAA,CAASC,SAAT;IACA;;;WA9hBD,4BAAiC;MAChC,OAAO,KAAKiG,iBAAZ;IACA;;;WAED,6BAAkCC,KAAlC,EAAkD;MACjD,KAAKD,iBAAL,GAAyBC,KAAzB;IACA;;;;;;iCAzBmB9L,iB;iCAAAA,iB,uBAMe,aAAAiF,OAAO,UAAP,+DAASC,MAAT,oEAAiB6G,KAAjB,KAA0B,CAAC,IAAAC,gBAAA,G"}
@@ -1 +1 @@
1
- {"version":3,"file":"bootSkillOptions.builder.js","names":["id","name","description","fields","local","type","label","hint","onData","options","valueType","onError","shouldReturnImmediately","isPrivate","defaultValue","undefined"],"sources":["../../../src/schemas/v2020_07_22/bootSkillOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'bootSkillOptions',\n\tname: 'Boot skill action',\n\tdescription: 'Boot your skill 💪',\n\tfields: {\n\t\tlocal: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Run local',\n\t\t\thint: 'Will run using ts-node and typescript directly. Longer boot times',\n\t\t},\n\t\tonData: {\n\t\t\ttype: 'raw',\n\t\t\toptions: {\n\t\t\t\tvalueType: '(msg: string) => void',\n\t\t\t},\n\t\t},\n\t\tonError: {\n\t\t\ttype: 'raw',\n\t\t\toptions: {\n\t\t\t\tvalueType: '(msg: string) => void',\n\t\t\t},\n\t\t},\n\t\tshouldReturnImmediately: {\n\t\t\tlabel: 'Wait until skill is booted',\n\t\t\ttype: 'boolean',\n\t\t\tisPrivate: true,\n\t\t\thint: 'For testing. Returns immediately after executing test so the running tests can be managed programatically.',\n\t\t\tdefaultValue: false,\n\t\t\toptions: undefined,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,kBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EAAE,oBAHa;EAI1BC,MAAM,EAAE;IACPC,KAAK,EAAE;MACNC,IAAI,EAAE,SADA;MAENC,KAAK,EAAE,WAFD;MAGNC,IAAI,EAAE;IAHA,CADA;IAMPC,MAAM,EAAE;MACPH,IAAI,EAAE,KADC;MAEPI,OAAO,EAAE;QACRC,SAAS,EAAE;MADH;IAFF,CAND;IAYPC,OAAO,EAAE;MACRN,IAAI,EAAE,KADE;MAERI,OAAO,EAAE;QACRC,SAAS,EAAE;MADH;IAFD,CAZF;IAkBPE,uBAAuB,EAAE;MACxBN,KAAK,EAAE,4BADiB;MAExBD,IAAI,EAAE,SAFkB;MAGxBQ,SAAS,EAAE,IAHa;MAIxBN,IAAI,EAAE,4GAJkB;MAKxBO,YAAY,EAAE,KALU;MAMxBL,OAAO,EAAEM;IANe;EAlBlB;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"bootSkillOptions.builder.js","names":["buildSchema","id","name","description","fields","local","type","label","hint","onData","options","valueType","onError","shouldReturnImmediately","isPrivate","defaultValue","undefined"],"sources":["../../../src/schemas/v2020_07_22/bootSkillOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'bootSkillOptions',\n\tname: 'Boot skill action',\n\tdescription: 'Boot your skill 💪',\n\tfields: {\n\t\tlocal: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Run local',\n\t\t\thint: 'Will run using ts-node and typescript directly. Longer boot times',\n\t\t},\n\t\tonData: {\n\t\t\ttype: 'raw',\n\t\t\toptions: {\n\t\t\t\tvalueType: '(msg: string) => void',\n\t\t\t},\n\t\t},\n\t\tonError: {\n\t\t\ttype: 'raw',\n\t\t\toptions: {\n\t\t\t\tvalueType: '(msg: string) => void',\n\t\t\t},\n\t\t},\n\t\tshouldReturnImmediately: {\n\t\t\tlabel: 'Wait until skill is booted',\n\t\t\ttype: 'boolean',\n\t\t\tisPrivate: true,\n\t\t\thint: 'For testing. Returns immediately after executing test so the running tests can be managed programatically.',\n\t\t\tdefaultValue: false,\n\t\t\toptions: undefined,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,kBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EAAE,oBAHa;EAI1BC,MAAM,EAAE;IACPC,KAAK,EAAE;MACNC,IAAI,EAAE,SADA;MAENC,KAAK,EAAE,WAFD;MAGNC,IAAI,EAAE;IAHA,CADA;IAMPC,MAAM,EAAE;MACPH,IAAI,EAAE,KADC;MAEPI,OAAO,EAAE;QACRC,SAAS,EAAE;MADH;IAFF,CAND;IAYPC,OAAO,EAAE;MACRN,IAAI,EAAE,KADE;MAERI,OAAO,EAAE;QACRC,SAAS,EAAE;MADH;IAFD,CAZF;IAkBPE,uBAAuB,EAAE;MACxBN,KAAK,EAAE,4BADiB;MAExBD,IAAI,EAAE,SAFkB;MAGxBQ,SAAS,EAAE,IAHa;MAIxBN,IAAI,EAAE,4GAJkB;MAKxBO,YAAY,EAAE,KALU;MAMxBL,OAAO,EAAEM;IANe;EAlBlB;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"createConversationTopicOptions.builder.js","names":["id","name","description","fields","nameReadable","namedTemplateItemBuilder","label","hint","nameCamel"],"sources":["../../../src/schemas/v2020_07_22/createConversationTopicOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createConversationTopicOptions',\n\tname: 'Create conversation options',\n\tdescription: 'Define a topic you want to discuss.',\n\tfields: {\n\t\tnameReadable: {\n\t\t\t...namedTemplateItemBuilder.fields.nameReadable,\n\t\t\tlabel: 'Topic',\n\t\t\thint: 'What should we talk about or try and get done, e.g. Book an appointment or tell a knock knock joke.',\n\t\t},\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,gCADsB;EAE1BC,IAAI,EAAE,6BAFoB;EAG1BC,WAAW,EAAE,qCAHa;EAI1BC,MAAM,EAAE;IACPC,YAAY,kCACRC,8BAAyBF,MAAzB,CAAgCC,YADxB;MAEXE,KAAK,EAAE,OAFI;MAGXC,IAAI,EAAE;IAHK,EADL;IAMPC,SAAS,EAAEH,8BAAyBF,MAAzB,CAAgCK;EANpC;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"createConversationTopicOptions.builder.js","names":["buildSchema","id","name","description","fields","nameReadable","namedTemplateItemBuilder","label","hint","nameCamel"],"sources":["../../../src/schemas/v2020_07_22/createConversationTopicOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createConversationTopicOptions',\n\tname: 'Create conversation options',\n\tdescription: 'Define a topic you want to discuss.',\n\tfields: {\n\t\tnameReadable: {\n\t\t\t...namedTemplateItemBuilder.fields.nameReadable,\n\t\t\tlabel: 'Topic',\n\t\t\thint: 'What should we talk about or try and get done, e.g. Book an appointment or tell a knock knock joke.',\n\t\t},\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,gCADsB;EAE1BC,IAAI,EAAE,6BAFoB;EAG1BC,WAAW,EAAE,qCAHa;EAI1BC,MAAM,EAAE;IACPC,YAAY,kCACRC,6BAAA,CAAyBF,MAAzB,CAAgCC,YADxB;MAEXE,KAAK,EAAE,OAFI;MAGXC,IAAI,EAAE;IAHK,EADL;IAMPC,SAAS,EAAEH,6BAAA,CAAyBF,MAAzB,CAAgCK;EANpC;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"createErrorOptions.builder.js","names":["id","name","description","fields","syncErrorsOptionsBuilder","errorBuilderDestinationDir","type","label","isRequired","isPrivate","hint","defaultValue","nameReadable","namedTemplateItemBuilder","namePascal","nameCamel"],"sources":["../../../src/schemas/v2020_07_22/createErrorOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\nimport syncErrorsOptionsBuilder from './syncErrorOptions.builder'\n\nexport default buildSchema({\n\tid: 'createErrorOptions',\n\tname: 'Create error action',\n\tdescription: 'Create a builder for your brand new error! ',\n\tfields: {\n\t\t...syncErrorsOptionsBuilder.fields,\n\t\terrorBuilderDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Error builder destination directory',\n\t\t\tisRequired: true,\n\t\t\tisPrivate: true,\n\t\t\thint: \"Where I'll save your new builder file?\",\n\t\t\tdefaultValue: './src/errors',\n\t\t},\n\t\tnameReadable: namedTemplateItemBuilder.fields.nameReadable,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tdescription: namedTemplateItemBuilder.fields.description,\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EAAE,6CAHa;EAI1BC,MAAM,kCACFC,6BAAyBD,MADvB;IAELE,0BAA0B,EAAE;MAC3BC,IAAI,EAAE,MADqB;MAE3BC,KAAK,EAAE,qCAFoB;MAG3BC,UAAU,EAAE,IAHe;MAI3BC,SAAS,EAAE,IAJgB;MAK3BC,IAAI,EAAE,wCALqB;MAM3BC,YAAY,EAAE;IANa,CAFvB;IAULC,YAAY,EAAEC,8BAAyBV,MAAzB,CAAgCS,YAVzC;IAWLE,UAAU,EAAED,8BAAyBV,MAAzB,CAAgCW,UAXvC;IAYLC,SAAS,EAAEF,8BAAyBV,MAAzB,CAAgCY,SAZtC;IAaLb,WAAW,EAAEW,8BAAyBV,MAAzB,CAAgCD;EAbxC;AAJoB,CAAZ,C"}
1
+ {"version":3,"file":"createErrorOptions.builder.js","names":["buildSchema","id","name","description","fields","syncErrorsOptionsBuilder","errorBuilderDestinationDir","type","label","isRequired","isPrivate","hint","defaultValue","nameReadable","namedTemplateItemBuilder","namePascal","nameCamel"],"sources":["../../../src/schemas/v2020_07_22/createErrorOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\nimport syncErrorsOptionsBuilder from './syncErrorOptions.builder'\n\nexport default buildSchema({\n\tid: 'createErrorOptions',\n\tname: 'Create error action',\n\tdescription: 'Create a builder for your brand new error! ',\n\tfields: {\n\t\t...syncErrorsOptionsBuilder.fields,\n\t\terrorBuilderDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Error builder destination directory',\n\t\t\tisRequired: true,\n\t\t\tisPrivate: true,\n\t\t\thint: \"Where I'll save your new builder file?\",\n\t\t\tdefaultValue: './src/errors',\n\t\t},\n\t\tnameReadable: namedTemplateItemBuilder.fields.nameReadable,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tdescription: namedTemplateItemBuilder.fields.description,\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EAAE,6CAHa;EAI1BC,MAAM,kCACFC,4BAAA,CAAyBD,MADvB;IAELE,0BAA0B,EAAE;MAC3BC,IAAI,EAAE,MADqB;MAE3BC,KAAK,EAAE,qCAFoB;MAG3BC,UAAU,EAAE,IAHe;MAI3BC,SAAS,EAAE,IAJgB;MAK3BC,IAAI,EAAE,wCALqB;MAM3BC,YAAY,EAAE;IANa,CAFvB;IAULC,YAAY,EAAEC,6BAAA,CAAyBV,MAAzB,CAAgCS,YAVzC;IAWLE,UAAU,EAAED,6BAAA,CAAyBV,MAAzB,CAAgCW,UAXvC;IAYLC,SAAS,EAAEF,6BAAA,CAAyBV,MAAzB,CAAgCY,SAZtC;IAaLb,WAAW,EAAEW,6BAAA,CAAyBV,MAAzB,CAAgCD;EAbxC;AAJoB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"createOrganizationOptions.builder.js","names":["id","name","description","fields","nameReadable","namedTemplateItemBuilder","label","nameKebab"],"sources":["../../../src/schemas/v2020_07_22/createOrganizationOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createOrganizationOptions',\n\tname: 'create organization action',\n\tdescription:\n\t\t'Skills can only communicate with people and skills associated with the same organization. This ensures people can get differentiated experiences across multiple businesses.',\n\tfields: {\n\t\tnameReadable: {\n\t\t\t...namedTemplateItemBuilder.fields.nameReadable,\n\t\t\tlabel: 'Name',\n\t\t},\n\t\tnameKebab: {\n\t\t\t...namedTemplateItemBuilder.fields.nameKebab,\n\t\t\tlabel: 'Slug',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,2BADsB;EAE1BC,IAAI,EAAE,4BAFoB;EAG1BC,WAAW,EACV,8KAJyB;EAK1BC,MAAM,EAAE;IACPC,YAAY,kCACRC,8BAAyBF,MAAzB,CAAgCC,YADxB;MAEXE,KAAK,EAAE;IAFI,EADL;IAKPC,SAAS,kCACLF,8BAAyBF,MAAzB,CAAgCI,SAD3B;MAERD,KAAK,EAAE;IAFC;EALF;AALkB,CAAZ,C"}
1
+ {"version":3,"file":"createOrganizationOptions.builder.js","names":["buildSchema","id","name","description","fields","nameReadable","namedTemplateItemBuilder","label","nameKebab"],"sources":["../../../src/schemas/v2020_07_22/createOrganizationOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createOrganizationOptions',\n\tname: 'create organization action',\n\tdescription:\n\t\t'Skills can only communicate with people and skills associated with the same organization. This ensures people can get differentiated experiences across multiple businesses.',\n\tfields: {\n\t\tnameReadable: {\n\t\t\t...namedTemplateItemBuilder.fields.nameReadable,\n\t\t\tlabel: 'Name',\n\t\t},\n\t\tnameKebab: {\n\t\t\t...namedTemplateItemBuilder.fields.nameKebab,\n\t\t\tlabel: 'Slug',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,2BADsB;EAE1BC,IAAI,EAAE,4BAFoB;EAG1BC,WAAW,EACV,8KAJyB;EAK1BC,MAAM,EAAE;IACPC,YAAY,kCACRC,6BAAA,CAAyBF,MAAzB,CAAgCC,YADxB;MAEXE,KAAK,EAAE;IAFI,EADL;IAKPC,SAAS,kCACLF,6BAAA,CAAyBF,MAAzB,CAAgCI,SAD3B;MAERD,KAAK,EAAE;IAFC;EALF;AALkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"createSchemaOptions.builder.js","names":["id","name","description","fields","syncSchemasOptionsBuilder","schemaBuilderDestinationDir","type","label","hint","defaultValue","builderFunction","isPrivate","moduleToImportFromWhenRemote","syncAfterCreate","version","nameReadable","namedTemplateItemBuilder","namePascal","nameCamel"],"sources":["../../../src/schemas/v2020_07_22/createSchemaOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\nimport syncSchemasOptionsBuilder from './syncSchemasOptions.builder'\n\nexport default buildSchema({\n\tid: 'createSchemaOptions',\n\tname: 'Create schema',\n\tdescription: 'Create the builder to a fresh new schema!',\n\tfields: {\n\t\t...syncSchemasOptionsBuilder.fields,\n\t\tschemaBuilderDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema builder destination directory',\n\t\t\thint: \"Where I'll save the new schema builder.\",\n\t\t\tdefaultValue: 'src/schemas',\n\t\t},\n\t\tbuilderFunction: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Builder function',\n\t\t\thint: 'The function that builds this schema',\n\t\t\tdefaultValue: 'buildSchema',\n\t\t\tisPrivate: true,\n\t\t},\n\t\tmoduleToImportFromWhenRemote: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Source module',\n\t\t\thint: 'If this schema should be imported from a node module vs generated locally.',\n\t\t},\n\t\tsyncAfterCreate: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Sync after creation',\n\t\t\thint: 'This will ensure types and schemas are in sync after you create your builder.',\n\t\t\tisPrivate: true,\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tversion: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Version',\n\t\t\thint: 'Set a version yourself instead of letting me generate one for you',\n\t\t\tisPrivate: true,\n\t\t},\n\t\tnameReadable: namedTemplateItemBuilder.fields.nameReadable,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tdescription: namedTemplateItemBuilder.fields.description,\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,qBADsB;EAE1BC,IAAI,EAAE,eAFoB;EAG1BC,WAAW,EAAE,2CAHa;EAI1BC,MAAM,kCACFC,+BAA0BD,MADxB;IAELE,2BAA2B,EAAE;MAC5BC,IAAI,EAAE,MADsB;MAE5BC,KAAK,EAAE,sCAFqB;MAG5BC,IAAI,EAAE,yCAHsB;MAI5BC,YAAY,EAAE;IAJc,CAFxB;IAQLC,eAAe,EAAE;MAChBJ,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,kBAFS;MAGhBC,IAAI,EAAE,sCAHU;MAIhBC,YAAY,EAAE,aAJE;MAKhBE,SAAS,EAAE;IALK,CARZ;IAeLC,4BAA4B,EAAE;MAC7BN,IAAI,EAAE,MADuB;MAE7BC,KAAK,EAAE,eAFsB;MAG7BC,IAAI,EAAE;IAHuB,CAfzB;IAoBLK,eAAe,EAAE;MAChBP,IAAI,EAAE,SADU;MAEhBC,KAAK,EAAE,qBAFS;MAGhBC,IAAI,EAAE,+EAHU;MAIhBG,SAAS,EAAE,IAJK;MAKhBF,YAAY,EAAE;IALE,CApBZ;IA2BLK,OAAO,EAAE;MACRR,IAAI,EAAE,MADE;MAERC,KAAK,EAAE,SAFC;MAGRC,IAAI,EAAE,mEAHE;MAIRG,SAAS,EAAE;IAJH,CA3BJ;IAiCLI,YAAY,EAAEC,8BAAyBb,MAAzB,CAAgCY,YAjCzC;IAkCLE,UAAU,EAAED,8BAAyBb,MAAzB,CAAgCc,UAlCvC;IAmCLC,SAAS,EAAEF,8BAAyBb,MAAzB,CAAgCe,SAnCtC;IAoCLhB,WAAW,EAAEc,8BAAyBb,MAAzB,CAAgCD;EApCxC;AAJoB,CAAZ,C"}
1
+ {"version":3,"file":"createSchemaOptions.builder.js","names":["buildSchema","id","name","description","fields","syncSchemasOptionsBuilder","schemaBuilderDestinationDir","type","label","hint","defaultValue","builderFunction","isPrivate","moduleToImportFromWhenRemote","syncAfterCreate","version","nameReadable","namedTemplateItemBuilder","namePascal","nameCamel"],"sources":["../../../src/schemas/v2020_07_22/createSchemaOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\nimport syncSchemasOptionsBuilder from './syncSchemasOptions.builder'\n\nexport default buildSchema({\n\tid: 'createSchemaOptions',\n\tname: 'Create schema',\n\tdescription: 'Create the builder to a fresh new schema!',\n\tfields: {\n\t\t...syncSchemasOptionsBuilder.fields,\n\t\tschemaBuilderDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema builder destination directory',\n\t\t\thint: \"Where I'll save the new schema builder.\",\n\t\t\tdefaultValue: 'src/schemas',\n\t\t},\n\t\tbuilderFunction: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Builder function',\n\t\t\thint: 'The function that builds this schema',\n\t\t\tdefaultValue: 'buildSchema',\n\t\t\tisPrivate: true,\n\t\t},\n\t\tmoduleToImportFromWhenRemote: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Source module',\n\t\t\thint: 'If this schema should be imported from a node module vs generated locally.',\n\t\t},\n\t\tsyncAfterCreate: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Sync after creation',\n\t\t\thint: 'This will ensure types and schemas are in sync after you create your builder.',\n\t\t\tisPrivate: true,\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tversion: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Version',\n\t\t\thint: 'Set a version yourself instead of letting me generate one for you',\n\t\t\tisPrivate: true,\n\t\t},\n\t\tnameReadable: namedTemplateItemBuilder.fields.nameReadable,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tdescription: namedTemplateItemBuilder.fields.description,\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,qBADsB;EAE1BC,IAAI,EAAE,eAFoB;EAG1BC,WAAW,EAAE,2CAHa;EAI1BC,MAAM,kCACFC,8BAAA,CAA0BD,MADxB;IAELE,2BAA2B,EAAE;MAC5BC,IAAI,EAAE,MADsB;MAE5BC,KAAK,EAAE,sCAFqB;MAG5BC,IAAI,EAAE,yCAHsB;MAI5BC,YAAY,EAAE;IAJc,CAFxB;IAQLC,eAAe,EAAE;MAChBJ,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,kBAFS;MAGhBC,IAAI,EAAE,sCAHU;MAIhBC,YAAY,EAAE,aAJE;MAKhBE,SAAS,EAAE;IALK,CARZ;IAeLC,4BAA4B,EAAE;MAC7BN,IAAI,EAAE,MADuB;MAE7BC,KAAK,EAAE,eAFsB;MAG7BC,IAAI,EAAE;IAHuB,CAfzB;IAoBLK,eAAe,EAAE;MAChBP,IAAI,EAAE,SADU;MAEhBC,KAAK,EAAE,qBAFS;MAGhBC,IAAI,EAAE,+EAHU;MAIhBG,SAAS,EAAE,IAJK;MAKhBF,YAAY,EAAE;IALE,CApBZ;IA2BLK,OAAO,EAAE;MACRR,IAAI,EAAE,MADE;MAERC,KAAK,EAAE,SAFC;MAGRC,IAAI,EAAE,mEAHE;MAIRG,SAAS,EAAE;IAJH,CA3BJ;IAiCLI,YAAY,EAAEC,6BAAA,CAAyBb,MAAzB,CAAgCY,YAjCzC;IAkCLE,UAAU,EAAED,6BAAA,CAAyBb,MAAzB,CAAgCc,UAlCvC;IAmCLC,SAAS,EAAEF,6BAAA,CAAyBb,MAAzB,CAAgCe,SAnCtC;IAoCLhB,WAAW,EAAEc,6BAAA,CAAyBb,MAAzB,CAAgCD;EApCxC;AAJoB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"createTestOptions.builder.js","names":["id","name","description","fields","type","label","isRequired","options","choices","value","nameReadable","hint","testDestinationDir","defaultValue","nameCamel","namedTemplateItemBuilder","namePascal"],"sources":["../../../src/schemas/v2020_07_22/createTestOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createTestOptions',\n\tname: 'Create test action',\n\tdescription: 'Your first failing test just a command away! ⚔️',\n\tfields: {\n\t\ttype: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Type of test',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{ value: 'behavioral', label: 'Behavioral' },\n\t\t\t\t\t{ value: 'implementation', label: 'Implementation' },\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tnameReadable: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'What are you testing?',\n\t\t\tisRequired: true,\n\t\t\thint: 'E.g. Booking an appointment or turning on a light',\n\t\t},\n\t\ttestDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Test destination directory',\n\t\t\thint: \"Where I'll save your new test.\",\n\t\t\tdefaultValue: 'src/__tests__',\n\t\t},\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AACA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,oBAFoB;EAG1BC,WAAW,EAAE,iDAHa;EAI1BC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLA,IAAI,EAAE,QADD;MAELC,KAAK,EAAE,cAFF;MAGLC,UAAU,EAAE,IAHP;MAILC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UAAEC,KAAK,EAAE,YAAT;UAAuBJ,KAAK,EAAE;QAA9B,CADQ,EAER;UAAEI,KAAK,EAAE,gBAAT;UAA2BJ,KAAK,EAAE;QAAlC,CAFQ;MADD;IAJJ,CADC;IAYPK,YAAY,EAAE;MACbN,IAAI,EAAE,MADO;MAEbC,KAAK,EAAE,uBAFM;MAGbC,UAAU,EAAE,IAHC;MAIbK,IAAI,EAAE;IAJO,CAZP;IAkBPC,kBAAkB,EAAE;MACnBR,IAAI,EAAE,MADa;MAEnBC,KAAK,EAAE,4BAFY;MAGnBM,IAAI,EAAE,gCAHa;MAInBE,YAAY,EAAE;IAJK,CAlBb;IAwBPC,SAAS,EAAEC,8BAAyBZ,MAAzB,CAAgCW,SAxBpC;IAyBPE,UAAU,EAAED,8BAAyBZ,MAAzB,CAAgCa;EAzBrC;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"createTestOptions.builder.js","names":["buildSchema","id","name","description","fields","type","label","isRequired","options","choices","value","nameReadable","hint","testDestinationDir","defaultValue","nameCamel","namedTemplateItemBuilder","namePascal"],"sources":["../../../src/schemas/v2020_07_22/createTestOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport namedTemplateItemBuilder from './namedTemplateItem.builder'\n\nexport default buildSchema({\n\tid: 'createTestOptions',\n\tname: 'Create test action',\n\tdescription: 'Your first failing test just a command away! ⚔️',\n\tfields: {\n\t\ttype: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Type of test',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{ value: 'behavioral', label: 'Behavioral' },\n\t\t\t\t\t{ value: 'implementation', label: 'Implementation' },\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tnameReadable: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'What are you testing?',\n\t\t\tisRequired: true,\n\t\t\thint: 'E.g. Booking an appointment or turning on a light',\n\t\t},\n\t\ttestDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Test destination directory',\n\t\t\thint: \"Where I'll save your new test.\",\n\t\t\tdefaultValue: 'src/__tests__',\n\t\t},\n\t\tnameCamel: namedTemplateItemBuilder.fields.nameCamel,\n\t\tnamePascal: namedTemplateItemBuilder.fields.namePascal,\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AACA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,oBAFoB;EAG1BC,WAAW,EAAE,iDAHa;EAI1BC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLA,IAAI,EAAE,QADD;MAELC,KAAK,EAAE,cAFF;MAGLC,UAAU,EAAE,IAHP;MAILC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UAAEC,KAAK,EAAE,YAAT;UAAuBJ,KAAK,EAAE;QAA9B,CADQ,EAER;UAAEI,KAAK,EAAE,gBAAT;UAA2BJ,KAAK,EAAE;QAAlC,CAFQ;MADD;IAJJ,CADC;IAYPK,YAAY,EAAE;MACbN,IAAI,EAAE,MADO;MAEbC,KAAK,EAAE,uBAFM;MAGbC,UAAU,EAAE,IAHC;MAIbK,IAAI,EAAE;IAJO,CAZP;IAkBPC,kBAAkB,EAAE;MACnBR,IAAI,EAAE,MADa;MAEnBC,KAAK,EAAE,4BAFY;MAGnBM,IAAI,EAAE,gCAHa;MAInBE,YAAY,EAAE;IAJK,CAlBb;IAwBPC,SAAS,EAAEC,6BAAA,CAAyBZ,MAAzB,CAAgCW,SAxBpC;IAyBPE,UAAU,EAAED,6BAAA,CAAyBZ,MAAzB,CAAgCa;EAzBrC;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"installSkillAtOrganizationOptions.builder.js","names":["id","name","description","fields","organizationId","type","label"],"sources":["../../../src/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'installSkillAtOrganizationOptions',\n\tname: 'install skill at organization action',\n\tdescription: 'Install your skill at any organization you are connected to.',\n\tfields: {\n\t\torganizationId: {\n\t\t\ttype: 'id',\n\t\t\tlabel: 'Organization id',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,mCADsB;EAE1BC,IAAI,EAAE,sCAFoB;EAG1BC,WAAW,EAAE,8DAHa;EAI1BC,MAAM,EAAE;IACPC,cAAc,EAAE;MACfC,IAAI,EAAE,IADS;MAEfC,KAAK,EAAE;IAFQ;EADT;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"installSkillAtOrganizationOptions.builder.js","names":["buildSchema","id","name","description","fields","organizationId","type","label"],"sources":["../../../src/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'installSkillAtOrganizationOptions',\n\tname: 'install skill at organization action',\n\tdescription: 'Install your skill at any organization you are connected to.',\n\tfields: {\n\t\torganizationId: {\n\t\t\ttype: 'id',\n\t\t\tlabel: 'Organization id',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,mCADsB;EAE1BC,IAAI,EAAE,sCAFoB;EAG1BC,WAAW,EAAE,8DAHa;EAI1BC,MAAM,EAAE;IACPC,cAAc,EAAE;MACfC,IAAI,EAAE,IADS;MAEfC,KAAK,EAAE;IAFQ;EADT;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"listenEventOptions.builder.js","names":["id","name","description","fields","syncEventOptionsBuilder","namespace","type","label","eventName","listenerDestinationDir","hint","defaultValue","version","isPrivate"],"sources":["../../../src/schemas/v2020_07_22/listenEventOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport syncEventOptionsBuilder from './syncEventOptions.builder'\n\nexport default buildSchema({\n\tid: 'listenEventOptions',\n\tname: 'Listen to event action',\n\tdescription: 'Options for event.listen.',\n\tfields: {\n\t\t...syncEventOptionsBuilder.fields,\n\t\tnamespace: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Namespace',\n\t\t},\n\t\teventName: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Event name',\n\t\t},\n\t\tlistenerDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Events destination directory',\n\t\t\thint: 'Where should I add your listeners?',\n\t\t\tdefaultValue: 'src/listeners',\n\t\t},\n\t\tversion: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Version',\n\t\t\thint: 'Set a version yourself instead of letting me generate one for you',\n\t\t\tisPrivate: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,wBAFoB;EAG1BC,WAAW,EAAE,2BAHa;EAI1BC,MAAM,kCACFC,6BAAwBD,MADtB;IAELE,SAAS,EAAE;MACVC,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE;IAFG,CAFN;IAMLC,SAAS,EAAE;MACVF,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE;IAFG,CANN;IAULE,sBAAsB,EAAE;MACvBH,IAAI,EAAE,MADiB;MAEvBC,KAAK,EAAE,8BAFgB;MAGvBG,IAAI,EAAE,oCAHiB;MAIvBC,YAAY,EAAE;IAJS,CAVnB;IAgBLC,OAAO,EAAE;MACRN,IAAI,EAAE,MADE;MAERC,KAAK,EAAE,SAFC;MAGRG,IAAI,EAAE,mEAHE;MAIRG,SAAS,EAAE;IAJH;EAhBJ;AAJoB,CAAZ,C"}
1
+ {"version":3,"file":"listenEventOptions.builder.js","names":["buildSchema","id","name","description","fields","syncEventOptionsBuilder","namespace","type","label","eventName","listenerDestinationDir","hint","defaultValue","version","isPrivate"],"sources":["../../../src/schemas/v2020_07_22/listenEventOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport syncEventOptionsBuilder from './syncEventOptions.builder'\n\nexport default buildSchema({\n\tid: 'listenEventOptions',\n\tname: 'Listen to event action',\n\tdescription: 'Options for event.listen.',\n\tfields: {\n\t\t...syncEventOptionsBuilder.fields,\n\t\tnamespace: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Namespace',\n\t\t},\n\t\teventName: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Event name',\n\t\t},\n\t\tlistenerDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Events destination directory',\n\t\t\thint: 'Where should I add your listeners?',\n\t\t\tdefaultValue: 'src/listeners',\n\t\t},\n\t\tversion: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Version',\n\t\t\thint: 'Set a version yourself instead of letting me generate one for you',\n\t\t\tisPrivate: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,wBAFoB;EAG1BC,WAAW,EAAE,2BAHa;EAI1BC,MAAM,kCACFC,4BAAA,CAAwBD,MADtB;IAELE,SAAS,EAAE;MACVC,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE;IAFG,CAFN;IAMLC,SAAS,EAAE;MACVF,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE;IAFG,CANN;IAULE,sBAAsB,EAAE;MACvBH,IAAI,EAAE,MADiB;MAEvBC,KAAK,EAAE,8BAFgB;MAGvBG,IAAI,EAAE,oCAHiB;MAIvBC,YAAY,EAAE;IAJS,CAVnB;IAgBLC,OAAO,EAAE;MACRN,IAAI,EAAE,MADE;MAERC,KAAK,EAAE,SAFC;MAGRG,IAAI,EAAE,mEAHE;MAIRG,SAAS,EAAE;IAJH;EAhBJ;AAJoB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"namedTemplateItem.builder.js","names":["id","name","description","fields","nameReadable","type","label","hint","isRequired","nameReadablePlural","nameCamel","nameCamelPlural","namePascal","namePascalPlural","nameConst","nameKebab","nameSnake","nameSnakePlural"],"sources":["../../../src/schemas/v2020_07_22/namedTemplateItem.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'namedTemplateItem',\n\tname: 'NamedTemplateItem',\n\tdescription: 'Used to collect input on the names of a class or interface',\n\tfields: {\n\t\tnameReadable: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Readable name',\n\t\t\thint: 'The name people will read',\n\t\t\tisRequired: true,\n\t\t},\n\t\tnameReadablePlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Readable name (plural)',\n\t\t\thint: 'The plural form of the name people will read',\n\t\t\tisRequired: true,\n\t\t},\n\t\tnameCamel: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Camel case name',\n\t\t\tisRequired: true,\n\t\t\thint: 'camelCase version of the name',\n\t\t},\n\t\tnameCamelPlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Plural camel case name',\n\t\t\thint: 'camelCase version of the name',\n\t\t},\n\t\tnamePascal: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Pascal case name',\n\t\t\thint: 'PascalCase of the name',\n\t\t},\n\t\tnamePascalPlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Plural Pascal case name',\n\t\t\thint: 'PascalCase of the name',\n\t\t},\n\t\tnameConst: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Constant case name',\n\t\t\thint: 'CONST_CASE of the name',\n\t\t},\n\t\tnameKebab: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Kebab case name',\n\t\t\thint: 'kebab-case of the name',\n\t\t},\n\t\tnameSnake: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Snake case name',\n\t\t\thint: 'snake_case of the name',\n\t\t},\n\t\tnameSnakePlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Snake case name (plural)',\n\t\t\thint: 'snakes_case of the name',\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Description',\n\t\t\thint: 'Describe a bit more here',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EAAE,4DAHa;EAI1BC,MAAM,EAAE;IACPC,YAAY,EAAE;MACbC,IAAI,EAAE,MADO;MAEbC,KAAK,EAAE,eAFM;MAGbC,IAAI,EAAE,2BAHO;MAIbC,UAAU,EAAE;IAJC,CADP;IAOPC,kBAAkB,EAAE;MACnBJ,IAAI,EAAE,MADa;MAEnBC,KAAK,EAAE,wBAFY;MAGnBC,IAAI,EAAE,8CAHa;MAInBC,UAAU,EAAE;IAJO,CAPb;IAaPE,SAAS,EAAE;MACVL,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,iBAFG;MAGVE,UAAU,EAAE,IAHF;MAIVD,IAAI,EAAE;IAJI,CAbJ;IAmBPI,eAAe,EAAE;MAChBN,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,wBAFS;MAGhBC,IAAI,EAAE;IAHU,CAnBV;IAwBPK,UAAU,EAAE;MACXP,IAAI,EAAE,MADK;MAEXC,KAAK,EAAE,kBAFI;MAGXC,IAAI,EAAE;IAHK,CAxBL;IA6BPM,gBAAgB,EAAE;MACjBR,IAAI,EAAE,MADW;MAEjBC,KAAK,EAAE,yBAFU;MAGjBC,IAAI,EAAE;IAHW,CA7BX;IAkCPO,SAAS,EAAE;MACVT,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,oBAFG;MAGVC,IAAI,EAAE;IAHI,CAlCJ;IAuCPQ,SAAS,EAAE;MACVV,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,iBAFG;MAGVC,IAAI,EAAE;IAHI,CAvCJ;IA4CPS,SAAS,EAAE;MACVX,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,iBAFG;MAGVC,IAAI,EAAE;IAHI,CA5CJ;IAiDPU,eAAe,EAAE;MAChBZ,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,0BAFS;MAGhBC,IAAI,EAAE;IAHU,CAjDV;IAsDPL,WAAW,EAAE;MACZG,IAAI,EAAE,MADM;MAEZC,KAAK,EAAE,aAFK;MAGZC,IAAI,EAAE;IAHM;EAtDN;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"namedTemplateItem.builder.js","names":["buildSchema","id","name","description","fields","nameReadable","type","label","hint","isRequired","nameReadablePlural","nameCamel","nameCamelPlural","namePascal","namePascalPlural","nameConst","nameKebab","nameSnake","nameSnakePlural"],"sources":["../../../src/schemas/v2020_07_22/namedTemplateItem.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'namedTemplateItem',\n\tname: 'NamedTemplateItem',\n\tdescription: 'Used to collect input on the names of a class or interface',\n\tfields: {\n\t\tnameReadable: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Readable name',\n\t\t\thint: 'The name people will read',\n\t\t\tisRequired: true,\n\t\t},\n\t\tnameReadablePlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Readable name (plural)',\n\t\t\thint: 'The plural form of the name people will read',\n\t\t\tisRequired: true,\n\t\t},\n\t\tnameCamel: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Camel case name',\n\t\t\tisRequired: true,\n\t\t\thint: 'camelCase version of the name',\n\t\t},\n\t\tnameCamelPlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Plural camel case name',\n\t\t\thint: 'camelCase version of the name',\n\t\t},\n\t\tnamePascal: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Pascal case name',\n\t\t\thint: 'PascalCase of the name',\n\t\t},\n\t\tnamePascalPlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Plural Pascal case name',\n\t\t\thint: 'PascalCase of the name',\n\t\t},\n\t\tnameConst: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Constant case name',\n\t\t\thint: 'CONST_CASE of the name',\n\t\t},\n\t\tnameKebab: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Kebab case name',\n\t\t\thint: 'kebab-case of the name',\n\t\t},\n\t\tnameSnake: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Snake case name',\n\t\t\thint: 'snake_case of the name',\n\t\t},\n\t\tnameSnakePlural: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Snake case name (plural)',\n\t\t\thint: 'snakes_case of the name',\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Description',\n\t\t\thint: 'Describe a bit more here',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EAAE,4DAHa;EAI1BC,MAAM,EAAE;IACPC,YAAY,EAAE;MACbC,IAAI,EAAE,MADO;MAEbC,KAAK,EAAE,eAFM;MAGbC,IAAI,EAAE,2BAHO;MAIbC,UAAU,EAAE;IAJC,CADP;IAOPC,kBAAkB,EAAE;MACnBJ,IAAI,EAAE,MADa;MAEnBC,KAAK,EAAE,wBAFY;MAGnBC,IAAI,EAAE,8CAHa;MAInBC,UAAU,EAAE;IAJO,CAPb;IAaPE,SAAS,EAAE;MACVL,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,iBAFG;MAGVE,UAAU,EAAE,IAHF;MAIVD,IAAI,EAAE;IAJI,CAbJ;IAmBPI,eAAe,EAAE;MAChBN,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,wBAFS;MAGhBC,IAAI,EAAE;IAHU,CAnBV;IAwBPK,UAAU,EAAE;MACXP,IAAI,EAAE,MADK;MAEXC,KAAK,EAAE,kBAFI;MAGXC,IAAI,EAAE;IAHK,CAxBL;IA6BPM,gBAAgB,EAAE;MACjBR,IAAI,EAAE,MADW;MAEjBC,KAAK,EAAE,yBAFU;MAGjBC,IAAI,EAAE;IAHW,CA7BX;IAkCPO,SAAS,EAAE;MACVT,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,oBAFG;MAGVC,IAAI,EAAE;IAHI,CAlCJ;IAuCPQ,SAAS,EAAE;MACVV,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,iBAFG;MAGVC,IAAI,EAAE;IAHI,CAvCJ;IA4CPS,SAAS,EAAE;MACVX,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,iBAFG;MAGVC,IAAI,EAAE;IAHI,CA5CJ;IAiDPU,eAAe,EAAE;MAChBZ,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,0BAFS;MAGhBC,IAAI,EAAE;IAHU,CAjDV;IAsDPL,WAAW,EAAE;MACZG,IAAI,EAAE,MADM;MAEZC,KAAK,EAAE,aAFK;MAGZC,IAAI,EAAE;IAHM;EAtDN;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"nodeFeatureOptions.builder.js","names":["id","name","description","fields","destination","type","defaultValue","isRequired","label"],"sources":["../../../src/schemas/v2020_07_22/nodeFeatureOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'nodeFeatureOptions',\n\tname: 'Create node module',\n\tdescription:\n\t\t'Create a new node module, to be written in typescript, ready to rock!',\n\tfields: {\n\t\tdestination: {\n\t\t\ttype: 'text',\n\t\t\tdefaultValue: '.',\n\t\t},\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: \"What's the name of your module?\",\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: 'How would you describe your module?',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,oBAFoB;EAG1BC,WAAW,EACV,uEAJyB;EAK1BC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MADM;MAEZC,YAAY,EAAE;IAFF,CADN;IAKPL,IAAI,EAAE;MACLI,IAAI,EAAE,MADD;MAELE,UAAU,EAAE,IAFP;MAGLC,KAAK,EAAE;IAHF,CALC;IAUPN,WAAW,EAAE;MACZG,IAAI,EAAE,MADM;MAEZE,UAAU,EAAE,IAFA;MAGZC,KAAK,EAAE;IAHK;EAVN;AALkB,CAAZ,C"}
1
+ {"version":3,"file":"nodeFeatureOptions.builder.js","names":["buildSchema","id","name","description","fields","destination","type","defaultValue","isRequired","label"],"sources":["../../../src/schemas/v2020_07_22/nodeFeatureOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'nodeFeatureOptions',\n\tname: 'Create node module',\n\tdescription:\n\t\t'Create a new node module, to be written in typescript, ready to rock!',\n\tfields: {\n\t\tdestination: {\n\t\t\ttype: 'text',\n\t\t\tdefaultValue: '.',\n\t\t},\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: \"What's the name of your module?\",\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: 'How would you describe your module?',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,oBAFoB;EAG1BC,WAAW,EACV,uEAJyB;EAK1BC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MADM;MAEZC,YAAY,EAAE;IAFF,CADN;IAKPL,IAAI,EAAE;MACLI,IAAI,EAAE,MADD;MAELE,UAAU,EAAE,IAFP;MAGLC,KAAK,EAAE;IAHF,CALC;IAUPN,WAAW,EAAE;MACZG,IAAI,EAAE,MADM;MAEZE,UAAU,EAAE,IAFA;MAGZC,KAAK,EAAE;IAHK;EAVN;AALkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"onboardOptions.builder.js","names":["id","name","description","fields"],"sources":["../../../src/schemas/v2020_07_22/onboardOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'onboardOptions',\n\tname: 'Onboard action',\n\tdescription: 'The question is; Are you read? ⚡️',\n\tfields: {},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,gBADsB;EAE1BC,IAAI,EAAE,gBAFoB;EAG1BC,WAAW,EAAE,mCAHa;EAI1BC,MAAM,EAAE;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"onboardOptions.builder.js","names":["buildSchema","id","name","description","fields"],"sources":["../../../src/schemas/v2020_07_22/onboardOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'onboardOptions',\n\tname: 'Onboard action',\n\tdescription: 'The question is; Are you read? ⚡️',\n\tfields: {},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,gBADsB;EAE1BC,IAAI,EAAE,gBAFoB;EAG1BC,WAAW,EAAE,mCAHa;EAI1BC,MAAM,EAAE;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding.builder.js","names":["id","name","description","fields","mode","type","label","isRequired","options","choices","value","stage"],"sources":["../../../src/schemas/v2020_07_22/onboarding.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'onboarding',\n\tname: 'Onboarding',\n\tdescription: 'Track onboarding progress and tutorials & quizzes completed.',\n\tfields: {\n\t\tmode: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'mode',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Short',\n\t\t\t\t\t\tvalue: 'short',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Immersive',\n\t\t\t\t\t\tvalue: 'immersive',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Off',\n\t\t\t\t\t\tvalue: 'off',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tstage: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Stage',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Create skill',\n\t\t\t\t\t\tvalue: 'create.skill',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Test',\n\t\t\t\t\t\tvalue: 'test',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,YADsB;EAE1BC,IAAI,EAAE,YAFoB;EAG1BC,WAAW,EAAE,8DAHa;EAI1BC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,QADD;MAELC,KAAK,EAAE,MAFF;MAGLC,UAAU,EAAE,IAHP;MAILC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCH,KAAK,EAAE,OADR;UAECI,KAAK,EAAE;QAFR,CADQ,EAKR;UACCJ,KAAK,EAAE,WADR;UAECI,KAAK,EAAE;QAFR,CALQ,EASR;UACCJ,KAAK,EAAE,KADR;UAECI,KAAK,EAAE;QAFR,CATQ;MADD;IAJJ,CADC;IAsBPC,KAAK,EAAE;MACNN,IAAI,EAAE,QADA;MAENC,KAAK,EAAE,OAFD;MAGNE,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCH,KAAK,EAAE,cADR;UAECI,KAAK,EAAE;QAFR,CADQ,EAKR;UACCJ,KAAK,EAAE,MADR;UAECI,KAAK,EAAE;QAFR,CALQ;MADD;IAHH;EAtBA;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"onboarding.builder.js","names":["buildSchema","id","name","description","fields","mode","type","label","isRequired","options","choices","value","stage"],"sources":["../../../src/schemas/v2020_07_22/onboarding.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'onboarding',\n\tname: 'Onboarding',\n\tdescription: 'Track onboarding progress and tutorials & quizzes completed.',\n\tfields: {\n\t\tmode: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'mode',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Short',\n\t\t\t\t\t\tvalue: 'short',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Immersive',\n\t\t\t\t\t\tvalue: 'immersive',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Off',\n\t\t\t\t\t\tvalue: 'off',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tstage: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Stage',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Create skill',\n\t\t\t\t\t\tvalue: 'create.skill',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Test',\n\t\t\t\t\t\tvalue: 'test',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,YADsB;EAE1BC,IAAI,EAAE,YAFoB;EAG1BC,WAAW,EAAE,8DAHa;EAI1BC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,QADD;MAELC,KAAK,EAAE,MAFF;MAGLC,UAAU,EAAE,IAHP;MAILC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCH,KAAK,EAAE,OADR;UAECI,KAAK,EAAE;QAFR,CADQ,EAKR;UACCJ,KAAK,EAAE,WADR;UAECI,KAAK,EAAE;QAFR,CALQ,EASR;UACCJ,KAAK,EAAE,KADR;UAECI,KAAK,EAAE;QAFR,CATQ;MADD;IAJJ,CADC;IAsBPC,KAAK,EAAE;MACNN,IAAI,EAAE,QADA;MAENC,KAAK,EAAE,OAFD;MAGNE,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCH,KAAK,EAAE,cADR;UAECI,KAAK,EAAE;QAFR,CADQ,EAKR;UACCJ,KAAK,EAAE,MADR;UAECI,KAAK,EAAE;QAFR,CALQ;MADD;IAHH;EAtBA;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"personWithToken.builder.js","names":["id","description","fields","personSchema","casualName","token","type","isRequired","isLoggedIn","label"],"sources":["../../../src/schemas/v2020_07_22/personWithToken.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n// eslint-disable-next-line spruce/prohibit-import-of-schema-in-builders\nimport personSchema from '#spruce/schemas/spruce/v2020_07_22/person.schema'\n\nexport default buildSchema({\n\tid: 'personWithToken',\n\tdescription: 'A stripped down cli user with token details for login',\n\tfields: {\n\t\tid: personSchema.fields.id,\n\t\tcasualName: personSchema.fields.casualName,\n\t\ttoken: { type: 'text', isRequired: true },\n\t\tisLoggedIn: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Logged in',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AAEA;;AADA;eAGe,yBAAY;EAC1BA,EAAE,EAAE,iBADsB;EAE1BC,WAAW,EAAE,uDAFa;EAG1BC,MAAM,EAAE;IACPF,EAAE,EAAEG,mBAAaD,MAAb,CAAoBF,EADjB;IAEPI,UAAU,EAAED,mBAAaD,MAAb,CAAoBE,UAFzB;IAGPC,KAAK,EAAE;MAAEC,IAAI,EAAE,MAAR;MAAgBC,UAAU,EAAE;IAA5B,CAHA;IAIPC,UAAU,EAAE;MACXF,IAAI,EAAE,SADK;MAEXG,KAAK,EAAE;IAFI;EAJL;AAHkB,CAAZ,C"}
1
+ {"version":3,"file":"personWithToken.builder.js","names":["buildSchema","id","description","fields","personSchema","casualName","token","type","isRequired","isLoggedIn","label"],"sources":["../../../src/schemas/v2020_07_22/personWithToken.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n// eslint-disable-next-line spruce/prohibit-import-of-schema-in-builders\nimport personSchema from '#spruce/schemas/spruce/v2020_07_22/person.schema'\n\nexport default buildSchema({\n\tid: 'personWithToken',\n\tdescription: 'A stripped down cli user with token details for login',\n\tfields: {\n\t\tid: personSchema.fields.id,\n\t\tcasualName: personSchema.fields.casualName,\n\t\ttoken: { type: 'text', isRequired: true },\n\t\tisLoggedIn: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Logged in',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AAEA;;AADA;eAGe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,iBADsB;EAE1BC,WAAW,EAAE,uDAFa;EAG1BC,MAAM,EAAE;IACPF,EAAE,EAAEG,kBAAA,CAAaD,MAAb,CAAoBF,EADjB;IAEPI,UAAU,EAAED,kBAAA,CAAaD,MAAb,CAAoBE,UAFzB;IAGPC,KAAK,EAAE;MAAEC,IAAI,EAAE,MAAR;MAAgBC,UAAU,EAAE;IAA5B,CAHA;IAIPC,UAAU,EAAE;MACXF,IAAI,EAAE,SADK;MAEXG,KAAK,EAAE;IAFI;EAJL;AAHkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"registerDashboardWidgetsEmitPayloadSchema.builder.js","names":["id","name","description","importsWhenLocal","fields","widgets","type","options","valueType"],"sources":["../../../src/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'registerDashboardWidgetsEmitPayloadSchema',\n\tname: 'register dashboard widgets emit payload schema',\n\tdescription: '',\n\timportsWhenLocal: [\n\t\t\"import { BaseWidget } from '#spruce/../widgets/types/widgets.types'\",\n\t],\n\tfields: {\n\t\twidgets: {\n\t\t\ttype: 'raw',\n\t\t\toptions: {\n\t\t\t\tvalueType: 'BaseWidget',\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,2CADsB;EAE1BC,IAAI,EAAE,gDAFoB;EAG1BC,WAAW,EAAE,EAHa;EAI1BC,gBAAgB,EAAE,CACjB,qEADiB,CAJQ;EAO1BC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,KADE;MAERC,OAAO,EAAE;QACRC,SAAS,EAAE;MADH;IAFD;EADF;AAPkB,CAAZ,C"}
1
+ {"version":3,"file":"registerDashboardWidgetsEmitPayloadSchema.builder.js","names":["buildSchema","id","name","description","importsWhenLocal","fields","widgets","type","options","valueType"],"sources":["../../../src/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'registerDashboardWidgetsEmitPayloadSchema',\n\tname: 'register dashboard widgets emit payload schema',\n\tdescription: '',\n\timportsWhenLocal: [\n\t\t\"import { BaseWidget } from '#spruce/../widgets/types/widgets.types'\",\n\t],\n\tfields: {\n\t\twidgets: {\n\t\t\ttype: 'raw',\n\t\t\toptions: {\n\t\t\t\tvalueType: 'BaseWidget',\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,2CADsB;EAE1BC,IAAI,EAAE,gDAFoB;EAG1BC,WAAW,EAAE,EAHa;EAI1BC,gBAAgB,EAAE,CACjB,qEADiB,CAJQ;EAO1BC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,KADE;MAERC,OAAO,EAAE;QACRC,SAAS,EAAE;MADH;IAFD;EADF;AAPkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupTestsOptions.builder.js","names":["id","name","description","fields","demoNumber","type","label","isRequired","skillSlug"],"sources":["../../../src/schemas/v2020_07_22/setupTestsOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'setupTestsOptions',\n\tname: 'Setup tests options',\n\tdescription:\n\t\t'Use this with in your CI/CD environment to get your skill ready to run tests.',\n\tfields: {\n\t\tdemoNumber: {\n\t\t\ttype: 'phone',\n\t\t\tlabel: 'Demo phone number',\n\t\t\tisRequired: true,\n\t\t},\n\t\tskillSlug: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Namespace',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EACV,+EAJyB;EAK1BC,MAAM,EAAE;IACPC,UAAU,EAAE;MACXC,IAAI,EAAE,OADK;MAEXC,KAAK,EAAE,mBAFI;MAGXC,UAAU,EAAE;IAHD,CADL;IAMPC,SAAS,EAAE;MACVH,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,WAFG;MAGVC,UAAU,EAAE;IAHF;EANJ;AALkB,CAAZ,C"}
1
+ {"version":3,"file":"setupTestsOptions.builder.js","names":["buildSchema","id","name","description","fields","demoNumber","type","label","isRequired","skillSlug"],"sources":["../../../src/schemas/v2020_07_22/setupTestsOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'setupTestsOptions',\n\tname: 'Setup tests options',\n\tdescription:\n\t\t'Use this with in your CI/CD environment to get your skill ready to run tests.',\n\tfields: {\n\t\tdemoNumber: {\n\t\t\ttype: 'phone',\n\t\t\tlabel: 'Demo phone number',\n\t\t\tisRequired: true,\n\t\t},\n\t\tskillSlug: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Namespace',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,mBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EACV,+EAJyB;EAK1BC,MAAM,EAAE;IACPC,UAAU,EAAE;MACXC,IAAI,EAAE,OADK;MAEXC,KAAK,EAAE,mBAFI;MAGXC,UAAU,EAAE;IAHD,CADL;IAMPC,SAAS,EAAE;MACVH,IAAI,EAAE,MADI;MAEVC,KAAK,EAAE,WAFG;MAGVC,UAAU,EAAE;IAHF;EANJ;AALkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupVscodeOptions.builder.js","names":["id","name","description","fields","all","type","label"],"sources":["../../../src/schemas/v2020_07_22/setupVscodeOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'setupVscodeOptions',\n\tname: 'Setup vscode action',\n\tdescription:\n\t\t'Install vscode extensions, launch configs, and settings the Spruce team uses in-house!',\n\tfields: {\n\t\tall: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Install everything',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EACV,wFAJyB;EAK1BC,MAAM,EAAE;IACPC,GAAG,EAAE;MACJC,IAAI,EAAE,SADF;MAEJC,KAAK,EAAE;IAFH;EADE;AALkB,CAAZ,C"}
1
+ {"version":3,"file":"setupVscodeOptions.builder.js","names":["buildSchema","id","name","description","fields","all","type","label"],"sources":["../../../src/schemas/v2020_07_22/setupVscodeOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'setupVscodeOptions',\n\tname: 'Setup vscode action',\n\tdescription:\n\t\t'Install vscode extensions, launch configs, and settings the Spruce team uses in-house!',\n\tfields: {\n\t\tall: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Install everything',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EACV,wFAJyB;EAK1BC,MAAM,EAAE;IACPC,GAAG,EAAE;MACJC,IAAI,EAAE,SADF;MAEJC,KAAK,EAAE;IAFH;EADE;AALkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"skillFeature.builder.js","names":["id","name","fields","destination","type","defaultValue","isRequired","label","description"],"sources":["../../../src/schemas/v2020_07_22/skillFeature.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'skillFeature',\n\tname: 'Skill feature options',\n\tfields: {\n\t\tdestination: {\n\t\t\ttype: 'text',\n\t\t\tdefaultValue: '.',\n\t\t},\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: \"What's the name of your skill?\",\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: 'How would you describe your skill?',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,cADsB;EAE1BC,IAAI,EAAE,uBAFoB;EAG1BC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MADM;MAEZC,YAAY,EAAE;IAFF,CADN;IAKPJ,IAAI,EAAE;MACLG,IAAI,EAAE,MADD;MAELE,UAAU,EAAE,IAFP;MAGLC,KAAK,EAAE;IAHF,CALC;IAUPC,WAAW,EAAE;MACZJ,IAAI,EAAE,MADM;MAEZE,UAAU,EAAE,IAFA;MAGZC,KAAK,EAAE;IAHK;EAVN;AAHkB,CAAZ,C"}
1
+ {"version":3,"file":"skillFeature.builder.js","names":["buildSchema","id","name","fields","destination","type","defaultValue","isRequired","label","description"],"sources":["../../../src/schemas/v2020_07_22/skillFeature.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'skillFeature',\n\tname: 'Skill feature options',\n\tfields: {\n\t\tdestination: {\n\t\t\ttype: 'text',\n\t\t\tdefaultValue: '.',\n\t\t},\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: \"What's the name of your skill?\",\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t\tlabel: 'How would you describe your skill?',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,cADsB;EAE1BC,IAAI,EAAE,uBAFoB;EAG1BC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MADM;MAEZC,YAAY,EAAE;IAFF,CADN;IAKPJ,IAAI,EAAE;MACLG,IAAI,EAAE,MADD;MAELE,UAAU,EAAE,IAFP;MAGLC,KAAK,EAAE;IAHF,CALC;IAUPC,WAAW,EAAE;MACZJ,IAAI,EAAE,MADM;MAEZE,UAAU,EAAE,IAFA;MAGZC,KAAK,EAAE;IAHK;EAVN;AAHkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncErrorOptions.builder.js","names":["id","name","description","fields","syncSchemasOptionsBuilder","errorClassDestinationDir","type","label","isRequired","isPrivate","hint","defaultValue","errorLookupDir","errorTypesDestinationDir"],"sources":["../../../src/schemas/v2020_07_22/syncErrorOptions.builder.ts"],"sourcesContent":["import { buildSchema, dropFields } from '@sprucelabs/schema'\nimport syncSchemasOptionsBuilder from './syncSchemasOptions.builder'\n\nexport default buildSchema({\n\tid: 'syncErrorOptions',\n\tname: 'Sync error action',\n\tdescription: 'Keep your errors types in sync with your builders',\n\tfields: {\n\t\t...dropFields(syncSchemasOptionsBuilder.fields, [\n\t\t\t'deleteDestinationDirIfNoSchemas',\n\t\t\t'deleteOrphanedSchemas',\n\t\t]),\n\t\terrorClassDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Error class destination',\n\t\t\tisRequired: true,\n\t\t\tisPrivate: true,\n\t\t\thint: \"Where I'll save your new Error class file?\",\n\t\t\tdefaultValue: 'src/errors',\n\t\t},\n\t\terrorLookupDir: {\n\t\t\ttype: 'text',\n\t\t\thint: 'Where I should look for your error builders?',\n\t\t\tdefaultValue: 'src/errors',\n\t\t},\n\t\terrorTypesDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Types destination dir',\n\t\t\thint: 'This is where error options and type information will be written',\n\t\t\tdefaultValue: '#spruce/errors',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,kBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EAAE,mDAHa;EAI1BC,MAAM,kCACF,wBAAWC,+BAA0BD,MAArC,EAA6C,CAC/C,iCAD+C,EAE/C,uBAF+C,CAA7C,CADE;IAKLE,wBAAwB,EAAE;MACzBC,IAAI,EAAE,MADmB;MAEzBC,KAAK,EAAE,yBAFkB;MAGzBC,UAAU,EAAE,IAHa;MAIzBC,SAAS,EAAE,IAJc;MAKzBC,IAAI,EAAE,4CALmB;MAMzBC,YAAY,EAAE;IANW,CALrB;IAaLC,cAAc,EAAE;MACfN,IAAI,EAAE,MADS;MAEfI,IAAI,EAAE,8CAFS;MAGfC,YAAY,EAAE;IAHC,CAbX;IAkBLE,wBAAwB,EAAE;MACzBP,IAAI,EAAE,MADmB;MAEzBC,KAAK,EAAE,uBAFkB;MAGzBG,IAAI,EAAE,kEAHmB;MAIzBC,YAAY,EAAE;IAJW;EAlBrB;AAJoB,CAAZ,C"}
1
+ {"version":3,"file":"syncErrorOptions.builder.js","names":["buildSchema","id","name","description","fields","dropFields","syncSchemasOptionsBuilder","errorClassDestinationDir","type","label","isRequired","isPrivate","hint","defaultValue","errorLookupDir","errorTypesDestinationDir"],"sources":["../../../src/schemas/v2020_07_22/syncErrorOptions.builder.ts"],"sourcesContent":["import { buildSchema, dropFields } from '@sprucelabs/schema'\nimport syncSchemasOptionsBuilder from './syncSchemasOptions.builder'\n\nexport default buildSchema({\n\tid: 'syncErrorOptions',\n\tname: 'Sync error action',\n\tdescription: 'Keep your errors types in sync with your builders',\n\tfields: {\n\t\t...dropFields(syncSchemasOptionsBuilder.fields, [\n\t\t\t'deleteDestinationDirIfNoSchemas',\n\t\t\t'deleteOrphanedSchemas',\n\t\t]),\n\t\terrorClassDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Error class destination',\n\t\t\tisRequired: true,\n\t\t\tisPrivate: true,\n\t\t\thint: \"Where I'll save your new Error class file?\",\n\t\t\tdefaultValue: 'src/errors',\n\t\t},\n\t\terrorLookupDir: {\n\t\t\ttype: 'text',\n\t\t\thint: 'Where I should look for your error builders?',\n\t\t\tdefaultValue: 'src/errors',\n\t\t},\n\t\terrorTypesDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Types destination dir',\n\t\t\thint: 'This is where error options and type information will be written',\n\t\t\tdefaultValue: '#spruce/errors',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,kBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EAAE,mDAHa;EAI1BC,MAAM,kCACF,IAAAC,kBAAA,EAAWC,8BAAA,CAA0BF,MAArC,EAA6C,CAC/C,iCAD+C,EAE/C,uBAF+C,CAA7C,CADE;IAKLG,wBAAwB,EAAE;MACzBC,IAAI,EAAE,MADmB;MAEzBC,KAAK,EAAE,yBAFkB;MAGzBC,UAAU,EAAE,IAHa;MAIzBC,SAAS,EAAE,IAJc;MAKzBC,IAAI,EAAE,4CALmB;MAMzBC,YAAY,EAAE;IANW,CALrB;IAaLC,cAAc,EAAE;MACfN,IAAI,EAAE,MADS;MAEfI,IAAI,EAAE,8CAFS;MAGfC,YAAY,EAAE;IAHC,CAbX;IAkBLE,wBAAwB,EAAE;MACzBP,IAAI,EAAE,MADmB;MAEzBC,KAAK,EAAE,uBAFkB;MAGzBG,IAAI,EAAE,kEAHmB;MAIzBC,YAAY,EAAE;IAJW;EAlBrB;AAJoB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncEventOptions.builder.js","names":["id","name","description","fields","contractDestinationDir","type","label","hint","defaultValue","schemaTypesLookupDir","syncSchemasOptionsBuilder","schemaTypesDestinationDirOrFile","shouldSyncOnlyCoreEvents","skillEventContractTypesFile","eventBuilderFile"],"sources":["../../../src/schemas/v2020_07_22/syncEventOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport syncSchemasOptionsBuilder from './syncSchemasOptions.builder'\n\nexport default buildSchema({\n\tid: 'syncEventOptions',\n\tname: 'sync event action',\n\tdescription:\n\t\t'Pull down event contracts from Mercury to make them available in your skill.',\n\tfields: {\n\t\tcontractDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Contract destination',\n\t\t\thint: 'Where I will generate event contracts.',\n\t\t\tdefaultValue: '#spruce/events',\n\t\t},\n\t\tschemaTypesLookupDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema types lookup directory',\n\t\t\thint: 'Where I will lookup schema types and interfaces.',\n\t\t\tdefaultValue:\n\t\t\t\tsyncSchemasOptionsBuilder.fields.schemaTypesDestinationDirOrFile\n\t\t\t\t\t.defaultValue,\n\t\t},\n\t\tshouldSyncOnlyCoreEvents: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Sync only core events',\n\t\t\thint: 'For use in @sprucelabs/mercury-types',\n\t\t},\n\t\tskillEventContractTypesFile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Event signature types file',\n\t\t\tdefaultValue: '@sprucelabs/mercury-types/build/types/mercury.types',\n\t\t},\n\t\teventBuilderFile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Event builder file',\n\t\t\tdefaultValue: '@sprucelabs/mercury-types',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AACA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,kBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EACV,8EAJyB;EAK1BC,MAAM,EAAE;IACPC,sBAAsB,EAAE;MACvBC,IAAI,EAAE,MADiB;MAEvBC,KAAK,EAAE,sBAFgB;MAGvBC,IAAI,EAAE,wCAHiB;MAIvBC,YAAY,EAAE;IAJS,CADjB;IAOPC,oBAAoB,EAAE;MACrBJ,IAAI,EAAE,MADe;MAErBC,KAAK,EAAE,+BAFc;MAGrBC,IAAI,EAAE,kDAHe;MAIrBC,YAAY,EACXE,+BAA0BP,MAA1B,CAAiCQ,+BAAjC,CACEH;IANkB,CAPf;IAePI,wBAAwB,EAAE;MACzBP,IAAI,EAAE,SADmB;MAEzBC,KAAK,EAAE,uBAFkB;MAGzBC,IAAI,EAAE;IAHmB,CAfnB;IAoBPM,2BAA2B,EAAE;MAC5BR,IAAI,EAAE,MADsB;MAE5BC,KAAK,EAAE,4BAFqB;MAG5BE,YAAY,EAAE;IAHc,CApBtB;IAyBPM,gBAAgB,EAAE;MACjBT,IAAI,EAAE,MADW;MAEjBC,KAAK,EAAE,oBAFU;MAGjBE,YAAY,EAAE;IAHG;EAzBX;AALkB,CAAZ,C"}
1
+ {"version":3,"file":"syncEventOptions.builder.js","names":["buildSchema","id","name","description","fields","contractDestinationDir","type","label","hint","defaultValue","schemaTypesLookupDir","syncSchemasOptionsBuilder","schemaTypesDestinationDirOrFile","shouldSyncOnlyCoreEvents","skillEventContractTypesFile","eventBuilderFile"],"sources":["../../../src/schemas/v2020_07_22/syncEventOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport syncSchemasOptionsBuilder from './syncSchemasOptions.builder'\n\nexport default buildSchema({\n\tid: 'syncEventOptions',\n\tname: 'sync event action',\n\tdescription:\n\t\t'Pull down event contracts from Mercury to make them available in your skill.',\n\tfields: {\n\t\tcontractDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Contract destination',\n\t\t\thint: 'Where I will generate event contracts.',\n\t\t\tdefaultValue: '#spruce/events',\n\t\t},\n\t\tschemaTypesLookupDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema types lookup directory',\n\t\t\thint: 'Where I will lookup schema types and interfaces.',\n\t\t\tdefaultValue:\n\t\t\t\tsyncSchemasOptionsBuilder.fields.schemaTypesDestinationDirOrFile\n\t\t\t\t\t.defaultValue,\n\t\t},\n\t\tshouldSyncOnlyCoreEvents: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Sync only core events',\n\t\t\thint: 'For use in @sprucelabs/mercury-types',\n\t\t},\n\t\tskillEventContractTypesFile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Event signature types file',\n\t\t\tdefaultValue: '@sprucelabs/mercury-types/build/types/mercury.types',\n\t\t},\n\t\teventBuilderFile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Event builder file',\n\t\t\tdefaultValue: '@sprucelabs/mercury-types',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;AAAA;;AACA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,kBADsB;EAE1BC,IAAI,EAAE,mBAFoB;EAG1BC,WAAW,EACV,8EAJyB;EAK1BC,MAAM,EAAE;IACPC,sBAAsB,EAAE;MACvBC,IAAI,EAAE,MADiB;MAEvBC,KAAK,EAAE,sBAFgB;MAGvBC,IAAI,EAAE,wCAHiB;MAIvBC,YAAY,EAAE;IAJS,CADjB;IAOPC,oBAAoB,EAAE;MACrBJ,IAAI,EAAE,MADe;MAErBC,KAAK,EAAE,+BAFc;MAGrBC,IAAI,EAAE,kDAHe;MAIrBC,YAAY,EACXE,8BAAA,CAA0BP,MAA1B,CAAiCQ,+BAAjC,CACEH;IANkB,CAPf;IAePI,wBAAwB,EAAE;MACzBP,IAAI,EAAE,SADmB;MAEzBC,KAAK,EAAE,uBAFkB;MAGzBC,IAAI,EAAE;IAHmB,CAfnB;IAoBPM,2BAA2B,EAAE;MAC5BR,IAAI,EAAE,MADsB;MAE5BC,KAAK,EAAE,4BAFqB;MAG5BE,YAAY,EAAE;IAHc,CApBtB;IAyBPM,gBAAgB,EAAE;MACjBT,IAAI,EAAE,MADW;MAEjBC,KAAK,EAAE,oBAFU;MAGjBE,YAAY,EAAE;IAHG;EAzBX;AALkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncSchemaFieldsOptions.builder.js","names":["id","name","description","fields","fieldTypesDestinationDir","type","label","hint","defaultValue","isPrivate","addonsLookupDir","generateFieldTypes"],"sources":["../../../src/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'syncSchemaFieldsOptions',\n\tname: 'syncSchemaFieldsOptions',\n\tdescription: 'Sync schema fields so you can use schemas!',\n\tfields: {\n\t\tfieldTypesDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Field types directory',\n\t\t\thint: 'Where field types and interfaces will be generated.',\n\t\t\tdefaultValue: '#spruce/schemas',\n\t\t\tisPrivate: true,\n\t\t},\n\t\taddonsLookupDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Addons lookup directory',\n\t\t\thint: \"Where I'll look for new schema fields to be registered.\",\n\t\t\tdefaultValue: 'src/addons',\n\t\t},\n\t\tgenerateFieldTypes: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Generate field types',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I generate field types too?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,yBADsB;EAE1BC,IAAI,EAAE,yBAFoB;EAG1BC,WAAW,EAAE,4CAHa;EAI1BC,MAAM,EAAE;IACPC,wBAAwB,EAAE;MACzBC,IAAI,EAAE,MADmB;MAEzBC,KAAK,EAAE,uBAFkB;MAGzBC,IAAI,EAAE,qDAHmB;MAIzBC,YAAY,EAAE,iBAJW;MAKzBC,SAAS,EAAE;IALc,CADnB;IAQPC,eAAe,EAAE;MAChBL,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,yBAFS;MAGhBC,IAAI,EAAE,yDAHU;MAIhBC,YAAY,EAAE;IAJE,CARV;IAcPG,kBAAkB,EAAE;MACnBN,IAAI,EAAE,SADa;MAEnBC,KAAK,EAAE,sBAFY;MAGnBG,SAAS,EAAE,IAHQ;MAInBF,IAAI,EAAE,oCAJa;MAKnBC,YAAY,EAAE;IALK;EAdb;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"syncSchemaFieldsOptions.builder.js","names":["buildSchema","id","name","description","fields","fieldTypesDestinationDir","type","label","hint","defaultValue","isPrivate","addonsLookupDir","generateFieldTypes"],"sources":["../../../src/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'syncSchemaFieldsOptions',\n\tname: 'syncSchemaFieldsOptions',\n\tdescription: 'Sync schema fields so you can use schemas!',\n\tfields: {\n\t\tfieldTypesDestinationDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Field types directory',\n\t\t\thint: 'Where field types and interfaces will be generated.',\n\t\t\tdefaultValue: '#spruce/schemas',\n\t\t\tisPrivate: true,\n\t\t},\n\t\taddonsLookupDir: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Addons lookup directory',\n\t\t\thint: \"Where I'll look for new schema fields to be registered.\",\n\t\t\tdefaultValue: 'src/addons',\n\t\t},\n\t\tgenerateFieldTypes: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Generate field types',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I generate field types too?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,yBADsB;EAE1BC,IAAI,EAAE,yBAFoB;EAG1BC,WAAW,EAAE,4CAHa;EAI1BC,MAAM,EAAE;IACPC,wBAAwB,EAAE;MACzBC,IAAI,EAAE,MADmB;MAEzBC,KAAK,EAAE,uBAFkB;MAGzBC,IAAI,EAAE,qDAHmB;MAIzBC,YAAY,EAAE,iBAJW;MAKzBC,SAAS,EAAE;IALc,CADnB;IAQPC,eAAe,EAAE;MAChBL,IAAI,EAAE,MADU;MAEhBC,KAAK,EAAE,yBAFS;MAGhBC,IAAI,EAAE,yDAHU;MAIhBC,YAAY,EAAE;IAJE,CARV;IAcPG,kBAAkB,EAAE;MACnBN,IAAI,EAAE,SADa;MAEnBC,KAAK,EAAE,sBAFY;MAGnBG,SAAS,EAAE,IAHQ;MAInBF,IAAI,EAAE,oCAJa;MAKnBC,YAAY,EAAE;IALK;EAdb;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncSchemasOptions.builder.js","names":["id","name","description","fields","syncSchemaFieldsBuilder","schemaTypesDestinationDirOrFile","type","label","hint","defaultValue","schemaLookupDir","moduleToImportFromWhenRemote","shouldInstallMissingDependencies","shouldEnableVersioning","isPrivate","globalSchemaNamespace","DEFAULT_GLOBAL_SCHEMA_NAMESPACE","shouldFetchRemoteSchemas","shouldFetchLocalSchemas","shouldFetchCoreSchemas","shouldGenerateCoreSchemaTypes","registerBuiltSchemas","deleteDestinationDirIfNoSchemas","deleteOrphanedSchemas","generateStandaloneTypesFile","syncingMessage"],"sources":["../../../src/schemas/v2020_07_22/syncSchemasOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport { DEFAULT_GLOBAL_SCHEMA_NAMESPACE } from '@sprucelabs/spruce-skill-utils'\nimport syncSchemaFieldsBuilder from './syncSchemaFieldsOptions.builder'\n\nexport default buildSchema({\n\tid: 'syncSchemasOptions',\n\tname: 'Sync schemas action',\n\tdescription: 'Options for schema.sync.',\n\tfields: {\n\t\t...syncSchemaFieldsBuilder.fields,\n\t\tschemaTypesDestinationDirOrFile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema types destination directory',\n\t\t\thint: 'Where I will generate schema types and interfaces.',\n\t\t\tdefaultValue: '#spruce/schemas',\n\t\t},\n\t\tschemaLookupDir: {\n\t\t\ttype: 'text',\n\t\t\thint: 'Where I should look for your schema builders?',\n\t\t\tdefaultValue: 'src/schemas',\n\t\t},\n\t\tmoduleToImportFromWhenRemote: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Module import',\n\t\t\thint: 'When other skills use your schemas, will they import them from a module?',\n\t\t},\n\t\tshouldInstallMissingDependencies: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Auto install missing dependencies',\n\t\t},\n\t\tshouldEnableVersioning: {\n\t\t\ttype: 'boolean',\n\t\t\tdefaultValue: true,\n\t\t\tlabel: 'Enable versioning',\n\t\t\thint: 'Should we use versioning?',\n\t\t\tisPrivate: true,\n\t\t},\n\t\tglobalSchemaNamespace: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Global namespace',\n\t\t\thint: \"The name you'll use when accessing these schemas, e.g. SpruceSchemas\",\n\t\t\tisPrivate: true,\n\t\t\tdefaultValue: DEFAULT_GLOBAL_SCHEMA_NAMESPACE,\n\t\t},\n\t\tshouldFetchRemoteSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Fetch remote schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'I will pull in schemas from other features.',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tshouldFetchLocalSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Fetch local schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'I will look in schemaLookupDir to load local schemas.',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tshouldFetchCoreSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Fetch core schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I pull in core schemas too?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tshouldGenerateCoreSchemaTypes: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Generate core schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: '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\t},\n\t\tregisterBuiltSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Register built schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should the schemas use the SchemaRegistry for tracking?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tdeleteDestinationDirIfNoSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Delete directory if no schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I delete the schema directory if no schemas are found?',\n\t\t\tdefaultValue: false,\n\t\t},\n\t\tdeleteOrphanedSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Delete orphaned schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I delete schemas where the builders are missing?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tgenerateStandaloneTypesFile: {\n\t\t\tlabel: 'Generate standalone types file',\n\t\t\ttype: 'boolean',\n\t\t\tisPrivate: true,\n\t\t\thint: \"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\t\tdefaultValue: false,\n\t\t},\n\t\tsyncingMessage: {\n\t\t\tlabel: ' message',\n\t\t\ttype: 'text',\n\t\t\tdefaultValue: 'Syncing schemas...',\n\t\t\tisPrivate: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EAAE,0BAHa;EAI1BC,MAAM,kCACFC,oCAAwBD,MADtB;IAELE,+BAA+B,EAAE;MAChCC,IAAI,EAAE,MAD0B;MAEhCC,KAAK,EAAE,oCAFyB;MAGhCC,IAAI,EAAE,oDAH0B;MAIhCC,YAAY,EAAE;IAJkB,CAF5B;IAQLC,eAAe,EAAE;MAChBJ,IAAI,EAAE,MADU;MAEhBE,IAAI,EAAE,+CAFU;MAGhBC,YAAY,EAAE;IAHE,CARZ;IAaLE,4BAA4B,EAAE;MAC7BL,IAAI,EAAE,MADuB;MAE7BC,KAAK,EAAE,eAFsB;MAG7BC,IAAI,EAAE;IAHuB,CAbzB;IAkBLI,gCAAgC,EAAE;MACjCN,IAAI,EAAE,SAD2B;MAEjCC,KAAK,EAAE;IAF0B,CAlB7B;IAsBLM,sBAAsB,EAAE;MACvBP,IAAI,EAAE,SADiB;MAEvBG,YAAY,EAAE,IAFS;MAGvBF,K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qB,EAAE;MACtBjB,IAAI,EAAE,SADgB;MAEtBC,KAAK,EAAE,yBAFe;MAGtBO,SAAS,EAAE,IAHW;MAItBN,IAAI,EAAE,yDAJgB;MAKtBC,YAAY,EAAE;IALQ,CA7ElB;IAoFLe,2BAA2B,EAAE;MAC5BjB,KAAK,EAAE,gCADqB;MAE5BD,IAAI,EAAE,SAFsB;MAG5BQ,SAAS,EAAE,IAHiB;MAI5BN,IAAI,EAAE,oKAJsB;MAK5BC,YAAY,EAAE;IALc,CApFxB;IA2FLgB,cAAc,EAAE;MACflB,KAAK,EAAE,UADQ;MAEfD,IAAI,EAAE,MAFS;MAGfG,YAAY,EAAE,oBAHC;MAIfK,SAAS,EAAE;IAJI;EA3FX;AAJoB,CAAZ,C"}
1
+ {"version":3,"file":"syncSchemasOptions.builder.js","names":["buildSchema","id","name","description","fields","syncSchemaFieldsBuilder","schemaTypesDestinationDirOrFile","type","label","hint","defaultValue","schemaLookupDir","moduleToImportFromWhenRemote","shouldInstallMissingDependencies","shouldEnableVersioning","isPrivate","globalSchemaNamespace","DEFAULT_GLOBAL_SCHEMA_NAMESPACE","shouldFetchRemoteSchemas","shouldFetchLocalSchemas","shouldFetchCoreSchemas","shouldGenerateCoreSchemaTypes","registerBuiltSchemas","deleteDestinationDirIfNoSchemas","deleteOrphanedSchemas","generateStandaloneTypesFile","syncingMessage"],"sources":["../../../src/schemas/v2020_07_22/syncSchemasOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\nimport { DEFAULT_GLOBAL_SCHEMA_NAMESPACE } from '@sprucelabs/spruce-skill-utils'\nimport syncSchemaFieldsBuilder from './syncSchemaFieldsOptions.builder'\n\nexport default buildSchema({\n\tid: 'syncSchemasOptions',\n\tname: 'Sync schemas action',\n\tdescription: 'Options for schema.sync.',\n\tfields: {\n\t\t...syncSchemaFieldsBuilder.fields,\n\t\tschemaTypesDestinationDirOrFile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema types destination directory',\n\t\t\thint: 'Where I will generate schema types and interfaces.',\n\t\t\tdefaultValue: '#spruce/schemas',\n\t\t},\n\t\tschemaLookupDir: {\n\t\t\ttype: 'text',\n\t\t\thint: 'Where I should look for your schema builders?',\n\t\t\tdefaultValue: 'src/schemas',\n\t\t},\n\t\tmoduleToImportFromWhenRemote: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Module import',\n\t\t\thint: 'When other skills use your schemas, will they import them from a module?',\n\t\t},\n\t\tshouldInstallMissingDependencies: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Auto install missing dependencies',\n\t\t},\n\t\tshouldEnableVersioning: {\n\t\t\ttype: 'boolean',\n\t\t\tdefaultValue: true,\n\t\t\tlabel: 'Enable versioning',\n\t\t\thint: 'Should we use versioning?',\n\t\t\tisPrivate: true,\n\t\t},\n\t\tglobalSchemaNamespace: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Global namespace',\n\t\t\thint: \"The name you'll use when accessing these schemas, e.g. SpruceSchemas\",\n\t\t\tisPrivate: true,\n\t\t\tdefaultValue: DEFAULT_GLOBAL_SCHEMA_NAMESPACE,\n\t\t},\n\t\tshouldFetchRemoteSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Fetch remote schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'I will pull in schemas from other features.',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tshouldFetchLocalSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Fetch local schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'I will look in schemaLookupDir to load local schemas.',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tshouldFetchCoreSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Fetch core schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I pull in core schemas too?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tshouldGenerateCoreSchemaTypes: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Generate core schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: '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\t},\n\t\tregisterBuiltSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Register built schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should the schemas use the SchemaRegistry for tracking?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tdeleteDestinationDirIfNoSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Delete directory if no schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I delete the schema directory if no schemas are found?',\n\t\t\tdefaultValue: false,\n\t\t},\n\t\tdeleteOrphanedSchemas: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Delete orphaned schemas',\n\t\t\tisPrivate: true,\n\t\t\thint: 'Should I delete schemas where the builders are missing?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tgenerateStandaloneTypesFile: {\n\t\t\tlabel: 'Generate standalone types file',\n\t\t\ttype: 'boolean',\n\t\t\tisPrivate: true,\n\t\t\thint: \"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\t\tdefaultValue: false,\n\t\t},\n\t\tsyncingMessage: {\n\t\t\tlabel: ' message',\n\t\t\ttype: 'text',\n\t\t\tdefaultValue: 'Syncing schemas...',\n\t\t\tisPrivate: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,oBADsB;EAE1BC,IAAI,EAAE,qBAFoB;EAG1BC,WAAW,EAAE,0BAHa;EAI1BC,MAAM,kCACFC,mCAAA,CAAwBD,MADtB;IAELE,+BAA+B,EAAE;MAChCC,IAAI,EAAE,M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DLW,6BAA6B,EAAE;MAC9Bd,IAAI,EAAE,SADwB;MAE9BC,KAAK,EAAE,uBAFuB;MAG9BO,SAAS,EAAE,IAHmB;MAI9BN,IAAI,EAAE;IAJwB,CAzD1B;IA+DLa,oBAAoB,EAAE;MACrBf,IAAI,EAAE,SADe;MAErBC,KAAK,EAAE,wBAFc;MAGrBO,SAAS,EAAE,IAHU;MAIrBN,IAAI,EAAE,yDAJe;MAKrBC,YAAY,EAAE;IALO,CA/DjB;IAsELa,+BAA+B,EAAE;MAChChB,IAAI,EAAE,SAD0B;MAEhCC,KAAK,EAAE,gCAFyB;MAGhCO,SAAS,EAAE,IAHqB;MAIhCN,IAAI,EAAE,+DAJ0B;MAKhCC,YAAY,EAAE;IALkB,CAtE5B;IA6ELc,qBAAqB,EAAE;MACtBjB,IAAI,EAAE,SADgB;MAEtBC,KAAK,EAAE,yBAFe;MAGtBO,SAAS,EAAE,IAHW;MAItBN,IAAI,EAAE,yDAJgB;MAKtBC,YAAY,EAAE;IALQ,CA7ElB;IAoFLe,2BAA2B,EAAE;MAC5BjB,KAAK,EAAE,gCADqB;MAE5BD,IAAI,EAAE,SAFsB;MAG5BQ,SAAS,EAAE,IAHiB;MAI5BN,IAAI,EAAE,oKAJsB;MAK5BC,YAAY,EAAE;IALc,CApFxB;IA2FLgB,cAAc,EAAE;MACflB,KAAK,EAAE,UADQ;MAEfD,IAAI,EAAE,MAFS;MAGfG,YAAY,EAAE,oBAHC;MAIfK,SAAS,EAAE;IAJI;EA3FX;AAJoB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"testOptions.builder.js","names":["id","name","description","fields","shouldReportWhileRunning","type","label","hint","defaultValue","pattern","inspect","shouldHoldAtStart","shouldReturnImmediately","isPrivate","watchMode","options","choices","value"],"sources":["../../../src/schemas/v2020_07_22/testOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'testOptions',\n\tname: 'Test skill',\n\tdescription: 'Test your might! 💪',\n\tfields: {\n\t\tshouldReportWhileRunning: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Report while running',\n\t\t\thint: 'Should I output the test results while they are running?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tpattern: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Pattern',\n\t\t\thint: `I'll filter all tests that match this pattern`,\n\t\t},\n\t\tinspect: {\n\t\t\ttype: 'number',\n\t\t\tlabel: 'Inspect',\n\t\t\thint: `Pass --inspect related args to test process.`,\n\t\t},\n\t\tshouldHoldAtStart: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Should wait for manual start?',\n\t\t\tdefaultValue: false,\n\t\t},\n\t\tshouldReturnImmediately: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Wait until tests are finished',\n\t\t\tisPrivate: true,\n\t\t\tdefaultValue: false,\n\t\t\thint: 'For testing. Returns immediately after executing test so the running process can be managed programatically.',\n\t\t},\n\t\twatchMode: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Watch',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'off',\n\t\t\t\t\t\tlabel: 'Off',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'standard',\n\t\t\t\t\t\tlabel: 'Standard',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'smart',\n\t\t\t\t\t\tlabel: 'Smart',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,aADsB;EAE1BC,IAAI,EAAE,YAFoB;EAG1BC,WAAW,EAAE,qBAHa;EAI1BC,MAAM,EAAE;IACPC,wBAAwB,EAAE;MACzBC,IAAI,EAAE,SADmB;MAEzBC,KAAK,EAAE,sBAFkB;MAGzBC,IAAI,EAAE,0DAHmB;MAIzBC,YAAY,EAAE;IAJW,CADnB;IAOPC,OAAO,EAAE;MACRJ,IAAI,EAAE,MADE;MAERC,KAAK,EAAE,SAFC;MAGRC,IAAI;IAHI,CAPF;IAYPG,OAAO,EAAE;MACRL,IAAI,EAAE,QADE;MAERC,KAAK,EAAE,SAFC;MAGRC,IAAI;IAHI,CAZF;IAiBPI,iBAAiB,EAAE;MAClBN,IAAI,EAAE,SADY;MAElBC,KAAK,EAAE,+BAFW;MAGlBE,YAAY,EAAE;IAHI,CAjBZ;IAsBPI,uBAAuB,EAAE;MACxBP,IAAI,EAAE,SADkB;MAExBC,KAAK,EAAE,+BAFiB;MAGxBO,SAAS,EAAE,IAHa;MAIxBL,YAAY,EAAE,KAJU;MAKxBD,IAAI,EAAE;IALkB,CAtBlB;IA6BPO,SAAS,EAAE;MACVT,IAAI,EAAE,QADI;MAEVC,KAAK,EAAE,OAFG;MAGVS,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,KADR;UAECX,KAAK,EAAE;QAFR,CADQ,EAKR;UACCW,KAAK,EAAE,UADR;UAECX,KAAK,EAAE;QAFR,CALQ,EASR;UACCW,KAAK,EAAE,OADR;UAECX,KAAK,EAAE;QAFR,CATQ;MADD;IAHC;EA7BJ;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"testOptions.builder.js","names":["buildSchema","id","name","description","fields","shouldReportWhileRunning","type","label","hint","defaultValue","pattern","inspect","shouldHoldAtStart","shouldReturnImmediately","isPrivate","watchMode","options","choices","value"],"sources":["../../../src/schemas/v2020_07_22/testOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'testOptions',\n\tname: 'Test skill',\n\tdescription: 'Test your might! 💪',\n\tfields: {\n\t\tshouldReportWhileRunning: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Report while running',\n\t\t\thint: 'Should I output the test results while they are running?',\n\t\t\tdefaultValue: true,\n\t\t},\n\t\tpattern: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Pattern',\n\t\t\thint: `I'll filter all tests that match this pattern`,\n\t\t},\n\t\tinspect: {\n\t\t\ttype: 'number',\n\t\t\tlabel: 'Inspect',\n\t\t\thint: `Pass --inspect related args to test process.`,\n\t\t},\n\t\tshouldHoldAtStart: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Should wait for manual start?',\n\t\t\tdefaultValue: false,\n\t\t},\n\t\tshouldReturnImmediately: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Wait until tests are finished',\n\t\t\tisPrivate: true,\n\t\t\tdefaultValue: false,\n\t\t\thint: 'For testing. Returns immediately after executing test so the running process can be managed programatically.',\n\t\t},\n\t\twatchMode: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Watch',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'off',\n\t\t\t\t\t\tlabel: 'Off',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'standard',\n\t\t\t\t\t\tlabel: 'Standard',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'smart',\n\t\t\t\t\t\tlabel: 'Smart',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,aADsB;EAE1BC,IAAI,EAAE,YAFoB;EAG1BC,WAAW,EAAE,qBAHa;EAI1BC,MAAM,EAAE;IACPC,wBAAwB,EAAE;MACzBC,IAAI,EAAE,SADmB;MAEzBC,KAAK,EAAE,sBAFkB;MAGzBC,IAAI,EAAE,0DAHmB;MAIzBC,YAAY,EAAE;IAJW,CADnB;IAOPC,OAAO,EAAE;MACRJ,IAAI,EAAE,MADE;MAERC,KAAK,EAAE,SAFC;MAGRC,IAAI;IAHI,CAPF;IAYPG,OAAO,EAAE;MACRL,IAAI,EAAE,QADE;MAERC,KAAK,EAAE,SAFC;MAGRC,IAAI;IAHI,CAZF;IAiBPI,iBAAiB,EAAE;MAClBN,IAAI,EAAE,SADY;MAElBC,KAAK,EAAE,+BAFW;MAGlBE,YAAY,EAAE;IAHI,CAjBZ;IAsBPI,uBAAuB,EAAE;MACxBP,IAAI,EAAE,SADkB;MAExBC,KAAK,EAAE,+BAFiB;MAGxBO,SAAS,EAAE,IAHa;MAIxBL,YAAY,EAAE,KAJU;MAKxBD,IAAI,EAAE;IALkB,CAtBlB;IA6BPO,SAAS,EAAE;MACVT,IAAI,EAAE,QADI;MAEVC,KAAK,EAAE,OAFG;MAGVS,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,KADR;UAECX,KAAK,EAAE;QAFR,CADQ,EAKR;UACCW,KAAK,EAAE,UADR;UAECX,KAAK,EAAE;QAFR,CALQ,EASR;UACCW,KAAK,EAAE,OADR;UAECX,KAAK,EAAE;QAFR,CATQ;MADD;IAHC;EA7BJ;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"upgradeSkillOptions.builder.js","names":["id","name","description","fields","upgradeMode","type","label","defaultValue","options","choices","value"],"sources":["../../../src/schemas/v2020_07_22/upgradeSkillOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'upgradeSkillOptions',\n\tname: 'Upgrade skill action',\n\tdescription: 'Upgrade. Everything. Heads up, this can take a few minutes. ⏱',\n\tfields: {\n\t\tupgradeMode: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Upgrade mode',\n\t\t\tdefaultValue: 'askForChanged',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'askForChanged',\n\t\t\t\t\t\tlabel: 'Ask for changed files',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'forceEverything',\n\t\t\t\t\t\tlabel: 'Force everything',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'forceRequiredSkipRest',\n\t\t\t\t\t\tlabel: 'Force required (skipping all non-essential)',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,yBAAY;EAC1BA,EAAE,EAAE,qBADsB;EAE1BC,IAAI,EAAE,sBAFoB;EAG1BC,WAAW,EAAE,+DAHa;EAI1BC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,QADM;MAEZC,KAAK,EAAE,cAFK;MAGZC,YAAY,EAAE,eAHF;MAIZC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,eADR;UAECJ,KAAK,EAAE;QAFR,CADQ,EAKR;UACCI,KAAK,EAAE,iBADR;UAECJ,KAAK,EAAE;QAFR,CALQ,EASR;UACCI,KAAK,EAAE,uBADR;UAECJ,KAAK,EAAE;QAFR,CATQ;MADD;IAJG;EADN;AAJkB,CAAZ,C"}
1
+ {"version":3,"file":"upgradeSkillOptions.builder.js","names":["buildSchema","id","name","description","fields","upgradeMode","type","label","defaultValue","options","choices","value"],"sources":["../../../src/schemas/v2020_07_22/upgradeSkillOptions.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'upgradeSkillOptions',\n\tname: 'Upgrade skill action',\n\tdescription: 'Upgrade. Everything. Heads up, this can take a few minutes. ⏱',\n\tfields: {\n\t\tupgradeMode: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Upgrade mode',\n\t\t\tdefaultValue: 'askForChanged',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'askForChanged',\n\t\t\t\t\t\tlabel: 'Ask for changed files',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'forceEverything',\n\t\t\t\t\t\tlabel: 'Force everything',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue: 'forceRequiredSkipRest',\n\t\t\t\t\t\tlabel: 'Force required (skipping all non-essential)',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;eAEe,IAAAA,mBAAA,EAAY;EAC1BC,EAAE,EAAE,qBADsB;EAE1BC,IAAI,EAAE,sBAFoB;EAG1BC,WAAW,EAAE,+DAHa;EAI1BC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,QADM;MAEZC,KAAK,EAAE,cAFK;MAGZC,YAAY,EAAE,eAHF;MAIZC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,eADR;UAECJ,KAAK,EAAE;QAFR,CADQ,EAKR;UACCI,KAAK,EAAE,iBADR;UAECJ,KAAK,EAAE;QAFR,CALQ,EASR;UACCI,KAAK,EAAE,uBADR;UAECJ,KAAK,EAAE;QAFR,CATQ;MADD;IAJG;EADN;AAJkB,CAAZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"watcherDidDetectChangesEmitPayload.builder.js","names":["fieldsSchema","id","fields","name","type","isRequired","path","description","action","options","choices","label","value","changes","isArray","schemas"],"sources":["../../../src/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nconst fieldsSchema = buildSchema({\n\tid: 'generatedFileFields',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tpath: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t},\n\t\taction: {\n\t\t\ttype: 'select',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Skipped',\n\t\t\t\t\t\tvalue: 'skipped',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Generated',\n\t\t\t\t\t\tvalue: 'generated',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Updated',\n\t\t\t\t\t\tvalue: 'updated',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Deleted',\n\t\t\t\t\t\tvalue: 'deleted',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n\nexport default buildSchema({\n\tid: 'watcherDidDetectChangesEmitPayload',\n\tname: 'Watcher did detect changes emit payload',\n\tfields: {\n\t\tchanges: {\n\t\t\ttype: 'schema',\n\t\t\tisRequired: true,\n\t\t\tisArray: true,\n\t\t\toptions: {\n\t\t\t\tschemas: [\n\t\t\t\t\tbuildSchema({\n\t\t\t\t\t\tid: 'generatedFile',\n\t\t\t\t\t\tfields: fieldsSchema.fields,\n\t\t\t\t\t}),\n\t\t\t\t\tbuildSchema({\n\t\t\t\t\t\tid: 'generatedDir',\n\t\t\t\t\t\tfields: fieldsSchema.fields,\n\t\t\t\t\t}),\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;AAEA,IAAMA,YAAY,GAAG,yBAAY;EAChCC,EAAE,EAAE,qBAD4B;EAEhCC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MADD;MAELC,UAAU,EAAE;IAFP,CADC;IAKPC,IAAI,EAAE;MACLF,IAAI,EAAE,MADD;MAELC,UAAU,EAAE;IAFP,CALC;IASPE,WAAW,EAAE;MACZH,IAAI,EAAE;IADM,CATN;IAYPI,MAAM,EAAE;MACPJ,IAAI,EAAE,QADC;MAEPC,UAAU,EAAE,IAFL;MAGPI,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,SADR;UAECC,KAAK,EAAE;QAFR,CADQ,EAKR;UACCD,KAAK,EAAE,WADR;UAECC,KAAK,EAAE;QAFR,CALQ,EASR;UACCD,KAAK,EAAE,SADR;UAECC,KAAK,EAAE;QAFR,CATQ,EAaR;UACCD,KAAK,EAAE,SADR;UAECC,KAAK,EAAE;QAFR,CAbQ;MADD;IAHF;EAZD;AAFwB,CAAZ,CAArB;;eAyCe,yBAAY;EAC1BX,EAAE,EAAE,oCADsB;EAE1BE,IAAI,EAAE,yCAFoB;EAG1BD,MAAM,EAAE;IACPW,OAAO,EAAE;MACRT,IAAI,EAAE,QADE;MAERC,UAAU,EAAE,IAFJ;MAGRS,OAAO,EAAE,IAHD;MAIRL,OAAO,EAAE;QACRM,OAAO,EAAE,CACR,yBAAY;UACXd,EAAE,EAAE,eADO;UAEXC,MAAM,EAAEF,YAAY,CAACE;QAFV,CAAZ,CADQ,EAKR,yBAAY;UACXD,EAAE,EAAE,cADO;UAEXC,MAAM,EAAEF,YAAY,CAACE;QAFV,CAAZ,CALQ;MADD;IAJD;EADF;AAHkB,CAAZ,C"}
1
+ {"version":3,"file":"watcherDidDetectChangesEmitPayload.builder.js","names":["fieldsSchema","buildSchema","id","fields","name","type","isRequired","path","description","action","options","choices","label","value","changes","isArray","schemas"],"sources":["../../../src/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nconst fieldsSchema = buildSchema({\n\tid: 'generatedFileFields',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tpath: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tdescription: {\n\t\t\ttype: 'text',\n\t\t},\n\t\taction: {\n\t\t\ttype: 'select',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Skipped',\n\t\t\t\t\t\tvalue: 'skipped',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Generated',\n\t\t\t\t\t\tvalue: 'generated',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Updated',\n\t\t\t\t\t\tvalue: 'updated',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Deleted',\n\t\t\t\t\t\tvalue: 'deleted',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n\nexport default buildSchema({\n\tid: 'watcherDidDetectChangesEmitPayload',\n\tname: 'Watcher did detect changes emit payload',\n\tfields: {\n\t\tchanges: {\n\t\t\ttype: 'schema',\n\t\t\tisRequired: true,\n\t\t\tisArray: true,\n\t\t\toptions: {\n\t\t\t\tschemas: [\n\t\t\t\t\tbuildSchema({\n\t\t\t\t\t\tid: 'generatedFile',\n\t\t\t\t\t\tfields: fieldsSchema.fields,\n\t\t\t\t\t}),\n\t\t\t\t\tbuildSchema({\n\t\t\t\t\t\tid: 'generatedDir',\n\t\t\t\t\t\tfields: fieldsSchema.fields,\n\t\t\t\t\t}),\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;;AAAA;;AAEA,IAAMA,YAAY,GAAG,IAAAC,mBAAA,EAAY;EAChCC,EAAE,EAAE,qBAD4B;EAEhCC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MADD;MAELC,UAAU,EAAE;IAFP,CADC;IAKPC,IAAI,EAAE;MACLF,IAAI,EAAE,MADD;MAELC,UAAU,EAAE;IAFP,CALC;IASPE,WAAW,EAAE;MACZH,IAAI,EAAE;IADM,CATN;IAYPI,MAAM,EAAE;MACPJ,IAAI,EAAE,QADC;MAEPC,UAAU,EAAE,IAFL;MAGPI,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,SADR;UAECC,KAAK,EAAE;QAFR,C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