auth0-deploy-cli 7.15.1 → 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/.nyc_output/{08f269c7-2bda-456b-9064-c7b1074e59c9.json → 3cdb0d81-cef0-4ed7-ac95-af0d771ac181.json} +0 -0
- package/.nyc_output/{a6a342d6-c13c-4c02-9473-2dd51f10e305.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 +13 -1
- package/coverage/lcov-report/index.html +14 -14
- 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 +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/branding.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/clientGrants.ts.html +14 -5
- package/coverage/lcov-report/src/context/directory/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/databases.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/emailProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/index.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/pages.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/tenant.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/themes.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/index.html +1 -1
- package/coverage/lcov-report/src/context/directory/index.ts.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/branding.ts.html +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/branding.ts.html +1 -1
- 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 +17 -17
- package/coverage/lcov-report/src/tools/auth0/handlers/emailProvider.ts.html +26 -32
- 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 +16 -16
- 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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/triggers.ts.html +1 -1
- 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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/src/tools/utils.ts.html +2 -2
- package/coverage/lcov-report/src/tools/validationError.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +1 -1
- package/coverage/lcov-report/src/utils.ts.html +1 -1
- package/coverage/lcov.info +95 -95
- package/docs/excluding-from-management.md +5 -2
- package/docs/resource-specific-documentation.md +162 -0
- package/lib/args.d.ts +6 -6
- package/lib/configFactory.d.ts +1 -1
- package/lib/context/directory/handlers/actions.d.ts +1 -1
- package/lib/context/directory/handlers/attackProtection.d.ts +1 -1
- package/lib/context/directory/handlers/branding.d.ts +1 -1
- package/lib/context/directory/handlers/clientGrants.d.ts +1 -1
- package/lib/context/directory/handlers/clientGrants.js +3 -2
- package/lib/context/directory/handlers/clientGrants.js.map +1 -1
- package/lib/context/directory/handlers/clients.d.ts +1 -1
- package/lib/context/directory/handlers/connections.d.ts +1 -1
- package/lib/context/directory/handlers/customDomains.d.ts +1 -1
- package/lib/context/directory/handlers/databases.d.ts +1 -1
- package/lib/context/directory/handlers/emailProvider.d.ts +1 -1
- package/lib/context/directory/handlers/emailTemplates.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactorProviders.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactorTemplates.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactors.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPolicies.d.ts +1 -1
- package/lib/context/directory/handlers/hooks.d.ts +1 -1
- package/lib/context/directory/handlers/index.d.ts +1 -1
- package/lib/context/directory/handlers/logStreams.d.ts +1 -1
- package/lib/context/directory/handlers/migrations.d.ts +1 -1
- package/lib/context/directory/handlers/organizations.d.ts +1 -1
- package/lib/context/directory/handlers/pages.d.ts +1 -1
- package/lib/context/directory/handlers/prompts.d.ts +1 -1
- package/lib/context/directory/handlers/resourceServers.d.ts +1 -1
- package/lib/context/directory/handlers/roles.d.ts +1 -1
- package/lib/context/directory/handlers/rules.d.ts +1 -1
- package/lib/context/directory/handlers/rulesConfigs.d.ts +1 -1
- package/lib/context/directory/handlers/tenant.d.ts +1 -1
- package/lib/context/directory/handlers/themes.d.ts +1 -1
- package/lib/context/directory/handlers/triggers.d.ts +1 -1
- package/lib/context/directory/index.d.ts +1 -1
- package/lib/context/yaml/handlers/actions.d.ts +1 -1
- package/lib/context/yaml/handlers/attackProtection.d.ts +1 -1
- package/lib/context/yaml/handlers/branding.d.ts +2 -2
- package/lib/context/yaml/handlers/clientGrants.d.ts +1 -1
- package/lib/context/yaml/handlers/clients.d.ts +1 -1
- package/lib/context/yaml/handlers/connections.d.ts +1 -1
- package/lib/context/yaml/handlers/customDomains.d.ts +1 -1
- package/lib/context/yaml/handlers/databases.d.ts +1 -1
- package/lib/context/yaml/handlers/emailProvider.d.ts +1 -1
- package/lib/context/yaml/handlers/emailTemplates.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactorProviders.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactorTemplates.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactors.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPolicies.d.ts +1 -1
- package/lib/context/yaml/handlers/hooks.d.ts +1 -1
- package/lib/context/yaml/handlers/index.d.ts +1 -1
- package/lib/context/yaml/handlers/logStreams.d.ts +1 -1
- package/lib/context/yaml/handlers/migrations.d.ts +1 -1
- package/lib/context/yaml/handlers/organizations.d.ts +1 -1
- package/lib/context/yaml/handlers/pages.d.ts +1 -1
- package/lib/context/yaml/handlers/prompts.d.ts +1 -1
- package/lib/context/yaml/handlers/resourceServers.d.ts +1 -1
- package/lib/context/yaml/handlers/roles.d.ts +1 -1
- package/lib/context/yaml/handlers/rules.d.ts +1 -1
- package/lib/context/yaml/handlers/rulesConfigs.d.ts +1 -1
- package/lib/context/yaml/handlers/tenant.d.ts +1 -1
- package/lib/context/yaml/handlers/themes.d.ts +1 -1
- package/lib/context/yaml/handlers/triggers.d.ts +1 -1
- package/lib/tools/auth0/handlers/actions.d.ts +1 -1
- package/lib/tools/auth0/handlers/default.d.ts +1 -1
- package/lib/tools/auth0/handlers/emailProvider.js +2 -2
- package/lib/tools/auth0/handlers/emailProvider.js.map +1 -1
- package/lib/tools/auth0/handlers/pages.d.ts +1 -1
- package/lib/tools/auth0/handlers/prompts.d.ts +6 -6
- package/lib/tools/auth0/handlers/tenant.d.ts +1 -1
- package/lib/tools/auth0/index.d.ts +1 -1
- package/lib/types.d.ts +15 -15
- package/lib/utils.d.ts +1 -1
- package/package.json +9 -9
- package/.nyc_output/68afeb31-a1f4-4c3a-9fd6-ba40a6c4bbc6.json +0 -1
- package/.nyc_output/processinfo/08f269c7-2bda-456b-9064-c7b1074e59c9.json +0 -1
- package/.nyc_output/processinfo/68afeb31-a1f4-4c3a-9fd6-ba40a6c4bbc6.json +0 -1
- package/.nyc_output/processinfo/a6a342d6-c13c-4c02-9473-2dd51f10e305.json +0 -1
|
@@ -166,7 +166,7 @@ export default async function <span class="fstat-no" title="function not covered
|
|
|
166
166
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
167
167
|
Code coverage generated by
|
|
168
168
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
169
|
-
at
|
|
169
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
170
170
|
</div>
|
|
171
171
|
<script src="../../prettify.js"></script>
|
|
172
172
|
<script>
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
177
177
|
Code coverage generated by
|
|
178
178
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
179
|
-
at
|
|
179
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
180
180
|
</div>
|
|
181
181
|
<script src="../../prettify.js"></script>
|
|
182
182
|
<script>
|
|
@@ -112,7 +112,7 @@ export { constants, deploy, keywordReplace, loadFileAndReplaceKeywords, Auth0 };
|
|
|
112
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
113
113
|
Code coverage generated by
|
|
114
114
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
115
|
-
at
|
|
115
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
116
116
|
</div>
|
|
117
117
|
<script src="../../prettify.js"></script>
|
|
118
118
|
<script>
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
<span class="cline-any cline-neutral"> </span>
|
|
379
379
|
<span class="cline-any cline-neutral"> </span>
|
|
380
380
|
<span class="cline-any cline-yes">1x</span>
|
|
381
|
-
<span class="cline-any cline-yes">
|
|
381
|
+
<span class="cline-any cline-yes">144x</span>
|
|
382
382
|
<span class="cline-any cline-neutral"> </span>
|
|
383
383
|
<span class="cline-any cline-neutral"> </span>
|
|
384
384
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -781,7 +781,7 @@ export const detectInsufficientScopeError = async <T>(
|
|
|
781
781
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
782
782
|
Code coverage generated by
|
|
783
783
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
784
|
-
at
|
|
784
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
785
785
|
</div>
|
|
786
786
|
<script src="../../prettify.js"></script>
|
|
787
787
|
<script>
|
|
@@ -112,7 +112,7 @@ export default ValidationError;
|
|
|
112
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
113
113
|
Code coverage generated by
|
|
114
114
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
115
|
-
at
|
|
115
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
116
116
|
</div>
|
|
117
117
|
<script src="../../prettify.js"></script>
|
|
118
118
|
<script>
|
|
@@ -1102,7 +1102,7 @@ export type Language = typeof languages[number];
|
|
|
1102
1102
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1103
1103
|
Code coverage generated by
|
|
1104
1104
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1105
|
-
at
|
|
1105
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
1106
1106
|
</div>
|
|
1107
1107
|
<script src="../prettify.js"></script>
|
|
1108
1108
|
<script>
|
|
@@ -664,7 +664,7 @@ export function mapClientID2NameSorted(enabledClients: string[], knownClients: A
|
|
|
664
664
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
665
665
|
Code coverage generated by
|
|
666
666
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
667
|
-
at
|
|
667
|
+
at Tue Jan 03 2023 18:53:51 GMT+0000 (Coordinated Universal Time)
|
|
668
668
|
</div>
|
|
669
669
|
<script src="../prettify.js"></script>
|
|
670
670
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -144,11 +144,11 @@ SF:src/logger.ts
|
|
|
144
144
|
FN:10,(anonymous_0)
|
|
145
145
|
FNF:1
|
|
146
146
|
FNH:1
|
|
147
|
-
FNDA:
|
|
147
|
+
FNDA:769,(anonymous_0)
|
|
148
148
|
DA:1,1
|
|
149
149
|
DA:3,1
|
|
150
150
|
DA:5,1
|
|
151
|
-
DA:10,
|
|
151
|
+
DA:10,769
|
|
152
152
|
DA:16,1
|
|
153
153
|
LF:5
|
|
154
154
|
LH:5
|
|
@@ -1061,21 +1061,21 @@ DA:39,2
|
|
|
1061
1061
|
DA:40,2
|
|
1062
1062
|
DA:43,2
|
|
1063
1063
|
DA:44,2
|
|
1064
|
-
DA:
|
|
1065
|
-
DA:
|
|
1066
|
-
DA:48,2
|
|
1067
|
-
DA:49,2
|
|
1064
|
+
DA:46,2
|
|
1065
|
+
DA:47,0
|
|
1068
1066
|
DA:50,2
|
|
1069
|
-
DA:
|
|
1070
|
-
DA:
|
|
1067
|
+
DA:51,2
|
|
1068
|
+
DA:53,2
|
|
1069
|
+
DA:57,1
|
|
1070
|
+
DA:62,1
|
|
1071
1071
|
LF:24
|
|
1072
1072
|
LH:23
|
|
1073
1073
|
BRDA:21,0,0,57
|
|
1074
1074
|
BRDA:21,0,1,2
|
|
1075
1075
|
BRDA:37,1,0,0
|
|
1076
1076
|
BRDA:37,1,1,2
|
|
1077
|
-
BRDA:
|
|
1078
|
-
BRDA:
|
|
1077
|
+
BRDA:46,2,0,0
|
|
1078
|
+
BRDA:46,2,1,2
|
|
1079
1079
|
BRF:6
|
|
1080
1080
|
BRH:4
|
|
1081
1081
|
end_of_record
|
|
@@ -3865,7 +3865,7 @@ FNDA:3,(anonymous_26)
|
|
|
3865
3865
|
FNDA:198,loadFileAndReplaceKeywords
|
|
3866
3866
|
FNDA:16,flatten
|
|
3867
3867
|
FNDA:996,(anonymous_29)
|
|
3868
|
-
FNDA:
|
|
3868
|
+
FNDA:144,convertJsonToString
|
|
3869
3869
|
FNDA:45,stripFields
|
|
3870
3870
|
FNDA:59,(anonymous_32)
|
|
3871
3871
|
FNDA:180,(anonymous_33)
|
|
@@ -3935,7 +3935,7 @@ DA:69,2
|
|
|
3935
3935
|
DA:73,1
|
|
3936
3936
|
DA:75,996
|
|
3937
3937
|
DA:78,1
|
|
3938
|
-
DA:79,
|
|
3938
|
+
DA:79,144
|
|
3939
3939
|
DA:82,1
|
|
3940
3940
|
DA:84,45
|
|
3941
3941
|
DA:86,45
|
|
@@ -4018,7 +4018,7 @@ BRDA:64,4,0,143
|
|
|
4018
4018
|
BRDA:64,4,1,53
|
|
4019
4019
|
BRDA:75,5,0,13
|
|
4020
4020
|
BRDA:75,5,1,983
|
|
4021
|
-
BRDA:78,6,0,
|
|
4021
|
+
BRDA:78,6,0,143
|
|
4022
4022
|
BRDA:88,7,0,48
|
|
4023
4023
|
BRDA:88,7,1,11
|
|
4024
4024
|
BRDA:94,8,0,45
|
|
@@ -5107,12 +5107,12 @@ FNF:35
|
|
|
5107
5107
|
FNH:27
|
|
5108
5108
|
FNDA:10,order
|
|
5109
5109
|
FNDA:10,decorator
|
|
5110
|
-
FNDA:
|
|
5110
|
+
FNDA:3815,(anonymous_10)
|
|
5111
5111
|
FNDA:54,(anonymous_11)
|
|
5112
|
-
FNDA:
|
|
5112
|
+
FNDA:23,(anonymous_12)
|
|
5113
5113
|
FNDA:33,(anonymous_13)
|
|
5114
5114
|
FNDA:62,(anonymous_14)
|
|
5115
|
-
FNDA:
|
|
5115
|
+
FNDA:126,(anonymous_15)
|
|
5116
5116
|
FNDA:0,(anonymous_16)
|
|
5117
5117
|
FNDA:120,(anonymous_18)
|
|
5118
5118
|
FNDA:120,(anonymous_20)
|
|
@@ -5149,28 +5149,28 @@ DA:17,10
|
|
|
5149
5149
|
DA:18,10
|
|
5150
5150
|
DA:19,10
|
|
5151
5151
|
DA:25,1
|
|
5152
|
-
DA:64,
|
|
5153
|
-
DA:65,
|
|
5154
|
-
DA:66,
|
|
5155
|
-
DA:67,
|
|
5156
|
-
DA:68,
|
|
5157
|
-
DA:69,
|
|
5158
|
-
DA:70,
|
|
5159
|
-
DA:71,
|
|
5160
|
-
DA:72,
|
|
5161
|
-
DA:73,
|
|
5162
|
-
DA:75,
|
|
5163
|
-
DA:83,
|
|
5164
|
-
DA:84,
|
|
5165
|
-
DA:85,
|
|
5152
|
+
DA:64,3815
|
|
5153
|
+
DA:65,3815
|
|
5154
|
+
DA:66,3815
|
|
5155
|
+
DA:67,3815
|
|
5156
|
+
DA:68,3815
|
|
5157
|
+
DA:69,3815
|
|
5158
|
+
DA:70,3815
|
|
5159
|
+
DA:71,3815
|
|
5160
|
+
DA:72,3815
|
|
5161
|
+
DA:73,3815
|
|
5162
|
+
DA:75,3815
|
|
5163
|
+
DA:83,3815
|
|
5164
|
+
DA:84,3815
|
|
5165
|
+
DA:85,3815
|
|
5166
5166
|
DA:89,54
|
|
5167
5167
|
DA:90,45
|
|
5168
5168
|
DA:91,45
|
|
5169
5169
|
DA:93,9
|
|
5170
|
-
DA:97,
|
|
5170
|
+
DA:97,23
|
|
5171
5171
|
DA:101,33
|
|
5172
5172
|
DA:105,62
|
|
5173
|
-
DA:109,
|
|
5173
|
+
DA:109,126
|
|
5174
5174
|
DA:114,0
|
|
5175
5175
|
DA:119,120
|
|
5176
5176
|
DA:120,120
|
|
@@ -5246,20 +5246,20 @@ DA:303,18
|
|
|
5246
5246
|
DA:306,0
|
|
5247
5247
|
LF:104
|
|
5248
5248
|
LH:89
|
|
5249
|
-
BRDA:66,0,0,
|
|
5250
|
-
BRDA:66,0,1,
|
|
5251
|
-
BRDA:69,1,0,
|
|
5252
|
-
BRDA:69,1,1,
|
|
5253
|
-
BRDA:70,2,0,
|
|
5254
|
-
BRDA:70,2,1,
|
|
5255
|
-
BRDA:71,3,0,
|
|
5256
|
-
BRDA:71,3,1,
|
|
5257
|
-
BRDA:72,4,0,
|
|
5258
|
-
BRDA:72,4,1,
|
|
5259
|
-
BRDA:73,5,0,
|
|
5260
|
-
BRDA:73,5,1,
|
|
5261
|
-
BRDA:80,6,0,
|
|
5262
|
-
BRDA:80,6,1,
|
|
5249
|
+
BRDA:66,0,0,3815
|
|
5250
|
+
BRDA:66,0,1,2240
|
|
5251
|
+
BRDA:69,1,0,3815
|
|
5252
|
+
BRDA:69,1,1,3141
|
|
5253
|
+
BRDA:70,2,0,3815
|
|
5254
|
+
BRDA:70,2,1,3681
|
|
5255
|
+
BRDA:71,3,0,3815
|
|
5256
|
+
BRDA:71,3,1,2603
|
|
5257
|
+
BRDA:72,4,0,3815
|
|
5258
|
+
BRDA:72,4,1,3686
|
|
5259
|
+
BRDA:73,5,0,3815
|
|
5260
|
+
BRDA:73,5,1,3558
|
|
5261
|
+
BRDA:80,6,0,3815
|
|
5262
|
+
BRDA:80,6,1,3420
|
|
5263
5263
|
BRDA:89,7,0,45
|
|
5264
5264
|
BRDA:89,7,1,9
|
|
5265
5265
|
BRDA:123,8,0,0
|
|
@@ -5306,66 +5306,66 @@ BRH:45
|
|
|
5306
5306
|
end_of_record
|
|
5307
5307
|
TN:
|
|
5308
5308
|
SF:src/tools/auth0/handlers/emailProvider.ts
|
|
5309
|
-
FN:
|
|
5310
|
-
FN:
|
|
5311
|
-
FN:
|
|
5312
|
-
FN:
|
|
5309
|
+
FN:10,(anonymous_8)
|
|
5310
|
+
FN:17,(anonymous_9)
|
|
5311
|
+
FN:26,(anonymous_11)
|
|
5312
|
+
FN:30,(anonymous_12)
|
|
5313
5313
|
FNF:4
|
|
5314
5314
|
FNH:4
|
|
5315
|
-
FNDA:
|
|
5316
|
-
FNDA:
|
|
5317
|
-
FNDA:
|
|
5318
|
-
FNDA:
|
|
5315
|
+
FNDA:130,(anonymous_8)
|
|
5316
|
+
FNDA:10,(anonymous_9)
|
|
5317
|
+
FNDA:5,(anonymous_11)
|
|
5318
|
+
FNDA:5,(anonymous_12)
|
|
5319
5319
|
DA:1,1
|
|
5320
|
-
DA:
|
|
5321
|
-
DA:
|
|
5322
|
-
DA:
|
|
5323
|
-
DA:
|
|
5324
|
-
DA:
|
|
5325
|
-
DA:19,
|
|
5326
|
-
DA:
|
|
5320
|
+
DA:4,1
|
|
5321
|
+
DA:7,1
|
|
5322
|
+
DA:9,1
|
|
5323
|
+
DA:11,130
|
|
5324
|
+
DA:18,10
|
|
5325
|
+
DA:19,10
|
|
5326
|
+
DA:21,0
|
|
5327
5327
|
DA:22,0
|
|
5328
|
-
DA:
|
|
5329
|
-
DA:
|
|
5330
|
-
DA:
|
|
5331
|
-
DA:
|
|
5332
|
-
DA:
|
|
5333
|
-
DA:38,
|
|
5334
|
-
DA:39,
|
|
5335
|
-
DA:40,
|
|
5336
|
-
DA:
|
|
5337
|
-
DA:
|
|
5338
|
-
DA:
|
|
5328
|
+
DA:27,5
|
|
5329
|
+
DA:31,5
|
|
5330
|
+
DA:33,5
|
|
5331
|
+
DA:35,5
|
|
5332
|
+
DA:37,5
|
|
5333
|
+
DA:38,2
|
|
5334
|
+
DA:39,1
|
|
5335
|
+
DA:40,1
|
|
5336
|
+
DA:42,2
|
|
5337
|
+
DA:45,3
|
|
5338
|
+
DA:46,2
|
|
5339
|
+
DA:48,1
|
|
5340
|
+
DA:49,1
|
|
5339
5341
|
DA:50,1
|
|
5340
|
-
DA:
|
|
5341
|
-
DA:
|
|
5342
|
-
DA:56,
|
|
5342
|
+
DA:54,3
|
|
5343
|
+
DA:55,1
|
|
5344
|
+
DA:56,1
|
|
5343
5345
|
DA:57,1
|
|
5344
5346
|
DA:58,1
|
|
5345
|
-
DA:
|
|
5346
|
-
DA:
|
|
5347
|
+
DA:60,2
|
|
5348
|
+
DA:61,2
|
|
5347
5349
|
DA:62,2
|
|
5348
5350
|
DA:63,2
|
|
5349
|
-
DA:64,2
|
|
5350
|
-
DA:65,2
|
|
5351
5351
|
LF:32
|
|
5352
|
-
LH:
|
|
5353
|
-
BRDA:
|
|
5354
|
-
BRDA:
|
|
5355
|
-
BRDA:
|
|
5356
|
-
BRDA:
|
|
5357
|
-
BRDA:
|
|
5358
|
-
BRDA:
|
|
5359
|
-
BRDA:
|
|
5360
|
-
BRDA:
|
|
5361
|
-
BRDA:
|
|
5362
|
-
BRDA:
|
|
5363
|
-
BRDA:
|
|
5364
|
-
BRDA:
|
|
5365
|
-
BRDA:
|
|
5366
|
-
BRDA:
|
|
5352
|
+
LH:30
|
|
5353
|
+
BRDA:21,0,0,0
|
|
5354
|
+
BRDA:21,0,1,0
|
|
5355
|
+
BRDA:33,1,0,0
|
|
5356
|
+
BRDA:33,1,1,5
|
|
5357
|
+
BRDA:37,2,0,2
|
|
5358
|
+
BRDA:37,2,1,3
|
|
5359
|
+
BRDA:38,3,0,1
|
|
5360
|
+
BRDA:38,3,1,1
|
|
5361
|
+
BRDA:45,4,0,2
|
|
5362
|
+
BRDA:45,4,1,1
|
|
5363
|
+
BRDA:46,5,0,1
|
|
5364
|
+
BRDA:46,5,1,1
|
|
5365
|
+
BRDA:54,6,0,1
|
|
5366
|
+
BRDA:54,6,1,2
|
|
5367
5367
|
BRF:14
|
|
5368
|
-
BRH:
|
|
5368
|
+
BRH:11
|
|
5369
5369
|
end_of_record
|
|
5370
5370
|
TN:
|
|
5371
5371
|
SF:src/tools/auth0/handlers/emailTemplates.ts
|
|
@@ -66,14 +66,17 @@ roles: # roles configuration is not omitted
|
|
|
66
66
|
|
|
67
67
|
### Empty
|
|
68
68
|
|
|
69
|
-
Resource configuration that is explicitly defined as empty. For set-based configurations like hooks, organizations and actions, setting these configurations to an empty set expresses an intentional emptying of those resources. In practice, this would signal a deletion, so long as the [`AUTH0_ALLOW_DELETE` deletion configuration property](configuring-the-deploy-cli.md#AUTH0_ALLOW_DELETE) is enabled.
|
|
69
|
+
Resource configuration that is explicitly defined as empty. For set-based configurations like hooks, organizations and actions, setting these configurations to an empty set expresses an intentional emptying of those resources. In practice, this would signal a deletion, so long as the [`AUTH0_ALLOW_DELETE` deletion configuration property](configuring-the-deploy-cli.md#AUTH0_ALLOW_DELETE) is enabled.
|
|
70
|
+
|
|
71
|
+
For non-set-based resource configuration like tenant, email provider and branding, the expected behavior when applying an explicitly empty configuration value will depend on the resource. The `tenant`, `branding`, `attackProtection`, and `guardianPhoneFactorSelectedProvider` resources cannot be deleted whereas the `emailProvider` resource can be deleted.
|
|
70
72
|
|
|
71
73
|
#### Example of emptiness
|
|
72
74
|
|
|
73
75
|
```yaml
|
|
74
76
|
hooks: [] # Empty hooks
|
|
75
77
|
connections: [] # Empty connections
|
|
76
|
-
tenant: {} # Effectively a no-op,
|
|
78
|
+
tenant: {} # Effectively a no-op, cannot delete tenant
|
|
79
|
+
emailProvider: {} # Will delete email provider
|
|
77
80
|
```
|
|
78
81
|
|
|
79
82
|
---
|
|
@@ -44,3 +44,165 @@ prompts:
|
|
|
44
44
|
pageTitle: 'Log in to ${clientName}'
|
|
45
45
|
authenticatorNamesSMS: 'SMS'
|
|
46
46
|
```
|
|
47
|
+
|
|
48
|
+
## Databases
|
|
49
|
+
|
|
50
|
+
When managing database connections, the values of `options.customScripts` point to specific javascript files relative to
|
|
51
|
+
the path of the output folder. Otherwise, the payload closely matches that of the [Management API](https://auth0.com/docs/api/management/v2#!/Connections/post_connections).
|
|
52
|
+
|
|
53
|
+
**YAML Example**
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
Folder structure when in YAML mode.
|
|
57
|
+
|
|
58
|
+
./databases/
|
|
59
|
+
/Username-Password-Authentication
|
|
60
|
+
/change_password.js
|
|
61
|
+
/create.js
|
|
62
|
+
/delete.js
|
|
63
|
+
/get_user.js
|
|
64
|
+
/login.js
|
|
65
|
+
/verify.js
|
|
66
|
+
./tenant.yaml
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
```yaml
|
|
70
|
+
# Contents of ./tenant.yaml
|
|
71
|
+
databases:
|
|
72
|
+
- name: Username-Password-Authentication
|
|
73
|
+
# ...
|
|
74
|
+
options:
|
|
75
|
+
# ...
|
|
76
|
+
customScripts:
|
|
77
|
+
change_password: ./databases/Username-Password-Authentication/change_password.js
|
|
78
|
+
create: ./databases/Username-Password-Authentication/create.js
|
|
79
|
+
delete: ./databases/Username-Password-Authentication/delete.js
|
|
80
|
+
get_user: ./databases/Username-Password-Authentication/get_user.js
|
|
81
|
+
login: ./databases/Username-Password-Authentication/login.js
|
|
82
|
+
verify: ./databases/Username-Password-Authentication/verify.js
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Directory Example**
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
Folder structure when in directory mode.
|
|
89
|
+
|
|
90
|
+
./database-connections/
|
|
91
|
+
./Username-Password-Authentication/
|
|
92
|
+
./change_password.js
|
|
93
|
+
./create.js
|
|
94
|
+
./database.json
|
|
95
|
+
./delete.js
|
|
96
|
+
./get_user.js
|
|
97
|
+
./login.js
|
|
98
|
+
./verify.js
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
Contents of `database.json`
|
|
103
|
+
```json
|
|
104
|
+
{
|
|
105
|
+
"options": {
|
|
106
|
+
"customScripts": {
|
|
107
|
+
"change_password": "./change_password.js",
|
|
108
|
+
"create": "./create.js",
|
|
109
|
+
"delete": "./delete.js",
|
|
110
|
+
"get_user": "./get_user.js",
|
|
111
|
+
"login": "./login.js",
|
|
112
|
+
"verify": "./verify.js"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Universal Login
|
|
119
|
+
|
|
120
|
+
### Pages
|
|
121
|
+
|
|
122
|
+
When overriding the Universal Login with custom HTML, the error, login, multi-factor authentication and password reset
|
|
123
|
+
contents are organized in specific HTML pages.
|
|
124
|
+
|
|
125
|
+
**YAML Example**
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
Folder structure when in YAML mode.
|
|
129
|
+
|
|
130
|
+
./pages/
|
|
131
|
+
/error_page.html
|
|
132
|
+
/guardian_multifactor.html
|
|
133
|
+
/login.html
|
|
134
|
+
/password_reset.html
|
|
135
|
+
./tenant.yaml
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
```yaml
|
|
139
|
+
# Contents of ./tenant.yaml
|
|
140
|
+
pages:
|
|
141
|
+
- name: error_page
|
|
142
|
+
html: ./pages/error_page.html
|
|
143
|
+
show_log_link: false
|
|
144
|
+
url: https://mycompany.org/error
|
|
145
|
+
- name: guardian_multifactor
|
|
146
|
+
enabled: true
|
|
147
|
+
html: ./pages/guardian_multifactor.html
|
|
148
|
+
- name: login
|
|
149
|
+
enabled: false
|
|
150
|
+
html: ./pages/login.html
|
|
151
|
+
- name: password_reset
|
|
152
|
+
enabled: true
|
|
153
|
+
html: ./pages/password_reset.html
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**Directory Example**
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
Folder structure when in directory mode.
|
|
160
|
+
|
|
161
|
+
./pages/
|
|
162
|
+
./error_page.html
|
|
163
|
+
./error_page.json
|
|
164
|
+
./guardian_multifactor.html
|
|
165
|
+
./guardian_multifactor.json
|
|
166
|
+
./login.html
|
|
167
|
+
./login.json
|
|
168
|
+
./password_reset.html
|
|
169
|
+
./password_reset.json
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
Contents of `login.json`
|
|
174
|
+
```json
|
|
175
|
+
{
|
|
176
|
+
"name": "login",
|
|
177
|
+
"enabled": false,
|
|
178
|
+
"html": "./login.html"
|
|
179
|
+
}
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Contents of `error_page.json`
|
|
183
|
+
```json
|
|
184
|
+
{
|
|
185
|
+
"html": "./error_page.html",
|
|
186
|
+
"show_log_link": false,
|
|
187
|
+
"url": "https://mycompany.org/error",
|
|
188
|
+
"name": "error_page"
|
|
189
|
+
}
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Contents of `guardian_multifactor.json`
|
|
193
|
+
```json
|
|
194
|
+
{
|
|
195
|
+
"enabled": true,
|
|
196
|
+
"html": "./guardian_multifactor.html",
|
|
197
|
+
"name": "guardian_multifactor"
|
|
198
|
+
}
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
Contents of `password_reset.json`
|
|
202
|
+
```json
|
|
203
|
+
{
|
|
204
|
+
"enabled": true,
|
|
205
|
+
"html": "./password_reset.html",
|
|
206
|
+
"name": "password_reset"
|
|
207
|
+
}
|
|
208
|
+
```
|
package/lib/args.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Config } from './types';
|
|
2
|
-
|
|
2
|
+
type SharedParams = {
|
|
3
3
|
proxy_url?: string;
|
|
4
4
|
debug?: boolean;
|
|
5
5
|
config_file?: string;
|
|
@@ -8,17 +8,17 @@ declare type SharedParams = {
|
|
|
8
8
|
base_path?: string;
|
|
9
9
|
config?: Partial<Config>;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type ImportSpecificParams = {
|
|
12
12
|
input_file: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type ExportSpecificParams = {
|
|
15
15
|
format: 'yaml' | 'directory';
|
|
16
16
|
output_folder: string;
|
|
17
17
|
export_ids?: boolean;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
19
|
+
export type ExportParams = ExportSpecificParams & SharedParams;
|
|
20
|
+
export type ImportParams = ImportSpecificParams & SharedParams;
|
|
21
|
+
export type CliParams = (ExportParams | ImportParams) & {
|
|
22
22
|
_: ['export' | 'import' | 'deploy' | 'dump'];
|
|
23
23
|
};
|
|
24
24
|
declare function getParams(): CliParams;
|
package/lib/configFactory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Config } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type ConfigFunction = (arg0: keyof Config) => any;
|
|
3
3
|
export declare const configFactory: () => {
|
|
4
4
|
(key: keyof Config): any;
|
|
5
5
|
setProvider(providerFunction: ConfigFunction): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DirectoryHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedActions = ParsedAsset<'actions', Asset[]>;
|
|
4
4
|
declare const actionsHandler: DirectoryHandler<ParsedActions>;
|
|
5
5
|
export default actionsHandler;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DirectoryHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedAttackProtection = ParsedAsset<'attackProtection', {
|
|
4
4
|
breachedPasswordDetection: Asset;
|
|
5
5
|
bruteForceProtection: Asset;
|
|
6
6
|
suspiciousIpThrottling: Asset;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DirectoryHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedBranding = ParsedAsset<'branding', Asset>;
|
|
4
4
|
declare const brandingHandler: DirectoryHandler<ParsedBranding>;
|
|
5
5
|
export default brandingHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DirectoryHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedClientGrants = ParsedAsset<'clientGrants', Asset[]>;
|
|
4
4
|
declare const clientGrantsHandler: DirectoryHandler<ParsedClientGrants>;
|
|
5
5
|
export default clientGrantsHandler;
|
|
@@ -38,9 +38,10 @@ function dump(context) {
|
|
|
38
38
|
// Convert client_id to the client name for readability
|
|
39
39
|
clientGrants.forEach((grant) => {
|
|
40
40
|
const dumpGrant = Object.assign({}, grant);
|
|
41
|
-
if (context.assets.clientsOrig)
|
|
41
|
+
if (context.assets.clientsOrig) {
|
|
42
42
|
dumpGrant.client_id = (0, utils_1.convertClientIdToName)(dumpGrant.client_id, context.assets.clientsOrig);
|
|
43
|
-
|
|
43
|
+
}
|
|
44
|
+
const name = (0, utils_1.sanitize)(`${dumpGrant.client_id}`);
|
|
44
45
|
const grantFile = path_1.default.join(grantsFolder, `${name}.json`);
|
|
45
46
|
(0, utils_1.dumpJSON)(grantFile, dumpGrant);
|
|
46
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGrants.js","sourceRoot":"","sources":["../../../../src/context/directory/handlers/clientGrants.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wDAA0B;AAC1B,gDAAwB;AACxB,0CAA2C;AAE3C,0CAOwB;AAOxB,SAAS,KAAK,CAAC,OAAyB;IACtC,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAS,CAAC,wBAAwB,CAAC,CAAC;IACrF,IAAI,CAAC,IAAA,uBAAe,EAAC,YAAY,CAAC;QAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO;IAE1E,MAAM,UAAU,GAAG,IAAA,gBAAQ,EAAC,YAAY,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAErD,MAAM,YAAY,GAAG,UAAU;SAC5B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,gBAAQ,EAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;SACzC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,0BAA0B;IAEvE,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC;AAED,SAAe,IAAI,CAAC,OAAyB;;QAC3C,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAExC,IAAI,CAAC,YAAY;YAAE,OAAO,CAAC,wBAAwB;QAEnD,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAS,CAAC,wBAAwB,CAAC,CAAC;QACrF,kBAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;QAE/B,uDAAuD;QACvD,YAAY,CAAC,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"clientGrants.js","sourceRoot":"","sources":["../../../../src/context/directory/handlers/clientGrants.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wDAA0B;AAC1B,gDAAwB;AACxB,0CAA2C;AAE3C,0CAOwB;AAOxB,SAAS,KAAK,CAAC,OAAyB;IACtC,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAS,CAAC,wBAAwB,CAAC,CAAC;IACrF,IAAI,CAAC,IAAA,uBAAe,EAAC,YAAY,CAAC;QAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO;IAE1E,MAAM,UAAU,GAAG,IAAA,gBAAQ,EAAC,YAAY,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAErD,MAAM,YAAY,GAAG,UAAU;SAC5B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,gBAAQ,EAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;SACzC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,0BAA0B;IAEvE,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC;AAED,SAAe,IAAI,CAAC,OAAyB;;QAC3C,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;QAExC,IAAI,CAAC,YAAY;YAAE,OAAO,CAAC,wBAAwB;QAEnD,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAS,CAAC,wBAAwB,CAAC,CAAC;QACrF,kBAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;QAE/B,uDAAuD;QACvD,YAAY,CAAC,OAAO,CAAC,CAAC,KAAY,EAAE,EAAE;YACpC,MAAM,SAAS,qBAAQ,KAAK,CAAE,CAAC;YAE/B,IAAI,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE;gBAC9B,SAAS,CAAC,SAAS,GAAG,IAAA,6BAAqB,EAAC,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;aAC9F;YAED,MAAM,IAAI,GAAG,IAAA,gBAAQ,EAAC,GAAG,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC;YAChD,MAAM,SAAS,GAAG,cAAI,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,IAAI,OAAO,CAAC,CAAC;YAE1D,IAAA,gBAAQ,EAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;IACL,CAAC;CAAA;AAED,MAAM,mBAAmB,GAAyC;IAChE,KAAK;IACL,IAAI;CACL,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Asset, ParsedAsset } from '../../../types';
|
|
2
2
|
import { DirectoryHandler } from '.';
|
|
3
|
-
|
|
3
|
+
type ParsedClients = ParsedAsset<'clients', Asset[]>;
|
|
4
4
|
declare const clientsHandler: DirectoryHandler<ParsedClients>;
|
|
5
5
|
export default clientsHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DirectoryHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedConnections = ParsedAsset<'connections', Asset[]>;
|
|
4
4
|
declare const connectionsHandler: DirectoryHandler<ParsedConnections>;
|
|
5
5
|
export default connectionsHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DirectoryHandler } from '.';
|
|
2
2
|
import { Asset, ParsedAsset } from '../../../types';
|
|
3
|
-
|
|
3
|
+
type ParsedCustomDomains = ParsedAsset<'customDomains', Asset[]>;
|
|
4
4
|
declare const customDomainsHandler: DirectoryHandler<ParsedCustomDomains>;
|
|
5
5
|
export default customDomainsHandler;
|