auth0-deploy-cli 7.14.3 → 7.15.2
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/.circleci/config.yml +19 -5
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +50 -0
- package/.github/ISSUE_TEMPLATE/report_a_bug.yml +74 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +34 -16
- package/.nyc_output/{d585e288-6dff-4d1c-a029-4e45efb2ad92.json → 3cdb0d81-cef0-4ed7-ac95-af0d771ac181.json} +0 -0
- package/.nyc_output/{d6d3177f-b440-4a24-ac55-7aabf686a0a7.json → 57ba7a7d-33b9-4371-a340-081cbb23c86a.json} +0 -0
- package/.nyc_output/6abd20a0-79d3-4149-972d-d76576da86cb.json +1 -0
- package/.nyc_output/processinfo/3cdb0d81-cef0-4ed7-ac95-af0d771ac181.json +1 -0
- package/.nyc_output/processinfo/57ba7a7d-33b9-4371-a340-081cbb23c86a.json +1 -0
- package/.nyc_output/processinfo/6abd20a0-79d3-4149-972d-d76576da86cb.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +45 -1
- package/README.md +3 -0
- package/coverage/lcov-report/index.html +37 -37
- package/coverage/lcov-report/src/args.ts.html +1 -1
- package/coverage/lcov-report/src/commands/export.ts.html +1 -1
- package/coverage/lcov-report/src/commands/import.ts.html +1 -1
- package/coverage/lcov-report/src/commands/index.html +1 -1
- package/coverage/lcov-report/src/configFactory.ts.html +1 -1
- package/coverage/lcov-report/src/context/defaults.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/actions.ts.html +79 -28
- package/coverage/lcov-report/src/context/directory/handlers/attackProtection.ts.html +6 -6
- package/coverage/lcov-report/src/context/directory/handlers/branding.ts.html +4 -4
- package/coverage/lcov-report/src/context/directory/handlers/clientGrants.ts.html +16 -7
- package/coverage/lcov-report/src/context/directory/handlers/clients.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/connections.ts.html +4 -4
- package/coverage/lcov-report/src/context/directory/handlers/customDomains.ts.html +4 -4
- package/coverage/lcov-report/src/context/directory/handlers/databases.ts.html +8 -5
- package/coverage/lcov-report/src/context/directory/handlers/emailProvider.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/emailTemplates.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorProviders.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorTemplates.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactors.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorMessageTypes.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorSelectedProvider.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/guardianPolicies.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/hooks.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/index.html +21 -21
- package/coverage/lcov-report/src/context/directory/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/logStreams.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/migrations.ts.html +5 -5
- package/coverage/lcov-report/src/context/directory/handlers/organizations.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/pages.ts.html +19 -25
- package/coverage/lcov-report/src/context/directory/handlers/prompts.ts.html +4 -4
- package/coverage/lcov-report/src/context/directory/handlers/resourceServers.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/roles.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/rules.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/rulesConfigs.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/handlers/tenant.ts.html +6 -6
- package/coverage/lcov-report/src/context/directory/handlers/themes.ts.html +4 -4
- package/coverage/lcov-report/src/context/directory/handlers/triggers.ts.html +3 -3
- package/coverage/lcov-report/src/context/directory/index.html +1 -1
- package/coverage/lcov-report/src/context/directory/index.ts.html +21 -21
- package/coverage/lcov-report/src/context/index.html +1 -1
- package/coverage/lcov-report/src/context/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/actions.ts.html +55 -19
- package/coverage/lcov-report/src/context/yaml/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/branding.ts.html +13 -37
- package/coverage/lcov-report/src/context/yaml/handlers/clientGrants.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/databases.ts.html +8 -2
- package/coverage/lcov-report/src/context/yaml/handlers/emailProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/index.html +29 -29
- package/coverage/lcov-report/src/context/yaml/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/pages.ts.html +15 -18
- package/coverage/lcov-report/src/context/yaml/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/tenant.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/themes.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/index.html +1 -1
- package/coverage/lcov-report/src/context/yaml/index.ts.html +10 -10
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/logger.ts.html +2 -2
- package/coverage/lcov-report/src/readonly.ts.html +1 -1
- package/coverage/lcov-report/src/sessionDurationsToMinutes.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/client.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/actions.ts.html +145 -37
- package/coverage/lcov-report/src/tools/auth0/handlers/attackProtection.ts.html +49 -19
- package/coverage/lcov-report/src/tools/auth0/handlers/branding.ts.html +27 -27
- package/coverage/lcov-report/src/tools/auth0/handlers/clientGrants.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/databases.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/default.ts.html +32 -32
- package/coverage/lcov-report/src/tools/auth0/handlers/emailProvider.ts.html +50 -41
- package/coverage/lcov-report/src/tools/auth0/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/index.html +39 -39
- package/coverage/lcov-report/src/tools/auth0/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/pages.ts.html +26 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/tenant.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/themes.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/triggers.ts.html +10 -10
- package/coverage/lcov-report/src/tools/auth0/index.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/index.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/schema.ts.html +1 -1
- package/coverage/lcov-report/src/tools/calculateChanges.ts.html +15 -15
- package/coverage/lcov-report/src/tools/constants.ts.html +1 -1
- package/coverage/lcov-report/src/tools/deploy.ts.html +1 -1
- package/coverage/lcov-report/src/tools/index.html +1 -1
- package/coverage/lcov-report/src/tools/index.ts.html +2 -2
- package/coverage/lcov-report/src/tools/utils.ts.html +20 -20
- package/coverage/lcov-report/src/tools/validationError.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +39 -15
- package/coverage/lcov-report/src/utils.ts.html +15 -15
- package/coverage/lcov.info +1025 -961
- package/docs/excluding-from-management.md +5 -2
- package/docs/resource-specific-documentation.md +208 -0
- package/lib/args.d.ts +6 -6
- package/lib/args.js +1 -0
- package/lib/args.js.map +1 -0
- package/lib/commands/export.js +1 -0
- package/lib/commands/export.js.map +1 -0
- package/lib/commands/import.js +1 -0
- package/lib/commands/import.js.map +1 -0
- package/lib/commands/index.js +1 -0
- package/lib/commands/index.js.map +1 -0
- package/lib/configFactory.d.ts +1 -1
- package/lib/configFactory.js +1 -0
- package/lib/configFactory.js.map +1 -0
- package/lib/context/defaults.js +1 -0
- package/lib/context/defaults.js.map +1 -0
- package/lib/context/directory/handlers/actions.d.ts +1 -1
- package/lib/context/directory/handlers/actions.js +15 -5
- package/lib/context/directory/handlers/actions.js.map +1 -0
- package/lib/context/directory/handlers/attackProtection.d.ts +1 -1
- package/lib/context/directory/handlers/attackProtection.js +1 -0
- package/lib/context/directory/handlers/attackProtection.js.map +1 -0
- package/lib/context/directory/handlers/branding.d.ts +1 -1
- package/lib/context/directory/handlers/branding.js +1 -0
- package/lib/context/directory/handlers/branding.js.map +1 -0
- package/lib/context/directory/handlers/clientGrants.d.ts +1 -1
- package/lib/context/directory/handlers/clientGrants.js +4 -2
- package/lib/context/directory/handlers/clientGrants.js.map +1 -0
- package/lib/context/directory/handlers/clients.d.ts +1 -1
- package/lib/context/directory/handlers/clients.js +1 -0
- package/lib/context/directory/handlers/clients.js.map +1 -0
- package/lib/context/directory/handlers/connections.d.ts +1 -1
- package/lib/context/directory/handlers/connections.js +1 -0
- package/lib/context/directory/handlers/connections.js.map +1 -0
- package/lib/context/directory/handlers/customDomains.d.ts +1 -1
- package/lib/context/directory/handlers/customDomains.js +1 -0
- package/lib/context/directory/handlers/customDomains.js.map +1 -0
- package/lib/context/directory/handlers/databases.d.ts +1 -1
- package/lib/context/directory/handlers/databases.js +3 -1
- package/lib/context/directory/handlers/databases.js.map +1 -0
- package/lib/context/directory/handlers/emailProvider.d.ts +1 -1
- package/lib/context/directory/handlers/emailProvider.js +1 -0
- package/lib/context/directory/handlers/emailProvider.js.map +1 -0
- package/lib/context/directory/handlers/emailTemplates.d.ts +1 -1
- package/lib/context/directory/handlers/emailTemplates.js +1 -0
- package/lib/context/directory/handlers/emailTemplates.js.map +1 -0
- package/lib/context/directory/handlers/guardianFactorProviders.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactorProviders.js +1 -0
- package/lib/context/directory/handlers/guardianFactorProviders.js.map +1 -0
- package/lib/context/directory/handlers/guardianFactorTemplates.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactorTemplates.js +1 -0
- package/lib/context/directory/handlers/guardianFactorTemplates.js.map +1 -0
- package/lib/context/directory/handlers/guardianFactors.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactors.js +1 -0
- package/lib/context/directory/handlers/guardianFactors.js.map +1 -0
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.js +1 -0
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.js.map +1 -0
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.js +1 -0
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.js.map +1 -0
- package/lib/context/directory/handlers/guardianPolicies.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPolicies.js +1 -0
- package/lib/context/directory/handlers/guardianPolicies.js.map +1 -0
- package/lib/context/directory/handlers/hooks.d.ts +1 -1
- package/lib/context/directory/handlers/hooks.js +1 -0
- package/lib/context/directory/handlers/hooks.js.map +1 -0
- package/lib/context/directory/handlers/index.d.ts +1 -1
- package/lib/context/directory/handlers/index.js +1 -0
- package/lib/context/directory/handlers/index.js.map +1 -0
- package/lib/context/directory/handlers/logStreams.d.ts +1 -1
- package/lib/context/directory/handlers/logStreams.js +1 -0
- package/lib/context/directory/handlers/logStreams.js.map +1 -0
- package/lib/context/directory/handlers/migrations.d.ts +1 -1
- package/lib/context/directory/handlers/migrations.js +1 -0
- package/lib/context/directory/handlers/migrations.js.map +1 -0
- package/lib/context/directory/handlers/organizations.d.ts +1 -1
- package/lib/context/directory/handlers/organizations.js +1 -0
- package/lib/context/directory/handlers/organizations.js.map +1 -0
- package/lib/context/directory/handlers/pages.d.ts +3 -2
- package/lib/context/directory/handlers/pages.js +5 -7
- package/lib/context/directory/handlers/pages.js.map +1 -0
- package/lib/context/directory/handlers/prompts.d.ts +1 -1
- package/lib/context/directory/handlers/prompts.js +1 -0
- package/lib/context/directory/handlers/prompts.js.map +1 -0
- package/lib/context/directory/handlers/resourceServers.d.ts +1 -1
- package/lib/context/directory/handlers/resourceServers.js +1 -0
- package/lib/context/directory/handlers/resourceServers.js.map +1 -0
- package/lib/context/directory/handlers/roles.d.ts +1 -1
- package/lib/context/directory/handlers/roles.js +1 -0
- package/lib/context/directory/handlers/roles.js.map +1 -0
- package/lib/context/directory/handlers/rules.d.ts +1 -1
- package/lib/context/directory/handlers/rules.js +1 -0
- package/lib/context/directory/handlers/rules.js.map +1 -0
- package/lib/context/directory/handlers/rulesConfigs.d.ts +1 -1
- package/lib/context/directory/handlers/rulesConfigs.js +1 -0
- package/lib/context/directory/handlers/rulesConfigs.js.map +1 -0
- package/lib/context/directory/handlers/tenant.d.ts +1 -1
- package/lib/context/directory/handlers/tenant.js +1 -0
- package/lib/context/directory/handlers/tenant.js.map +1 -0
- package/lib/context/directory/handlers/themes.d.ts +1 -1
- package/lib/context/directory/handlers/themes.js +1 -0
- package/lib/context/directory/handlers/themes.js.map +1 -0
- package/lib/context/directory/handlers/triggers.d.ts +1 -1
- package/lib/context/directory/handlers/triggers.js +1 -0
- package/lib/context/directory/handlers/triggers.js.map +1 -0
- package/lib/context/directory/index.d.ts +1 -1
- package/lib/context/directory/index.js +1 -0
- package/lib/context/directory/index.js.map +1 -0
- package/lib/context/index.js +1 -0
- package/lib/context/index.js.map +1 -0
- package/lib/context/yaml/handlers/actions.d.ts +3 -2
- package/lib/context/yaml/handlers/actions.js +14 -4
- package/lib/context/yaml/handlers/actions.js.map +1 -0
- package/lib/context/yaml/handlers/attackProtection.d.ts +1 -1
- package/lib/context/yaml/handlers/attackProtection.js +1 -0
- package/lib/context/yaml/handlers/attackProtection.js.map +1 -0
- package/lib/context/yaml/handlers/branding.d.ts +2 -2
- package/lib/context/yaml/handlers/branding.js +5 -11
- package/lib/context/yaml/handlers/branding.js.map +1 -0
- package/lib/context/yaml/handlers/clientGrants.d.ts +1 -1
- package/lib/context/yaml/handlers/clientGrants.js +1 -0
- package/lib/context/yaml/handlers/clientGrants.js.map +1 -0
- package/lib/context/yaml/handlers/clients.d.ts +1 -1
- package/lib/context/yaml/handlers/clients.js +1 -0
- package/lib/context/yaml/handlers/clients.js.map +1 -0
- package/lib/context/yaml/handlers/connections.d.ts +1 -1
- package/lib/context/yaml/handlers/connections.js +1 -0
- package/lib/context/yaml/handlers/connections.js.map +1 -0
- package/lib/context/yaml/handlers/customDomains.d.ts +1 -1
- package/lib/context/yaml/handlers/customDomains.js +1 -0
- package/lib/context/yaml/handlers/customDomains.js.map +1 -0
- package/lib/context/yaml/handlers/databases.d.ts +1 -1
- package/lib/context/yaml/handlers/databases.js +3 -0
- package/lib/context/yaml/handlers/databases.js.map +1 -0
- package/lib/context/yaml/handlers/emailProvider.d.ts +1 -1
- package/lib/context/yaml/handlers/emailProvider.js +1 -0
- package/lib/context/yaml/handlers/emailProvider.js.map +1 -0
- package/lib/context/yaml/handlers/emailTemplates.d.ts +1 -1
- package/lib/context/yaml/handlers/emailTemplates.js +1 -0
- package/lib/context/yaml/handlers/emailTemplates.js.map +1 -0
- package/lib/context/yaml/handlers/guardianFactorProviders.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactorProviders.js +1 -0
- package/lib/context/yaml/handlers/guardianFactorProviders.js.map +1 -0
- package/lib/context/yaml/handlers/guardianFactorTemplates.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactorTemplates.js +1 -0
- package/lib/context/yaml/handlers/guardianFactorTemplates.js.map +1 -0
- package/lib/context/yaml/handlers/guardianFactors.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactors.js +1 -0
- package/lib/context/yaml/handlers/guardianFactors.js.map +1 -0
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.js +1 -0
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.js.map +1 -0
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.js +1 -0
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.js.map +1 -0
- package/lib/context/yaml/handlers/guardianPolicies.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPolicies.js +1 -0
- package/lib/context/yaml/handlers/guardianPolicies.js.map +1 -0
- package/lib/context/yaml/handlers/hooks.d.ts +1 -1
- package/lib/context/yaml/handlers/hooks.js +1 -0
- package/lib/context/yaml/handlers/hooks.js.map +1 -0
- package/lib/context/yaml/handlers/index.d.ts +1 -1
- package/lib/context/yaml/handlers/index.js +1 -0
- package/lib/context/yaml/handlers/index.js.map +1 -0
- package/lib/context/yaml/handlers/logStreams.d.ts +1 -1
- package/lib/context/yaml/handlers/logStreams.js +1 -0
- package/lib/context/yaml/handlers/logStreams.js.map +1 -0
- package/lib/context/yaml/handlers/migrations.d.ts +1 -1
- package/lib/context/yaml/handlers/migrations.js +1 -0
- package/lib/context/yaml/handlers/migrations.js.map +1 -0
- package/lib/context/yaml/handlers/organizations.d.ts +1 -1
- package/lib/context/yaml/handlers/organizations.js +1 -0
- package/lib/context/yaml/handlers/organizations.js.map +1 -0
- package/lib/context/yaml/handlers/pages.d.ts +3 -2
- package/lib/context/yaml/handlers/pages.js +3 -4
- package/lib/context/yaml/handlers/pages.js.map +1 -0
- package/lib/context/yaml/handlers/prompts.d.ts +1 -1
- package/lib/context/yaml/handlers/prompts.js +1 -0
- package/lib/context/yaml/handlers/prompts.js.map +1 -0
- package/lib/context/yaml/handlers/resourceServers.d.ts +1 -1
- package/lib/context/yaml/handlers/resourceServers.js +1 -0
- package/lib/context/yaml/handlers/resourceServers.js.map +1 -0
- package/lib/context/yaml/handlers/roles.d.ts +1 -1
- package/lib/context/yaml/handlers/roles.js +1 -0
- package/lib/context/yaml/handlers/roles.js.map +1 -0
- package/lib/context/yaml/handlers/rules.d.ts +1 -1
- package/lib/context/yaml/handlers/rules.js +1 -0
- package/lib/context/yaml/handlers/rules.js.map +1 -0
- package/lib/context/yaml/handlers/rulesConfigs.d.ts +1 -1
- package/lib/context/yaml/handlers/rulesConfigs.js +1 -0
- package/lib/context/yaml/handlers/rulesConfigs.js.map +1 -0
- package/lib/context/yaml/handlers/tenant.d.ts +1 -1
- package/lib/context/yaml/handlers/tenant.js +1 -0
- package/lib/context/yaml/handlers/tenant.js.map +1 -0
- package/lib/context/yaml/handlers/themes.d.ts +1 -1
- package/lib/context/yaml/handlers/themes.js +1 -0
- package/lib/context/yaml/handlers/themes.js.map +1 -0
- package/lib/context/yaml/handlers/triggers.d.ts +1 -1
- package/lib/context/yaml/handlers/triggers.js +1 -0
- package/lib/context/yaml/handlers/triggers.js.map +1 -0
- package/lib/context/yaml/index.js +1 -0
- package/lib/context/yaml/index.js.map +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -0
- package/lib/logger.js +1 -0
- package/lib/logger.js.map +1 -0
- package/lib/readonly.js +1 -0
- package/lib/readonly.js.map +1 -0
- package/lib/sessionDurationsToMinutes.js +1 -0
- package/lib/sessionDurationsToMinutes.js.map +1 -0
- package/lib/tools/auth0/client.js +1 -0
- package/lib/tools/auth0/client.js.map +1 -0
- package/lib/tools/auth0/handlers/actions.d.ts +29 -5
- package/lib/tools/auth0/handlers/actions.js +14 -4
- package/lib/tools/auth0/handlers/actions.js.map +1 -0
- package/lib/tools/auth0/handlers/attackProtection.js +22 -11
- package/lib/tools/auth0/handlers/attackProtection.js.map +1 -0
- package/lib/tools/auth0/handlers/branding.js +22 -11
- package/lib/tools/auth0/handlers/branding.js.map +1 -0
- package/lib/tools/auth0/handlers/clientGrants.js +1 -0
- package/lib/tools/auth0/handlers/clientGrants.js.map +1 -0
- package/lib/tools/auth0/handlers/clients.js +1 -0
- package/lib/tools/auth0/handlers/clients.js.map +1 -0
- package/lib/tools/auth0/handlers/connections.js +1 -0
- package/lib/tools/auth0/handlers/connections.js.map +1 -0
- package/lib/tools/auth0/handlers/customDomains.js +1 -0
- package/lib/tools/auth0/handlers/customDomains.js.map +1 -0
- package/lib/tools/auth0/handlers/databases.js +1 -0
- package/lib/tools/auth0/handlers/databases.js.map +1 -0
- package/lib/tools/auth0/handlers/default.d.ts +1 -1
- package/lib/tools/auth0/handlers/default.js +1 -0
- package/lib/tools/auth0/handlers/default.js.map +1 -0
- package/lib/tools/auth0/handlers/emailProvider.js +26 -23
- package/lib/tools/auth0/handlers/emailProvider.js.map +1 -0
- package/lib/tools/auth0/handlers/emailTemplates.js +1 -0
- package/lib/tools/auth0/handlers/emailTemplates.js.map +1 -0
- package/lib/tools/auth0/handlers/guardianFactorProviders.js +1 -0
- package/lib/tools/auth0/handlers/guardianFactorProviders.js.map +1 -0
- package/lib/tools/auth0/handlers/guardianFactorTemplates.js +1 -0
- package/lib/tools/auth0/handlers/guardianFactorTemplates.js.map +1 -0
- package/lib/tools/auth0/handlers/guardianFactors.js +1 -0
- package/lib/tools/auth0/handlers/guardianFactors.js.map +1 -0
- package/lib/tools/auth0/handlers/guardianPhoneFactorMessageTypes.js +1 -0
- package/lib/tools/auth0/handlers/guardianPhoneFactorMessageTypes.js.map +1 -0
- package/lib/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.js +1 -0
- package/lib/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.js.map +1 -0
- package/lib/tools/auth0/handlers/guardianPolicies.js +1 -0
- package/lib/tools/auth0/handlers/guardianPolicies.js.map +1 -0
- package/lib/tools/auth0/handlers/hooks.js +1 -0
- package/lib/tools/auth0/handlers/hooks.js.map +1 -0
- package/lib/tools/auth0/handlers/index.js +1 -0
- package/lib/tools/auth0/handlers/index.js.map +1 -0
- package/lib/tools/auth0/handlers/logStreams.js +1 -0
- package/lib/tools/auth0/handlers/logStreams.js.map +1 -0
- package/lib/tools/auth0/handlers/migrations.js +1 -0
- package/lib/tools/auth0/handlers/migrations.js.map +1 -0
- package/lib/tools/auth0/handlers/organizations.js +1 -0
- package/lib/tools/auth0/handlers/organizations.js.map +1 -0
- package/lib/tools/auth0/handlers/pages.d.ts +7 -0
- package/lib/tools/auth0/handlers/pages.js +1 -0
- package/lib/tools/auth0/handlers/pages.js.map +1 -0
- package/lib/tools/auth0/handlers/prompts.d.ts +6 -6
- package/lib/tools/auth0/handlers/prompts.js +1 -0
- package/lib/tools/auth0/handlers/prompts.js.map +1 -0
- package/lib/tools/auth0/handlers/resourceServers.js +1 -0
- package/lib/tools/auth0/handlers/resourceServers.js.map +1 -0
- package/lib/tools/auth0/handlers/roles.js +1 -0
- package/lib/tools/auth0/handlers/roles.js.map +1 -0
- package/lib/tools/auth0/handlers/rules.js +1 -0
- package/lib/tools/auth0/handlers/rules.js.map +1 -0
- package/lib/tools/auth0/handlers/rulesConfigs.js +1 -0
- package/lib/tools/auth0/handlers/rulesConfigs.js.map +1 -0
- package/lib/tools/auth0/handlers/tenant.d.ts +1 -1
- package/lib/tools/auth0/handlers/tenant.js +1 -0
- package/lib/tools/auth0/handlers/tenant.js.map +1 -0
- package/lib/tools/auth0/handlers/themes.js +1 -0
- package/lib/tools/auth0/handlers/themes.js.map +1 -0
- package/lib/tools/auth0/handlers/triggers.js +1 -0
- package/lib/tools/auth0/handlers/triggers.js.map +1 -0
- package/lib/tools/auth0/index.d.ts +1 -1
- package/lib/tools/auth0/index.js +1 -0
- package/lib/tools/auth0/index.js.map +1 -0
- package/lib/tools/auth0/schema.js +1 -0
- package/lib/tools/auth0/schema.js.map +1 -0
- package/lib/tools/calculateChanges.js +1 -0
- package/lib/tools/calculateChanges.js.map +1 -0
- package/lib/tools/constants.js +1 -0
- package/lib/tools/constants.js.map +1 -0
- package/lib/tools/deploy.js +1 -0
- package/lib/tools/deploy.js.map +1 -0
- package/lib/tools/index.js +1 -0
- package/lib/tools/index.js.map +1 -0
- package/lib/tools/utils.js +1 -0
- package/lib/tools/utils.js.map +1 -0
- package/lib/tools/validationError.js +1 -0
- package/lib/tools/validationError.js.map +1 -0
- package/lib/types.d.ts +40 -32
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -0
- package/lib/utils.d.ts +5 -5
- package/lib/utils.js +1 -0
- package/lib/utils.js.map +1 -0
- package/opslevel.yml +6 -0
- package/package.json +10 -9
- package/tsconfig.json +1 -0
- package/.nyc_output/b55d7a30-feb2-4763-a79f-030cbbcaf34c.json +0 -1
- package/.nyc_output/processinfo/b55d7a30-feb2-4763-a79f-030cbbcaf34c.json +0 -1
- package/.nyc_output/processinfo/d585e288-6dff-4d1c-a029-4e45efb2ad92.json +0 -1
- package/.nyc_output/processinfo/d6d3177f-b440-4a24-ac55-7aabf686a0a7.json +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type BrandingTemplate = {
|
|
4
4
|
template: string;
|
|
5
5
|
body: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type ParsedBranding = ParsedAsset<'branding', {
|
|
8
8
|
[key: string]: Asset;
|
|
9
9
|
} & {
|
|
10
10
|
templates?: BrandingTemplate[];
|
|
@@ -28,13 +28,6 @@ const path_1 = __importDefault(require("path"));
|
|
|
28
28
|
const tools_1 = require("../../../tools");
|
|
29
29
|
function parse(context) {
|
|
30
30
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
-
// Load the HTML file for each page
|
|
32
|
-
if (!context.assets.branding)
|
|
33
|
-
return {
|
|
34
|
-
branding: {
|
|
35
|
-
templates: [],
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
31
|
if (!context.assets.branding)
|
|
39
32
|
return { branding: null };
|
|
40
33
|
const _a = context.assets.branding, { templates } = _a, branding = __rest(_a, ["templates"]);
|
|
@@ -55,10 +48,10 @@ function parse(context) {
|
|
|
55
48
|
}
|
|
56
49
|
function dump(context) {
|
|
57
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
-
|
|
59
|
-
if (!branding)
|
|
51
|
+
if (!context.assets.branding)
|
|
60
52
|
return { branding: null };
|
|
61
|
-
|
|
53
|
+
const _a = context.assets.branding, { templates: templateConfig } = _a, branding = __rest(_a, ["templates"]);
|
|
54
|
+
let templates = templateConfig || [];
|
|
62
55
|
// create templates folder
|
|
63
56
|
if (templates.length) {
|
|
64
57
|
const brandingTemplatesFolder = path_1.default.join(context.basePath, tools_1.constants.BRANDING_TEMPLATES_YAML_DIRECTORY);
|
|
@@ -78,7 +71,7 @@ function dump(context) {
|
|
|
78
71
|
return templateDefinition;
|
|
79
72
|
});
|
|
80
73
|
}
|
|
81
|
-
return { branding: { templates } };
|
|
74
|
+
return { branding: Object.assign({ templates }, branding) };
|
|
82
75
|
});
|
|
83
76
|
}
|
|
84
77
|
const brandingHandler = {
|
|
@@ -86,3 +79,4 @@ const brandingHandler = {
|
|
|
86
79
|
dump,
|
|
87
80
|
};
|
|
88
81
|
exports.default = brandingHandler;
|
|
82
|
+
//# sourceMappingURL=branding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branding.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/branding.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA0B;AAC1B,gDAAwB;AACxB,0CAAuE;AAkBvE,SAAe,KAAK,CAAC,OAAoB;;QACvC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ;YAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAExD,MACE,KACE,OAAO,CAAC,MAAM,SADoB,EAApC,EAAY,SAAS,OAAe,EAAV,QAAQ,cAAxB,aAA0B,CACpB,CAAC;QAEnB,IAAI,CAAC,SAAS,EAAE;YACd,OAAO,EAAE,QAAQ,oBAAO,QAAQ,CAAE,EAAE,CAAC;SACtC;QAED,MAAM,eAAe,GAAuB,SAAS,CAAC,GAAG,CACvD,CAAC,kBAAoC,EAAoB,EAAE;YACzD,MAAM,UAAU,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;YACxE,OAAO;gBACL,QAAQ,EAAE,kBAAkB,CAAC,QAAQ;gBACrC,IAAI,EAAE,IAAA,kCAA0B,EAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC;aAC/D,CAAC;QACJ,CAAC,CACF,CAAC;QAEF,OAAO;YACL,QAAQ,kCACH,QAAQ,KACX,SAAS,EAAE,eAAe,GAC3B;SACF,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ;YAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAExD,MAAM,KAA6C,OAAO,CAAC,MAAM,CAAC,QAAQ,EAApE,EAAE,SAAS,EAAE,cAAc,OAAyC,EAApC,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
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedClientGrants = ParsedAsset<'clientGrants', Asset[]>;
|
|
4
4
|
declare const clientGrantsHandler: YAMLHandler<ParsedClientGrants>;
|
|
5
5
|
export default clientGrantsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGrants.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/clientGrants.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,0CAAuD;AAOvD,SAAe,KAAK,CAAC,OAAoB;;QACvC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAExC,IAAI,CAAC,YAAY;YAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;QAEjD,OAAO;YACL,YAAY;SACb,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEjD,IAAI,CAAC,YAAY;YAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;QAEjD,uDAAuD;QACvD,OAAO;YACL,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;gBACvC,MAAM,SAAS,qBAAQ,KAAK,CAAE,CAAC;gBAC/B,SAAS,CAAC,SAAS,GAAG,IAAA,6BAAqB,EAAC,SAAS,CAAC,SAAS,EAAE,OAAO,IAAI,EAAE,CAAC,CAAC;gBAChF,OAAO,SAAS,CAAC;YACnB,CAAC,CAAC;SACH,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,mBAAmB,GAAoC;IAC3D,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedClients = ParsedAsset<'clients', Asset[]>;
|
|
4
4
|
declare const clientsHandler: YAMLHandler<ParsedClients>;
|
|
5
5
|
export default clientsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clients.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/clients.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,wDAA0B;AAC1B,0CAA2C;AAC3C,6DAAkC;AAClC,0CAAqE;AAOrE,SAAe,KAAK,CAAC,OAAoB;;QACvC,2CAA2C;QAE3C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,aAAa,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAS,CAAC,iBAAiB,CAAC,CAAC;QAE/E,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;SAC1B;QAED,OAAO;YACL,OAAO,EAAE;gBACP,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;oBACxB,IAAI,MAAM,CAAC,iBAAiB,EAAE;wBAC5B,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;wBAExE,IAAI,IAAA,cAAM,EAAC,YAAY,CAAC,EAAE;4BACxB,MAAM,CAAC,iBAAiB,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;yBAC3D;qBACF;oBAED,OAAO,MAAM,CAAC;gBAChB,CAAC,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,iDAAiD;QACjD,MAAM,aAAa,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAS,CAAC,iBAAiB,CAAC,CAAC;QAE/E,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,OAAO;YAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAEvC,OAAO;YACL,OAAO,EAAE;gBACP,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;oBACxB,IAAI,MAAM,CAAC,iBAAiB,EAAE;wBAC5B,MAAM,UAAU,GAAG,IAAA,gBAAQ,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;wBACzC,MAAM,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAC;wBACtC,MAAM,eAAe,GAAG,cAAI,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,UAAU,yBAAyB,CAAC,CAAC;wBAEzF,gBAAG,CAAC,IAAI,CAAC,WAAW,eAAe,EAAE,CAAC,CAAC;wBACvC,kBAAE,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;wBAChC,kBAAE,CAAC,aAAa,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;wBAExC,MAAM,CAAC,iBAAiB,GAAG,KAAK,UAAU,yBAAyB,CAAC;qBACrE;oBAED,OAAO,IAAA,yBAAiB,EAAC,MAAM,CAAC,CAAC;gBACnC,CAAC,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,cAAc,GAA+B;IACjD,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedConnections = ParsedAsset<'connections', Asset[]>;
|
|
4
4
|
declare const connectionsHandler: YAMLHandler<ParsedConnections>;
|
|
5
5
|
export default connectionsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/connections.ts"],"names":[],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W,mBAAmB,EAAE,CAAC,CAAC;oBAC3C,kBAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;oBACpC,kBAAE,CAAC,aAAa,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;oBAE5C,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,cAAc,OAAO,CAAC;iBAClE;gBAED,OAAO,gBAAgB,CAAC;YAC1B,CAAC,CAAC;SACH,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,kBAAkB,GAAmC;IACzD,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedCustomDomains = ParsedAsset<'customDomains', Asset[]>;
|
|
4
4
|
declare const customDomainsHandler: YAMLHandler<ParsedCustomDomains>;
|
|
5
5
|
export default customDomainsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customDomains.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/customDomains.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEzC,IAAI,CAAC,aAAa;YAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;QAEnD,OAAO;YACL,aAAa;SACd,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,oBAAoB,GAAqC;IAC7D,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedDatabases = ParsedAsset<'databases', Asset[]>;
|
|
4
4
|
declare const databasesHandler: YAMLHandler<ParsedDatabases>;
|
|
5
5
|
export default databasesHandler;
|
|
@@ -47,6 +47,7 @@ function dump(context) {
|
|
|
47
47
|
enabled_clients: (0, utils_1.mapClientID2NameSorted)(database.enabled_clients, clients || []),
|
|
48
48
|
})), { options: Object.assign(Object.assign({}, database.options), (database.options.customScripts && {
|
|
49
49
|
customScripts: Object.entries(database.options.customScripts)
|
|
50
|
+
//@ts-ignore because we'll fix this in subsequent PR
|
|
50
51
|
.sort(sortCustomScripts)
|
|
51
52
|
.reduce((scripts, [name, script]) => {
|
|
52
53
|
// Create Database folder
|
|
@@ -57,6 +58,7 @@ function dump(context) {
|
|
|
57
58
|
const scriptName = (0, utils_1.sanitize)(name);
|
|
58
59
|
const scriptFile = path_1.default.join(dbFolder, `${scriptName}.js`);
|
|
59
60
|
logger_1.default.info(`Writing ${scriptFile}`);
|
|
61
|
+
//@ts-ignore because we'll fix this in subsequent PR
|
|
60
62
|
fs_extra_1.default.writeFileSync(scriptFile, script);
|
|
61
63
|
scripts[name] = `./databases/${dbName}/${scriptName}.js`;
|
|
62
64
|
return scripts;
|
|
@@ -71,3 +73,4 @@ const databasesHandler = {
|
|
|
71
73
|
dump,
|
|
72
74
|
};
|
|
73
75
|
exports.default = databasesHandler;
|
|
76
|
+
//# sourceMappingURL=databases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databases.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/databases.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wDAA0B;AAC1B,gDAAwB;AACxB,0CAAkE;AAClE,6DAAkC;AAOlC,SAAe,KAAK,CAAC,OAAoB;;QACvC,qCAAqC;QACrC,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAErC,IAAI,CAAC,SAAS;YAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;Q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set } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedEmailProvider = ParsedAsset<'emailProvider', Asset>;
|
|
4
4
|
declare const emailProviderHandler: YAMLHandler<ParsedEmailProvider>;
|
|
5
5
|
export default emailProviderHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailProvider.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/emailProvider.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6CAAuD;AAOvD,SAAe,KAAK,CAAC,OAAoB;;QACvC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEzC,IAAI,CAAC,aAAa;YAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;QAEnD,OAAO;YACL,aAAa;SACd,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa;YAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;QAElE,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;;YAC1B,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;YACzC,MAAM,gBAAgB,GAAG,CAAA,MAAA,OAAO,CAAC,MAAM,CAAC,OAAO,0CAAE,QAAQ,KAAI,EAAE,CAAC;YAChE,IAAI,aAAa,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE;gBAChE,6DAA6D;gBAC7D,OAAO,IAAA,gCAAqB,EAAC,aAAa,CAAC,CAAC;aAC7C;YACD,OAAO,aAAa,CAAC;QACvB,CAAC,CAAC,EAAE,CAAC;QAEL,OAAO;YACL,aAAa;SACd,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,oBAAoB,GAAqC;IAC7D,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedEmailTemplates = ParsedAsset<'emailTemplates', Asset[]>;
|
|
4
4
|
declare const emailTemplatesHandler: YAMLHandler<ParsedEmailTemplates>;
|
|
5
5
|
export default emailTemplatesHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailTemplates.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/emailTemplates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wDAA0B;AAC1B,gDAAwB;AACxB,6DAAkC;AAOlC,SAAe,KAAK,CAAC,OAAoB;;QACvC,mCAAmC;QACnC,MAAM,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE1C,IAAI,CAAC,cAAc;YAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC;QAErD,OAAO;YACL,cAAc,EAAE;gBACd,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,iCACzB,EAAE,KACL,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,IAC/B,CAAC;aACJ;SACF,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,IAAI,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC;QAEnD,IAAI,CAAC,cAAc,EAAE;YACnB,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC;SACjC;QAED,0BAA0B;QAC1B,MAAM,eAAe,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;QACtE,kBAAE,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QAClC,cAAc,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC/C,wBAAwB;YACxB,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,eAAe,EAAE,GAAG,QAAQ,CAAC,QAAQ,OAAO,CAAC,CAAC;YAC7E,gBAAG,CAAC,IAAI,CAAC,WAAW,YAAY,EAAE,CAAC,CAAC;YACpC,kBAAE,CAAC,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9C,uCAAY,QAAQ,KAAE,IAAI,EAAE,oBAAoB,QAAQ,CAAC,QAAQ,OAAO,IAAG;QAC7E,CAAC,CAAC,CAAC;QAEH,OAAO,EAAE,cAAc,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,MAAM,qBAAqB,GAAsC;IAC/D,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedGuardianFactorProviders = ParsedAsset<'guardianFactorProviders', Asset[]>;
|
|
4
4
|
declare const guardianFactorProvidersHandler: YAMLHandler<ParsedGuardianFactorProviders>;
|
|
5
5
|
export default guardianFactorProvidersHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardianFactorProviders.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/guardianFactorProviders.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEnD,IAAI,CAAC,uBAAuB;YAAE,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,CAAC;QAEvE,OAAO;YACL,uBAAuB;SACxB,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,8BAA8B,GAA+C;IACjF,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,8BAA8B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedGuardianFactorTemplates = ParsedAsset<'guardianFactorTemplates', Asset[]>;
|
|
4
4
|
declare const guardianFactorTemplatesHandler: YAMLHandler<ParsedGuardianFactorTemplates>;
|
|
5
5
|
export default guardianFactorTemplatesHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardianFactorTemplates.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/guardianFactorTemplates.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEnD,IAAI,CAAC,uBAAuB;YAAE,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,CAAC;QAEvE,OAAO;YACL,uBAAuB;SACxB,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,8BAA8B,GAA+C;IACjF,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,8BAA8B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedGuardianFactors = ParsedAsset<'guardianFactors', Asset[]>;
|
|
4
4
|
declare const guardianFactorsHandler: YAMLHandler<ParsedGuardianFactors>;
|
|
5
5
|
export default guardianFactorsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardianFactors.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/guardianFactors.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE3C,IAAI,CAAC,eAAe;YAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;QAEvD,OAAO;YACL,eAAe;SAChB,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,sBAAsB,GAAuC;IACjE,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,sBAAsB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedGuardianFactorMessageTypes = ParsedAsset<'guardianPhoneFactorMessageTypes', Asset>;
|
|
4
4
|
declare const guardianPhoneFactorMessageTypesHandler: YAMLHandler<ParsedGuardianFactorMessageTypes>;
|
|
5
5
|
export default guardianPhoneFactorMessageTypesHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardianPhoneFactorMessageTypes.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/guardianPhoneFactorMessageTypes.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,+BAA+B,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE3D,IAAI,CAAC,+BAA+B;YAAE,OAAO,EAAE,+BAA+B,EAAE,IAAI,EAAE,CAAC;QAEvF,OAAO;YACL,+BAA+B;SAChC,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,sCAAsC,GAAkD;IAC5F,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,sCAAsC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedGuardianPhoneFactorSelectedProvider = ParsedAsset<'guardianPhoneFactorSelectedProvider', Asset>;
|
|
4
4
|
declare const guardianPhoneFactorSelectedProviderHandler: YAMLHandler<ParsedGuardianPhoneFactorSelectedProvider>;
|
|
5
5
|
export default guardianPhoneFactorSelectedProviderHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardianPhoneFactorSelectedProvider.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/guardianPhoneFactorSelectedProvider.ts"],"names":[],"mappings":";;;;;;;;;;;AASA,SAAe,YAAY,CACzB,OAAoB;;QAEpB,MAAM,EAAE,mCAAmC,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE/D,IAAI,CAAC,mCAAmC;YAAE,OAAO,EAAE,mCAAmC,EAAE,IAAI,EAAE,CAAC;QAE/F,OAAO;YACL,mCAAmC;SACpC,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,0CAA0C,GAC9C;IACE,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEJ,kBAAe,0CAA0C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedGuardianPolicies = ParsedAsset<'guardianPolicies', {
|
|
4
4
|
policies: Asset[];
|
|
5
5
|
}>;
|
|
6
6
|
declare const guardianPoliciesHandler: YAMLHandler<ParsedGuardianPolicies>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardianPolicies.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/guardianPolicies.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE5C,IAAI,CAAC,gBAAgB;YAAE,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC;QAEzD,OAAO;YACL,gBAAgB;SACjB,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,uBAAuB,GAAwC;IACnE,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedHooks = ParsedAsset<'hooks', Asset[]>;
|
|
4
4
|
declare const hooksHandler: YAMLHandler<ParsedHooks>;
|
|
5
5
|
export default hooksHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/hooks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,wDAA0B;AAC1B,0CAA2C;AAE3C,0CAA0C;AAC1C,6DAAkC;AAQlC,SAAe,KAAK,CAAC,OAAoB;;QACvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,KAAK;YAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QAEnC,OAAO;YACL,KAAK,EAAE;gBACL,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACpB,IAAI,IAAI,CAAC,MAAM,EAAE;wBACf,iGAAiG;wBACjG,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAS,CAAC,eAAe,CAAC,CAAC;qBACxE;oBAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;oBAExD,yBAAY,IAAI,EAAG;gBACrB,CAAC,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,IAAI,K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type ParsedLogStreams = ParsedAsset<'logStreams', Asset[]>;
|
|
4
4
|
declare const logStreamsHandler: YAMLHandler<ParsedLogStreams>;
|
|
5
5
|
export default logStreamsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logStreams.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/logStreams.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEtC,IAAI,CAAC,UAAU;YAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;QAE7C,OAAO;YACL,UAAU;SACX,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,iBAAiB,GAAkC;IACvD,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedMigrations = ParsedAsset<'migrations', Asset[]>;
|
|
4
4
|
declare const migrationsHandler: YAMLHandler<ParsedMigrations>;
|
|
5
5
|
export default migrationsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/migrations.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEtC,IAAI,CAAC,UAAU;YAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;QAE7C,OAAO,EAAE,UAAU,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,MAAM,iBAAiB,GAAkC;IACvD,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY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import { YAMLHandler } from '.';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { ParsedAsset } from '../../../types';
|
|
3
|
+
import { Page } from '../../../tools/auth0/handlers/pages';
|
|
4
|
+
type ParsedPages = ParsedAsset<'pages', Page[]>;
|
|
4
5
|
declare const pagesHandler: YAMLHandler<ParsedPages>;
|
|
5
6
|
export default pagesHandler;
|
|
@@ -34,17 +34,15 @@ function dump(context) {
|
|
|
34
34
|
if (!pages) {
|
|
35
35
|
return { pages: null };
|
|
36
36
|
}
|
|
37
|
-
// Create Pages folder
|
|
38
37
|
const pagesFolder = path_1.default.join(context.basePath, 'pages');
|
|
39
38
|
fs_extra_1.default.ensureDirSync(pagesFolder);
|
|
40
39
|
pages = pages.map((page) => {
|
|
41
|
-
if (page.
|
|
40
|
+
if (page.html === undefined) {
|
|
42
41
|
return page;
|
|
43
42
|
}
|
|
44
|
-
// Dump html to file
|
|
45
43
|
const htmlFile = path_1.default.join(pagesFolder, `${page.name}.html`);
|
|
46
44
|
logger_1.default.info(`Writing ${htmlFile}`);
|
|
47
|
-
fs_extra_1.default.writeFileSync(htmlFile, page.html
|
|
45
|
+
fs_extra_1.default.writeFileSync(htmlFile, page.html);
|
|
48
46
|
return Object.assign(Object.assign({}, page), { html: `./pages/${page.name}.html` });
|
|
49
47
|
});
|
|
50
48
|
return { pages };
|
|
@@ -55,3 +53,4 @@ const pagesHandler = {
|
|
|
55
53
|
dump,
|
|
56
54
|
};
|
|
57
55
|
exports.default = pagesHandler;
|
|
56
|
+
//# sourceMappingURL=pages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/pages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,wDAA0B;AAE1B,6DAAkC;AAQlC,SAAe,KAAK,CAAC,OAAoB;;QACvC,mCAAmC;QACnC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAA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,YAAY,GAA6B;IAC7C,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { ParsedAsset } from '../../../types';
|
|
3
3
|
import { Prompts } from '../../../tools/auth0/handlers/prompts';
|
|
4
|
-
|
|
4
|
+
type ParsedPrompts = ParsedAsset<'prompts', Prompts>;
|
|
5
5
|
declare const promptsHandler: YAMLHandler<ParsedPrompts>;
|
|
6
6
|
export default promptsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/prompts.ts"],"names":[],"mappings":";;;;;;;;;;;AAOA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEnC,IAAI,CAAC,OAAO;YAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAEvC,OAAO;YACL,OAAO;SACR,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,cAAc,GAA+B;IACjD,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedResourceServers = ParsedAsset<'resourceServers', Asset[]>;
|
|
4
4
|
declare const resourceServersHandler: YAMLHandler<ParsedResourceServers>;
|
|
5
5
|
export default resourceServersHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceServers.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/resourceServers.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,YAAY,CAAC,OAAoB;;QAC9C,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE3C,IAAI,CAAC,eAAe,EAAE;YACpB,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;SAClC;QACD,OAAO;YACL,eAAe;SAChB,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,sBAAsB,GAAuC;IACjE,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,kBAAe,sBAAsB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedRoles = ParsedAsset<'roles', Asset[]>;
|
|
4
4
|
declare const rolesHandler: YAMLHandler<ParsedRoles>;
|
|
5
5
|
export default rolesHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/roles.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,KAAK,CAAC,OAAoB;;QACvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEjC,IAAI,CAAC,KAAK;YAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QAEnC,OAAO;YACL,KAAK;SACN,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEjC,IAAI,CAAC,KAAK;YAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QAEnC,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;gBACxB,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE;oBAC7B,OAAO,IAAI,CAAC,WAAW,CAAC;iBACzB;gBAED,OAAO,IAAI,CAAC;YACd,CAAC,CAAC;SACH,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,YAAY,GAA6B;IAC7C,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedRules = ParsedAsset<'rules', Asset[]>;
|
|
4
4
|
declare const rulesHandler: YAMLHandler<ParsedRules>;
|
|
5
5
|
export default rulesHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/rules.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,wDAA0B;AAE1B,0CAA0C;AAC1C,6DAAkC;AAQlC,SAAe,KAAK,CAAC,OAAoB;;QACvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAEjC,IAAI,CAAC,KAAK;YAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QAEnC,OAAO;YACL,KAAK,EAAE;gBACL,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,iCAClB,IAAI,KACP,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IACrC,CAAC;aACJ;SACF,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,IAAI,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAE/B,IAAI,CAAC,KAAK,EAAE;YACV,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;SACxB;QAED,sBAAsB;QACtB,MAAM,WAAW,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACzD,kBAAE,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAE9B,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACzB,oBAAoB;YACpB,MAAM,UAAU,GAAG,IAAA,gBAAQ,EAAC,GAAG,IAAI,CAAC,IAAI,KAAK,CAAC,CAAC;YAC/C,MAAM,UAAU,GAAG,cAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;YACtD,gBAAG,CAAC,IAAI,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC;YAClC,kBAAE,CAAC,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1C,uCAAY,IAAI,KAAE,MAAM,EAAE,WAAW,UAAU,EAAE,IAAG;QACtD,CAAC,CAAC,CAAC;QAEH,OAAO,EAAE,KAAK,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,MAAM,YAAY,GAA6B;IAC7C,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedRulesConfigs = ParsedAsset<'rulesConfigs', Asset[]>;
|
|
4
4
|
declare const rulesConfigsHandler: YAMLHandler<ParsedRulesConfigs>;
|
|
5
5
|
export default rulesConfigsHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rulesConfigs.js","sourceRoot":"","sources":["../../../../src/context/yaml/handlers/rulesConfigs.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,SAAe,KAAK,CAAC,OAAoB;;QACvC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAExC,IAAI,CAAC,YAAY;YAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;QAEjD,OAAO;YACL,YAAY;SACb,CAAC;IACJ,CAAC;CAAA;AAED,SAAe,IAAI,CAAC,OAAoB;;QACtC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAExC,IAAI,CAAC,YAAY;YAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;QAEjD,OAAO;YACL,YAAY,EAAE,EAAE,EAAE,mFAAmF;SACtG,CAAC;IACJ,CAAC;CAAA;AAED,MAAM,mBAAmB,GAAoC;IAC3D,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YAMLHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedTenant = ParsedAsset<'tenant', Asset>;
|
|
4
4
|
declare const tenantHandler: YAMLHandler<ParsedTenant>;
|
|
5
5
|
export default tenantHandler;
|