@sprucelabs/spruce-cli 17.1.52 → 17.1.54
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 +8 -0
- package/build/.spruce/errors/spruceCli/actionCancelled.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/actionCancelled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/bootError.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/bootError.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/buildFailed.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/buildFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandAborted.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/commandAborted.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandBlocked.schema.js +0 -5
- package/build/.spruce/errors/spruceCli/commandBlocked.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js +0 -5
- package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js +0 -7
- package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/dependencyExists.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/dependencyExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/deployFailed.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/deployFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js +0 -8
- package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/failedToImport.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/failedToImport.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/fileExists.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/fileExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/generic.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/generic.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidCommand.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/invalidCommand.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js +0 -5
- package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/lintFailed.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/lintFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/missingDependencies.schema.js +0 -6
- package/build/.spruce/errors/spruceCli/missingDependencies.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js +0 -5
- package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/notImplemented.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/notImplemented.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaExists.schema.js +0 -5
- package/build/.spruce/errors/spruceCli/schemaExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js +0 -7
- package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillNotFound.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/skillNotFound.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillViewExists.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/skillViewExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/storeExists.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/storeExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/testFailed.schema.js +0 -6
- package/build/.spruce/errors/spruceCli/testFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/themeExists.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/themeExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js +0 -4
- package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js.map +1 -1
- package/build/.spruce/events/events.contract.js +0 -10
- package/build/.spruce/events/events.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js +0 -4
- 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 +0 -5
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js +0 -5
- 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 +0 -4
- package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js +0 -5
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/schemas/fields/fieldClassMap.js +0 -2
- package/build/.spruce/schemas/fields/fieldClassMap.js.map +1 -1
- package/build/.spruce/schemas/fields/fields.types.js +0 -1
- package/build/.spruce/schemas/fields/fields.types.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js +0 -4
- 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 +0 -4
- 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 +0 -10
- 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 +0 -4
- 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 +0 -4
- 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 +0 -10
- 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 +0 -4
- 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 +0 -4
- 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 +0 -8
- 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 +0 -6
- 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 +0 -8
- 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 +0 -9
- 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 +0 -4
- 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 +0 -6
- 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 +0 -6
- 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 +0 -4
- 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 +0 -8
- 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 +0 -8
- 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 +0 -4
- 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 +0 -8
- 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 +0 -6
- 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 +0 -4
- 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 +0 -10
- 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 +0 -6
- 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 +0 -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 +0 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js.map +1 -1
- package/build/.spruce/schemas/schemas.types.js +0 -2
- package/build/.spruce/schemas/schemas.types.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -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 +0 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js +0 -7
- 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 +0 -5
- 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 +0 -27
- 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 +0 -5
- 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 +0 -29
- 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 +0 -8
- 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 +0 -7
- 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 +0 -7
- 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 +0 -4
- 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 +0 -12
- 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 +0 -14
- 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 +0 -6
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js +0 -4
- 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 +0 -5
- 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 +0 -7
- 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 +0 -4
- 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 +0 -5
- 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 +0 -4
- 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 +0 -6
- 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 +0 -22
- 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 +0 -8
- 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 +0 -6
- 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 +0 -21
- 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 +0 -9
- 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 +0 -4
- 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 +0 -7
- 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 +0 -1
- package/build/.spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema.js.map +1 -1
- package/build/.spruce/skill.types.js +0 -3
- package/build/.spruce/skill.types.js.map +1 -1
- package/build/GlobalEmitter.js +0 -22
- package/build/GlobalEmitter.js.map +1 -1
- package/build/InFlightEntertainment.js +0 -13
- package/build/InFlightEntertainment.js.map +1 -1
- package/build/__tests__/behavioral/AddingADependency.test.js +0 -69
- package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -1
- package/build/__tests__/behavioral/BlockingCommands.test.js +0 -34
- package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -1
- package/build/__tests__/behavioral/BootingTheCli.test.js +0 -23
- package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -1
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js +0 -41
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -1
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js +6 -48
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
- package/build/__tests__/behavioral/CreatingSchemasWithGenerics.test.js +0 -34
- package/build/__tests__/behavioral/CreatingSchemasWithGenerics.test.js.map +1 -1
- package/build/__tests__/behavioral/DeployingASkill.test.js +0 -215
- package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/DeployingToSandbox.test.js +4 -141
- package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js +0 -78
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -1
- package/build/__tests__/behavioral/GettingCliVersion.test.js +0 -33
- package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -1
- package/build/__tests__/behavioral/InstallingASkillAtAnOrg.test.js +0 -89
- package/build/__tests__/behavioral/InstallingASkillAtAnOrg.test.js.map +1 -1
- package/build/__tests__/behavioral/ListeningToCoreEvents.test.js +0 -31
- package/build/__tests__/behavioral/ListeningToCoreEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/LoggingInAsASkill.test.js +0 -84
- package/build/__tests__/behavioral/LoggingInAsASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/ManagingDependencies.test.js +0 -55
- package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js +0 -32
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -1
- package/build/__tests__/behavioral/RebuildingASkill.test.js +0 -36
- package/build/__tests__/behavioral/RebuildingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js +0 -33
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/RegisteringEventsOnBoot.test.js +0 -47
- package/build/__tests__/behavioral/RegisteringEventsOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/RegisteringGlobalEvents.test.js +0 -68
- package/build/__tests__/behavioral/RegisteringGlobalEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/RegisteringSkillViewOnBoot.test.js +0 -58
- package/build/__tests__/behavioral/RegisteringSkillViewOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js +0 -42
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js +3 -64
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingRemote.test.js +0 -49
- package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingUpASkillForTesting.test.js +0 -49
- package/build/__tests__/behavioral/SettingUpASkillForTesting.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingUpSchemasForModuleDistribution.test.js +6 -142
- package/build/__tests__/behavioral/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingUpVscode.test.js +0 -40
- package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -1
- package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js +0 -54
- package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/TestReporterSettingsRemembered.test.js +0 -35
- package/build/__tests__/behavioral/TestReporterSettingsRemembered.test.js.map +1 -1
- package/build/__tests__/behavioral/TestingAConversation.test.js +0 -77
- package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -1
- package/build/__tests__/behavioral/TestingDataStores.test.js +0 -51
- package/build/__tests__/behavioral/TestingDataStores.test.js.map +1 -1
- package/build/__tests__/behavioral/WatchingSkillViews.test.js +1 -120
- package/build/__tests__/behavioral/WatchingSkillViews.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js +0 -58
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js +0 -52
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js +16 -97
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js +0 -32
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -1
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js +0 -95
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
- package/build/__tests__/behavioral/events/CreatingAListener.test.js +2 -160
- package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js +0 -135
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +7 -154
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +1 -154
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js +0 -39
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js +0 -41
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js +0 -25
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js +0 -43
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js +0 -38
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -1
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js +0 -55
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -1
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js +0 -38
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js +0 -31
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js.map +1 -1
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js +0 -79
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -1
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js +0 -37
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -1
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js +0 -59
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js +2 -107
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js +0 -37
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js +0 -43
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js +5 -70
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js +0 -32
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js +14 -215
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js +0 -40
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js +0 -30
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js +0 -26
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/BootingASkill.test.js +0 -54
- package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js +0 -35
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js +0 -61
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js +0 -89
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js +22 -116
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -1
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js +0 -64
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/CreatingATest.test.js +6 -115
- package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/RunningTests.test.js +0 -43
- package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js +2 -138
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js +2 -31
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js +0 -48
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js +0 -65
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js +0 -53
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js +0 -117
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js +5 -101
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js +2 -117
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js +0 -67
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js +0 -65
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js +5 -37
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js +0 -62
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js +1 -111
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingATheme.test.js +0 -55
- package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js +0 -47
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/views/SettingUpViews.test.js +0 -30
- package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js +0 -59
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -1
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js +0 -121
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter.test.js +0 -57
- package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter2.test.js +0 -112
- package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter3.test.js +0 -40
- package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter4.test.js +2 -38
- package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -1
- package/build/__tests__/implementation/ArgParser.test.js +0 -28
- package/build/__tests__/implementation/ArgParser.test.js.map +1 -1
- package/build/__tests__/implementation/BuildService.test.js +0 -31
- package/build/__tests__/implementation/BuildService.test.js.map +1 -1
- package/build/__tests__/implementation/BulkImporting.test.js +0 -86
- package/build/__tests__/implementation/BulkImporting.test.js.map +1 -1
- package/build/__tests__/implementation/CachingImports.test.js +0 -59
- package/build/__tests__/implementation/CachingImports.test.js.map +1 -1
- package/build/__tests__/implementation/CommandOptionBuilder.test.js +0 -29
- package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js +0 -60
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -1
- package/build/__tests__/implementation/DataStoreStore.test.js +0 -78
- package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -1
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js +2 -34
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -1
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js +0 -43
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
- package/build/__tests__/implementation/EventStore.test.js +0 -155
- package/build/__tests__/implementation/EventStore.test.js.map +1 -1
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +80 -129
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js +0 -78
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureFixture.test.js +2 -42
- package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureInstaller.test.js +0 -41
- package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -1
- package/build/__tests__/implementation/FeaturesUtil.test.js +0 -25
- package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -1
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js +0 -30
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/GlobalEmitter.js +0 -22
- package/build/__tests__/implementation/GlobalEmitter.js.map +1 -1
- package/build/__tests__/implementation/Introspection.test.js +0 -22
- package/build/__tests__/implementation/Introspection.test.js.map +1 -1
- package/build/__tests__/implementation/JestJsonParser.test.js +0 -61
- package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -1
- package/build/__tests__/implementation/LintService.test.js +0 -33
- package/build/__tests__/implementation/LintService.test.js.map +1 -1
- package/build/__tests__/implementation/ListenerStore.test.js +2 -19
- package/build/__tests__/implementation/ListenerStore.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js +0 -43
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js +0 -74
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingStore.test.js +0 -39
- package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -1
- package/build/__tests__/implementation/OrganizationStore.test.js +0 -59
- package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -1
- package/build/__tests__/implementation/ParentTestFinder.test.js +0 -35
- package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -1
- package/build/__tests__/implementation/PkgService.test.js +0 -55
- package/build/__tests__/implementation/PkgService.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaStore.test.js +20 -154
- package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js +0 -37
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js +0 -72
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -1
- package/build/__tests__/implementation/ServiceFactory.test.js +0 -25
- package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -1
- package/build/__tests__/implementation/SettingUpANodeModule.test.js +0 -35
- package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -1
- package/build/__tests__/implementation/SkillStore.test.js +0 -93
- package/build/__tests__/implementation/SkillStore.test.js.map +1 -1
- package/build/__tests__/implementation/StoreFeature.test.js +0 -31
- package/build/__tests__/implementation/StoreFeature.test.js.map +1 -1
- package/build/__tests__/implementation/TestReporter.test.js +0 -35
- package/build/__tests__/implementation/TestReporter.test.js.map +1 -1
- package/build/__tests__/implementation/TestRunner.test.js +0 -102
- package/build/__tests__/implementation/TestRunner.test.js.map +1 -1
- package/build/__tests__/implementation/ValueTypeMapping.test.js +0 -31
- package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -1
- package/build/__tests__/implementation/Widgets.test.js +0 -42
- package/build/__tests__/implementation/Widgets.test.js.map +1 -1
- package/build/__tests__/support/onTestFileResult.js +0 -2
- package/build/__tests__/support/onTestFileResult.js.map +1 -1
- package/build/__tests__/support/scripts/first.script.js +0 -7
- 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 +1 -3
- package/build/addons/filePrompt.addon.js.map +1 -1
- package/build/cli.js +14 -165
- package/build/cli.js.map +1 -1
- package/build/components/AbstractComponent.js +0 -10
- package/build/components/AbstractComponent.js.map +1 -1
- package/build/components/FormComponent.js +36 -113
- package/build/components/FormComponent.js.map +1 -1
- package/build/components/QuizComponent.js +45 -88
- package/build/components/QuizComponent.js.map +1 -1
- package/build/constants.js.map +1 -1
- package/build/errors/SpruceError.js +2 -86
- package/build/errors/SpruceError.js.map +1 -1
- package/build/errors/actionCancelled.builder.js +0 -3
- package/build/errors/actionCancelled.builder.js.map +1 -1
- package/build/errors/bootError.builder.js +0 -3
- package/build/errors/bootError.builder.js.map +1 -1
- package/build/errors/buildFailed.builder.js +0 -3
- package/build/errors/buildFailed.builder.js.map +1 -1
- package/build/errors/cacheNotEnabled.builder.js +0 -3
- package/build/errors/cacheNotEnabled.builder.js.map +1 -1
- package/build/errors/commandAborted.builder.js +0 -3
- package/build/errors/commandAborted.builder.js.map +1 -1
- package/build/errors/commandBlocked.builder.js +0 -3
- package/build/errors/commandBlocked.builder.js.map +1 -1
- package/build/errors/commandNotImplemented.builder.js +0 -3
- package/build/errors/commandNotImplemented.builder.js.map +1 -1
- package/build/errors/createAutoloaderFailed.builder.js +0 -3
- package/build/errors/createAutoloaderFailed.builder.js.map +1 -1
- package/build/errors/dependencyExists.builder.js +0 -3
- package/build/errors/dependencyExists.builder.js.map +1 -1
- package/build/errors/deployFailed.builder.js +0 -3
- package/build/errors/deployFailed.builder.js.map +1 -1
- package/build/errors/directoryEmpty.builder.js +0 -3
- package/build/errors/directoryEmpty.builder.js.map +1 -1
- package/build/errors/directoryNotSkill.builder.js +0 -3
- package/build/errors/directoryNotSkill.builder.js.map +1 -1
- package/build/errors/dockerNotStarted.builder.js +0 -3
- package/build/errors/dockerNotStarted.builder.js.map +1 -1
- package/build/errors/executingCommandFailed.builder.js +0 -3
- package/build/errors/executingCommandFailed.builder.js.map +1 -1
- package/build/errors/failedToImport.builder.js +0 -2
- package/build/errors/failedToImport.builder.js.map +1 -1
- package/build/errors/featureNotInstalled.builder.js +0 -3
- package/build/errors/featureNotInstalled.builder.js.map +1 -1
- package/build/errors/fileExists.builder.js +0 -2
- package/build/errors/fileExists.builder.js.map +1 -1
- package/build/errors/generic.builder.js +0 -2
- package/build/errors/generic.builder.js.map +1 -1
- package/build/errors/invalidCommand.builder.js +0 -2
- package/build/errors/invalidCommand.builder.js.map +1 -1
- package/build/errors/invalidEventContract.builder.js +0 -3
- package/build/errors/invalidEventContract.builder.js.map +1 -1
- package/build/errors/invalidFeatureCode.builder.js +0 -3
- package/build/errors/invalidFeatureCode.builder.js.map +1 -1
- package/build/errors/invalidTestDirectory.builder.js +0 -3
- package/build/errors/invalidTestDirectory.builder.js.map +1 -1
- package/build/errors/lintFailed.builder.js +0 -2
- package/build/errors/lintFailed.builder.js.map +1 -1
- package/build/errors/mercuryResponseError.builder.js +0 -3
- package/build/errors/mercuryResponseError.builder.js.map +1 -1
- package/build/errors/missingDependencies.builder.js +0 -3
- package/build/errors/missingDependencies.builder.js.map +1 -1
- package/build/errors/noOrganizationsFound.builder.js +0 -3
- package/build/errors/noOrganizationsFound.builder.js.map +1 -1
- package/build/errors/noSkillsRegistered.builder.js +0 -3
- package/build/errors/noSkillsRegistered.builder.js.map +1 -1
- package/build/errors/notImplemented.builder.js +0 -2
- package/build/errors/notImplemented.builder.js.map +1 -1
- package/build/errors/notLoggedIn.builder.js +0 -3
- package/build/errors/notLoggedIn.builder.js.map +1 -1
- package/build/errors/schemaExists.builder.js +0 -3
- package/build/errors/schemaExists.builder.js.map +1 -1
- package/build/errors/schemaFailedToImport.builder.js +0 -3
- package/build/errors/schemaFailedToImport.builder.js.map +1 -1
- package/build/errors/schemaTemplateItemBuildingFailed.builder.js +0 -3
- package/build/errors/schemaTemplateItemBuildingFailed.builder.js.map +1 -1
- package/build/errors/skillNotFound.builder.js +0 -3
- package/build/errors/skillNotFound.builder.js.map +1 -1
- package/build/errors/skillNotRegistered.builder.js +0 -3
- package/build/errors/skillNotRegistered.builder.js.map +1 -1
- package/build/errors/skillViewExists.builder.js +0 -3
- package/build/errors/skillViewExists.builder.js.map +1 -1
- package/build/errors/storeExists.builder.js +0 -3
- package/build/errors/storeExists.builder.js.map +1 -1
- package/build/errors/testFailed.builder.js +0 -3
- package/build/errors/testFailed.builder.js.map +1 -1
- package/build/errors/themeExists.builder.js +0 -3
- package/build/errors/themeExists.builder.js.map +1 -1
- package/build/errors/transportAlreadyExists.builder.js +0 -3
- package/build/errors/transportAlreadyExists.builder.js.map +1 -1
- package/build/errors/vscodeNotInstalled.builder.js +0 -3
- package/build/errors/vscodeNotInstalled.builder.js.map +1 -1
- package/build/features/AbstractAction.js +0 -36
- package/build/features/AbstractAction.js.map +1 -1
- package/build/features/AbstractFeature.js +0 -40
- package/build/features/AbstractFeature.js.map +1 -1
- package/build/features/ActionExecuter.js +0 -85
- package/build/features/ActionExecuter.js.map +1 -1
- package/build/features/ActionFactory.js +9 -30
- package/build/features/ActionFactory.js.map +1 -1
- package/build/features/ActionQuestionAsker.js +0 -111
- package/build/features/ActionQuestionAsker.js.map +1 -1
- package/build/features/FeatureCommandAttacher.js +16 -64
- package/build/features/FeatureCommandAttacher.js.map +1 -1
- package/build/features/FeatureInstaller.js +5 -157
- package/build/features/FeatureInstaller.js.map +1 -1
- package/build/features/FeatureInstallerFactory.js +5 -37
- package/build/features/FeatureInstallerFactory.js.map +1 -1
- package/build/features/OverrideActionDecorator.js +11 -52
- package/build/features/OverrideActionDecorator.js.map +1 -1
- package/build/features/cache/CacheFeature.js +0 -25
- package/build/features/cache/CacheFeature.js.map +1 -1
- package/build/features/cache/actions/DisableAction.js +0 -34
- package/build/features/cache/actions/DisableAction.js.map +1 -1
- package/build/features/cache/actions/EnableAction.js +0 -35
- 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 +0 -35
- package/build/features/conversation/ConversationFeature.js.map +1 -1
- package/build/features/conversation/actions/CreateAction.js +0 -27
- package/build/features/conversation/actions/CreateAction.js.map +1 -1
- package/build/features/conversation/actions/TestAction.js +2 -48
- package/build/features/conversation/actions/TestAction.js.map +1 -1
- package/build/features/conversation/stores/ConversationStore.js +0 -30
- package/build/features/conversation/stores/ConversationStore.js.map +1 -1
- package/build/features/conversation/writers/ConversationWriter.js +0 -24
- package/build/features/conversation/writers/ConversationWriter.js.map +1 -1
- package/build/features/dependencies/DependencyFeature.js +0 -25
- package/build/features/dependencies/DependencyFeature.js.map +1 -1
- package/build/features/dependencies/actions/AddAction.js +0 -39
- package/build/features/dependencies/actions/AddAction.js.map +1 -1
- package/build/features/dependencies/actions/ManageAction.js +0 -34
- package/build/features/dependencies/actions/ManageAction.js.map +1 -1
- package/build/features/deploy/DeployFeature.js +0 -26
- package/build/features/deploy/DeployFeature.js.map +1 -1
- package/build/features/deploy/actions/HerokuAction.js +0 -139
- package/build/features/deploy/actions/HerokuAction.js.map +1 -1
- package/build/features/deploy/writers/DeployWriter.js +0 -16
- package/build/features/deploy/writers/DeployWriter.js.map +1 -1
- package/build/features/error/ErrorFeature.js +0 -53
- package/build/features/error/ErrorFeature.js.map +1 -1
- package/build/features/error/ParentTestFinder.js +0 -17
- package/build/features/error/ParentTestFinder.js.map +1 -1
- package/build/features/error/actions/CreateAction.js +0 -33
- package/build/features/error/actions/CreateAction.js.map +1 -1
- package/build/features/error/actions/SyncAction.js +0 -51
- package/build/features/error/actions/SyncAction.js.map +1 -1
- package/build/features/error/writers/ErrorWriter.js +0 -72
- package/build/features/error/writers/ErrorWriter.js.map +1 -1
- package/build/features/event/EventFeature.js +0 -80
- package/build/features/event/EventFeature.js.map +1 -1
- package/build/features/event/actions/CreateAction.js +0 -43
- package/build/features/event/actions/CreateAction.js.map +1 -1
- package/build/features/event/actions/ListenAction.js +1 -101
- package/build/features/event/actions/ListenAction.js.map +1 -1
- package/build/features/event/actions/SetRemoteAction.js +0 -27
- package/build/features/event/actions/SetRemoteAction.js.map +1 -1
- package/build/features/event/actions/SyncAction.js +0 -31
- package/build/features/event/actions/SyncAction.js.map +1 -1
- package/build/features/event/actions/SyncListenersAction.js +0 -30
- package/build/features/event/actions/SyncListenersAction.js.map +1 -1
- package/build/features/event/builders/EventContractBuilder.js +0 -52
- package/build/features/event/builders/EventContractBuilder.js.map +1 -1
- package/build/features/event/builders/ListenerTemplateItemBuilder.js +1 -19
- package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
- package/build/features/event/services/EventSettingsService.js +0 -7
- package/build/features/event/services/EventSettingsService.js.map +1 -1
- package/build/features/event/services/RemoteService.js +0 -2
- package/build/features/event/services/RemoteService.js.map +1 -1
- package/build/features/event/stores/EventStore.js +5 -114
- package/build/features/event/stores/EventStore.js.map +1 -1
- package/build/features/event/stores/ListenerStore.js +0 -36
- package/build/features/event/stores/ListenerStore.js.map +1 -1
- package/build/features/event/writers/EventWriter.js +2 -69
- package/build/features/event/writers/EventWriter.js.map +1 -1
- package/build/features/eventContract/EventContractFeature.js +0 -23
- package/build/features/eventContract/EventContractFeature.js.map +1 -1
- package/build/features/eventContract/actions/PullAction.js +0 -31
- package/build/features/eventContract/actions/PullAction.js.map +1 -1
- package/build/features/feature.utilities.js +0 -12
- package/build/features/feature.utilities.js.map +1 -1
- package/build/features/features.types.js +0 -4
- package/build/features/features.types.js.map +1 -1
- package/build/features/log/LogFeature.js +0 -20
- package/build/features/log/LogFeature.js.map +1 -1
- package/build/features/log/actions/CreateTransportAction.js +0 -29
- package/build/features/log/actions/CreateTransportAction.js.map +1 -1
- package/build/features/log/writers/LogWriter.js +0 -25
- package/build/features/log/writers/LogWriter.js.map +1 -1
- package/build/features/node/NodeFeature.js +2 -57
- package/build/features/node/NodeFeature.js.map +1 -1
- package/build/features/node/actions/CreateAction.js +0 -26
- package/build/features/node/actions/CreateAction.js.map +1 -1
- package/build/features/node/actions/UpdateDependenciesAction.js +4 -66
- package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -1
- package/build/features/node/actions/UpgradeAction.js +0 -51
- package/build/features/node/actions/UpgradeAction.js.map +1 -1
- package/build/features/node/writers/NodeWriter.js +0 -31
- package/build/features/node/writers/NodeWriter.js.map +1 -1
- package/build/features/onboard/OnboardFeature.js +0 -51
- package/build/features/onboard/OnboardFeature.js.map +1 -1
- package/build/features/onboard/ScriptLoader.js +0 -21
- package/build/features/onboard/ScriptLoader.js.map +1 -1
- package/build/features/onboard/ScriptPlayer.js +0 -47
- package/build/features/onboard/ScriptPlayer.js.map +1 -1
- package/build/features/onboard/actions/OnboardAction.js +0 -32
- package/build/features/onboard/actions/OnboardAction.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.first.script.js +1 -25
- package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.immersive.script.js +0 -12
- package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.returning.script.js +0 -13
- package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.short.script.js +0 -21
- package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -1
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js +0 -7
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js.map +1 -1
- package/build/features/onboard/scripts/todo/todo.test.script.js +0 -6
- package/build/features/onboard/scripts/todo/todo.test.script.js.map +1 -1
- package/build/features/onboard/scripts/wrongCommand.script.js +0 -12
- package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -1
- package/build/features/onboard/stores/OnboardingStore.js +0 -25
- package/build/features/onboard/stores/OnboardingStore.js.map +1 -1
- package/build/features/organization/OrganizationFeature.js +0 -20
- package/build/features/organization/OrganizationFeature.js.map +1 -1
- package/build/features/organization/actions/CreateAction.js +0 -27
- package/build/features/organization/actions/CreateAction.js.map +1 -1
- package/build/features/organization/actions/InstallAction.js +0 -47
- package/build/features/organization/actions/InstallAction.js.map +1 -1
- package/build/features/organization/stores/OrganizationStore.js +0 -52
- package/build/features/organization/stores/OrganizationStore.js.map +1 -1
- package/build/features/permission/PermissionFeature.js +0 -20
- package/build/features/permission/PermissionFeature.js.map +1 -1
- package/build/features/permission/actions/CreateAction.js +0 -29
- package/build/features/permission/actions/CreateAction.js.map +1 -1
- package/build/features/person/PersonFeature.js +0 -20
- package/build/features/person/PersonFeature.js.map +1 -1
- package/build/features/person/actions/LoginAction.js +0 -41
- package/build/features/person/actions/LoginAction.js.map +1 -1
- package/build/features/person/actions/LogoutAction.js +0 -30
- package/build/features/person/actions/LogoutAction.js.map +1 -1
- package/build/features/person/actions/WhoamiAction.js +0 -32
- package/build/features/person/actions/WhoamiAction.js.map +1 -1
- package/build/features/polish/PolishFeature.js +0 -20
- package/build/features/polish/PolishFeature.js.map +1 -1
- package/build/features/polish/actions/SetupAction.js +0 -31
- package/build/features/polish/actions/SetupAction.js.map +1 -1
- package/build/features/polish/writers/PolishWriter.js +0 -22
- package/build/features/polish/writers/PolishWriter.js.map +1 -1
- package/build/features/sandbox/SandboxFeature.js +0 -28
- package/build/features/sandbox/SandboxFeature.js.map +1 -1
- package/build/features/sandbox/actions/SetupAction.js +0 -38
- package/build/features/sandbox/actions/SetupAction.js.map +1 -1
- package/build/features/sandbox/writers/SandboxWriter.js +0 -22
- package/build/features/sandbox/writers/SandboxWriter.js.map +1 -1
- package/build/features/schema/SchemaFeature.js +0 -51
- package/build/features/schema/SchemaFeature.js.map +1 -1
- package/build/features/schema/ValueTypeBuilder.js +0 -20
- package/build/features/schema/ValueTypeBuilder.js.map +1 -1
- package/build/features/schema/actions/CreateAction.js +0 -44
- package/build/features/schema/actions/CreateAction.js.map +1 -1
- package/build/features/schema/actions/SyncAction.js +0 -91
- package/build/features/schema/actions/SyncAction.js.map +1 -1
- package/build/features/schema/actions/SyncFieldsAction.js +0 -34
- package/build/features/schema/actions/SyncFieldsAction.js.map +1 -1
- package/build/features/schema/services/SchemaService.js +0 -25
- package/build/features/schema/services/SchemaService.js.map +1 -1
- package/build/features/schema/stores/SchemaStore.js +0 -102
- package/build/features/schema/stores/SchemaStore.js.map +1 -1
- package/build/features/schema/utilities/schema.utility.js +0 -4
- package/build/features/schema/utilities/schema.utility.js.map +1 -1
- package/build/features/schema/utilities/schemaDisk.utility.js +5 -25
- package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
- package/build/features/schema/utilities/schemaGenerator.utility.js +3 -22
- package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -1
- package/build/features/schema/writers/SchemaWriter.js +0 -95
- package/build/features/schema/writers/SchemaWriter.js.map +1 -1
- package/build/features/skill/SkillFeature.js +2 -65
- package/build/features/skill/SkillFeature.js.map +1 -1
- package/build/features/skill/actions/BootAction.js +0 -46
- package/build/features/skill/actions/BootAction.js.map +1 -1
- package/build/features/skill/actions/CreateAction.js +0 -29
- package/build/features/skill/actions/CreateAction.js.map +1 -1
- package/build/features/skill/actions/DashboardAction.js +0 -26
- package/build/features/skill/actions/DashboardAction.js.map +1 -1
- package/build/features/skill/actions/LoginAction.js +0 -55
- package/build/features/skill/actions/LoginAction.js.map +1 -1
- package/build/features/skill/actions/RebuildAction.js +0 -34
- package/build/features/skill/actions/RebuildAction.js.map +1 -1
- package/build/features/skill/actions/RegisterAction.js +0 -32
- package/build/features/skill/actions/RegisterAction.js.map +1 -1
- package/build/features/skill/stores/SkillStore.js +0 -87
- package/build/features/skill/stores/SkillStore.js.map +1 -1
- package/build/features/skill/updaters/Updater.js +0 -25
- package/build/features/skill/updaters/Updater.js.map +1 -1
- package/build/features/skill/writers/SkillWriter.js +0 -26
- package/build/features/skill/writers/SkillWriter.js.map +1 -1
- package/build/features/store/StoreFeature.js +0 -37
- package/build/features/store/StoreFeature.js.map +1 -1
- package/build/features/store/actions/CreateAction.js +0 -35
- package/build/features/store/actions/CreateAction.js.map +1 -1
- package/build/features/store/actions/SyncAction.js +0 -34
- package/build/features/store/actions/SyncAction.js.map +1 -1
- package/build/features/store/stores/StoreStore.js +0 -37
- package/build/features/store/stores/StoreStore.js.map +1 -1
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js +1 -18
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -1
- package/build/features/store/writers/StoreWriter.js +0 -43
- package/build/features/store/writers/StoreWriter.js.map +1 -1
- package/build/features/test/TestFeature.js +2 -72
- package/build/features/test/TestFeature.js.map +1 -1
- package/build/features/test/TestLogItemGenerator.js +0 -40
- package/build/features/test/TestLogItemGenerator.js.map +1 -1
- package/build/features/test/TestReporter.js +11 -123
- package/build/features/test/TestReporter.js.map +1 -1
- package/build/features/test/TestRunner.js +2 -58
- package/build/features/test/TestRunner.js.map +1 -1
- package/build/features/test/actions/CreateAction.js +2 -66
- package/build/features/test/actions/CreateAction.js.map +1 -1
- package/build/features/test/actions/SetupAction.js +0 -33
- package/build/features/test/actions/SetupAction.js.map +1 -1
- package/build/features/test/actions/TestAction.js +12 -131
- package/build/features/test/actions/TestAction.js.map +1 -1
- package/build/features/test/writers/TestWriter.js +0 -22
- 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 +0 -7
- package/build/features/validateAndNormalize.utility.js.map +1 -1
- package/build/features/view/ViewFeature.js +0 -32
- package/build/features/view/ViewFeature.js.map +1 -1
- package/build/features/view/actions/CreateAction.js +0 -48
- package/build/features/view/actions/CreateAction.js.map +1 -1
- package/build/features/view/actions/CreateThemeAction.js +0 -36
- package/build/features/view/actions/CreateThemeAction.js.map +1 -1
- package/build/features/view/actions/SyncAction.js +3 -48
- package/build/features/view/actions/SyncAction.js.map +1 -1
- package/build/features/view/actions/WatchAction.js +4 -64
- package/build/features/view/actions/WatchAction.js.map +1 -1
- package/build/features/view/stores/ViewStore.js +0 -32
- package/build/features/view/stores/ViewStore.js.map +1 -1
- package/build/features/view/writers/ViewWriter.js +3 -43
- package/build/features/view/writers/ViewWriter.js.map +1 -1
- package/build/features/vscode/VsCodeFeature.js +0 -26
- package/build/features/vscode/VsCodeFeature.js.map +1 -1
- package/build/features/vscode/actions/SetupAction.js +0 -83
- package/build/features/vscode/actions/SetupAction.js.map +1 -1
- package/build/features/vscode/services/VsCodeService.js +3 -43
- package/build/features/vscode/services/VsCodeService.js.map +1 -1
- package/build/features/vscode/writers/VsCodeWriter.js +1 -21
- package/build/features/vscode/writers/VsCodeWriter.js.map +1 -1
- package/build/features/watch/WatchFeature.js +1 -45
- package/build/features/watch/WatchFeature.js.map +1 -1
- package/build/index.js +0 -5
- package/build/index.js.map +1 -1
- package/build/interfaces/SpyInterface.js +4 -81
- package/build/interfaces/SpyInterface.js.map +1 -1
- package/build/interfaces/TerminalInterface.js +33 -156
- package/build/interfaces/TerminalInterface.js.map +1 -1
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js +0 -8
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createErrorOptions.builder.js +0 -9
- package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js +0 -8
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.js +0 -9
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createTestOptions.builder.js +0 -5
- package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/listenEventOptions.builder.js +0 -8
- package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.js +0 -3
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/onboardOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/onboarding.builder.js +0 -3
- package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/personWithToken.builder.js +0 -5
- package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js +0 -3
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/skillFeature.builder.js +0 -3
- package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.js +0 -8
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncEventOptions.builder.js +0 -5
- package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js +0 -9
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/testOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js +0 -3
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js +0 -4
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -1
- package/build/services/BuildService.js +0 -15
- package/build/services/BuildService.js.map +1 -1
- package/build/services/CommandService.js +0 -51
- package/build/services/CommandService.js.map +1 -1
- package/build/services/DependencyService.js +0 -11
- package/build/services/DependencyService.js.map +1 -1
- package/build/services/GameService.js +3 -32
- package/build/services/GameService.js.map +1 -1
- package/build/services/ImportService.js +4 -104
- package/build/services/ImportService.js.map +1 -1
- package/build/services/LintService.js +0 -33
- package/build/services/LintService.js.map +1 -1
- package/build/services/PkgService.js +0 -47
- package/build/services/PkgService.js.map +1 -1
- package/build/services/ServiceFactory.js +0 -35
- package/build/services/ServiceFactory.js.map +1 -1
- package/build/services/TypeCheckerService.js +0 -10
- package/build/services/TypeCheckerService.js.map +1 -1
- package/build/stores/AbstractLocalStore.js +0 -19
- package/build/stores/AbstractLocalStore.js.map +1 -1
- package/build/stores/AbstractStore.js +0 -14
- package/build/stores/AbstractStore.js.map +1 -1
- package/build/stores/StoreFactory.js +4 -24
- package/build/stores/StoreFactory.js.map +1 -1
- package/build/templateItemBuilders/EventTemplateItemBuilder.js +14 -64
- package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js +1 -16
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -1
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js +11 -68
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
- package/build/tests/AbstractCliTest.js +0 -173
- package/build/tests/AbstractCliTest.js.map +1 -1
- package/build/tests/AbstractErrorTest.js +0 -20
- package/build/tests/AbstractErrorTest.js.map +1 -1
- package/build/tests/AbstractEventTest.js +13 -55
- package/build/tests/AbstractEventTest.js.map +1 -1
- package/build/tests/AbstractSchemaTest.js +12 -71
- package/build/tests/AbstractSchemaTest.js.map +1 -1
- package/build/tests/AbstractSkillTest.js +1 -34
- package/build/tests/AbstractSkillTest.js.map +1 -1
- package/build/tests/AbstractTestTest.js +3 -26
- package/build/tests/AbstractTestTest.js.map +1 -1
- package/build/tests/CommandFaker.js +0 -8
- package/build/tests/CommandFaker.js.map +1 -1
- package/build/tests/JestJsonParser.js +2 -47
- package/build/tests/JestJsonParser.js.map +1 -1
- package/build/tests/MockProgramFactory.js +0 -17
- package/build/tests/MockProgramFactory.js.map +1 -1
- package/build/tests/buildTestCache.js +0 -82
- package/build/tests/buildTestCache.js.map +1 -1
- package/build/tests/cleanTestCache.js +0 -11
- package/build/tests/cleanTestCache.js.map +1 -1
- package/build/tests/cleanTestData.js +0 -38
- package/build/tests/cleanTestData.js.map +1 -1
- package/build/tests/constants.js +0 -3
- package/build/tests/constants.js.map +1 -1
- package/build/tests/fixtures/FeatureFixture.js +7 -82
- package/build/tests/fixtures/FeatureFixture.js.map +1 -1
- package/build/tests/fixtures/MercuryFixture.js +0 -17
- package/build/tests/fixtures/MercuryFixture.js.map +1 -1
- package/build/tests/fixtures/OrganizationFixture.js +0 -39
- package/build/tests/fixtures/OrganizationFixture.js.map +1 -1
- package/build/tests/fixtures/PersonFixture.js +0 -37
- package/build/tests/fixtures/PersonFixture.js.map +1 -1
- package/build/tests/fixtures/SkillFixture.js +0 -55
- package/build/tests/fixtures/SkillFixture.js.map +1 -1
- package/build/tests/fixtures/ViewFixture.js +0 -14
- package/build/tests/fixtures/ViewFixture.js.map +1 -1
- package/build/tests/utilities/test.utility.js +0 -25
- package/build/tests/utilities/test.utility.js.map +1 -1
- package/build/tests/utilities/uiAssert.utility.js +0 -15
- package/build/tests/utilities/uiAssert.utility.js.map +1 -1
- package/build/types/cli.types.js +0 -1
- package/build/types/cli.types.js.map +1 -1
- package/build/types/graphicsInterface.types.js +0 -1
- package/build/types/graphicsInterface.types.js.map +1 -1
- package/build/updaters/ScriptUpdater.js +0 -28
- package/build/updaters/ScriptUpdater.js.map +1 -1
- package/build/utilities/action.utility.js +0 -11
- package/build/utilities/action.utility.js.map +1 -1
- package/build/utilities/apiClient.utility.js +2 -11
- package/build/utilities/apiClient.utility.js.map +1 -1
- package/build/utilities/argParser.utility.js +1 -11
- package/build/utilities/argParser.utility.js.map +1 -1
- package/build/utilities/commander.utility.js +0 -12
- package/build/utilities/commander.utility.js.map +1 -1
- package/build/utilities/duration.utility.js +3 -8
- package/build/utilities/duration.utility.js.map +1 -1
- package/build/utilities/eventContractCleaner.utility.js +1 -22
- package/build/utilities/eventContractCleaner.utility.js.map +1 -1
- package/build/utilities/form.utility.js +1 -27
- package/build/utilities/form.utility.js.map +1 -1
- package/build/utilities/introspection.utility.js +11 -40
- package/build/utilities/introspection.utility.js.map +1 -1
- package/build/utilities/isCi.js +0 -3
- package/build/utilities/isCi.js.map +1 -1
- package/build/utilities/tsConfig.utility.js +4 -16
- package/build/utilities/tsConfig.utility.js.map +1 -1
- package/build/utilities/ui.utility.js +2 -4
- package/build/utilities/ui.utility.js.map +1 -1
- package/build/widgets/Theme.js +0 -3
- package/build/widgets/Theme.js.map +1 -1
- package/build/widgets/WidgetFactory.js +4 -14
- package/build/widgets/WidgetFactory.js.map +1 -1
- package/build/widgets/keySelectChoices.js.map +1 -1
- package/build/widgets/terminalKit/TKButtonWidget.js +2 -32
- package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkBaseWidget.js +1 -55
- package/build/widgets/terminalKit/TkBaseWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkInputWidget.js +1 -44
- package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkLayoutCellWidget.js +0 -19
- package/build/widgets/terminalKit/TkLayoutCellWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkLayoutWidget.js +3 -47
- package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkMenuBarWidget.js +3 -48
- package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkPopupWidget.js +1 -27
- package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkProgressBarWidget.js +5 -30
- package/build/widgets/terminalKit/TkProgressBarWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkTextWidget.js +6 -48
- package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkWindowWidget.js +4 -35
- package/build/widgets/terminalKit/TkWindowWidget.js.map +1 -1
- package/build/widgets/terminalKit/termKit.utility.js +2 -40
- 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 +0 -16
- package/build/widgets/types/factory.types.js.map +1 -1
- package/build/widgets/types/input.types.js +0 -2
- package/build/widgets/types/input.types.js.map +1 -1
- package/build/widgets/types/menuBar.types.js +1 -2
- package/build/widgets/types/menuBar.types.js.map +1 -1
- package/build/widgets/types/popup.types.js.map +1 -1
- package/build/widgets/types/text.types.js +1 -2
- package/build/widgets/types/text.types.js.map +1 -1
- package/build/widgets/types/window.types.js +0 -2
- package/build/widgets/types/window.types.js.map +1 -1
- package/build/widgets/widget.utilities.js +6 -10
- package/build/widgets/widget.utilities.js.map +1 -1
- package/build/writers/AbstractWriter.js +13 -94
- package/build/writers/AbstractWriter.js.map +1 -1
- package/build/writers/WriterFactory.js +3 -27
- package/build/writers/WriterFactory.js.map +1 -1
- package/docs/images/doors.jpg +0 -0
- package/package.json +26 -26
- package/src/features/onboard/scripts/onboarding.first.script.ts +8 -5
|
@@ -1,32 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
-
|
|
12
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
|
-
|
|
14
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
15
|
-
|
|
16
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
17
|
-
|
|
18
12
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
19
|
-
|
|
20
13
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
21
|
-
|
|
22
14
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
|
-
|
|
24
15
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
25
|
-
|
|
26
16
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
27
|
-
|
|
28
17
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
29
|
-
|
|
30
18
|
var OrganizationFixture = /*#__PURE__*/function () {
|
|
31
19
|
function OrganizationFixture(personFixture, storeFactory) {
|
|
32
20
|
(0, _classCallCheck2["default"])(this, OrganizationFixture);
|
|
@@ -35,7 +23,6 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
35
23
|
this.storeFactory = storeFactory;
|
|
36
24
|
this.personFixture = personFixture;
|
|
37
25
|
}
|
|
38
|
-
|
|
39
26
|
(0, _createClass2["default"])(OrganizationFixture, [{
|
|
40
27
|
key: "seedDemoOrg",
|
|
41
28
|
value: function () {
|
|
@@ -46,12 +33,10 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
46
33
|
case 0:
|
|
47
34
|
_context.next = 2;
|
|
48
35
|
return this.personFixture.loginAsDemoPerson();
|
|
49
|
-
|
|
50
36
|
case 2:
|
|
51
37
|
return _context.abrupt("return", this.storeFactory.Store('organization').create(_objectSpread({
|
|
52
38
|
slug: "my-org-".concat(new Date().getTime())
|
|
53
39
|
}, options)));
|
|
54
|
-
|
|
55
40
|
case 3:
|
|
56
41
|
case "end":
|
|
57
42
|
return _context.stop();
|
|
@@ -59,11 +44,9 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
59
44
|
}
|
|
60
45
|
}, _callee, this);
|
|
61
46
|
}));
|
|
62
|
-
|
|
63
47
|
function seedDemoOrg(_x) {
|
|
64
48
|
return _seedDemoOrg.apply(this, arguments);
|
|
65
49
|
}
|
|
66
|
-
|
|
67
50
|
return seedDemoOrg;
|
|
68
51
|
}()
|
|
69
52
|
}, {
|
|
@@ -71,60 +54,45 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
71
54
|
value: function () {
|
|
72
55
|
var _clearAllOrgs = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
|
|
73
56
|
var orgStore, orgs, _iterator, _step, org;
|
|
74
|
-
|
|
75
57
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
76
58
|
while (1) {
|
|
77
59
|
switch (_context2.prev = _context2.next) {
|
|
78
60
|
case 0:
|
|
79
61
|
_context2.next = 2;
|
|
80
62
|
return this.personFixture.loginAsDemoPerson();
|
|
81
|
-
|
|
82
63
|
case 2:
|
|
83
64
|
orgStore = this.storeFactory.Store('organization');
|
|
84
65
|
_context2.next = 5;
|
|
85
66
|
return orgStore.fetchMyOrganizations();
|
|
86
|
-
|
|
87
67
|
case 5:
|
|
88
68
|
orgs = _context2.sent;
|
|
89
69
|
_iterator = _createForOfIteratorHelper(orgs);
|
|
90
70
|
_context2.prev = 7;
|
|
91
|
-
|
|
92
71
|
_iterator.s();
|
|
93
|
-
|
|
94
72
|
case 9:
|
|
95
73
|
if ((_step = _iterator.n()).done) {
|
|
96
74
|
_context2.next = 15;
|
|
97
75
|
break;
|
|
98
76
|
}
|
|
99
|
-
|
|
100
77
|
org = _step.value;
|
|
101
78
|
_context2.next = 13;
|
|
102
79
|
return orgStore.deleteOrganization(org.id);
|
|
103
|
-
|
|
104
80
|
case 13:
|
|
105
81
|
_context2.next = 9;
|
|
106
82
|
break;
|
|
107
|
-
|
|
108
83
|
case 15:
|
|
109
84
|
_context2.next = 20;
|
|
110
85
|
break;
|
|
111
|
-
|
|
112
86
|
case 17:
|
|
113
87
|
_context2.prev = 17;
|
|
114
88
|
_context2.t0 = _context2["catch"](7);
|
|
115
|
-
|
|
116
89
|
_iterator.e(_context2.t0);
|
|
117
|
-
|
|
118
90
|
case 20:
|
|
119
91
|
_context2.prev = 20;
|
|
120
|
-
|
|
121
92
|
_iterator.f();
|
|
122
|
-
|
|
123
93
|
return _context2.finish(20);
|
|
124
|
-
|
|
125
94
|
case 23:
|
|
126
95
|
return _context2.abrupt("return", orgs.length);
|
|
127
|
-
|
|
128
96
|
case 24:
|
|
129
97
|
case "end":
|
|
130
98
|
return _context2.stop();
|
|
@@ -132,11 +100,9 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
132
100
|
}
|
|
133
101
|
}, _callee2, this, [[7, 17, 20, 23]]);
|
|
134
102
|
}));
|
|
135
|
-
|
|
136
103
|
function clearAllOrgs() {
|
|
137
104
|
return _clearAllOrgs.apply(this, arguments);
|
|
138
105
|
}
|
|
139
|
-
|
|
140
106
|
return clearAllOrgs;
|
|
141
107
|
}()
|
|
142
108
|
}, {
|
|
@@ -150,12 +116,10 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
150
116
|
case 0:
|
|
151
117
|
_context3.next = 2;
|
|
152
118
|
return this.personFixture.loginAsDemoPerson();
|
|
153
|
-
|
|
154
119
|
case 2:
|
|
155
120
|
orgStore = this.storeFactory.Store('organization');
|
|
156
121
|
_context3.next = 5;
|
|
157
122
|
return orgStore.installSkillAtOrganization(skillId, orgId);
|
|
158
|
-
|
|
159
123
|
case 5:
|
|
160
124
|
case "end":
|
|
161
125
|
return _context3.stop();
|
|
@@ -163,16 +127,13 @@ var OrganizationFixture = /*#__PURE__*/function () {
|
|
|
163
127
|
}
|
|
164
128
|
}, _callee3, this);
|
|
165
129
|
}));
|
|
166
|
-
|
|
167
130
|
function installSkillAtOrganization(_x2, _x3) {
|
|
168
131
|
return _installSkillAtOrganization.apply(this, arguments);
|
|
169
132
|
}
|
|
170
|
-
|
|
171
133
|
return installSkillAtOrganization;
|
|
172
134
|
}()
|
|
173
135
|
}]);
|
|
174
136
|
return OrganizationFixture;
|
|
175
137
|
}();
|
|
176
|
-
|
|
177
138
|
exports["default"] = OrganizationFixture;
|
|
178
139
|
//# sourceMappingURL=OrganizationFixture.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationFixture.js","names":["OrganizationFixture","personFixture","storeFactory","options","loginAsDemoPerson","Store","create","slug","Date","getTime","orgStore","fetchMyOrganizations","orgs","org","deleteOrganization","id","length","skillId","orgId","installSkillAtOrganization"],"sources":["../../../src/tests/fixtures/OrganizationFixture.ts"],"sourcesContent":["import StoreFactory from '../../stores/StoreFactory'\nimport PersonFixture from './PersonFixture'\n\nexport default class OrganizationFixture {\n\tprivate storeFactory: StoreFactory\n\tprivate personFixture: PersonFixture\n\n\tpublic constructor(personFixture: PersonFixture, storeFactory: StoreFactory) {\n\t\tthis.storeFactory = storeFactory\n\t\tthis.personFixture = personFixture\n\t}\n\n\tpublic async seedDemoOrg(options: { name: string; slug?: string }) {\n\t\tawait this.personFixture.loginAsDemoPerson()\n\n\t\treturn this.storeFactory.Store('organization').create({\n\t\t\tslug: `my-org-${new Date().getTime()}`,\n\t\t\t...options,\n\t\t})\n\t}\n\n\tpublic async clearAllOrgs() {\n\t\tawait this.personFixture.loginAsDemoPerson()\n\n\t\tconst orgStore = this.storeFactory.Store('organization')\n\t\tconst orgs = await orgStore.fetchMyOrganizations()\n\n\t\tfor (const org of orgs) {\n\t\t\tawait orgStore.deleteOrganization(org.id)\n\t\t}\n\n\t\treturn orgs.length\n\t}\n\n\tpublic async installSkillAtOrganization(skillId: string, orgId: string) {\n\t\tawait this.personFixture.loginAsDemoPerson()\n\t\tconst orgStore = this.storeFactory.Store('organization')\n\n\t\tawait orgStore.installSkillAtOrganization(skillId, orgId)\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"OrganizationFixture.js","names":["OrganizationFixture","personFixture","storeFactory","options","loginAsDemoPerson","Store","create","slug","Date","getTime","orgStore","fetchMyOrganizations","orgs","org","deleteOrganization","id","length","skillId","orgId","installSkillAtOrganization"],"sources":["../../../src/tests/fixtures/OrganizationFixture.ts"],"sourcesContent":["import StoreFactory from '../../stores/StoreFactory'\nimport PersonFixture from './PersonFixture'\n\nexport default class OrganizationFixture {\n\tprivate storeFactory: StoreFactory\n\tprivate personFixture: PersonFixture\n\n\tpublic constructor(personFixture: PersonFixture, storeFactory: StoreFactory) {\n\t\tthis.storeFactory = storeFactory\n\t\tthis.personFixture = personFixture\n\t}\n\n\tpublic async seedDemoOrg(options: { name: string; slug?: string }) {\n\t\tawait this.personFixture.loginAsDemoPerson()\n\n\t\treturn this.storeFactory.Store('organization').create({\n\t\t\tslug: `my-org-${new Date().getTime()}`,\n\t\t\t...options,\n\t\t})\n\t}\n\n\tpublic async clearAllOrgs() {\n\t\tawait this.personFixture.loginAsDemoPerson()\n\n\t\tconst orgStore = this.storeFactory.Store('organization')\n\t\tconst orgs = await orgStore.fetchMyOrganizations()\n\n\t\tfor (const org of orgs) {\n\t\t\tawait orgStore.deleteOrganization(org.id)\n\t\t}\n\n\t\treturn orgs.length\n\t}\n\n\tpublic async installSkillAtOrganization(skillId: string, orgId: string) {\n\t\tawait this.personFixture.loginAsDemoPerson()\n\t\tconst orgStore = this.storeFactory.Store('organization')\n\n\t\tawait orgStore.installSkillAtOrganization(skillId, orgId)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;IAGqBA,mBAAmB;EAIvC,6BAAmBC,aAA4B,EAAEC,YAA0B,EAAE;IAAA;IAAA;IAAA;IAC5E,IAAI,CAACA,YAAY,GAAGA,YAAY;IAChC,IAAI,CAACD,aAAa,GAAGA,aAAa;EACnC;EAAC;IAAA;IAAA;MAAA,iGAED,iBAAyBE,OAAwC;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAC1D,IAAI,CAACF,aAAa,CAACG,iBAAiB,EAAE;cAAA;gBAAA,iCAErC,IAAI,CAACF,YAAY,CAACG,KAAK,CAAC,cAAc,CAAC,CAACC,MAAM;kBACpDC,IAAI,mBAAY,IAAIC,IAAI,EAAE,CAACC,OAAO,EAAE;gBAAE,GACnCN,OAAO,EACT;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CACF;MAAA;QAAA;MAAA;MAAA;IAAA;EAAA;IAAA;IAAA;MAAA,kGAED;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACO,IAAI,CAACF,aAAa,CAACG,iBAAiB,EAAE;cAAA;gBAEtCM,QAAQ,GAAG,IAAI,CAACR,YAAY,CAACG,KAAK,CAAC,cAAc,CAAC;gBAAA;gBAAA,OACrCK,QAAQ,CAACC,oBAAoB,EAAE;cAAA;gBAA5CC,IAAI;gBAAA,uCAEQA,IAAI;gBAAA;gBAAA;cAAA;gBAAA;kBAAA;kBAAA;gBAAA;gBAAXC,GAAG;gBAAA;gBAAA,OACPH,QAAQ,CAACI,kBAAkB,CAACD,GAAG,CAACE,EAAE,CAAC;cAAA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;gBAAA;cAAA;gBAAA,kCAGnCH,IAAI,CAACI,MAAM;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CAClB;MAAA;QAAA;MAAA;MAAA;IAAA;EAAA;IAAA;IAAA;MAAA,gHAED,kBAAwCC,OAAe,EAAEC,KAAa;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAC/D,IAAI,CAACjB,aAAa,CAACG,iBAAiB,EAAE;cAAA;gBACtCM,QAAQ,GAAG,IAAI,CAACR,YAAY,CAACG,KAAK,CAAC,cAAc,CAAC;gBAAA;gBAAA,OAElDK,QAAQ,CAACS,0BAA0B,CAACF,OAAO,EAAEC,KAAK,CAAC;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CACzD;MAAA;QAAA;MAAA;MAAA;IAAA;EAAA;EAAA;AAAA;AAAA"}
|
|
@@ -1,88 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = exports.DEMO_NUMBER = void 0;
|
|
9
|
-
|
|
10
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
-
|
|
12
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
|
-
|
|
14
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
15
|
-
|
|
16
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
17
|
-
|
|
18
12
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
19
|
-
|
|
20
13
|
var _schema = require("@sprucelabs/schema");
|
|
21
|
-
|
|
22
14
|
var _spruceEventUtils = require("@sprucelabs/spruce-event-utils");
|
|
23
|
-
|
|
24
15
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
|
-
|
|
26
16
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27
|
-
|
|
28
17
|
require('dotenv').config();
|
|
29
|
-
|
|
30
18
|
var DEMO_NUMBER = process.env.DEMO_NUMBER;
|
|
31
19
|
exports.DEMO_NUMBER = DEMO_NUMBER;
|
|
32
|
-
|
|
33
20
|
var PersonFixture = /*#__PURE__*/function () {
|
|
34
21
|
function PersonFixture(apiClientFactory) {
|
|
35
22
|
(0, _classCallCheck2["default"])(this, PersonFixture);
|
|
36
23
|
(0, _defineProperty2["default"])(this, "connectToApi", void 0);
|
|
37
24
|
this.connectToApi = apiClientFactory;
|
|
38
25
|
}
|
|
39
|
-
|
|
40
26
|
(0, _createClass2["default"])(PersonFixture, [{
|
|
41
27
|
key: "loginAsDemoPerson",
|
|
42
28
|
value: function () {
|
|
43
29
|
var _loginAsDemoPerson = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(phone) {
|
|
44
30
|
var _client$auth, _client$auth2, _client$auth2$person;
|
|
45
|
-
|
|
46
31
|
var client, requestPinResults, _eventResponseUtil$ge, challenge, confirmPinResults, _eventResponseUtil$ge2, person, token, personWithToken;
|
|
47
|
-
|
|
48
32
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
49
33
|
while (1) {
|
|
50
34
|
switch (_context.prev = _context.next) {
|
|
51
35
|
case 0:
|
|
52
36
|
_context.next = 2;
|
|
53
37
|
return this.connectToApi();
|
|
54
|
-
|
|
55
38
|
case 2:
|
|
56
39
|
client = _context.sent;
|
|
57
|
-
|
|
58
40
|
if (!(!phone && (_client$auth = client.auth) !== null && _client$auth !== void 0 && _client$auth.person)) {
|
|
59
41
|
_context.next = 5;
|
|
60
42
|
break;
|
|
61
43
|
}
|
|
62
|
-
|
|
63
44
|
return _context.abrupt("return", client.auth.person);
|
|
64
|
-
|
|
65
45
|
case 5:
|
|
66
46
|
phone = phone || DEMO_NUMBER;
|
|
67
|
-
|
|
68
47
|
if (phone) {
|
|
69
48
|
_context.next = 8;
|
|
70
49
|
break;
|
|
71
50
|
}
|
|
72
|
-
|
|
73
51
|
throw new _schema.SchemaError({
|
|
74
52
|
code: 'MISSING_PARAMETERS',
|
|
75
53
|
parameters: ['env.DEMO_NUMBER']
|
|
76
54
|
});
|
|
77
|
-
|
|
78
55
|
case 8:
|
|
79
56
|
if (!(((_client$auth2 = client.auth) === null || _client$auth2 === void 0 ? void 0 : (_client$auth2$person = _client$auth2.person) === null || _client$auth2$person === void 0 ? void 0 : _client$auth2$person.phone) === phone)) {
|
|
80
57
|
_context.next = 10;
|
|
81
58
|
break;
|
|
82
59
|
}
|
|
83
|
-
|
|
84
60
|
return _context.abrupt("return", client.auth.person);
|
|
85
|
-
|
|
86
61
|
case 10:
|
|
87
62
|
_context.next = 12;
|
|
88
63
|
return client.emit('request-pin::v2020_12_25', {
|
|
@@ -90,7 +65,6 @@ var PersonFixture = /*#__PURE__*/function () {
|
|
|
90
65
|
phone: phone
|
|
91
66
|
}
|
|
92
67
|
});
|
|
93
|
-
|
|
94
68
|
case 12:
|
|
95
69
|
requestPinResults = _context.sent;
|
|
96
70
|
_eventResponseUtil$ge = _spruceEventUtils.eventResponseUtil.getFirstResponseOrThrow(requestPinResults), challenge = _eventResponseUtil$ge.challenge;
|
|
@@ -101,19 +75,16 @@ var PersonFixture = /*#__PURE__*/function () {
|
|
|
101
75
|
pin: phone.substr(-4)
|
|
102
76
|
}
|
|
103
77
|
});
|
|
104
|
-
|
|
105
78
|
case 16:
|
|
106
79
|
confirmPinResults = _context.sent;
|
|
107
80
|
_eventResponseUtil$ge2 = _spruceEventUtils.eventResponseUtil.getFirstResponseOrThrow(confirmPinResults), person = _eventResponseUtil$ge2.person, token = _eventResponseUtil$ge2.token;
|
|
108
81
|
personWithToken = _objectSpread(_objectSpread({}, person), {}, {
|
|
109
82
|
token: token
|
|
110
83
|
}); //@ts-ignore
|
|
111
|
-
|
|
112
84
|
client.auth = {
|
|
113
85
|
person: personWithToken
|
|
114
86
|
};
|
|
115
87
|
return _context.abrupt("return", personWithToken);
|
|
116
|
-
|
|
117
88
|
case 21:
|
|
118
89
|
case "end":
|
|
119
90
|
return _context.stop();
|
|
@@ -121,11 +92,9 @@ var PersonFixture = /*#__PURE__*/function () {
|
|
|
121
92
|
}
|
|
122
93
|
}, _callee, this);
|
|
123
94
|
}));
|
|
124
|
-
|
|
125
95
|
function loginAsDemoPerson(_x) {
|
|
126
96
|
return _loginAsDemoPerson.apply(this, arguments);
|
|
127
97
|
}
|
|
128
|
-
|
|
129
98
|
return loginAsDemoPerson;
|
|
130
99
|
}()
|
|
131
100
|
}, {
|
|
@@ -139,16 +108,13 @@ var PersonFixture = /*#__PURE__*/function () {
|
|
|
139
108
|
case 0:
|
|
140
109
|
_context2.next = 2;
|
|
141
110
|
return this.connectToApi();
|
|
142
|
-
|
|
143
111
|
case 2:
|
|
144
112
|
client = _context2.sent;
|
|
145
113
|
_context2.next = 5;
|
|
146
114
|
return client.emit('logout::v2020_12_25');
|
|
147
|
-
|
|
148
115
|
case 5:
|
|
149
116
|
//@ts-ignore
|
|
150
117
|
delete client.auth;
|
|
151
|
-
|
|
152
118
|
case 6:
|
|
153
119
|
case "end":
|
|
154
120
|
return _context2.stop();
|
|
@@ -156,16 +122,13 @@ var PersonFixture = /*#__PURE__*/function () {
|
|
|
156
122
|
}
|
|
157
123
|
}, _callee2, this);
|
|
158
124
|
}));
|
|
159
|
-
|
|
160
125
|
function logout() {
|
|
161
126
|
return _logout.apply(this, arguments);
|
|
162
127
|
}
|
|
163
|
-
|
|
164
128
|
return logout;
|
|
165
129
|
}()
|
|
166
130
|
}]);
|
|
167
131
|
return PersonFixture;
|
|
168
132
|
}();
|
|
169
|
-
|
|
170
133
|
exports["default"] = PersonFixture;
|
|
171
134
|
//# sourceMappingURL=PersonFixture.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonFixture.js","names":["require","config","DEMO_NUMBER","process","env","PersonFixture","apiClientFactory","connectToApi","phone","client","auth","person","SchemaError","code","parameters","emit","payload","requestPinResults","eventResponseUtil","getFirstResponseOrThrow","challenge","pin","substr","confirmPinResults","token","personWithToken"],"sources":["../../../src/tests/fixtures/PersonFixture.ts"],"sourcesContent":["import { SpruceSchemas } from '@sprucelabs/mercury-types'\nimport { SchemaError } from '@sprucelabs/schema'\nimport { eventResponseUtil } from '@sprucelabs/spruce-event-utils'\nimport { ApiClientFactory } from '../../types/apiClient.types'\n\nrequire('dotenv').config()\n\nexport const DEMO_NUMBER = process.env.DEMO_NUMBER as string\n\nexport default class PersonFixture {\n\tprivate connectToApi: ApiClientFactory\n\n\tpublic constructor(apiClientFactory: ApiClientFactory) {\n\t\tthis.connectToApi = apiClientFactory\n\t}\n\n\tpublic async loginAsDemoPerson(\n\t\tphone?: string\n\t): Promise<SpruceSchemas.SpruceCli.v2020_07_22.PersonWithToken> {\n\t\tconst client = await this.connectToApi()\n\n\t\t//@ts-ignore\n\t\tif (!phone && client.auth?.person) {\n\t\t\t//@ts-ignore\n\t\t\treturn client.auth.person\n\t\t}\n\n\t\tphone = phone || DEMO_NUMBER\n\n\t\tif (!phone) {\n\t\t\tthrow new SchemaError({\n\t\t\t\tcode: 'MISSING_PARAMETERS',\n\t\t\t\tparameters: ['env.DEMO_NUMBER'],\n\t\t\t})\n\t\t}\n\n\t\t//@ts-ignore\n\t\tif (client.auth?.person?.phone === phone) {\n\t\t\t//@ts-ignore\n\t\t\treturn client.auth.person\n\t\t}\n\n\t\tconst requestPinResults = await client.emit('request-pin::v2020_12_25', {\n\t\t\tpayload: { phone },\n\t\t})\n\n\t\tconst { challenge } =\n\t\t\teventResponseUtil.getFirstResponseOrThrow(requestPinResults)\n\n\t\tconst confirmPinResults = await client.emit('confirm-pin::v2020_12_25', {\n\t\t\tpayload: { challenge, pin: phone.substr(-4) },\n\t\t})\n\n\t\tconst { person, token } =\n\t\t\teventResponseUtil.getFirstResponseOrThrow(confirmPinResults)\n\n\t\tconst personWithToken = { ...person, token }\n\n\t\t//@ts-ignore\n\t\tclient.auth = { person: personWithToken }\n\n\t\treturn personWithToken\n\t}\n\n\tpublic async logout() {\n\t\tconst client = await this.connectToApi()\n\n\t\tawait client.emit('logout::v2020_12_25')\n\n\t\t//@ts-ignore\n\t\tdelete client.auth\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PersonFixture.js","names":["require","config","DEMO_NUMBER","process","env","PersonFixture","apiClientFactory","connectToApi","phone","client","auth","person","SchemaError","code","parameters","emit","payload","requestPinResults","eventResponseUtil","getFirstResponseOrThrow","challenge","pin","substr","confirmPinResults","token","personWithToken"],"sources":["../../../src/tests/fixtures/PersonFixture.ts"],"sourcesContent":["import { SpruceSchemas } from '@sprucelabs/mercury-types'\nimport { SchemaError } from '@sprucelabs/schema'\nimport { eventResponseUtil } from '@sprucelabs/spruce-event-utils'\nimport { ApiClientFactory } from '../../types/apiClient.types'\n\nrequire('dotenv').config()\n\nexport const DEMO_NUMBER = process.env.DEMO_NUMBER as string\n\nexport default class PersonFixture {\n\tprivate connectToApi: ApiClientFactory\n\n\tpublic constructor(apiClientFactory: ApiClientFactory) {\n\t\tthis.connectToApi = apiClientFactory\n\t}\n\n\tpublic async loginAsDemoPerson(\n\t\tphone?: string\n\t): Promise<SpruceSchemas.SpruceCli.v2020_07_22.PersonWithToken> {\n\t\tconst client = await this.connectToApi()\n\n\t\t//@ts-ignore\n\t\tif (!phone && client.auth?.person) {\n\t\t\t//@ts-ignore\n\t\t\treturn client.auth.person\n\t\t}\n\n\t\tphone = phone || DEMO_NUMBER\n\n\t\tif (!phone) {\n\t\t\tthrow new SchemaError({\n\t\t\t\tcode: 'MISSING_PARAMETERS',\n\t\t\t\tparameters: ['env.DEMO_NUMBER'],\n\t\t\t})\n\t\t}\n\n\t\t//@ts-ignore\n\t\tif (client.auth?.person?.phone === phone) {\n\t\t\t//@ts-ignore\n\t\t\treturn client.auth.person\n\t\t}\n\n\t\tconst requestPinResults = await client.emit('request-pin::v2020_12_25', {\n\t\t\tpayload: { phone },\n\t\t})\n\n\t\tconst { challenge } =\n\t\t\teventResponseUtil.getFirstResponseOrThrow(requestPinResults)\n\n\t\tconst confirmPinResults = await client.emit('confirm-pin::v2020_12_25', {\n\t\t\tpayload: { challenge, pin: phone.substr(-4) },\n\t\t})\n\n\t\tconst { person, token } =\n\t\t\teventResponseUtil.getFirstResponseOrThrow(confirmPinResults)\n\n\t\tconst personWithToken = { ...person, token }\n\n\t\t//@ts-ignore\n\t\tclient.auth = { person: personWithToken }\n\n\t\treturn personWithToken\n\t}\n\n\tpublic async logout() {\n\t\tconst client = await this.connectToApi()\n\n\t\tawait client.emit('logout::v2020_12_25')\n\n\t\t//@ts-ignore\n\t\tdelete client.auth\n\t}\n}\n"],"mappings":";;;;;;;;;;;;AACA;AACA;AAAkE;AAAA;AAGlEA,OAAO,CAAC,QAAQ,CAAC,CAACC,MAAM,EAAE;AAEnB,IAAMC,WAAW,GAAGC,OAAO,CAACC,GAAG,CAACF,WAAqB;AAAA;AAAA,IAEvCG,aAAa;EAGjC,uBAAmBC,gBAAkC,EAAE;IAAA;IAAA;IACtD,IAAI,CAACC,YAAY,GAAGD,gBAAgB;EACrC;EAAC;IAAA;IAAA;MAAA,uGAED,iBACCE,KAAc;QAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEO,IAAI,CAACD,YAAY,EAAE;cAAA;gBAAlCE,MAAM;gBAAA,MAGR,CAACD,KAAK,oBAAIC,MAAM,CAACC,IAAI,yCAAX,aAAaC,MAAM;kBAAA;kBAAA;gBAAA;gBAAA,iCAEzBF,MAAM,CAACC,IAAI,CAACC,MAAM;cAAA;gBAG1BH,KAAK,GAAGA,KAAK,IAAIN,WAAW;gBAAA,IAEvBM,KAAK;kBAAA;kBAAA;gBAAA;gBAAA,MACH,IAAII,mBAAW,CAAC;kBACrBC,IAAI,EAAE,oBAAoB;kBAC1BC,UAAU,EAAE,CAAC,iBAAiB;gBAC/B,CAAC,CAAC;cAAA;gBAAA,MAIC,kBAAAL,MAAM,CAACC,IAAI,0EAAX,cAAaC,MAAM,yDAAnB,qBAAqBH,KAAK,MAAKA,KAAK;kBAAA;kBAAA;gBAAA;gBAAA,iCAEhCC,MAAM,CAACC,IAAI,CAACC,MAAM;cAAA;gBAAA;gBAAA,OAGMF,MAAM,CAACM,IAAI,CAAC,0BAA0B,EAAE;kBACvEC,OAAO,EAAE;oBAAER,KAAK,EAALA;kBAAM;gBAClB,CAAC,CAAC;cAAA;gBAFIS,iBAAiB;gBAAA,wBAKtBC,mCAAiB,CAACC,uBAAuB,CAACF,iBAAiB,CAAC,EADrDG,SAAS,yBAATA,SAAS;gBAAA;gBAAA,OAGeX,MAAM,CAACM,IAAI,CAAC,0BAA0B,EAAE;kBACvEC,OAAO,EAAE;oBAAEI,SAAS,EAATA,SAAS;oBAAEC,GAAG,EAAEb,KAAK,CAACc,MAAM,CAAC,CAAC,CAAC;kBAAE;gBAC7C,CAAC,CAAC;cAAA;gBAFIC,iBAAiB;gBAAA,yBAKtBL,mCAAiB,CAACC,uBAAuB,CAACI,iBAAiB,CAAC,EADrDZ,MAAM,0BAANA,MAAM,EAAEa,KAAK,0BAALA,KAAK;gBAGfC,eAAe,mCAAQd,MAAM;kBAAEa,KAAK,EAALA;gBAAK,IAE1C;gBACAf,MAAM,CAACC,IAAI,GAAG;kBAAEC,MAAM,EAAEc;gBAAgB,CAAC;gBAAA,iCAElCA,eAAe;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CACtB;MAAA;QAAA;MAAA;MAAA;IAAA;EAAA;IAAA;IAAA;MAAA,4FAED;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACsB,IAAI,CAAClB,YAAY,EAAE;cAAA;gBAAlCE,MAAM;gBAAA;gBAAA,OAENA,MAAM,CAACM,IAAI,CAAC,qBAAqB,CAAC;cAAA;gBAExC;gBACA,OAAON,MAAM,CAACC,IAAI;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CAClB;MAAA;QAAA;MAAA;MAAA;IAAA;EAAA;EAAA;AAAA;AAAA"}
|
|
@@ -1,36 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
-
|
|
12
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
|
-
|
|
14
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
15
|
-
|
|
16
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
17
|
-
|
|
18
12
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
19
|
-
|
|
20
13
|
var _spruceSkillUtils = require("@sprucelabs/spruce-skill-utils");
|
|
21
|
-
|
|
22
14
|
var _apiClient = _interopRequireDefault(require("../../utilities/apiClient.utility"));
|
|
23
|
-
|
|
24
15
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
25
|
-
|
|
26
16
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
27
|
-
|
|
28
17
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
29
|
-
|
|
30
18
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
31
|
-
|
|
32
19
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
33
|
-
|
|
34
20
|
var SkillFixture = /*#__PURE__*/function () {
|
|
35
21
|
function SkillFixture(personFixture, storeFactory, apiClientFactory) {
|
|
36
22
|
(0, _classCallCheck2["default"])(this, SkillFixture);
|
|
@@ -41,7 +27,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
41
27
|
this.storeFactory = storeFactory;
|
|
42
28
|
this.apiClientFactory = apiClientFactory;
|
|
43
29
|
}
|
|
44
|
-
|
|
45
30
|
(0, _createClass2["default"])(SkillFixture, [{
|
|
46
31
|
key: "seedDemoSkill",
|
|
47
32
|
value: function () {
|
|
@@ -53,7 +38,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
53
38
|
return _context.abrupt("return", this.registerCurrentSkill(values, _objectSpread({
|
|
54
39
|
isRegisteringCurrentSkill: false
|
|
55
40
|
}, options)));
|
|
56
|
-
|
|
57
41
|
case 1:
|
|
58
42
|
case "end":
|
|
59
43
|
return _context.stop();
|
|
@@ -61,11 +45,9 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
61
45
|
}
|
|
62
46
|
}, _callee, this);
|
|
63
47
|
}));
|
|
64
|
-
|
|
65
48
|
function seedDemoSkill(_x, _x2) {
|
|
66
49
|
return _seedDemoSkill.apply(this, arguments);
|
|
67
50
|
}
|
|
68
|
-
|
|
69
51
|
return seedDemoSkill;
|
|
70
52
|
}()
|
|
71
53
|
}, {
|
|
@@ -73,19 +55,16 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
73
55
|
value: function () {
|
|
74
56
|
var _registerCurrentSkill = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(values, options) {
|
|
75
57
|
var _values$slug;
|
|
76
|
-
|
|
77
58
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
78
59
|
while (1) {
|
|
79
60
|
switch (_context2.prev = _context2.next) {
|
|
80
61
|
case 0:
|
|
81
62
|
_context2.next = 2;
|
|
82
63
|
return this.personFixture.loginAsDemoPerson(options === null || options === void 0 ? void 0 : options.phone);
|
|
83
|
-
|
|
84
64
|
case 2:
|
|
85
65
|
return _context2.abrupt("return", this.storeFactory.Store('skill').register(_objectSpread({
|
|
86
66
|
slug: (_values$slug = values.slug) !== null && _values$slug !== void 0 ? _values$slug : this.generateSkillSlug(values.name)
|
|
87
67
|
}, values), options));
|
|
88
|
-
|
|
89
68
|
case 3:
|
|
90
69
|
case "end":
|
|
91
70
|
return _context2.stop();
|
|
@@ -93,11 +72,9 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
93
72
|
}
|
|
94
73
|
}, _callee2, this);
|
|
95
74
|
}));
|
|
96
|
-
|
|
97
75
|
function registerCurrentSkill(_x3, _x4) {
|
|
98
76
|
return _registerCurrentSkill.apply(this, arguments);
|
|
99
77
|
}
|
|
100
|
-
|
|
101
78
|
return registerCurrentSkill;
|
|
102
79
|
}()
|
|
103
80
|
}, {
|
|
@@ -118,7 +95,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
118
95
|
skillAuth = _apiClient["default"].skillOrAuthToAuth(auth);
|
|
119
96
|
_context4.next = 3;
|
|
120
97
|
return this.apiClientFactory(skillAuth);
|
|
121
|
-
|
|
122
98
|
case 3:
|
|
123
99
|
client = _context4.sent;
|
|
124
100
|
eventStore = this.storeFactory.Store('event', {
|
|
@@ -129,7 +105,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
129
105
|
switch (_context3.prev = _context3.next) {
|
|
130
106
|
case 0:
|
|
131
107
|
return _context3.abrupt("return", client);
|
|
132
|
-
|
|
133
108
|
case 1:
|
|
134
109
|
case "end":
|
|
135
110
|
return _context3.stop();
|
|
@@ -137,11 +112,9 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
137
112
|
}
|
|
138
113
|
}, _callee3);
|
|
139
114
|
}));
|
|
140
|
-
|
|
141
115
|
function apiClientFactory() {
|
|
142
116
|
return _apiClientFactory.apply(this, arguments);
|
|
143
117
|
}
|
|
144
|
-
|
|
145
118
|
return apiClientFactory;
|
|
146
119
|
}()
|
|
147
120
|
});
|
|
@@ -149,7 +122,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
149
122
|
return eventStore.registerEventContract({
|
|
150
123
|
eventContract: contract
|
|
151
124
|
});
|
|
152
|
-
|
|
153
125
|
case 7:
|
|
154
126
|
case "end":
|
|
155
127
|
return _context4.stop();
|
|
@@ -157,11 +129,9 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
157
129
|
}
|
|
158
130
|
}, _callee4, this);
|
|
159
131
|
}));
|
|
160
|
-
|
|
161
132
|
function registerEventContract(_x5, _x6) {
|
|
162
133
|
return _registerEventContract.apply(this, arguments);
|
|
163
134
|
}
|
|
164
|
-
|
|
165
135
|
return registerEventContract;
|
|
166
136
|
}()
|
|
167
137
|
}, {
|
|
@@ -176,7 +146,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
176
146
|
skillAuth = _apiClient["default"].skillOrAuthToAuth(auth);
|
|
177
147
|
_context6.next = 3;
|
|
178
148
|
return this.apiClientFactory(skillAuth);
|
|
179
|
-
|
|
180
149
|
case 3:
|
|
181
150
|
client = _context6.sent;
|
|
182
151
|
eventStore = this.storeFactory.Store('event', {
|
|
@@ -187,7 +156,6 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
187
156
|
switch (_context5.prev = _context5.next) {
|
|
188
157
|
case 0:
|
|
189
158
|
return _context5.abrupt("return", client);
|
|
190
|
-
|
|
191
159
|
case 1:
|
|
192
160
|
case "end":
|
|
193
161
|
return _context5.stop();
|
|
@@ -195,17 +163,14 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
195
163
|
}
|
|
196
164
|
}, _callee5);
|
|
197
165
|
}));
|
|
198
|
-
|
|
199
166
|
function apiClientFactory() {
|
|
200
167
|
return _apiClientFactory2.apply(this, arguments);
|
|
201
168
|
}
|
|
202
|
-
|
|
203
169
|
return apiClientFactory;
|
|
204
170
|
}()
|
|
205
171
|
});
|
|
206
172
|
_context6.next = 7;
|
|
207
173
|
return eventStore.unRegisterEvents(options);
|
|
208
|
-
|
|
209
174
|
case 7:
|
|
210
175
|
case "end":
|
|
211
176
|
return _context6.stop();
|
|
@@ -213,11 +178,9 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
213
178
|
}
|
|
214
179
|
}, _callee6, this);
|
|
215
180
|
}));
|
|
216
|
-
|
|
217
181
|
function unRegisterEvents(_x7, _x8) {
|
|
218
182
|
return _unRegisterEvents.apply(this, arguments);
|
|
219
183
|
}
|
|
220
|
-
|
|
221
184
|
return unRegisterEvents;
|
|
222
185
|
}()
|
|
223
186
|
}, {
|
|
@@ -225,60 +188,45 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
225
188
|
value: function () {
|
|
226
189
|
var _clearAllSkills = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7() {
|
|
227
190
|
var skillStore, skills, _iterator, _step, skill;
|
|
228
|
-
|
|
229
191
|
return _regenerator["default"].wrap(function _callee7$(_context7) {
|
|
230
192
|
while (1) {
|
|
231
193
|
switch (_context7.prev = _context7.next) {
|
|
232
194
|
case 0:
|
|
233
195
|
_context7.next = 2;
|
|
234
196
|
return this.personFixture.loginAsDemoPerson();
|
|
235
|
-
|
|
236
197
|
case 2:
|
|
237
198
|
skillStore = this.storeFactory.Store('skill');
|
|
238
199
|
_context7.next = 5;
|
|
239
200
|
return skillStore.fetchMySkills();
|
|
240
|
-
|
|
241
201
|
case 5:
|
|
242
202
|
skills = _context7.sent;
|
|
243
203
|
_iterator = _createForOfIteratorHelper(skills);
|
|
244
204
|
_context7.prev = 7;
|
|
245
|
-
|
|
246
205
|
_iterator.s();
|
|
247
|
-
|
|
248
206
|
case 9:
|
|
249
207
|
if ((_step = _iterator.n()).done) {
|
|
250
208
|
_context7.next = 15;
|
|
251
209
|
break;
|
|
252
210
|
}
|
|
253
|
-
|
|
254
211
|
skill = _step.value;
|
|
255
212
|
_context7.next = 13;
|
|
256
213
|
return skillStore.unregisterSkill(skill.id);
|
|
257
|
-
|
|
258
214
|
case 13:
|
|
259
215
|
_context7.next = 9;
|
|
260
216
|
break;
|
|
261
|
-
|
|
262
217
|
case 15:
|
|
263
218
|
_context7.next = 20;
|
|
264
219
|
break;
|
|
265
|
-
|
|
266
220
|
case 17:
|
|
267
221
|
_context7.prev = 17;
|
|
268
222
|
_context7.t0 = _context7["catch"](7);
|
|
269
|
-
|
|
270
223
|
_iterator.e(_context7.t0);
|
|
271
|
-
|
|
272
224
|
case 20:
|
|
273
225
|
_context7.prev = 20;
|
|
274
|
-
|
|
275
226
|
_iterator.f();
|
|
276
|
-
|
|
277
227
|
return _context7.finish(20);
|
|
278
|
-
|
|
279
228
|
case 23:
|
|
280
229
|
return _context7.abrupt("return", skills.length);
|
|
281
|
-
|
|
282
230
|
case 24:
|
|
283
231
|
case "end":
|
|
284
232
|
return _context7.stop();
|
|
@@ -286,17 +234,14 @@ var SkillFixture = /*#__PURE__*/function () {
|
|
|
286
234
|
}
|
|
287
235
|
}, _callee7, this, [[7, 17, 20, 23]]);
|
|
288
236
|
}));
|
|
289
|
-
|
|
290
237
|
function clearAllSkills() {
|
|
291
238
|
return _clearAllSkills.apply(this, arguments);
|
|
292
239
|
}
|
|
293
|
-
|
|
294
240
|
return clearAllSkills;
|
|
295
241
|
}()
|
|
296
242
|
}]);
|
|
297
243
|
return SkillFixture;
|
|
298
244
|
}();
|
|
299
|
-
|
|
300
245
|
exports["default"] = SkillFixture;
|
|
301
246
|
(0, _defineProperty2["default"])(SkillFixture, "skillCount", Math.round(Math.random() * 100));
|
|
302
247
|
//# sourceMappingURL=SkillFixture.js.map
|