@sprucelabs/spruce-cli 19.1.41 → 19.2.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.
- package/CHANGELOG.md +20 -0
- package/build/.spruce/errors/errors.types.d.ts +19 -0
- package/build/.spruce/errors/errors.types.js.map +1 -1
- package/build/.spruce/errors/options.types.d.ts +4 -1
- package/build/.spruce/errors/options.types.js.map +1 -1
- package/build/.spruce/errors/spruceCli/actionCancelled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/bootError.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/buildFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandAborted.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandBlocked.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/dependencyExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/deployFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/failedToImport.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/fileExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/generic.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidCommand.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/lintFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/missingDependencies.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/notImplemented.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillNotFound.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillViewExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/storeExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/testFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/themeExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/viewPluginAlreadyExists.schema.d.ts +3 -0
- package/build/.spruce/errors/spruceCli/viewPluginAlreadyExists.schema.js +23 -0
- package/build/.spruce/errors/spruceCli/viewPluginAlreadyExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js.map +1 -1
- package/build/.spruce/events/events.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.js.map +1 -1
- package/build/.spruce/schemas/fields/fieldClassMap.js.map +1 -1
- package/build/.spruce/schemas/fields/fields.types.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/theme.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js.map +1 -1
- package/build/.spruce/schemas/schemas.types.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/location.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/message.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/organization.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/person.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/role.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/skill.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema.js.map +1 -1
- package/build/.spruce/skill.types.js.map +1 -1
- package/build/GlobalEmitter.js.map +1 -1
- package/build/InFlightEntertainment.js.map +1 -1
- package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -1
- package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -1
- package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -1
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -1
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
- package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -1
- package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -1
- package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -1
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -1
- package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -1
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
- package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
- package/build/__tests__/behavioral/events/EventWriter.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -1
- package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -1
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -1
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/PermissionStore.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/PermissionWriter.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/generateShortAlphaId.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/renderPermissionTestFile.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/sortPermissionContracts.js.map +1 -1
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -1
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -1
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/RebuildingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -1
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/TestingDataStores.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingASkillView.test.d.ts +1 -1
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js +6 -6
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.d.ts +1 -1
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js +6 -6
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -1
- package/build/__tests__/behavioral/views/WatchingSkillViews.test.js.map +1 -1
- package/build/__tests__/behavioral/views/plugins/CreatingAViewPlugin.test.d.ts +23 -0
- package/build/__tests__/behavioral/views/plugins/CreatingAViewPlugin.test.js +355 -0
- package/build/__tests__/behavioral/views/plugins/CreatingAViewPlugin.test.js.map +1 -0
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -1
- package/build/__tests__/implementation/ArgParser.test.js.map +1 -1
- package/build/__tests__/implementation/BuildService.test.js.map +1 -1
- package/build/__tests__/implementation/BulkImporting.test.js.map +1 -1
- package/build/__tests__/implementation/CachingImports.test.js.map +1 -1
- package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -1
- package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -1
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -1
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
- package/build/__tests__/implementation/EventStore.test.js.map +1 -1
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -1
- package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -1
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/GlobalEmitter.test.js.map +1 -1
- package/build/__tests__/implementation/Introspection.test.js.map +1 -1
- package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -1
- package/build/__tests__/implementation/LintService.test.js.map +1 -1
- package/build/__tests__/implementation/ListenerStore.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -1
- package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -1
- package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -1
- package/build/__tests__/implementation/PkgService.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -1
- package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -1
- package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -1
- package/build/__tests__/implementation/SkillStore.test.js.map +1 -1
- package/build/__tests__/implementation/StoreFeature.test.js.map +1 -1
- package/build/__tests__/implementation/TestReporter.test.js.map +1 -1
- package/build/__tests__/implementation/TestRunner.test.js.map +1 -1
- package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -1
- package/build/__tests__/implementation/Widgets.test.js.map +1 -1
- package/build/__tests__/support/EventFaker.js.map +1 -1
- package/build/__tests__/support/onTestFileResult.js.map +1 -1
- package/build/__tests__/support/scripts/first.script.js.map +1 -1
- package/build/__tests__/support/scripts/second.script.js.map +1 -1
- package/build/__tests__/support/scripts/third.test.script.js.map +1 -1
- package/build/addons/filePrompt.addon.js.map +1 -1
- package/build/boot.js.map +1 -1
- package/build/cli/Cli.js.map +1 -1
- package/build/components/AbstractComponent.js.map +1 -1
- package/build/components/FormComponent.js.map +1 -1
- package/build/components/QuizComponent.js.map +1 -1
- package/build/constants.js.map +1 -1
- package/build/errors/SpruceError.js +3 -0
- package/build/errors/SpruceError.js.map +1 -1
- package/build/errors/actionCancelled.builder.js.map +1 -1
- package/build/errors/bootError.builder.js.map +1 -1
- package/build/errors/buildFailed.builder.js.map +1 -1
- package/build/errors/cacheNotEnabled.builder.js.map +1 -1
- package/build/errors/commandAborted.builder.js.map +1 -1
- package/build/errors/commandBlocked.builder.js.map +1 -1
- package/build/errors/commandNotImplemented.builder.js.map +1 -1
- package/build/errors/createAutoloaderFailed.builder.js.map +1 -1
- package/build/errors/dependencyExists.builder.js.map +1 -1
- package/build/errors/deployFailed.builder.js.map +1 -1
- package/build/errors/directoryEmpty.builder.js.map +1 -1
- package/build/errors/directoryNotSkill.builder.js.map +1 -1
- package/build/errors/dockerNotStarted.builder.js.map +1 -1
- package/build/errors/executingCommandFailed.builder.js.map +1 -1
- package/build/errors/failedToImport.builder.js.map +1 -1
- package/build/errors/featureNotInstalled.builder.js.map +1 -1
- package/build/errors/fileExists.builder.js.map +1 -1
- package/build/errors/generic.builder.js.map +1 -1
- package/build/errors/invalidCommand.builder.js.map +1 -1
- package/build/errors/invalidEventContract.builder.js.map +1 -1
- package/build/errors/invalidFeatureCode.builder.js.map +1 -1
- package/build/errors/invalidTestDirectory.builder.js.map +1 -1
- package/build/errors/lintFailed.builder.js.map +1 -1
- package/build/errors/mercuryResponseError.builder.js.map +1 -1
- package/build/errors/missingDependencies.builder.js.map +1 -1
- package/build/errors/noOrganizationsFound.builder.js.map +1 -1
- package/build/errors/noSkillsRegistered.builder.js.map +1 -1
- package/build/errors/notImplemented.builder.js.map +1 -1
- package/build/errors/notLoggedIn.builder.js.map +1 -1
- package/build/errors/schemaExists.builder.js.map +1 -1
- package/build/errors/schemaFailedToImport.builder.js.map +1 -1
- package/build/errors/schemaTemplateItemBuildingFailed.builder.js.map +1 -1
- package/build/errors/skillNotFound.builder.js.map +1 -1
- package/build/errors/skillNotRegistered.builder.js.map +1 -1
- package/build/errors/skillViewExists.builder.js.map +1 -1
- package/build/errors/storeExists.builder.js.map +1 -1
- package/build/errors/testFailed.builder.js.map +1 -1
- package/build/errors/themeExists.builder.js.map +1 -1
- package/build/errors/transportAlreadyExists.builder.js.map +1 -1
- package/build/errors/viewPluginAlreadyExists.builder.d.ts +11 -0
- package/build/errors/viewPluginAlreadyExists.builder.js +18 -0
- package/build/errors/viewPluginAlreadyExists.builder.js.map +1 -0
- package/build/errors/vscodeNotInstalled.builder.js.map +1 -1
- package/build/features/AbstractAction.js.map +1 -1
- package/build/features/AbstractFeature.js.map +1 -1
- package/build/features/ActionExecuter.js.map +1 -1
- package/build/features/ActionFactory.js.map +1 -1
- package/build/features/ActionQuestionAsker.js.map +1 -1
- package/build/features/FeatureCommandAttacher.js.map +1 -1
- package/build/features/FeatureInstaller.js.map +1 -1
- package/build/features/FeatureInstallerFactory.js.map +1 -1
- package/build/features/OverrideActionDecorator.js.map +1 -1
- package/build/features/cache/CacheFeature.js.map +1 -1
- package/build/features/cache/actions/DisableAction.js.map +1 -1
- package/build/features/cache/actions/EnableAction.js.map +1 -1
- package/build/features/cache/constants.js.map +1 -1
- package/build/features/conversation/ConversationFeature.js.map +1 -1
- package/build/features/conversation/actions/CreateAction.js.map +1 -1
- package/build/features/conversation/actions/TestAction.js.map +1 -1
- package/build/features/conversation/stores/ConversationStore.js.map +1 -1
- package/build/features/conversation/writers/ConversationWriter.js.map +1 -1
- package/build/features/dependencies/DependencyFeature.js.map +1 -1
- package/build/features/dependencies/actions/AddAction.js.map +1 -1
- package/build/features/dependencies/actions/ManageAction.js.map +1 -1
- package/build/features/deploy/DeployFeature.js.map +1 -1
- package/build/features/deploy/actions/HerokuAction.js.map +1 -1
- package/build/features/deploy/writers/DeployWriter.js.map +1 -1
- package/build/features/error/ErrorFeature.js.map +1 -1
- package/build/features/error/ParentTestFinder.js.map +1 -1
- package/build/features/error/actions/CreateAction.js.map +1 -1
- package/build/features/error/actions/SyncAction.js.map +1 -1
- package/build/features/error/writers/ErrorWriter.js.map +1 -1
- package/build/features/event/EventFeature.js.map +1 -1
- package/build/features/event/actions/CreateAction.js.map +1 -1
- package/build/features/event/actions/ListenAction.js.map +1 -1
- package/build/features/event/actions/SetRemoteAction.js.map +1 -1
- package/build/features/event/actions/SyncAction.js.map +1 -1
- package/build/features/event/actions/SyncListenersAction.js.map +1 -1
- package/build/features/event/builders/EventContractBuilder.js.map +1 -1
- package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
- package/build/features/event/services/EventSettingsService.js.map +1 -1
- package/build/features/event/services/RemoteService.js.map +1 -1
- package/build/features/event/stores/EventStore.js.map +1 -1
- package/build/features/event/stores/ListenerStore.js.map +1 -1
- package/build/features/event/writers/EventWriter.js.map +1 -1
- package/build/features/eventContract/EventContractFeature.js.map +1 -1
- package/build/features/eventContract/actions/PullAction.js.map +1 -1
- package/build/features/feature.utilities.js.map +1 -1
- package/build/features/features.types.js.map +1 -1
- package/build/features/log/LogFeature.js.map +1 -1
- package/build/features/log/actions/CreateTransportAction.js.map +1 -1
- package/build/features/log/writers/LogWriter.js.map +1 -1
- package/build/features/node/NodeFeature.js.map +1 -1
- package/build/features/node/actions/CreateAction.js.map +1 -1
- package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -1
- package/build/features/node/actions/UpgradeAction.js.map +1 -1
- package/build/features/node/writers/NodeWriter.js.map +1 -1
- package/build/features/onboard/OnboardFeature.js.map +1 -1
- package/build/features/onboard/ScriptLoader.js.map +1 -1
- package/build/features/onboard/ScriptPlayer.js.map +1 -1
- package/build/features/onboard/actions/OnboardAction.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -1
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js.map +1 -1
- package/build/features/onboard/scripts/todo/todo.test.script.js.map +1 -1
- package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -1
- package/build/features/onboard/stores/OnboardingStore.js.map +1 -1
- package/build/features/organization/OrganizationFeature.js.map +1 -1
- package/build/features/organization/actions/CreateAction.js.map +1 -1
- package/build/features/organization/actions/InstallAction.js.map +1 -1
- package/build/features/organization/stores/OrganizationStore.js.map +1 -1
- package/build/features/permission/PermissionFeature.js.map +1 -1
- package/build/features/permission/actions/CreateAction.js.map +1 -1
- package/build/features/permission/actions/SyncAction.js.map +1 -1
- package/build/features/permission/stores/PermissionStore.js.map +1 -1
- package/build/features/permission/writers/PermissionWriter.js.map +1 -1
- package/build/features/person/PersonFeature.js.map +1 -1
- package/build/features/person/actions/LoginAction.js.map +1 -1
- package/build/features/person/actions/LogoutAction.js.map +1 -1
- package/build/features/person/actions/WhoamiAction.js.map +1 -1
- package/build/features/polish/PolishFeature.js.map +1 -1
- package/build/features/polish/actions/SetupAction.js.map +1 -1
- package/build/features/polish/writers/PolishWriter.js.map +1 -1
- package/build/features/sandbox/SandboxFeature.js.map +1 -1
- package/build/features/sandbox/actions/SetupAction.js.map +1 -1
- package/build/features/sandbox/writers/SandboxWriter.js.map +1 -1
- package/build/features/schema/SchemaFeature.js.map +1 -1
- package/build/features/schema/ValueTypeBuilder.js.map +1 -1
- package/build/features/schema/actions/CreateAction.js.map +1 -1
- package/build/features/schema/actions/SyncAction.js.map +1 -1
- package/build/features/schema/actions/SyncFieldsAction.js.map +1 -1
- package/build/features/schema/services/SchemaService.js.map +1 -1
- package/build/features/schema/stores/SchemaStore.js.map +1 -1
- package/build/features/schema/utilities/schema.utility.js.map +1 -1
- package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
- package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -1
- package/build/features/schema/writers/SchemaWriter.js.map +1 -1
- package/build/features/skill/SkillFeature.js.map +1 -1
- package/build/features/skill/actions/BootAction.js.map +1 -1
- package/build/features/skill/actions/CreateAction.js.map +1 -1
- package/build/features/skill/actions/DashboardAction.js.map +1 -1
- package/build/features/skill/actions/LoginAction.js.map +1 -1
- package/build/features/skill/actions/RebuildAction.js.map +1 -1
- package/build/features/skill/actions/RegisterAction.js.map +1 -1
- package/build/features/skill/stores/SkillStore.js.map +1 -1
- package/build/features/skill/updaters/Updater.js.map +1 -1
- package/build/features/skill/writers/SkillWriter.js.map +1 -1
- package/build/features/store/StoreFeature.js.map +1 -1
- package/build/features/store/actions/CreateAction.js.map +1 -1
- package/build/features/store/actions/SyncAction.js.map +1 -1
- package/build/features/store/stores/StoreStore.js.map +1 -1
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -1
- package/build/features/store/writers/StoreWriter.js.map +1 -1
- package/build/features/test/TestFeature.js.map +1 -1
- package/build/features/test/TestLogItemGenerator.js.map +1 -1
- package/build/features/test/TestReporter.js.map +1 -1
- package/build/features/test/TestRunner.js.map +1 -1
- package/build/features/test/actions/CreateAction.js.map +1 -1
- package/build/features/test/actions/SetupAction.js.map +1 -1
- package/build/features/test/actions/TestAction.js.map +1 -1
- package/build/features/test/test.types.js.map +1 -1
- package/build/features/test/writers/TestWriter.js.map +1 -1
- package/build/features/universalDevDependencies.js.map +1 -1
- package/build/features/universalFileDescriptions.js.map +1 -1
- package/build/features/universalScripts.js.map +1 -1
- package/build/features/validateAndNormalize.utility.js.map +1 -1
- package/build/features/view/ViewFeature.js.map +1 -1
- package/build/features/view/actions/CreateAction.d.ts +6 -6
- package/build/features/view/actions/CreateAction.js +59 -59
- package/build/features/view/actions/CreateAction.js.map +1 -1
- package/build/features/view/actions/CreatePluginAction.d.ts +56 -0
- package/build/features/view/actions/CreatePluginAction.js +95 -0
- package/build/features/view/actions/CreatePluginAction.js.map +1 -0
- package/build/features/view/actions/CreateThemeAction.js.map +1 -1
- package/build/features/view/actions/SyncAction.d.ts +6 -6
- package/build/features/view/actions/SyncAction.js +29 -15
- package/build/features/view/actions/SyncAction.js.map +1 -1
- package/build/features/view/actions/WatchAction.js.map +1 -1
- package/build/features/view/stores/ViewStore.js.map +1 -1
- package/build/features/view/writers/ViewWriter.d.ts +5 -0
- package/build/features/view/writers/ViewWriter.js +44 -7
- package/build/features/view/writers/ViewWriter.js.map +1 -1
- package/build/features/vscode/VsCodeFeature.js.map +1 -1
- package/build/features/vscode/actions/SetupAction.js.map +1 -1
- package/build/features/vscode/services/VsCodeService.js.map +1 -1
- package/build/features/vscode/writers/VsCodeWriter.js.map +1 -1
- package/build/features/watch/WatchFeature.js.map +1 -1
- package/build/index.js.map +1 -1
- package/build/interfaces/SpyInterface.js.map +1 -1
- package/build/interfaces/TerminalInterface.js.map +1 -1
- package/build/schemas/v2020_07_22/actionResponse.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/generatedFile.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -1
- package/build/services/BuildService.js.map +1 -1
- package/build/services/CommandService.js.map +1 -1
- package/build/services/DependencyService.js.map +1 -1
- package/build/services/GameService.js.map +1 -1
- package/build/services/ImportService.js.map +1 -1
- package/build/services/LintService.js.map +1 -1
- package/build/services/PkgService.js.map +1 -1
- package/build/services/ServiceFactory.js.map +1 -1
- package/build/services/TypeCheckerService.js.map +1 -1
- package/build/stores/AbstractLocalStore.js.map +1 -1
- package/build/stores/AbstractStore.js.map +1 -1
- package/build/stores/StoreFactory.js.map +1 -1
- package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -1
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
- package/build/tests/AbstractCliTest.js.map +1 -1
- package/build/tests/AbstractErrorTest.js.map +1 -1
- package/build/tests/AbstractEventTest.js.map +1 -1
- package/build/tests/AbstractSchemaTest.js.map +1 -1
- package/build/tests/AbstractSkillTest.js.map +1 -1
- package/build/tests/AbstractTestTest.js.map +1 -1
- package/build/tests/CommandFaker.js.map +1 -1
- package/build/tests/JestJsonParser.js.map +1 -1
- package/build/tests/MockProgramFactory.js.map +1 -1
- package/build/tests/buildTestCache.js.map +1 -1
- package/build/tests/cleanTestCache.js.map +1 -1
- package/build/tests/cleanTestData.js.map +1 -1
- package/build/tests/constants.js.map +1 -1
- package/build/tests/fixtures/FeatureFixture.js.map +1 -1
- package/build/tests/fixtures/MercuryFixture.js.map +1 -1
- package/build/tests/fixtures/OrganizationFixture.js.map +1 -1
- package/build/tests/fixtures/PersonFixture.js.map +1 -1
- package/build/tests/fixtures/SkillFixture.js.map +1 -1
- package/build/tests/fixtures/ViewFixture.js.map +1 -1
- package/build/tests/utilities/test.utility.js.map +1 -1
- package/build/tests/utilities/uiAssert.utility.js.map +1 -1
- package/build/types/apiClient.types.js.map +1 -1
- package/build/types/cli.types.js.map +1 -1
- package/build/types/graphicsInterface.types.js.map +1 -1
- package/build/updaters/ScriptUpdater.js.map +1 -1
- package/build/utilities/action.utility.js.map +1 -1
- package/build/utilities/apiClient.utility.js.map +1 -1
- package/build/utilities/argParser.utility.js.map +1 -1
- package/build/utilities/commander.utility.js.map +1 -1
- package/build/utilities/duration.utility.js.map +1 -1
- package/build/utilities/eventContractCleaner.utility.js.map +1 -1
- package/build/utilities/form.utility.js.map +1 -1
- package/build/utilities/introspection.utility.js.map +1 -1
- package/build/utilities/isCi.js.map +1 -1
- package/build/utilities/tsConfig.utility.js.map +1 -1
- package/build/utilities/ui.utility.js.map +1 -1
- package/build/widgets/Theme.js.map +1 -1
- package/build/widgets/WidgetFactory.js.map +1 -1
- package/build/widgets/keySelectChoices.js.map +1 -1
- package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkBaseWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkLayoutCellWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkProgressBarWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkWindowWidget.js.map +1 -1
- package/build/widgets/terminalKit/termKit.utility.js.map +1 -1
- package/build/widgets/types/button.types.js.map +1 -1
- package/build/widgets/types/factory.types.js.map +1 -1
- package/build/widgets/types/input.types.js.map +1 -1
- package/build/widgets/types/layout.types.js.map +1 -1
- package/build/widgets/types/menuBar.types.js.map +1 -1
- package/build/widgets/types/popup.types.js.map +1 -1
- package/build/widgets/types/progressBar.types.js.map +1 -1
- package/build/widgets/types/table.types.js.map +1 -1
- package/build/widgets/types/text.types.js.map +1 -1
- package/build/widgets/types/widgets.types.js.map +1 -1
- package/build/widgets/types/window.types.js.map +1 -1
- package/build/widgets/widget.utilities.js.map +1 -1
- package/build/writers/AbstractWriter.js.map +1 -1
- package/build/writers/WriterFactory.js.map +1 -1
- package/package.json +33 -33
- package/src/.spruce/errors/errors.types.ts +29 -0
- package/src/.spruce/errors/options.types.ts +4 -1
- package/src/.spruce/errors/spruceCli/viewPluginAlreadyExists.schema.ts +22 -0
- package/src/__tests__/behavioral/views/CreatingASkillView.test.ts +1 -1
- package/src/__tests__/behavioral/views/KeepingViewsInSync.test.ts +1 -1
- package/src/__tests__/behavioral/views/plugins/CreatingAViewPlugin.test.ts +161 -0
- package/src/errors/SpruceError.ts +4 -0
- package/src/errors/viewPluginAlreadyExists.builder.ts +12 -0
- package/src/features/view/actions/CreateAction.ts +72 -72
- package/src/features/view/actions/CreatePluginAction.ts +54 -0
- package/src/features/view/actions/SyncAction.ts +30 -14
- package/src/features/view/writers/ViewWriter.ts +45 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","file","type","label","hint"],"sources":["../../src/errors/buildFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'buildFailed',\n\tname: 'BuildFailed',\n\tdescription:\n\t\t'Error thrown when building or linting failed. Happens when a yarn command fails inside the package utility.',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\thint: 'File we wanted to build, if not set we wanted to build everything..',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,aAAa;EACnBC,WAAW,EACV,6GAA6G;EAC9GC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"buildFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","file","type","label","hint"],"sources":["../../src/errors/buildFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'buildFailed',\n\tname: 'BuildFailed',\n\tdescription:\n\t\t'Error thrown when building or linting failed. Happens when a yarn command fails inside the package utility.',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\thint: 'File we wanted to build, if not set we wanted to build everything..',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,aAAa;EACnBC,WAAW,EACV,6GAA6G;EAC9GC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cacheNotEnabled.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/cacheNotEnabled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'cacheNotEnabled',\n\tname: 'Cache not enabled',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,iBAAiB;EACrBC,IAAI,EAAE,mBAAmB;EACzBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"cacheNotEnabled.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/cacheNotEnabled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'cacheNotEnabled',\n\tname: 'Cache not enabled',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,iBAAiB;EACrBC,IAAI,EAAE,mBAAmB;EACzBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandAborted.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","command","type","label","isRequired"],"sources":["../../src/errors/commandAborted.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'commandAborted',\n\tname: 'Command aborted',\n\tdescription: '',\n\tfields: {\n\t\tcommand: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Command',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,SAAS;MAChBC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"commandAborted.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","command","type","label","isRequired"],"sources":["../../src/errors/commandAborted.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'commandAborted',\n\tname: 'Command aborted',\n\tdescription: '',\n\tfields: {\n\t\tcommand: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Command',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,SAAS;MAChBC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandBlocked.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","command","type","isRequired","hint"],"sources":["../../src/errors/commandBlocked.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'commandBlocked',\n\tname: 'Command blocked',\n\tdescription: '',\n\tfields: {\n\t\tcommand: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\thint: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,IAAI,EAAE;MACLF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"commandBlocked.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","command","type","isRequired","hint"],"sources":["../../src/errors/commandBlocked.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'commandBlocked',\n\tname: 'Command blocked',\n\tdescription: '',\n\tfields: {\n\t\tcommand: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\thint: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,IAAI,EAAE;MACLF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandNotImplemented.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","command","type","label","isRequired","hint","args","isArray"],"sources":["../../src/errors/commandNotImplemented.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'commandNotImplemented',\n\tname: 'Command not implemented',\n\tdescription: 'This command has not yet been implemented ',\n\tfields: {\n\t\tcommand: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Command',\n\t\t\tisRequired: true,\n\t\t\thint: 'the command being run!',\n\t\t},\n\t\targs: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Args',\n\t\t\tisRequired: false,\n\t\t\tisArray: true,\n\t\t\thint: 'Arguments passed to the command',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,uBAAuB;EAC3BC,IAAI,EAAE,yBAAyB;EAC/BC,WAAW,EAAE,4CAA4C;EACzDC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,SAAS;MAChBC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDC,IAAI,EAAE;MACLJ,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,KAAK;MACjBG,OAAO,EAAE,IAAI;MACbF,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"commandNotImplemented.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","command","type","label","isRequired","hint","args","isArray"],"sources":["../../src/errors/commandNotImplemented.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'commandNotImplemented',\n\tname: 'Command not implemented',\n\tdescription: 'This command has not yet been implemented ',\n\tfields: {\n\t\tcommand: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Command',\n\t\t\tisRequired: true,\n\t\t\thint: 'the command being run!',\n\t\t},\n\t\targs: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Args',\n\t\t\tisRequired: false,\n\t\t\tisArray: true,\n\t\t\thint: 'Arguments passed to the command',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,uBAAuB;EAC3BC,IAAI,EAAE,yBAAyB;EAC/BC,WAAW,EAAE,4CAA4C;EACzDC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,SAAS;MAChBC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDC,IAAI,EAAE;MACLJ,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,KAAK;MACjBG,OAAO,EAAE,IAAI;MACbF,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAutoloaderFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","globbyPattern","type","label","isRequired","hint","filePaths","isArray","suffix","directory"],"sources":["../../src/errors/createAutoloaderFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'createAutoloaderFailed',\n\tname: 'Could not create an autoloader',\n\tdescription: 'Autoloader creation failed',\n\tfields: {\n\t\tglobbyPattern: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The globby pattern used to find files',\n\t\t\tisRequired: true,\n\t\t\thint: 'Globby pattern',\n\t\t},\n\t\tfilePaths: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The files that were loaded',\n\t\t\tisArray: true,\n\t\t\tisRequired: true,\n\t\t\thint: 'The files that were loaded',\n\t\t},\n\t\tsuffix: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The suffix for classes to autoload',\n\t\t\tisRequired: true,\n\t\t\thint: 'Class suffix',\n\t\t},\n\t\tdirectory: {\n\t\t\ttype: 'text',\n\t\t\tlabel: \"The directory we're trying to create the autoloader for\",\n\t\t\tisRequired: true,\n\t\t\thint: 'Directory to autoload',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,gCAAgC;EACtCC,WAAW,EAAE,4BAA4B;EACzCC,MAAM,EAAE;IACPC,aAAa,EAAE;MACdC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,uCAAuC;MAC9CC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDC,SAAS,EAAE;MACVJ,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,4BAA4B;MACnCI,OAAO,EAAE,IAAI;MACbH,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDG,MAAM,EAAE;MACPN,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,oCAAoC;MAC3CC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDI,SAAS,EAAE;MACVP,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,yDAAyD;MAChEC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"createAutoloaderFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","globbyPattern","type","label","isRequired","hint","filePaths","isArray","suffix","directory"],"sources":["../../src/errors/createAutoloaderFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'createAutoloaderFailed',\n\tname: 'Could not create an autoloader',\n\tdescription: 'Autoloader creation failed',\n\tfields: {\n\t\tglobbyPattern: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The globby pattern used to find files',\n\t\t\tisRequired: true,\n\t\t\thint: 'Globby pattern',\n\t\t},\n\t\tfilePaths: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The files that were loaded',\n\t\t\tisArray: true,\n\t\t\tisRequired: true,\n\t\t\thint: 'The files that were loaded',\n\t\t},\n\t\tsuffix: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The suffix for classes to autoload',\n\t\t\tisRequired: true,\n\t\t\thint: 'Class suffix',\n\t\t},\n\t\tdirectory: {\n\t\t\ttype: 'text',\n\t\t\tlabel: \"The directory we're trying to create the autoloader for\",\n\t\t\tisRequired: true,\n\t\t\thint: 'Directory to autoload',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,gCAAgC;EACtCC,WAAW,EAAE,4BAA4B;EACzCC,MAAM,EAAE;IACPC,aAAa,EAAE;MACdC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,uCAAuC;MAC9CC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDC,SAAS,EAAE;MACVJ,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,4BAA4B;MACnCI,OAAO,EAAE,IAAI;MACbH,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDG,MAAM,EAAE;MACPN,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,oCAAoC;MAC3CC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP,CAAC;IACDI,SAAS,EAAE;MACVP,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,yDAAyD;MAChEC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencyExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","fields","namespace","type","isRequired"],"sources":["../../src/errors/dependencyExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'dependencyExists',\n\tname: 'Dependency exists',\n\tfields: {\n\t\tnamespace: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,kBAAkB;EACtBC,IAAI,EAAE,mBAAmB;EACzBC,MAAM,EAAE;IACPC,SAAS,EAAE;MACVC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"dependencyExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","fields","namespace","type","isRequired"],"sources":["../../src/errors/dependencyExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'dependencyExists',\n\tname: 'Dependency exists',\n\tfields: {\n\t\tnamespace: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,kBAAkB;EACtBC,IAAI,EAAE,mBAAmB;EACzBC,MAAM,EAAE;IACPC,SAAS,EAAE;MACVC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","stage","type","isRequired","options","choices","label","value"],"sources":["../../src/errors/deployFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'deployFailed',\n\tname: 'Deploy Failed',\n\tdescription: '',\n\tfields: {\n\t\tstage: {\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: 'Skill',\n\t\t\t\t\t\tvalue: 'skill',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Building',\n\t\t\t\t\t\tvalue: 'building',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Testing',\n\t\t\t\t\t\tvalue: 'testing',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Git',\n\t\t\t\t\t\tvalue: 'git',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Procfile',\n\t\t\t\t\t\tvalue: 'procfile',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Remote',\n\t\t\t\t\t\tvalue: 'remote',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Heroku',\n\t\t\t\t\t\tvalue: 'heroku',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,cAAc;EAClBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,KAAK,EAAE;MACNC,IAAI,EAAE,QAAQ;MACdC,UAAU,EAAE,IAAI;MAChBC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,OAAO;UACdC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,UAAU;UACjBC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,SAAS;UAChBC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,KAAK;UACZC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,UAAU;UACjBC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,QAAQ;UACfC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,QAAQ;UACfC,KAAK,EAAE;QACR,CAAC;MAEH;IACD;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"deployFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","stage","type","isRequired","options","choices","label","value"],"sources":["../../src/errors/deployFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'deployFailed',\n\tname: 'Deploy Failed',\n\tdescription: '',\n\tfields: {\n\t\tstage: {\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: 'Skill',\n\t\t\t\t\t\tvalue: 'skill',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Building',\n\t\t\t\t\t\tvalue: 'building',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Testing',\n\t\t\t\t\t\tvalue: 'testing',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Git',\n\t\t\t\t\t\tvalue: 'git',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Procfile',\n\t\t\t\t\t\tvalue: 'procfile',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Remote',\n\t\t\t\t\t\tvalue: 'remote',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Heroku',\n\t\t\t\t\t\tvalue: 'heroku',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,cAAc;EAClBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,KAAK,EAAE;MACNC,IAAI,EAAE,QAAQ;MACdC,UAAU,EAAE,IAAI;MAChBC,OAAO,EAAE;QACRC,OAAO,EAAE,CACR;UACCC,KAAK,EAAE,OAAO;UACdC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,UAAU;UACjBC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,SAAS;UAChBC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,KAAK;UACZC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,UAAU;UACjBC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,QAAQ;UACfC,KAAK,EAAE;QACR,CAAC,EACD;UACCD,KAAK,EAAE,QAAQ;UACfC,KAAK,EAAE;QACR,CAAC;MAEH;IACD;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directoryEmpty.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","directory","type","isRequired"],"sources":["../../src/errors/directoryEmpty.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'directoryEmpty',\n\tname: 'directory empty',\n\tdescription: '',\n\tfields: {\n\t\tdirectory: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,SAAS,EAAE;MACVC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"directoryEmpty.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","directory","type","isRequired"],"sources":["../../src/errors/directoryEmpty.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'directoryEmpty',\n\tname: 'directory empty',\n\tdescription: '',\n\tfields: {\n\t\tdirectory: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,SAAS,EAAE;MACVC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directoryNotSkill.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/directoryNotSkill.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'directoryNotSkill',\n\tname: 'Dir not skill',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,mBAAmB;EACvBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"directoryNotSkill.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/directoryNotSkill.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'directoryNotSkill',\n\tname: 'Dir not skill',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,mBAAmB;EACvBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dockerNotStarted.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/dockerNotStarted.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'dockerNotStarted',\n\tname: 'Docker not started',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,kBAAkB;EACtBC,IAAI,EAAE,oBAAoB;EAC1BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"dockerNotStarted.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/dockerNotStarted.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'dockerNotStarted',\n\tname: 'Docker not started',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,kBAAkB;EACtBC,IAAI,EAAE,oBAAoB;EAC1BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executingCommandFailed.builder.js","names":["_schema","require","_default","exports","buildSchema","id","name","description","fields","cmd","type","label","args","isArray","cwd","stdout","stderr"],"sources":["../../src/errors/executingCommandFailed.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'executingCommandFailed',\n\tname: 'Executing command failed',\n\tdescription: 'The command that was being executed failed',\n\tfields: {\n\t\tcmd: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The command being run',\n\t\t},\n\t\targs: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Args',\n\t\t\tisArray: true,\n\t\t},\n\t\tcwd: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Cwd',\n\t\t},\n\t\tstdout: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Stdout',\n\t\t},\n\t\tstderr: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'stderr',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAgD,IAAAC,QAAA,GAAAC,OAAA,cAEjC,IAAAC,mBAAW,EAAC;EAC1BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,0BAA0B;EAChCC,WAAW,EAAE,4CAA4C;EACzDC,MAAM,EAAE;IACPC,GAAG,EAAE;MACJC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR,CAAC;IACDC,IAAI,EAAE;MACLF,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbE,OAAO,EAAE;IACV,CAAC;IACDC,GAAG,EAAE;MACJJ,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR,CAAC;IACDI,MAAM,EAAE;MACPL,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR,CAAC;IACDK,MAAM,EAAE;MACPN,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"executingCommandFailed.builder.js","names":["_schema","require","_default","exports","buildSchema","id","name","description","fields","cmd","type","label","args","isArray","cwd","stdout","stderr"],"sources":["../../src/errors/executingCommandFailed.builder.ts"],"sourcesContent":["import { buildSchema } from '@sprucelabs/schema'\n\nexport default buildSchema({\n\tid: 'executingCommandFailed',\n\tname: 'Executing command failed',\n\tdescription: 'The command that was being executed failed',\n\tfields: {\n\t\tcmd: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'The command being run',\n\t\t},\n\t\targs: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Args',\n\t\t\tisArray: true,\n\t\t},\n\t\tcwd: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Cwd',\n\t\t},\n\t\tstdout: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Stdout',\n\t\t},\n\t\tstderr: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'stderr',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAgD,IAAAC,QAAA,GAAAC,OAAA,cAEjC,IAAAC,mBAAW,EAAC;EAC1BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,0BAA0B;EAChCC,WAAW,EAAE,4CAA4C;EACzDC,MAAM,EAAE;IACPC,GAAG,EAAE;MACJC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR,CAAC;IACDC,IAAI,EAAE;MACLF,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbE,OAAO,EAAE;IACV,CAAC;IACDC,GAAG,EAAE;MACJJ,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR,CAAC;IACDI,MAAM,EAAE;MACPL,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR,CAAC;IACDK,MAAM,EAAE;MACPN,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"failedToImport.builder.js","names":["_schema","require","failedToImportDefinition","buildErrorSchema","id","name","description","fields","file","type","label","isRequired","hint","_default","exports"],"sources":["../../src/errors/failedToImport.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst failedToImportDefinition = buildErrorSchema({\n\tid: 'failedToImport',\n\tname: 'FailedToImport',\n\tdescription: 'Failed to import a file through VM',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\tisRequired: true,\n\t\t\thint: 'The file I tried to import',\n\t\t},\n\t},\n})\n\nexport default failedToImportDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,IAAAC,wBAAgB,EAAC;EACjDC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,gBAAgB;EACtBC,WAAW,EAAE,oCAAoC;EACjDC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"failedToImport.builder.js","names":["_schema","require","failedToImportDefinition","buildErrorSchema","id","name","description","fields","file","type","label","isRequired","hint","_default","exports"],"sources":["../../src/errors/failedToImport.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst failedToImportDefinition = buildErrorSchema({\n\tid: 'failedToImport',\n\tname: 'FailedToImport',\n\tdescription: 'Failed to import a file through VM',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\tisRequired: true,\n\t\t\thint: 'The file I tried to import',\n\t\t},\n\t},\n})\n\nexport default failedToImportDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,IAAAC,wBAAgB,EAAC;EACjDC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,gBAAgB;EACtBC,WAAW,EAAE,oCAAoC;EACjDC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,wBAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureNotInstalled.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","featureCode","type","isRequired"],"sources":["../../src/errors/featureNotInstalled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'featureNotInstalled',\n\tname: 'Feature not installed',\n\tdescription: '',\n\tfields: {\n\t\tfeatureCode: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,qBAAqB;EACzBC,IAAI,EAAE,uBAAuB;EAC7BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"featureNotInstalled.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","featureCode","type","isRequired"],"sources":["../../src/errors/featureNotInstalled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'featureNotInstalled',\n\tname: 'Feature not installed',\n\tdescription: '',\n\tfields: {\n\t\tfeatureCode: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,qBAAqB;EACzBC,IAAI,EAAE,uBAAuB;EAC7BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileExists.builder.js","names":["_schema","require","fileExistsDefinition","buildErrorSchema","id","name","description","fields","file","type","label","isRequired","hint","_default","exports"],"sources":["../../src/errors/fileExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst fileExistsDefinition = buildErrorSchema({\n\tid: 'fileExists',\n\tname: 'fileExists',\n\tdescription: 'The file already exists',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\tisRequired: true,\n\t\t\thint: 'The file being created',\n\t\t},\n\t},\n})\n\nexport default fileExistsDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,oBAAoB,GAAG,IAAAC,wBAAgB,EAAC;EAC7CC,EAAE,EAAE,YAAY;EAChBC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,yBAAyB;EACtCC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"fileExists.builder.js","names":["_schema","require","fileExistsDefinition","buildErrorSchema","id","name","description","fields","file","type","label","isRequired","hint","_default","exports"],"sources":["../../src/errors/fileExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst fileExistsDefinition = buildErrorSchema({\n\tid: 'fileExists',\n\tname: 'fileExists',\n\tdescription: 'The file already exists',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\tisRequired: true,\n\t\t\thint: 'The file being created',\n\t\t},\n\t},\n})\n\nexport default fileExistsDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,oBAAoB,GAAG,IAAAC,wBAAgB,EAAC;EAC7CC,EAAE,EAAE,YAAY;EAChBC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,yBAAyB;EACtCC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic.builder.js","names":["_schema","require","genericDefinition","buildErrorSchema","id","name","description","fields","friendlyMessageSet","type","label","_default","exports"],"sources":["../../src/errors/generic.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst genericDefinition = buildErrorSchema({\n\tid: 'generic',\n\tname: 'generic',\n\tdescription: \"When you're too lazy to make a new error\",\n\tfields: {\n\t\tfriendlyMessageSet: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Friendly message',\n\t\t},\n\t},\n})\n\nexport default genericDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,iBAAiB,GAAG,IAAAC,wBAAgB,EAAC;EAC1CC,EAAE,EAAE,SAAS;EACbC,IAAI,EAAE,SAAS;EACfC,WAAW,EAAE,0CAA0C;EACvDC,MAAM,EAAE;IACPC,kBAAkB,EAAE;MACnBC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaV,iBAAiB"}
|
|
1
|
+
{"version":3,"file":"generic.builder.js","names":["_schema","require","genericDefinition","buildErrorSchema","id","name","description","fields","friendlyMessageSet","type","label","_default","exports"],"sources":["../../src/errors/generic.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst genericDefinition = buildErrorSchema({\n\tid: 'generic',\n\tname: 'generic',\n\tdescription: \"When you're too lazy to make a new error\",\n\tfields: {\n\t\tfriendlyMessageSet: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Friendly message',\n\t\t},\n\t},\n})\n\nexport default genericDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,iBAAiB,GAAG,IAAAC,wBAAgB,EAAC;EAC1CC,EAAE,EAAE,SAAS;EACbC,IAAI,EAAE,SAAS;EACfC,WAAW,EAAE,0CAA0C;EACvDC,MAAM,EAAE;IACPC,kBAAkB,EAAE;MACnBC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaV,iBAAiB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidCommand.builder.js","names":["_schema","require","invalidParamsDefinition","buildErrorSchema","id","name","description","fields","args","type","label","isArray","isRequired","_default","exports"],"sources":["../../src/errors/invalidCommand.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst invalidParamsDefinition = buildErrorSchema({\n\tid: 'invalidCommand',\n\tname: 'Invalid command',\n\tdescription: 'The command is not valid, try --help',\n\tfields: {\n\t\targs: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'args',\n\t\t\tisArray: true,\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n\nexport default invalidParamsDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,uBAAuB,GAAG,IAAAC,wBAAgB,EAAC;EAChDC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,sCAAsC;EACnDC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,OAAO,EAAE,IAAI;MACbC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,uBAAuB"}
|
|
1
|
+
{"version":3,"file":"invalidCommand.builder.js","names":["_schema","require","invalidParamsDefinition","buildErrorSchema","id","name","description","fields","args","type","label","isArray","isRequired","_default","exports"],"sources":["../../src/errors/invalidCommand.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst invalidParamsDefinition = buildErrorSchema({\n\tid: 'invalidCommand',\n\tname: 'Invalid command',\n\tdescription: 'The command is not valid, try --help',\n\tfields: {\n\t\targs: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'args',\n\t\t\tisArray: true,\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n\nexport default invalidParamsDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,uBAAuB,GAAG,IAAAC,wBAAgB,EAAC;EAChDC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,sCAAsC;EACnDC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,OAAO,EAAE,IAAI;MACbC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,uBAAuB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidEventContract.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","fullyQualifiedEventName","type","isRequired","brokenProperty"],"sources":["../../src/errors/invalidEventContract.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'invalidEventContract',\n\tname: 'invalid event contract',\n\tdescription: '',\n\tfields: {\n\t\tfullyQualifiedEventName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tbrokenProperty: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,uBAAuB,EAAE;MACxBC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,cAAc,EAAE;MACfF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"invalidEventContract.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","fullyQualifiedEventName","type","isRequired","brokenProperty"],"sources":["../../src/errors/invalidEventContract.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'invalidEventContract',\n\tname: 'invalid event contract',\n\tdescription: '',\n\tfields: {\n\t\tfullyQualifiedEventName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tbrokenProperty: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,uBAAuB,EAAE;MACxBC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,cAAc,EAAE;MACfF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidFeatureCode.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","featureCode","type","isRequired"],"sources":["../../src/errors/invalidFeatureCode.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'invalidFeatureCode',\n\tname: 'Invalid feature code',\n\tdescription: '',\n\tfields: {\n\t\tfeatureCode: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"invalidFeatureCode.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","featureCode","type","isRequired"],"sources":["../../src/errors/invalidFeatureCode.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'invalidFeatureCode',\n\tname: 'Invalid feature code',\n\tdescription: '',\n\tfields: {\n\t\tfeatureCode: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,WAAW,EAAE;MACZC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidTestDirectory.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","dir","type","isRequired"],"sources":["../../src/errors/invalidTestDirectory.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'invalidTestDirectory',\n\tname: 'invalid test directory',\n\tdescription: '',\n\tfields: {\n\t\tdir: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,GAAG,EAAE;MACJC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"invalidTestDirectory.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","dir","type","isRequired"],"sources":["../../src/errors/invalidTestDirectory.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'invalidTestDirectory',\n\tname: 'invalid test directory',\n\tdescription: '',\n\tfields: {\n\t\tdir: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,GAAG,EAAE;MACJC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lintFailed.builder.js","names":["_schema","require","lintFailedDefinition","buildErrorSchema","id","name","description","fields","pattern","type","label","hint","isRequired","_default","exports"],"sources":["../../src/errors/lintFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst lintFailedDefinition = buildErrorSchema({\n\tid: 'lintFailed',\n\tname: 'Lint failed!',\n\tdescription: 'When linting a file fails',\n\tfields: {\n\t\tpattern: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Pattern',\n\t\t\thint: 'The pattern used to match files relative to the root of the skill',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n\nexport default lintFailedDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,oBAAoB,GAAG,IAAAC,wBAAgB,EAAC;EAC7CC,EAAE,EAAE,YAAY;EAChBC,IAAI,EAAE,cAAc;EACpBC,WAAW,EAAE,2BAA2B;EACxCC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,SAAS;MAChBC,IAAI,EAAE,mEAAmE;MACzEC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"lintFailed.builder.js","names":["_schema","require","lintFailedDefinition","buildErrorSchema","id","name","description","fields","pattern","type","label","hint","isRequired","_default","exports"],"sources":["../../src/errors/lintFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst lintFailedDefinition = buildErrorSchema({\n\tid: 'lintFailed',\n\tname: 'Lint failed!',\n\tdescription: 'When linting a file fails',\n\tfields: {\n\t\tpattern: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Pattern',\n\t\t\thint: 'The pattern used to match files relative to the root of the skill',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n\nexport default lintFailedDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,oBAAoB,GAAG,IAAAC,wBAAgB,EAAC;EAC7CC,EAAE,EAAE,YAAY;EAChBC,IAAI,EAAE,cAAc;EACpBC,WAAW,EAAE,2BAA2B;EACxCC,MAAM,EAAE;IACPC,OAAO,EAAE;MACRC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,SAAS;MAChBC,IAAI,EAAE,mEAAmE;MACzEC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaZ,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mercuryResponseError.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","importsWhenLocal","fields","responseErrors","type","isRequired","isArray","options","valueType"],"sources":["../../src/errors/mercuryResponseError.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'mercuryResponseError',\n\tname: 'Mercury response error',\n\tdescription: '',\n\timportsWhenLocal: [`import AbstractSpruceError from '@sprucelabs/error'`],\n\tfields: {\n\t\tresponseErrors: {\n\t\t\ttype: 'raw',\n\t\t\tisRequired: true,\n\t\t\tisArray: true,\n\t\t\toptions: {\n\t\t\t\tvalueType: 'AbstractSpruceError<any>',\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,gBAAgB,EAAE,uDAAuD;EACzEC,MAAM,EAAE;IACPC,cAAc,EAAE;MACfC,IAAI,EAAE,KAAK;MACXC,UAAU,EAAE,IAAI;MAChBC,OAAO,EAAE,IAAI;MACbC,OAAO,EAAE;QACRC,SAAS,EAAE;MACZ;IACD;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"mercuryResponseError.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","importsWhenLocal","fields","responseErrors","type","isRequired","isArray","options","valueType"],"sources":["../../src/errors/mercuryResponseError.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'mercuryResponseError',\n\tname: 'Mercury response error',\n\tdescription: '',\n\timportsWhenLocal: [`import AbstractSpruceError from '@sprucelabs/error'`],\n\tfields: {\n\t\tresponseErrors: {\n\t\t\ttype: 'raw',\n\t\t\tisRequired: true,\n\t\t\tisArray: true,\n\t\t\toptions: {\n\t\t\t\tvalueType: 'AbstractSpruceError<any>',\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,gBAAgB,EAAE,uDAAuD;EACzEC,MAAM,EAAE;IACPC,cAAc,EAAE;MACfC,IAAI,EAAE,KAAK;MACXC,UAAU,EAAE,IAAI;MAChBC,OAAO,EAAE,IAAI;MACbC,OAAO,EAAE;QACRC,SAAS,EAAE;MACZ;IACD;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"missingDependencies.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","dependencies","type","isRequired","isArray","options","schema","buildSchema","hint"],"sources":["../../src/errors/missingDependencies.builder.ts"],"sourcesContent":["import { buildErrorSchema, buildSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'missingDependencies',\n\tname: 'Missing dependencies',\n\tdescription: '',\n\tfields: {\n\t\tdependencies: {\n\t\t\ttype: 'schema',\n\t\t\tisRequired: true,\n\t\t\tisArray: true,\n\t\t\toptions: {\n\t\t\t\tschema: buildSchema({\n\t\t\t\t\tid: 'missingDependenciesDependency',\n\t\t\t\t\tfields: {\n\t\t\t\t\t\tname: {\n\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\thint: {\n\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAkE,IAAAC,QAAA,GAAAC,OAAA,cAEnD,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,qBAAqB;EACzBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,YAAY,EAAE;MACbC,IAAI,EAAE,QAAQ;MACdC,UAAU,EAAE,IAAI;MAChBC,OAAO,EAAE,IAAI;MACbC,OAAO,EAAE;QACRC,MAAM,EAAE,IAAAC,mBAAW,EAAC;UACnBV,EAAE,EAAE,+BAA+B;UACnCG,MAAM,EAAE;YACPF,IAAI,EAAE;cACLI,IAAI,EAAE,MAAM;cACZC,UAAU,EAAE;YACb,CAAC;YACDK,IAAI,EAAE;cACLN,IAAI,EAAE,MAAM;cACZC,UAAU,EAAE;YACb;UACD;QACD,CAAC;MACF;IACD;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"missingDependencies.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","dependencies","type","isRequired","isArray","options","schema","buildSchema","hint"],"sources":["../../src/errors/missingDependencies.builder.ts"],"sourcesContent":["import { buildErrorSchema, buildSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'missingDependencies',\n\tname: 'Missing dependencies',\n\tdescription: '',\n\tfields: {\n\t\tdependencies: {\n\t\t\ttype: 'schema',\n\t\t\tisRequired: true,\n\t\t\tisArray: true,\n\t\t\toptions: {\n\t\t\t\tschema: buildSchema({\n\t\t\t\t\tid: 'missingDependenciesDependency',\n\t\t\t\t\tfields: {\n\t\t\t\t\t\tname: {\n\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\thint: {\n\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\tisRequired: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAkE,IAAAC,QAAA,GAAAC,OAAA,cAEnD,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,qBAAqB;EACzBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,YAAY,EAAE;MACbC,IAAI,EAAE,QAAQ;MACdC,UAAU,EAAE,IAAI;MAChBC,OAAO,EAAE,IAAI;MACbC,OAAO,EAAE;QACRC,MAAM,EAAE,IAAAC,mBAAW,EAAC;UACnBV,EAAE,EAAE,+BAA+B;UACnCG,MAAM,EAAE;YACPF,IAAI,EAAE;cACLI,IAAI,EAAE,MAAM;cACZC,UAAU,EAAE;YACb,CAAC;YACDK,IAAI,EAAE;cACLN,IAAI,EAAE,MAAM;cACZC,UAAU,EAAE;YACb;UACD;QACD,CAAC;MACF;IACD;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noOrganizationsFound.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/noOrganizationsFound.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'noOrganizationsFound',\n\tname: 'no organizations found',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"noOrganizationsFound.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/noOrganizationsFound.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'noOrganizationsFound',\n\tname: 'no organizations found',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,wBAAwB;EAC9BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noSkillsRegistered.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/noSkillsRegistered.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'noSkillsRegistered',\n\tname: 'No skills registered',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"noSkillsRegistered.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/noSkillsRegistered.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'noSkillsRegistered',\n\tname: 'No skills registered',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notImplemented.builder.js","names":["_schema","require","notImplementedDefinition","buildErrorSchema","id","name","description","fields","_default","exports"],"sources":["../../src/errors/notImplemented.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst notImplementedDefinition = buildErrorSchema({\n\tid: 'notImplemented',\n\tname: 'Not implemented',\n\tdescription: 'This feature has not been implemented',\n\tfields: {},\n})\n\nexport default notImplementedDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,IAAAC,wBAAgB,EAAC;EACjDC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,uCAAuC;EACpDC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaP,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"notImplemented.builder.js","names":["_schema","require","notImplementedDefinition","buildErrorSchema","id","name","description","fields","_default","exports"],"sources":["../../src/errors/notImplemented.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nconst notImplementedDefinition = buildErrorSchema({\n\tid: 'notImplemented',\n\tname: 'Not implemented',\n\tdescription: 'This feature has not been implemented',\n\tfields: {},\n})\n\nexport default notImplementedDefinition\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,IAAAC,wBAAgB,EAAC;EACjDC,EAAE,EAAE,gBAAgB;EACpBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,uCAAuC;EACpDC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAEaP,wBAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notLoggedIn.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/notLoggedIn.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'notLoggedIn',\n\tname: 'Not logged in',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"notLoggedIn.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/notLoggedIn.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'notLoggedIn',\n\tname: 'Not logged in',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","schemaId","type","label","isRequired","destination"],"sources":["../../src/errors/schemaExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'schemaExists',\n\tname: 'Schema exists',\n\tdescription: '',\n\tfields: {\n\t\tschemaId: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema id',\n\t\t\tisRequired: true,\n\t\t},\n\t\tdestination: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Destination',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,cAAc;EAClBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,QAAQ,EAAE;MACTC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,WAAW;MAClBC,UAAU,EAAE;IACb,CAAC;IACDC,WAAW,EAAE;MACZH,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"schemaExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","schemaId","type","label","isRequired","destination"],"sources":["../../src/errors/schemaExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'schemaExists',\n\tname: 'Schema exists',\n\tdescription: '',\n\tfields: {\n\t\tschemaId: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Schema id',\n\t\t\tisRequired: true,\n\t\t},\n\t\tdestination: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Destination',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,cAAc;EAClBC,IAAI,EAAE,eAAe;EACrBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,QAAQ,EAAE;MACTC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,WAAW;MAClBC,UAAU,EAAE;IACb,CAAC;IACDC,WAAW,EAAE;MACZH,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACR;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaFailedToImport.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","file","type","label","isRequired","hint"],"sources":["../../src/errors/schemaFailedToImport.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'schemaFailedToImport',\n\tname: 'Definition failed to import',\n\tdescription: 'The definition file failed to import',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\tisRequired: true,\n\t\t\thint: 'The file definition file I tried to import',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,6BAA6B;EACnCC,WAAW,EAAE,sCAAsC;EACnDC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"schemaFailedToImport.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","file","type","label","isRequired","hint"],"sources":["../../src/errors/schemaFailedToImport.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'schemaFailedToImport',\n\tname: 'Definition failed to import',\n\tdescription: 'The definition file failed to import',\n\tfields: {\n\t\tfile: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'File',\n\t\t\tisRequired: true,\n\t\t\thint: 'The file definition file I tried to import',\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,sBAAsB;EAC1BC,IAAI,EAAE,6BAA6B;EACnCC,WAAW,EAAE,sCAAsC;EACnDC,MAAM,EAAE;IACPC,IAAI,EAAE;MACLC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,MAAM;MACbC,UAAU,EAAE,IAAI;MAChBC,IAAI,EAAE;IACP;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaTemplateItemBuildingFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","schemaId","type","isRequired","schemaNamespace","fieldName","fieldOptions","options","valueType"],"sources":["../../src/errors/schemaTemplateItemBuildingFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'schemaTemplateItemBuildingFailed',\n\tname: 'Schema template item building failed',\n\tdescription: '',\n\tfields: {\n\t\tschemaId: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tschemaNamespace: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tfieldName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tfieldOptions: {\n\t\t\ttype: 'raw',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tvalueType: 'Record<string, any>',\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,kCAAkC;EACtCC,IAAI,EAAE,sCAAsC;EAC5CC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,QAAQ,EAAE;MACTC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,eAAe,EAAE;MAChBF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDE,SAAS,EAAE;MACVH,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDG,YAAY,EAAE;MACbJ,IAAI,EAAE,KAAK;MACXC,UAAU,EAAE,IAAI;MAChBI,OAAO,EAAE;QACRC,SAAS,EAAE;MACZ;IACD;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"schemaTemplateItemBuildingFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","schemaId","type","isRequired","schemaNamespace","fieldName","fieldOptions","options","valueType"],"sources":["../../src/errors/schemaTemplateItemBuildingFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'schemaTemplateItemBuildingFailed',\n\tname: 'Schema template item building failed',\n\tdescription: '',\n\tfields: {\n\t\tschemaId: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tschemaNamespace: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tfieldName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\tfieldOptions: {\n\t\t\ttype: 'raw',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tvalueType: 'Record<string, any>',\n\t\t\t},\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,kCAAkC;EACtCC,IAAI,EAAE,sCAAsC;EAC5CC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,QAAQ,EAAE;MACTC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,eAAe,EAAE;MAChBF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDE,SAAS,EAAE;MACVH,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDG,YAAY,EAAE;MACbJ,IAAI,EAAE,KAAK;MACXC,UAAU,EAAE,IAAI;MAChBI,OAAO,EAAE;QACRC,SAAS,EAAE;MACZ;IACD;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skillNotFound.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/skillNotFound.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'skillNotFound',\n\tname: 'skill not found',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,eAAe;EACnBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"skillNotFound.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/skillNotFound.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'skillNotFound',\n\tname: 'skill not found',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,eAAe;EACnBC,IAAI,EAAE,iBAAiB;EACvBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skillNotRegistered.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/skillNotRegistered.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'skillNotRegistered',\n\tname: 'Skill not registered',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"skillNotRegistered.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/skillNotRegistered.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'skillNotRegistered',\n\tname: 'Skill not registered',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skillViewExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","type","isRequired"],"sources":["../../src/errors/skillViewExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'skillViewExists',\n\tname: 'Skill view exists',\n\tdescription: '',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,iBAAiB;EACrBC,IAAI,EAAE,mBAAmB;EACzBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPF,IAAI,EAAE;MACLG,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"skillViewExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","type","isRequired"],"sources":["../../src/errors/skillViewExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'skillViewExists',\n\tname: 'Skill view exists',\n\tdescription: '',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,iBAAiB;EACrBC,IAAI,EAAE,mBAAmB;EACzBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPF,IAAI,EAAE;MACLG,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storeExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/storeExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'storeExists',\n\tname: 'Store exists',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,cAAc;EACpBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"storeExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/storeExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'storeExists',\n\tname: 'Store exists',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,cAAc;EACpBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","fileName","type","isRequired","testName","errorMessage"],"sources":["../../src/errors/testFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'testFailed',\n\tname: 'Test failed',\n\tdescription: '',\n\tfields: {\n\t\tfileName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\ttestName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\terrorMessage: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,YAAY;EAChBC,IAAI,EAAE,aAAa;EACnBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,QAAQ,EAAE;MACTC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,QAAQ,EAAE;MACTF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDE,YAAY,EAAE;MACbH,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"testFailed.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields","fileName","type","isRequired","testName","errorMessage"],"sources":["../../src/errors/testFailed.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'testFailed',\n\tname: 'Test failed',\n\tdescription: '',\n\tfields: {\n\t\tfileName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\ttestName: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t\terrorMessage: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,YAAY;EAChBC,IAAI,EAAE,aAAa;EACnBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE;IACPC,QAAQ,EAAE;MACTC,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDC,QAAQ,EAAE;MACTF,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb,CAAC;IACDE,YAAY,EAAE;MACbH,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/themeExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'themeExists',\n\tname: 'Theme exists',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,cAAc;EACpBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"themeExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/themeExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'themeExists',\n\tname: 'Theme exists',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,aAAa;EACjBC,IAAI,EAAE,cAAc;EACpBC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transportAlreadyExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","fields","type","label","isRequired"],"sources":["../../src/errors/transportAlreadyExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'transportAlreadyExists',\n\tname: 'transport already exists',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Transport name',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,0BAA0B;EAChCC,MAAM,EAAE;IACPD,IAAI,EAAE;MACLE,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,gBAAgB;MACvBC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"transportAlreadyExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","fields","type","label","isRequired"],"sources":["../../src/errors/transportAlreadyExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'transportAlreadyExists',\n\tname: 'transport already exists',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Transport name',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,0BAA0B;EAChCC,MAAM,EAAE;IACPD,IAAI,EAAE;MACLE,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,gBAAgB;MACvBC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _schema = require("@sprucelabs/schema");
|
|
8
|
+
var _default = exports["default"] = (0, _schema.buildErrorSchema)({
|
|
9
|
+
id: 'viewPluginAlreadyExists',
|
|
10
|
+
name: 'View plugin already exists',
|
|
11
|
+
fields: {
|
|
12
|
+
name: {
|
|
13
|
+
type: 'text',
|
|
14
|
+
isRequired: true
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=viewPluginAlreadyExists.builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewPluginAlreadyExists.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","fields","type","isRequired"],"sources":["../../src/errors/viewPluginAlreadyExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'viewPluginAlreadyExists',\n\tname: 'View plugin already exists',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,yBAAyB;EAC7BC,IAAI,EAAE,4BAA4B;EAClCC,MAAM,EAAE;IACPD,IAAI,EAAE;MACLE,IAAI,EAAE,MAAM;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vscodeNotInstalled.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/vscodeNotInstalled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'vscodeNotInstalled',\n\tname: 'vscode not installed',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"vscodeNotInstalled.builder.js","names":["_schema","require","_default","exports","buildErrorSchema","id","name","description","fields"],"sources":["../../src/errors/vscodeNotInstalled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'vscodeNotInstalled',\n\tname: 'vscode not installed',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,cAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractAction.js","names":["_spruceSkillUtils","require","_validateAndNormalize","_interopRequireDefault","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","AbstractAction","exports","options","_classCallCheck2","cwd","templates","parent","storeFactory","serviceFactory","features","featureInstaller","ui","writerFactory","apiClientFactory","emitter","actionExecuter","_createClass2","key","value","Action","featureCode","actionCode","_Service","Service","_x","_x2","toString","type","Store","code","Writer","fileDescriptions","linter","getFeature","getFeatureCodes","getAllCodes","validateAndNormalizeOptions","schema","optionsSchema","validateAndNormalizer","validateAndNormalize","_resolveVersion","_asyncToGenerator2","_regenerator","mark","_callee","userSuppliedVersion","resolvedDestination","resolvedVersion","wrap","_callee$","_context","prev","next","versionUtil","generateVersion","undefined","constValue","askForVersionIfTodaysVersionDoesNotExist","sent","assertValidVersion","abrupt","dirValue","stop","resolveVersion","_x3","_x4","_askForVersionIfTodaysVersionDoesNotExist","_callee2","fallbackVersion","versions","todaysVersion","version","alreadyHasToday","choices","_callee2$","_context2","getAllVersions","find","label","_toConsumableArray2","sort","a","b","intValue","map","prompt","hint","isRequired","_x5","_x6","_connectToApi","_callee3","_callee3$","_context3","connectToApi","_x7"],"sources":["../../src/features/AbstractAction.ts"],"sourcesContent":["import { Schema, SchemaValues, SchemaPartialValues } from '@sprucelabs/schema'\nimport { versionUtil } from '@sprucelabs/spruce-skill-utils'\nimport { Templates } from '@sprucelabs/spruce-templates'\nimport { GlobalEmitter } from '../GlobalEmitter'\nimport ServiceFactory, {\n\tServiceProvider,\n\tService,\n\tServiceMap,\n} from '../services/ServiceFactory'\nimport StoreFactory, {\n\tStoreCode,\n\tCreateStoreOptions,\n\tStoreMap,\n} from '../stores/StoreFactory'\nimport {\n\tApiClient,\n\tApiClientFactory,\n\tApiClientFactoryOptions,\n} from '../types/apiClient.types'\nimport { GraphicsInterface } from '../types/cli.types'\nimport { WriterOptions } from '../writers/AbstractWriter'\nimport WriterFactory, { WriterCode, WriterMap } from '../writers/WriterFactory'\nimport AbstractFeature from './AbstractFeature'\nimport ActionExecuter from './ActionExecuter'\nimport FeatureInstaller from './FeatureInstaller'\nimport {\n\tFeatureAction,\n\tFeatureActionResponse,\n\tActionOptions,\n\tFeatureCode,\n} from './features.types'\nimport validateAndNormalizer from './validateAndNormalize.utility'\n\nexport default abstract class AbstractAction<S extends Schema = Schema>\n\timplements FeatureAction<S>, ServiceProvider\n{\n\tpublic abstract optionsSchema: S\n\tpublic readonly commandAliases: string[] = []\n\tpublic abstract invocationMessage: string\n\n\tprotected parent: AbstractFeature\n\tprotected features: FeatureInstaller\n\tprotected cwd: string\n\tprotected templates: Templates\n\tprotected ui: GraphicsInterface\n\tprotected emitter: GlobalEmitter\n\n\tprivate serviceFactory: ServiceFactory\n\tprivate storeFactory: StoreFactory\n\tprivate writerFactory: WriterFactory\n\tprivate apiClientFactory: ApiClientFactory\n\tprivate actionExecuter: ActionExecuter\n\n\tpublic constructor(options: ActionOptions) {\n\t\tthis.cwd = options.cwd\n\t\tthis.templates = options.templates\n\t\tthis.parent = options.parent\n\t\tthis.storeFactory = options.storeFactory\n\t\tthis.serviceFactory = options.serviceFactory\n\t\tthis.features = options.featureInstaller\n\t\tthis.ui = options.ui\n\t\tthis.writerFactory = options.writerFactory\n\t\tthis.apiClientFactory = options.apiClientFactory\n\t\tthis.emitter = options.emitter\n\t\tthis.actionExecuter = options.actionExecuter\n\t}\n\n\tpublic abstract execute(\n\t\toptions: SchemaValues<S>\n\t): Promise<FeatureActionResponse>\n\n\tprotected Action(featureCode: FeatureCode, actionCode: string) {\n\t\treturn this.actionExecuter.Action(featureCode, actionCode)\n\t}\n\n\tpublic Service<S extends Service>(type: S, cwd?: string): ServiceMap[S] {\n\t\treturn this.serviceFactory.Service(cwd ?? this.cwd, type)\n\t}\n\n\tprotected Store<C extends StoreCode>(\n\t\tcode: C,\n\t\toptions?: CreateStoreOptions<C>\n\t): StoreMap[C] {\n\t\treturn this.storeFactory.Store(code, { cwd: this.cwd, ...(options as any) })\n\t}\n\n\tprotected Writer<C extends WriterCode>(\n\t\tcode: C,\n\t\toptions?: Partial<WriterOptions>\n\t): WriterMap[C] {\n\t\treturn this.writerFactory.Writer(code, {\n\t\t\tfileDescriptions: this.parent.fileDescriptions,\n\t\t\tlinter: this.Service('lint'),\n\t\t\t...options,\n\t\t})\n\t}\n\n\tprotected getFeature<C extends FeatureCode>(code: C) {\n\t\treturn this.features.getFeature(code)\n\t}\n\n\tprotected getFeatureCodes(): FeatureCode[] {\n\t\treturn this.features.getAllCodes()\n\t}\n\n\tprotected validateAndNormalizeOptions(options: SchemaPartialValues<S>) {\n\t\tconst schema = this.optionsSchema\n\t\treturn validateAndNormalizer.validateAndNormalize(schema, options)\n\t}\n\n\tprotected async resolveVersion(\n\t\tuserSuppliedVersion: string | null | undefined,\n\t\tresolvedDestination: string\n\t) {\n\t\tlet resolvedVersion = versionUtil.generateVersion(\n\t\t\tuserSuppliedVersion ?? undefined\n\t\t).constValue\n\n\t\tif (!userSuppliedVersion) {\n\t\t\tresolvedVersion = await this.askForVersionIfTodaysVersionDoesNotExist(\n\t\t\t\tresolvedDestination,\n\t\t\t\tresolvedVersion\n\t\t\t)\n\t\t}\n\t\tversionUtil.assertValidVersion(resolvedVersion)\n\n\t\treturn versionUtil.generateVersion(resolvedVersion).dirValue\n\t}\n\n\tprivate async askForVersionIfTodaysVersionDoesNotExist(\n\t\tresolvedDestination: string,\n\t\tfallbackVersion: string\n\t) {\n\t\tconst versions = versionUtil.getAllVersions(resolvedDestination)\n\t\tconst todaysVersion = versionUtil.generateVersion()\n\n\t\tlet version = fallbackVersion\n\t\tconst alreadyHasToday = !!versions.find(\n\t\t\t(version) => version.dirValue === todaysVersion.dirValue\n\t\t)\n\t\tconst choices = []\n\n\t\tif (!alreadyHasToday) {\n\t\t\tchoices.push({\n\t\t\t\tlabel: 'New Version',\n\t\t\t\tvalue: todaysVersion.dirValue,\n\t\t\t})\n\t\t}\n\n\t\tchoices.push(\n\t\t\t...versions\n\t\t\t\t.sort((a, b) => {\n\t\t\t\t\treturn a.intValue > b.intValue ? -1 : 1\n\t\t\t\t})\n\t\t\t\t.map((version) => ({\n\t\t\t\t\tvalue: version.dirValue,\n\t\t\t\t\tlabel: version.dirValue,\n\t\t\t\t}))\n\t\t)\n\n\t\tif (versions.length > 0) {\n\t\t\tversion = await this.ui.prompt({\n\t\t\t\ttype: 'select',\n\t\t\t\tlabel: 'Version',\n\t\t\t\thint: 'Confirm which version you want to use?',\n\t\t\t\tisRequired: true,\n\t\t\t\toptions: {\n\t\t\t\t\tchoices,\n\t\t\t\t},\n\t\t\t})\n\t\t}\n\t\treturn version\n\t}\n\n\tprotected async connectToApi(\n\t\toptions?: ApiClientFactoryOptions\n\t): Promise<ApiClient> {\n\t\tretur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RwE,OAAO,EAAPA;gBACD;cACD,CAAC,CAAC;YAAA;cARFF,OAAO,GAAAI,SAAA,CAAAjB,IAAA;YAAA;cAAA,OAAAiB,SAAA,CAAAf,MAAA,WAUDW,OAAO;YAAA;YAAA;cAAA,OAAAI,SAAA,CAAAb,IAAA;UAAA;QAAA,GAAAK,QAAA;MAAA,CACd;MAAA,SAAAV,yCAAA+B,GAAA,EAAAC,GAAA;QAAA,OAAAvB,yCAAA,CAAA5E,KAAA,OAAAE,SAAA;MAAA;MAAA,OAAAiE,wCAAA;IAAA;EAAA;IAAAzC,GAAA;IAAAC,KAAA;MAAA,IAAAyE,aAAA,OAAAjD,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CAED,SAAAgD,SACC1F,OAAiC;QAAA,OAAAyC,YAAA,YAAAM,IAAA,UAAA4C,UAAAC,SAAA;UAAA,kBAAAA,SAAA,CAAA1C,IAAA,GAAA0C,SAAA,CAAAzC,IAAA;YAAA;cAAA,OAAAyC,SAAA,CAAAjC,MAAA,WAE1B,IAAI,CAAChD,gBAAgB,CAACX,OAAO,CAAC;YAAA;YAAA;cAAA,OAAA4F,SAAA,CAAA/B,IAAA;UAAA;QAAA,GAAA6B,QAAA;MAAA,CACrC;MAAA,SAAAG,aAAAC,GAAA;QAAA,OAAAL,aAAA,CAAApG,KAAA,OAAAE,SAAA;MAAA;MAAA,OAAAsG,YAAA;IAAA;EAAA;EAAA,OAAA/F,cAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"AbstractAction.js","names":["_spruceSkillUtils","require","_validateAndNormalize","_interopRequireDefault","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","AbstractAction","exports","options","_classCallCheck2","cwd","templates","parent","storeFactory","serviceFactory","features","featureInstaller","ui","writerFactory","apiClientFactory","emitter","actionExecuter","_createClass2","key","value","Action","featureCode","actionCode","_Service","Service","_x","_x2","toString","type","Store","code","Writer","fileDescriptions","linter","getFeature","getFeatureCodes","getAllCodes","validateAndNormalizeOptions","schema","optionsSchema","validateAndNormalizer","validateAndNormalize","_resolveVersion","_asyncToGenerator2","_regenerator","mark","_callee","userSuppliedVersion","resolvedDestination","resolvedVersion","wrap","_callee$","_context","prev","next","versionUtil","generateVersion","undefined","constValue","askForVersionIfTodaysVersionDoesNotExist","sent","assertValidVersion","abrupt","dirValue","stop","resolveVersion","_x3","_x4","_askForVersionIfTodaysVersionDoesNotExist","_callee2","fallbackVersion","versions","todaysVersion","version","alreadyHasToday","choices","_callee2$","_context2","getAllVersions","find","label","_toConsumableArray2","sort","a","b","intValue","map","prompt","hint","isRequired","_x5","_x6","_connectToApi","_callee3","_callee3$","_context3","connectToApi","_x7"],"sources":["../../src/features/AbstractAction.ts"],"sourcesContent":["import { Schema, SchemaValues, SchemaPartialValues } from '@sprucelabs/schema'\nimport { versionUtil } from '@sprucelabs/spruce-skill-utils'\nimport { Templates } from '@sprucelabs/spruce-templates'\nimport { GlobalEmitter } from '../GlobalEmitter'\nimport ServiceFactory, {\n\tServiceProvider,\n\tService,\n\tServiceMap,\n} from '../services/ServiceFactory'\nimport StoreFactory, {\n\tStoreCode,\n\tCreateStoreOptions,\n\tStoreMap,\n} from '../stores/StoreFactory'\nimport {\n\tApiClient,\n\tApiClientFactory,\n\tApiClientFactoryOptions,\n} from '../types/apiClient.types'\nimport { GraphicsInterface } from '../types/cli.types'\nimport { WriterOptions } from '../writers/AbstractWriter'\nimport WriterFactory, { WriterCode, WriterMap } from '../writers/WriterFactory'\nimport AbstractFeature from './AbstractFeature'\nimport ActionExecuter from './ActionExecuter'\nimport FeatureInstaller from './FeatureInstaller'\nimport {\n\tFeatureAction,\n\tFeatureActionResponse,\n\tActionOptions,\n\tFeatureCode,\n} from './features.types'\nimport validateAndNormalizer from './validateAndNormalize.utility'\n\nexport default abstract class AbstractAction<S extends Schema = Schema>\n\timplements FeatureAction<S>, ServiceProvider\n{\n\tpublic abstract optionsSchema: S\n\tpublic readonly commandAliases: string[] = []\n\tpublic abstract invocationMessage: string\n\n\tprotected parent: AbstractFeature\n\tprotected features: FeatureInstaller\n\tprotected cwd: string\n\tprotected templates: Templates\n\tprotected ui: GraphicsInterface\n\tprotected emitter: GlobalEmitter\n\n\tprivate serviceFactory: ServiceFactory\n\tprivate storeFactory: StoreFactory\n\tprivate writerFactory: WriterFactory\n\tprivate apiClientFactory: ApiClientFactory\n\tprivate actionExecuter: ActionExecuter\n\n\tpublic constructor(options: ActionOptions) {\n\t\tthis.cwd = options.cwd\n\t\tthis.templates = options.templates\n\t\tthis.parent = options.parent\n\t\tthis.storeFactory = options.storeFactory\n\t\tthis.serviceFactory = options.serviceFactory\n\t\tthis.features = options.featureInstaller\n\t\tthis.ui = options.ui\n\t\tthis.writerFactory = options.writerFactory\n\t\tthis.apiClientFactory = options.apiClientFactory\n\t\tthis.emitter = options.emitter\n\t\tthis.actionExecuter = options.actionExecuter\n\t}\n\n\tpublic abstract execute(\n\t\toptions: SchemaValues<S>\n\t): Promise<FeatureActionResponse>\n\n\tprotected Action(featureCode: FeatureCode, actionCode: string) {\n\t\treturn this.actionExecuter.Action(featureCode, actionCode)\n\t}\n\n\tpublic Service<S extends Service>(type: S, cwd?: string): ServiceMap[S] {\n\t\treturn this.serviceFactory.Service(cwd ?? this.cwd, type)\n\t}\n\n\tprotected Store<C extends StoreCode>(\n\t\tcode: C,\n\t\toptions?: CreateStoreOptions<C>\n\t): StoreMap[C] {\n\t\treturn this.storeFactory.Store(code, { cwd: this.cwd, ...(options as any) })\n\t}\n\n\tprotected Writer<C extends WriterCode>(\n\t\tcode: C,\n\t\toptions?: Partial<WriterOptions>\n\t): WriterMap[C] {\n\t\treturn this.writerFactory.Writer(code, {\n\t\t\tfileDescriptions: this.parent.fileDescriptions,\n\t\t\tlinter: this.Service('lint'),\n\t\t\t...options,\n\t\t})\n\t}\n\n\tprotected getFeature<C extends FeatureCode>(code: C) {\n\t\treturn this.features.getFeature(code)\n\t}\n\n\tprotected getFeatureCodes(): FeatureCode[] {\n\t\treturn this.features.getAllCodes()\n\t}\n\n\tprotected validateAndNormalizeOptions(options: SchemaPartialValues<S>) {\n\t\tconst schema = this.optionsSchema\n\t\treturn validateAndNormalizer.validateAndNormalize(schema, options)\n\t}\n\n\tprotected async resolveVersion(\n\t\tuserSuppliedVersion: string | null | undefined,\n\t\tresolvedDestination: string\n\t) {\n\t\tlet resolvedVersion = versionUtil.generateVersion(\n\t\t\tuserSuppliedVersion ?? undefined\n\t\t).constValue\n\n\t\tif (!userSuppliedVersion) {\n\t\t\tresolvedVersion = await this.askForVersionIfTodaysVersionDoesNotExist(\n\t\t\t\tresolvedDestination,\n\t\t\t\tresolvedVersion\n\t\t\t)\n\t\t}\n\t\tversionUtil.assertValidVersion(resolvedVersion)\n\n\t\treturn versionUtil.generateVersion(resolvedVersion).dirValue\n\t}\n\n\tprivate async askForVersionIfTodaysVersionDoesNotExist(\n\t\tresolvedDestination: string,\n\t\tfallbackVersion: string\n\t) {\n\t\tconst versions = versionUtil.getAllVersions(resolvedDestination)\n\t\tconst todaysVersion = versionUtil.generateVersion()\n\n\t\tlet version = fallbackVersion\n\t\tconst alreadyHasToday = !!versions.find(\n\t\t\t(version) => version.dirValue === todaysVersion.dirValue\n\t\t)\n\t\tconst choices = []\n\n\t\tif (!alreadyHasToday) {\n\t\t\tchoices.push({\n\t\t\t\tlabel: 'New Version',\n\t\t\t\tvalue: todaysVersion.dirValue,\n\t\t\t})\n\t\t}\n\n\t\tchoices.push(\n\t\t\t...versions\n\t\t\t\t.sort((a, b) => {\n\t\t\t\t\treturn a.intValue > b.intValue ? -1 : 1\n\t\t\t\t})\n\t\t\t\t.map((version) => ({\n\t\t\t\t\tvalue: version.dirValue,\n\t\t\t\t\tlabel: version.dirValue,\n\t\t\t\t}))\n\t\t)\n\n\t\tif (versions.length > 0) {\n\t\t\tversion = await this.ui.prompt({\n\t\t\t\ttype: 'select',\n\t\t\t\tlabel: 'Version',\n\t\t\t\thint: 'Confirm which version you want to use?',\n\t\t\t\tisRequired: true,\n\t\t\t\toptions: {\n\t\t\t\t\tchoices,\n\t\t\t\t},\n\t\t\t})\n\t\t}\n\t\treturn version\n\t}\n\n\tprotected async connectToApi(\n\t\toptions?: ApiClientFactoryOptions\n\t): Promise<ApiClient> {\n\t\treturn this.apiClientFactory(options)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,iBAAA,GAAAC,OAAA;AA8BA,IAAAC,qBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAkE,SAAAG,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAAc,yBAAA,GAAAd,MAAA,CAAAe,gBAAA,CAAAlB,CAAA,EAAAG,MAAA,CAAAc,yBAAA,CAAAf,CAAA,KAAAH,OAAA,CAAAI,MAAA,CAAAD,CAAA,GAAA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globby","_WriterFactory","_feature","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","normalCompletion","didErr","err","call","step","next","_e2","minLen","_arrayLikeToArray","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","ownKeys","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","AbstractFeature","exports","options","_classCallCheck2","cwd","serviceFactory","templates","actions","actionFactory","storeFactory","writers","WriterFactory","ui","settings","Service","linter","emitter","features","featureInstaller","apiClientFactory","actionExecuter","_createClass2","key","Action","featureCode","actionCode","_beforePackageInstall","_asyncToGenerator2","_regenerator","mark","_callee","_options","wrap","_callee$","_context","prev","abrupt","stop","beforePackageInstall","_x3","_afterPackageInstall","_callee2","_callee2$","_context2","afterPackageInstall","_x4","_Service","_x","_x2","type","Writer","code","fileDescriptions","getFeature","_getAvailableActionCodes","_callee3","matches","codes","_iterator","_step","match","generatedCode","_callee3$","_context3","actionsDir","actionCodes","globby","pathUtil","join","sent","featuresUtil","filePathToActionCode","getAvailableActionCodes","Store","_connectToApi","_callee4","_callee4$","_context4","connectToApi","_x5"],"sources":["../../src/features/AbstractFeature.ts"],"sourcesContent":["import pathUtil from 'path'\nimport globby from '@sprucelabs/globby'\nimport { Schema, SchemaValues } from '@sprucelabs/schema'\nimport { Templates } from '@sprucelabs/spruce-templates'\nimport { GlobalEmitter } from '../GlobalEmitter'\nimport ServiceFactory, {\n\tService,\n\tServiceProvider,\n\tServiceMap,\n} from '../services/ServiceFactory'\nimport StoreFactory, {\n\tStoreCode,\n\tCreateStoreOptions,\n\tStoreMap,\n} from '../stores/StoreFactory'\nimport {\n\tApiClient,\n\tApiClientFactory,\n\tApiClientFactoryOptions,\n} from '../types/apiClient.types'\nimport { NpmPackage, GeneratedFile, FileDescription } from '../types/cli.types'\nimport { GraphicsInterface } from '../types/cli.types'\nimport { WriterOptions } from '../writers/AbstractWriter'\nimport WriterFactory, { WriterCode, WriterMap } from '../writers/WriterFactory'\nimport ActionExecuter from './ActionExecuter'\nimport ActionFactory from './ActionFactory'\nimport featuresUtil from './feature.utilities'\nimport FeatureInstaller from './FeatureInstaller'\nimport { FeatureCode } from './features.types'\n\nexport default abstract class AbstractFeature<\n\tS extends Schema | undefined = Schema | undefined,\n> implements ServiceProvider\n{\n\tpublic abstract description: string\n\tpublic readonly dependencies: FeatureDependency[] = []\n\tpublic readonly packageDependencies: NpmPackage[] = []\n\tpublic readonly optionsSchema?: S\n\tpublic readonly fileDescriptions: FileDescription[] = []\n\n\tpublic isInstalled?(): Promise<boolean>\n\n\tpublic abstract readonly code: FeatureCode\n\tpublic abstract readonly nameReadable: string\n\tpublic readonly installOrderWeight: number = 0\n\n\tpublic cwd: string\n\tpublic scripts: Record<string, any> = {}\n\tpublic actionsDir: string | undefined\n\tprotected actions?: ActionFactory\n\tprotected templates: Templates\n\tprotected emitter: GlobalEmitter\n\tprotected features: FeatureInstaller\n\tprotected ui: GraphicsInterface\n\n\tprivate serviceFactory: ServiceFactory\n\tprivate storeFactory: StoreFactory\n\tprivate writers: WriterFactory\n\tprivate apiClientFactory: ApiClientFactory\n\tprivate actionExecuter: ActionExecuter\n\tprivate actionCodes?: string[]\n\n\tpublic constructor(options: FeatureOptions) {\n\t\tthis.cwd = options.cwd\n\t\tthis.serviceFactory = options.serviceFactory\n\t\tthis.templates = options.templates\n\t\tthis.actions = options.actionFactory\n\t\tthis.storeFactory = options.storeFactory\n\t\tthis.writers = new WriterFactory({\n\t\t\ttemplates: this.templates,\n\t\t\tui: options.ui,\n\t\t\tsettings: this.Service('settings'),\n\t\t\tlinter: this.Service('lint'),\n\t\t})\n\t\tthis.emitter = options.emitter\n\t\tthis.features = options.featureInstaller\n\t\tthis.ui = options.ui\n\t\tthis.apiClientFactory = options.apiClientFactory\n\t\tthis.actionExecuter = options.actionExecuter\n\t}\n\n\tprotected Action(featureCode: string, actionCode: string) {\n\t\treturn this.actionExecuter.Action(featureCode as any, actionCode)\n\t}\n\n\tpublic async beforePackageInstall(\n\t\t_options: S extends Schema ? SchemaValues<S> : undefined\n\t): Promise<InstallResults> {\n\t\treturn {}\n\t}\n\n\tpublic async afterPackageInstall(\n\t\t_options: S extends Schema ? SchemaValues<S> : undefined\n\t): Promise<InstallResults> {\n\t\treturn {}\n\t}\n\n\tpublic Service<S extends Service>(type: S, cwd?: string): ServiceMap[S] {\n\t\treturn this.serviceFactory.Service(cwd ?? this.cwd, type)\n\t}\n\n\tpublic Writer<C extends WriterCode>(\n\t\tcode: C,\n\t\toptions?: Partial<WriterOptions>\n\t): WriterMap[C] {\n\t\treturn this.writers.Writer(code, {\n\t\t\tfileDescriptions: this.fileDescriptions,\n\t\t\tlinter: this.Service('lint'),\n\t\t\t...options,\n\t\t})\n\t}\n\n\tpublic getFeature<Code extends FeatureCode>(code: Code) {\n\t\treturn this.features.getFeature(code)\n\t}\n\n\tpublic async getAvailableActionCodes(): Promise<string[]> {\n\t\tif (!this.actionsDir) {\n\t\t\treturn []\n\t\t}\n\n\t\tif (!this.actionCodes) {\n\t\t\tconst matches: string[] = await globby(\n\t\t\t\tpathUtil.join(this.actionsDir, '**/*Action.js')\n\t\t\t)\n\n\t\t\tconst codes: string[] = []\n\n\t\t\tfor (const match of matches) {\n\t\t\t\tconst generatedCode = featuresUtil.filePathToActionCode(match)\n\t\t\t\tcodes.push(generatedCode)\n\t\t\t}\n\n\t\t\tthis.actionCodes = codes\n\t\t}\n\n\t\treturn this.actionCodes\n\t}\n\n\tpublic Store<C extends StoreCode>(\n\t\tcode: C,\n\t\toptions?: CreateStoreOptions<C>\n\t): StoreMap[C] {\n\t\treturn this.storeFactory.Store(code, { cwd: this.cwd, ...(options as any) })\n\t}\n\n\tprotected async connectToApi(\n\t\toptions?: ApiClientFactoryOptions\n\t): Promise<ApiClient> {\n\t\treturn this.apiClientFactory(options)\n\t}\n}\n\nexport interface InstallResults {\n\tfiles?: GeneratedFile[]\n\tcwd?: string\n}\n\nexport interface FeatureDependency {\n\tisRequired: boolean\n\tcode: FeatureCode\n}\n\nexport interface FeatureOptions {\n\tcwd: string\n\tserviceFactory: ServiceFactory\n\ttemplates: Templates\n\tstoreFactory: StoreFactory\n\tactionFactory?: ActionFactory\n\tfeatureInstaller: FeatureInstaller\n\tui: GraphicsInterface\n\temitter: GlobalEmitter\n\tapiClientFactory: ApiClientFactory\n\tactionExecuter: ActionExecuter\n}\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAsBA,IAAAE,cAAA,GAAAH,sBAAA,CAAAC,OAAA;AAGA,IAAAG,QAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAA8C,SAAAI,2BAAAC,CAAA,EAAAC,cAAA,QAAAC,EAAA,UAAAC,MAAA,oBAAAH,CAAA,CAAAG,MAAA,CAAAC,QAAA,KAAAJ,CAAA,qBAAAE,EAAA,QAAAG,KAAA,CAAAC,OAAA,CAAAN,CAAA,MAAAE,EAAA,GAAAK,2BAAA,CAAAP,CAAA,MAAAC,cAAA,IAAAD,CAAA,WAAAA,CAAA,CAAAQ,MAAA,qBAAAN,EAAA,EAAAF,CAAA,GAAAE,EAAA,MAAAO,CAAA,UAAAC,CAAA,YAAAA,EAAA,eAAAC,CAAA,EAAAD,CAAA,EAAAE,CAAA,WAAAA,EAAA,QAAAH,CAAA,IAAAT,CAAA,CAAAQ,MAAA,WAAAK,IAAA,mBAAAA,IAAA,SAAAC,KAAA,EAAAd,CAAA,CAAAS,CAAA,UAAAM,CAAA,WAAAA,EAAAC,EAAA,UAAAA,EAAA,KAAAC,CAAA,EAAAP,CAAA,gBAAAQ,SAAA,iJAAAC,gBAAA,SAAAC,MAAA,UAAAC,GAAA,WAAAV,CAAA,WAAAA,EAAA,IAAAT,EAA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C,UAAAC,SAAA;UAAA,kBAAAA,SAAA,CAAA1C,IAAA,GAAA0C,SAAA,CAAA7G,IAAA;YAAA;cAAA,OAAA6G,SAAA,CAAAzC,MAAA,WAE1B,IAAI,CAACjB,gBAAgB,CAACjB,OAAO,CAAC;YAAA;YAAA;cAAA,OAAA2E,SAAA,CAAAxC,IAAA;UAAA;QAAA,GAAAsC,QAAA;MAAA,CACrC;MAAA,SAAAG,aAAAC,GAAA;QAAA,OAAAL,aAAA,CAAAlF,KAAA,OAAAE,SAAA;MAAA;MAAA,OAAAoF,YAAA;IAAA;EAAA;EAAA,OAAA9E,eAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"AbstractFeature.js","names":["_path","_interopRequireDefault","require","_globby","_WriterFactory","_feature","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","normalCompletion","didErr","err","call","step","next","_e2","minLen","_arrayLikeToArray","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","ownKeys","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","AbstractFeature","exports","options","_classCallCheck2","cwd","serviceFactory","templates","actions","actionFactory","storeFactory","writers","WriterFactory","ui","settings","Service","linter","emitter","features","featureInstaller","apiClientFactory","actionExecuter","_createClass2","key","Action","featureCode","actionCode","_beforePackageInstall","_asyncToGenerator2","_regenerator","mark","_callee","_options","wrap","_callee$","_context","prev","abrupt","stop","beforePackageInstall","_x3","_afterPackageInstall","_callee2","_callee2$","_context2","afterPackageInstall","_x4","_Service","_x","_x2","type","Writer","code","fileDescriptions","getFeature","_getAvailableActionCodes","_callee3","matches","codes","_iterator","_step","match","generatedCode","_callee3$","_context3","actionsDir","actionCodes","globby","pathUtil","join","sent","featuresUtil","filePathToActionCode","getAvailableActionCodes","Store","_connectToApi","_callee4","_callee4$","_context4","connectToApi","_x5"],"sources":["../../src/features/AbstractFeature.ts"],"sourcesContent":["import pathUtil from 'path'\nimport globby from '@sprucelabs/globby'\nimport { Schema, SchemaValues } from '@sprucelabs/schema'\nimport { Templates } from '@sprucelabs/spruce-templates'\nimport { GlobalEmitter } from '../GlobalEmitter'\nimport ServiceFactory, {\n\tService,\n\tServiceProvider,\n\tServiceMap,\n} from '../services/ServiceFactory'\nimport StoreFactory, {\n\tStoreCode,\n\tCreateStoreOptions,\n\tStoreMap,\n} from '../stores/StoreFactory'\nimport {\n\tApiClient,\n\tApiClientFactory,\n\tApiClientFactoryOptions,\n} from '../types/apiClient.types'\nimport { NpmPackage, GeneratedFile, FileDescription } from '../types/cli.types'\nimport { GraphicsInterface } from '../types/cli.types'\nimport { WriterOptions } from '../writers/AbstractWriter'\nimport WriterFactory, { WriterCode, WriterMap } from '../writers/WriterFactory'\nimport ActionExecuter from './ActionExecuter'\nimport ActionFactory from './ActionFactory'\nimport featuresUtil from './feature.utilities'\nimport FeatureInstaller from './FeatureInstaller'\nimport { FeatureCode } from './features.types'\n\nexport default abstract class AbstractFeature<\n\tS extends Schema | undefined = Schema | undefined,\n> implements ServiceProvider\n{\n\tpublic abstract description: string\n\tpublic readonly dependencies: FeatureDependency[] = []\n\tpublic readonly packageDependencies: NpmPackage[] = []\n\tpublic readonly optionsSchema?: S\n\tpublic readonly fileDescriptions: FileDescription[] = []\n\n\tpublic isInstalled?(): Promise<boolean>\n\n\tpublic abstract readonly code: FeatureCode\n\tpublic abstract readonly nameReadable: string\n\tpublic readonly installOrderWeight: number = 0\n\n\tpublic cwd: string\n\tpublic scripts: Record<string, any> = {}\n\tpublic actionsDir: string | undefined\n\tprotected actions?: ActionFactory\n\tprotected templates: Templates\n\tprotected emitter: GlobalEmitter\n\tprotected features: FeatureInstaller\n\tprotected ui: GraphicsInterface\n\n\tprivate serviceFactory: ServiceFactory\n\tprivate storeFactory: StoreFactory\n\tprivate writers: WriterFactory\n\tprivate apiClientFactory: ApiClientFactory\n\tprivate actionExecuter: ActionExecuter\n\tprivate actionCodes?: string[]\n\n\tpublic constructor(options: FeatureOptions) {\n\t\tthis.cwd = options.cwd\n\t\tthis.serviceFactory = options.serviceFactory\n\t\tthis.templates = options.templates\n\t\tthis.actions = options.actionFactory\n\t\tthis.storeFactory = options.storeFactory\n\t\tthis.writers = new WriterFactory({\n\t\t\ttemplates: this.templates,\n\t\t\tui: options.ui,\n\t\t\tsettings: this.Service('settings'),\n\t\t\tlinter: this.Service('lint'),\n\t\t})\n\t\tthis.emitter = options.emitter\n\t\tthis.features = options.featureInstaller\n\t\tthis.ui = options.ui\n\t\tthis.apiClientFactory = options.apiClientFactory\n\t\tthis.actionExecuter = options.actionExecuter\n\t}\n\n\tprotected Action(featureCode: string, actionCode: string) {\n\t\treturn this.actionExecuter.Action(featureCode as any, actionCode)\n\t}\n\n\tpublic async beforePackageInstall(\n\t\t_options: S extends Schema ? SchemaValues<S> : undefined\n\t): Promise<InstallResults> {\n\t\treturn {}\n\t}\n\n\tpublic async afterPackageInstall(\n\t\t_options: S extends Schema ? SchemaValues<S> : undefined\n\t): Promise<InstallResults> {\n\t\treturn {}\n\t}\n\n\tpublic Service<S extends Service>(type: S, cwd?: string): ServiceMap[S] {\n\t\treturn this.serviceFactory.Service(cwd ?? this.cwd, type)\n\t}\n\n\tpublic Writer<C extends WriterCode>(\n\t\tcode: C,\n\t\toptions?: Partial<WriterOptions>\n\t): WriterMap[C] {\n\t\treturn this.writers.Writer(code, {\n\t\t\tfileDescriptions: this.fileDescriptions,\n\t\t\tlinter: this.Service('lint'),\n\t\t\t...options,\n\t\t})\n\t}\n\n\tpublic getFeature<Code extends FeatureCode>(code: Code) {\n\t\treturn this.features.getFeature(code)\n\t}\n\n\tpublic async getAvailableActionCodes(): Promise<string[]> {\n\t\tif (!this.actionsDir) {\n\t\t\treturn []\n\t\t}\n\n\t\tif (!this.actionCodes) {\n\t\t\tconst matches: string[] = await globby(\n\t\t\t\tpathUtil.join(this.actionsDir, '**/*Action.js')\n\t\t\t)\n\n\t\t\tconst codes: string[] = []\n\n\t\t\tfor (const match of matches) {\n\t\t\t\tconst generatedCode = featuresUtil.filePathToActionCode(match)\n\t\t\t\tcodes.push(generatedCode)\n\t\t\t}\n\n\t\t\tthis.actionCodes = codes\n\t\t}\n\n\t\treturn this.actionCodes\n\t}\n\n\tpublic Store<C extends StoreCode>(\n\t\tcode: C,\n\t\toptions?: CreateStoreOptions<C>\n\t): StoreMap[C] {\n\t\treturn this.storeFactory.Store(code, { cwd: this.cwd, ...(options as any) })\n\t}\n\n\tprotected async connectToApi(\n\t\toptions?: ApiClientFactoryOptions\n\t): Promise<ApiClient> {\n\t\treturn this.apiClientFactory(options)\n\t}\n}\n\nexport interface InstallResults {\n\tfiles?: GeneratedFile[]\n\tcwd?: string\n}\n\nexport interface FeatureDependency {\n\tisRequired: boolean\n\tcode: FeatureCode\n}\n\nexport interface FeatureOptions {\n\tcwd: string\n\tserviceFactory: ServiceFactory\n\ttemplates: Templates\n\tstoreFactory: StoreFactory\n\tactionFactory?: ActionFactory\n\tfeatureInstaller: FeatureInstaller\n\tui: GraphicsInterface\n\temitter: GlobalEmitter\n\tapiClientFactory: ApiClientFactory\n\tactionExecuter: ActionExecuter\n}\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAsBA,IAAAE,cAAA,GAAAH,sBAAA,CAAAC,OAAA;AAGA,IAAAG,QAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAA8C,SAAAI,2BAAAC,CAAA,EAAAC,cAAA,QAAAC,EAAA,UAAAC,MAAA,oBAAAH,CAAA,CAAAG,MAAA,CAAAC,QAAA,KAAAJ,CAAA,qBAAAE,EAAA,QAAAG,KAAA,CAAAC,OAAA,CAAAN,CAAA,MAAAE,EAAA,GAAAK,2BAAA,CAAAP,CAAA,MAAAC,cAA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