@atlasauth/cli 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +4 -4
- package/dist/args.d.ts +0 -601
- package/dist/args.js +0 -289
- package/dist/args.js.map +0 -1
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +0 -19
- package/dist/cli.js.map +0 -1
- package/dist/commands/actions-gallery.d.ts +0 -8
- package/dist/commands/actions-gallery.js +0 -197
- package/dist/commands/actions-gallery.js.map +0 -1
- package/dist/commands/actions.d.ts +0 -13
- package/dist/commands/actions.js +0 -135
- package/dist/commands/actions.js.map +0 -1
- package/dist/commands/admin.d.ts +0 -49
- package/dist/commands/admin.js +0 -353
- package/dist/commands/admin.js.map +0 -1
- package/dist/commands/api-keys.d.ts +0 -4
- package/dist/commands/api-keys.js +0 -96
- package/dist/commands/api-keys.js.map +0 -1
- package/dist/commands/auth.d.ts +0 -25
- package/dist/commands/auth.js +0 -102
- package/dist/commands/auth.js.map +0 -1
- package/dist/commands/config.d.ts +0 -104
- package/dist/commands/config.js +0 -1506
- package/dist/commands/config.js.map +0 -1
- package/dist/commands/csp.d.ts +0 -32
- package/dist/commands/csp.js +0 -180
- package/dist/commands/csp.js.map +0 -1
- package/dist/commands/dev.d.ts +0 -8
- package/dist/commands/dev.js +0 -84
- package/dist/commands/dev.js.map +0 -1
- package/dist/commands/fga.d.ts +0 -10
- package/dist/commands/fga.js +0 -146
- package/dist/commands/fga.js.map +0 -1
- package/dist/commands/golive.d.ts +0 -40
- package/dist/commands/golive.js +0 -285
- package/dist/commands/golive.js.map +0 -1
- package/dist/commands/id-accounts.d.ts +0 -13
- package/dist/commands/id-accounts.js +0 -195
- package/dist/commands/id-accounts.js.map +0 -1
- package/dist/commands/import-better-auth.d.ts +0 -3
- package/dist/commands/import-better-auth.js +0 -164
- package/dist/commands/import-better-auth.js.map +0 -1
- package/dist/commands/import.d.ts +0 -3
- package/dist/commands/import.js +0 -123
- package/dist/commands/import.js.map +0 -1
- package/dist/commands/info.d.ts +0 -75
- package/dist/commands/info.js +0 -362
- package/dist/commands/info.js.map +0 -1
- package/dist/commands/init.d.ts +0 -3
- package/dist/commands/init.js +0 -438
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/integrations.d.ts +0 -8
- package/dist/commands/integrations.js +0 -112
- package/dist/commands/integrations.js.map +0 -1
- package/dist/commands/listen.d.ts +0 -17
- package/dist/commands/listen.js +0 -223
- package/dist/commands/listen.js.map +0 -1
- package/dist/commands/mcp.d.ts +0 -38
- package/dist/commands/mcp.js +0 -111
- package/dist/commands/mcp.js.map +0 -1
- package/dist/commands/migrate.d.ts +0 -16
- package/dist/commands/migrate.js +0 -114
- package/dist/commands/migrate.js.map +0 -1
- package/dist/commands/move-origin.d.ts +0 -11
- package/dist/commands/move-origin.js +0 -95
- package/dist/commands/move-origin.js.map +0 -1
- package/dist/commands/operator.d.ts +0 -18
- package/dist/commands/operator.js +0 -238
- package/dist/commands/operator.js.map +0 -1
- package/dist/commands/orgs.d.ts +0 -4
- package/dist/commands/orgs.js +0 -72
- package/dist/commands/orgs.js.map +0 -1
- package/dist/commands/pages.d.ts +0 -14
- package/dist/commands/pages.js +0 -113
- package/dist/commands/pages.js.map +0 -1
- package/dist/commands/partner-platforms.d.ts +0 -10
- package/dist/commands/partner-platforms.js +0 -157
- package/dist/commands/partner-platforms.js.map +0 -1
- package/dist/commands/project-commands.d.ts +0 -38
- package/dist/commands/project-commands.js +0 -361
- package/dist/commands/project-commands.js.map +0 -1
- package/dist/commands/referrals.d.ts +0 -69
- package/dist/commands/referrals.js +0 -1056
- package/dist/commands/referrals.js.map +0 -1
- package/dist/commands/resources.d.ts +0 -44
- package/dist/commands/resources.js +0 -234
- package/dist/commands/resources.js.map +0 -1
- package/dist/commands/sessions.d.ts +0 -4
- package/dist/commands/sessions.js +0 -28
- package/dist/commands/sessions.js.map +0 -1
- package/dist/commands/shared.d.ts +0 -38
- package/dist/commands/shared.js +0 -69
- package/dist/commands/shared.js.map +0 -1
- package/dist/commands/status.d.ts +0 -3
- package/dist/commands/status.js +0 -77
- package/dist/commands/status.js.map +0 -1
- package/dist/commands/users.d.ts +0 -4
- package/dist/commands/users.js +0 -100
- package/dist/commands/users.js.map +0 -1
- package/dist/commands/webhooks.d.ts +0 -34
- package/dist/commands/webhooks.js +0 -301
- package/dist/commands/webhooks.js.map +0 -1
- package/dist/config-http.d.ts +0 -29
- package/dist/config-http.js +0 -64
- package/dist/config-http.js.map +0 -1
- package/dist/config.d.ts +0 -64
- package/dist/config.js +0 -69
- package/dist/config.js.map +0 -1
- package/dist/context.d.ts +0 -72
- package/dist/context.js +0 -27
- package/dist/context.js.map +0 -1
- package/dist/define-config.d.ts +0 -9
- package/dist/define-config.js +0 -8
- package/dist/define-config.js.map +0 -1
- package/dist/errors.d.ts +0 -15
- package/dist/errors.js +0 -25
- package/dist/errors.js.map +0 -1
- package/dist/help.d.ts +0 -8
- package/dist/help.js +0 -868
- package/dist/help.js.map +0 -1
- package/dist/import/csv.d.ts +0 -6
- package/dist/import/csv.js +0 -63
- package/dist/import/csv.js.map +0 -1
- package/dist/import/vendors.d.ts +0 -57
- package/dist/import/vendors.js +0 -568
- package/dist/import/vendors.js.map +0 -1
- package/dist/index.d.ts +0 -33
- package/dist/index.js +0 -81
- package/dist/index.js.map +0 -1
- package/dist/io.d.ts +0 -21
- package/dist/io.js +0 -28
- package/dist/io.js.map +0 -1
- package/dist/migrate/appwrite/plugin.d.ts +0 -2
- package/dist/migrate/appwrite/plugin.js +0 -103
- package/dist/migrate/appwrite/plugin.js.map +0 -1
- package/dist/migrate/auth0/plugin.d.ts +0 -2
- package/dist/migrate/auth0/plugin.js +0 -126
- package/dist/migrate/auth0/plugin.js.map +0 -1
- package/dist/migrate/authentik/plugin.d.ts +0 -2
- package/dist/migrate/authentik/plugin.js +0 -135
- package/dist/migrate/authentik/plugin.js.map +0 -1
- package/dist/migrate/azure-ad-b2c/plugin.d.ts +0 -8
- package/dist/migrate/azure-ad-b2c/plugin.js +0 -165
- package/dist/migrate/azure-ad-b2c/plugin.js.map +0 -1
- package/dist/migrate/better-auth/integration.d.ts +0 -59
- package/dist/migrate/better-auth/integration.js +0 -81
- package/dist/migrate/better-auth/integration.js.map +0 -1
- package/dist/migrate/better-auth/orchestrator.d.ts +0 -43
- package/dist/migrate/better-auth/orchestrator.js +0 -525
- package/dist/migrate/better-auth/orchestrator.js.map +0 -1
- package/dist/migrate/better-auth/output.d.ts +0 -20
- package/dist/migrate/better-auth/output.js +0 -146
- package/dist/migrate/better-auth/output.js.map +0 -1
- package/dist/migrate/better-auth/translate.d.ts +0 -77
- package/dist/migrate/better-auth/translate.js +0 -1989
- package/dist/migrate/better-auth/translate.js.map +0 -1
- package/dist/migrate/clerk/plugin.d.ts +0 -2
- package/dist/migrate/clerk/plugin.js +0 -76
- package/dist/migrate/clerk/plugin.js.map +0 -1
- package/dist/migrate/cognito/plugin.d.ts +0 -5
- package/dist/migrate/cognito/plugin.js +0 -170
- package/dist/migrate/cognito/plugin.js.map +0 -1
- package/dist/migrate/corbado/plugin.d.ts +0 -2
- package/dist/migrate/corbado/plugin.js +0 -63
- package/dist/migrate/corbado/plugin.js.map +0 -1
- package/dist/migrate/descope/plugin.d.ts +0 -2
- package/dist/migrate/descope/plugin.js +0 -83
- package/dist/migrate/descope/plugin.js.map +0 -1
- package/dist/migrate/entra-external-id/plugin.d.ts +0 -8
- package/dist/migrate/entra-external-id/plugin.js +0 -12
- package/dist/migrate/entra-external-id/plugin.js.map +0 -1
- package/dist/migrate/export/appwrite-config.d.ts +0 -28
- package/dist/migrate/export/appwrite-config.js +0 -170
- package/dist/migrate/export/appwrite-config.js.map +0 -1
- package/dist/migrate/export/appwrite.d.ts +0 -51
- package/dist/migrate/export/appwrite.js +0 -288
- package/dist/migrate/export/appwrite.js.map +0 -1
- package/dist/migrate/export/auth0-config.d.ts +0 -29
- package/dist/migrate/export/auth0-config.js +0 -249
- package/dist/migrate/export/auth0-config.js.map +0 -1
- package/dist/migrate/export/auth0.d.ts +0 -62
- package/dist/migrate/export/auth0.js +0 -575
- package/dist/migrate/export/auth0.js.map +0 -1
- package/dist/migrate/export/authentik-config.d.ts +0 -45
- package/dist/migrate/export/authentik-config.js +0 -357
- package/dist/migrate/export/authentik-config.js.map +0 -1
- package/dist/migrate/export/authentik.d.ts +0 -110
- package/dist/migrate/export/authentik.js +0 -838
- package/dist/migrate/export/authentik.js.map +0 -1
- package/dist/migrate/export/azure-config.d.ts +0 -58
- package/dist/migrate/export/azure-config.js +0 -344
- package/dist/migrate/export/azure-config.js.map +0 -1
- package/dist/migrate/export/azure.d.ts +0 -85
- package/dist/migrate/export/azure.js +0 -373
- package/dist/migrate/export/azure.js.map +0 -1
- package/dist/migrate/export/clerk-config.d.ts +0 -26
- package/dist/migrate/export/clerk-config.js +0 -227
- package/dist/migrate/export/clerk-config.js.map +0 -1
- package/dist/migrate/export/clerk.d.ts +0 -46
- package/dist/migrate/export/clerk.js +0 -486
- package/dist/migrate/export/clerk.js.map +0 -1
- package/dist/migrate/export/cognito-config.d.ts +0 -25
- package/dist/migrate/export/cognito-config.js +0 -273
- package/dist/migrate/export/cognito-config.js.map +0 -1
- package/dist/migrate/export/cognito.d.ts +0 -103
- package/dist/migrate/export/cognito.js +0 -441
- package/dist/migrate/export/cognito.js.map +0 -1
- package/dist/migrate/export/corbado-config.d.ts +0 -20
- package/dist/migrate/export/corbado-config.js +0 -63
- package/dist/migrate/export/corbado-config.js.map +0 -1
- package/dist/migrate/export/corbado.d.ts +0 -37
- package/dist/migrate/export/corbado.js +0 -132
- package/dist/migrate/export/corbado.js.map +0 -1
- package/dist/migrate/export/descope.d.ts +0 -35
- package/dist/migrate/export/descope.js +0 -208
- package/dist/migrate/export/descope.js.map +0 -1
- package/dist/migrate/export/fake-vendor.test-helper.d.ts +0 -27
- package/dist/migrate/export/fake-vendor.test-helper.js +0 -41
- package/dist/migrate/export/fake-vendor.test-helper.js.map +0 -1
- package/dist/migrate/export/firebase-config.d.ts +0 -24
- package/dist/migrate/export/firebase-config.js +0 -215
- package/dist/migrate/export/firebase-config.js.map +0 -1
- package/dist/migrate/export/firebase.d.ts +0 -102
- package/dist/migrate/export/firebase.js +0 -464
- package/dist/migrate/export/firebase.js.map +0 -1
- package/dist/migrate/export/frameworks/app-users.d.ts +0 -42
- package/dist/migrate/export/frameworks/app-users.js +0 -161
- package/dist/migrate/export/frameworks/app-users.js.map +0 -1
- package/dist/migrate/export/frameworks/authjs.d.ts +0 -41
- package/dist/migrate/export/frameworks/authjs.js +0 -146
- package/dist/migrate/export/frameworks/authjs.js.map +0 -1
- package/dist/migrate/export/frameworks/devise.d.ts +0 -39
- package/dist/migrate/export/frameworks/devise.js +0 -218
- package/dist/migrate/export/frameworks/devise.js.map +0 -1
- package/dist/migrate/export/frameworks/django.d.ts +0 -45
- package/dist/migrate/export/frameworks/django.js +0 -315
- package/dist/migrate/export/frameworks/django.js.map +0 -1
- package/dist/migrate/export/frameworks/lucia.d.ts +0 -42
- package/dist/migrate/export/frameworks/lucia.js +0 -263
- package/dist/migrate/export/frameworks/lucia.js.map +0 -1
- package/dist/migrate/export/frameworks/tables.d.ts +0 -90
- package/dist/migrate/export/frameworks/tables.js +0 -325
- package/dist/migrate/export/frameworks/tables.js.map +0 -1
- package/dist/migrate/export/frameworks/webauthn.d.ts +0 -25
- package/dist/migrate/export/frameworks/webauthn.js +0 -130
- package/dist/migrate/export/frameworks/webauthn.js.map +0 -1
- package/dist/migrate/export/frontegg-config.d.ts +0 -29
- package/dist/migrate/export/frontegg-config.js +0 -238
- package/dist/migrate/export/frontegg-config.js.map +0 -1
- package/dist/migrate/export/frontegg.d.ts +0 -67
- package/dist/migrate/export/frontegg.js +0 -410
- package/dist/migrate/export/frontegg.js.map +0 -1
- package/dist/migrate/export/fusionauth-config.d.ts +0 -26
- package/dist/migrate/export/fusionauth-config.js +0 -226
- package/dist/migrate/export/fusionauth-config.js.map +0 -1
- package/dist/migrate/export/fusionauth.d.ts +0 -99
- package/dist/migrate/export/fusionauth.js +0 -642
- package/dist/migrate/export/fusionauth.js.map +0 -1
- package/dist/migrate/export/hanko-config.d.ts +0 -27
- package/dist/migrate/export/hanko-config.js +0 -265
- package/dist/migrate/export/hanko-config.js.map +0 -1
- package/dist/migrate/export/hanko.d.ts +0 -52
- package/dist/migrate/export/hanko.js +0 -605
- package/dist/migrate/export/hanko.js.map +0 -1
- package/dist/migrate/export/keycloak-config.d.ts +0 -19
- package/dist/migrate/export/keycloak-config.js +0 -219
- package/dist/migrate/export/keycloak-config.js.map +0 -1
- package/dist/migrate/export/keycloak.d.ts +0 -155
- package/dist/migrate/export/keycloak.js +0 -878
- package/dist/migrate/export/keycloak.js.map +0 -1
- package/dist/migrate/export/kinde-descope-config.d.ts +0 -38
- package/dist/migrate/export/kinde-descope-config.js +0 -172
- package/dist/migrate/export/kinde-descope-config.js.map +0 -1
- package/dist/migrate/export/kinde.d.ts +0 -57
- package/dist/migrate/export/kinde.js +0 -333
- package/dist/migrate/export/kinde.js.map +0 -1
- package/dist/migrate/export/ldap.d.ts +0 -53
- package/dist/migrate/export/ldap.js +0 -277
- package/dist/migrate/export/ldap.js.map +0 -1
- package/dist/migrate/export/logto-config.d.ts +0 -27
- package/dist/migrate/export/logto-config.js +0 -264
- package/dist/migrate/export/logto-config.js.map +0 -1
- package/dist/migrate/export/logto.d.ts +0 -150
- package/dist/migrate/export/logto.js +0 -809
- package/dist/migrate/export/logto.js.map +0 -1
- package/dist/migrate/export/magic-config.d.ts +0 -14
- package/dist/migrate/export/magic-config.js +0 -28
- package/dist/migrate/export/magic-config.js.map +0 -1
- package/dist/migrate/export/magic.d.ts +0 -31
- package/dist/migrate/export/magic.js +0 -93
- package/dist/migrate/export/magic.js.map +0 -1
- package/dist/migrate/export/mini-yaml.d.ts +0 -19
- package/dist/migrate/export/mini-yaml.js +0 -581
- package/dist/migrate/export/mini-yaml.js.map +0 -1
- package/dist/migrate/export/nhost-config.d.ts +0 -26
- package/dist/migrate/export/nhost-config.js +0 -360
- package/dist/migrate/export/nhost-config.js.map +0 -1
- package/dist/migrate/export/nhost.d.ts +0 -64
- package/dist/migrate/export/nhost.js +0 -304
- package/dist/migrate/export/nhost.js.map +0 -1
- package/dist/migrate/export/okta-config.d.ts +0 -30
- package/dist/migrate/export/okta-config.js +0 -205
- package/dist/migrate/export/okta-config.js.map +0 -1
- package/dist/migrate/export/okta.d.ts +0 -43
- package/dist/migrate/export/okta.js +0 -337
- package/dist/migrate/export/okta.js.map +0 -1
- package/dist/migrate/export/onelogin.d.ts +0 -22
- package/dist/migrate/export/onelogin.js +0 -123
- package/dist/migrate/export/onelogin.js.map +0 -1
- package/dist/migrate/export/ory-config.d.ts +0 -58
- package/dist/migrate/export/ory-config.js +0 -451
- package/dist/migrate/export/ory-config.js.map +0 -1
- package/dist/migrate/export/ory.d.ts +0 -81
- package/dist/migrate/export/ory.js +0 -555
- package/dist/migrate/export/ory.js.map +0 -1
- package/dist/migrate/export/password-detect.d.ts +0 -29
- package/dist/migrate/export/password-detect.js +0 -81
- package/dist/migrate/export/password-detect.js.map +0 -1
- package/dist/migrate/export/pingone.d.ts +0 -36
- package/dist/migrate/export/pingone.js +0 -218
- package/dist/migrate/export/pingone.js.map +0 -1
- package/dist/migrate/export/plugin-kit.d.ts +0 -25
- package/dist/migrate/export/plugin-kit.js +0 -82
- package/dist/migrate/export/plugin-kit.js.map +0 -1
- package/dist/migrate/export/pocketbase-config.d.ts +0 -28
- package/dist/migrate/export/pocketbase-config.js +0 -180
- package/dist/migrate/export/pocketbase-config.js.map +0 -1
- package/dist/migrate/export/pocketbase.d.ts +0 -52
- package/dist/migrate/export/pocketbase.js +0 -243
- package/dist/migrate/export/pocketbase.js.map +0 -1
- package/dist/migrate/export/project-files.d.ts +0 -15
- package/dist/migrate/export/project-files.js +0 -43
- package/dist/migrate/export/project-files.js.map +0 -1
- package/dist/migrate/export/propelauth-config.d.ts +0 -18
- package/dist/migrate/export/propelauth-config.js +0 -58
- package/dist/migrate/export/propelauth-config.js.map +0 -1
- package/dist/migrate/export/propelauth-harness.test-helper.d.ts +0 -62
- package/dist/migrate/export/propelauth-harness.test-helper.js +0 -109
- package/dist/migrate/export/propelauth-harness.test-helper.js.map +0 -1
- package/dist/migrate/export/propelauth.d.ts +0 -48
- package/dist/migrate/export/propelauth.js +0 -255
- package/dist/migrate/export/propelauth.js.map +0 -1
- package/dist/migrate/export/record-set.d.ts +0 -44
- package/dist/migrate/export/record-set.js +0 -98
- package/dist/migrate/export/record-set.js.map +0 -1
- package/dist/migrate/export/source-lines.d.ts +0 -17
- package/dist/migrate/export/source-lines.js +0 -43
- package/dist/migrate/export/source-lines.js.map +0 -1
- package/dist/migrate/export/sso-metadata.d.ts +0 -47
- package/dist/migrate/export/sso-metadata.js +0 -180
- package/dist/migrate/export/sso-metadata.js.map +0 -1
- package/dist/migrate/export/stytch-config.d.ts +0 -22
- package/dist/migrate/export/stytch-config.js +0 -102
- package/dist/migrate/export/stytch-config.js.map +0 -1
- package/dist/migrate/export/stytch.d.ts +0 -68
- package/dist/migrate/export/stytch.js +0 -510
- package/dist/migrate/export/stytch.js.map +0 -1
- package/dist/migrate/export/supabase-config.d.ts +0 -48
- package/dist/migrate/export/supabase-config.js +0 -408
- package/dist/migrate/export/supabase-config.js.map +0 -1
- package/dist/migrate/export/supabase.d.ts +0 -86
- package/dist/migrate/export/supabase.js +0 -524
- package/dist/migrate/export/supabase.js.map +0 -1
- package/dist/migrate/export/supertokens-config.d.ts +0 -20
- package/dist/migrate/export/supertokens-config.js +0 -150
- package/dist/migrate/export/supertokens-config.js.map +0 -1
- package/dist/migrate/export/supertokens.d.ts +0 -125
- package/dist/migrate/export/supertokens.js +0 -464
- package/dist/migrate/export/supertokens.js.map +0 -1
- package/dist/migrate/export/table.d.ts +0 -35
- package/dist/migrate/export/table.js +0 -248
- package/dist/migrate/export/table.js.map +0 -1
- package/dist/migrate/export/translate-kit.d.ts +0 -46
- package/dist/migrate/export/translate-kit.js +0 -148
- package/dist/migrate/export/translate-kit.js.map +0 -1
- package/dist/migrate/export/userfront-config.d.ts +0 -15
- package/dist/migrate/export/userfront-config.js +0 -49
- package/dist/migrate/export/userfront-config.js.map +0 -1
- package/dist/migrate/export/userfront.d.ts +0 -38
- package/dist/migrate/export/userfront.js +0 -189
- package/dist/migrate/export/userfront.js.map +0 -1
- package/dist/migrate/export/vendor-http.d.ts +0 -46
- package/dist/migrate/export/vendor-http.js +0 -138
- package/dist/migrate/export/vendor-http.js.map +0 -1
- package/dist/migrate/export/workos-config.d.ts +0 -23
- package/dist/migrate/export/workos-config.js +0 -125
- package/dist/migrate/export/workos-config.js.map +0 -1
- package/dist/migrate/export/workos.d.ts +0 -46
- package/dist/migrate/export/workos.js +0 -272
- package/dist/migrate/export/workos.js.map +0 -1
- package/dist/migrate/export/zip.d.ts +0 -8
- package/dist/migrate/export/zip.js +0 -66
- package/dist/migrate/export/zip.js.map +0 -1
- package/dist/migrate/export/zitadel-config.d.ts +0 -37
- package/dist/migrate/export/zitadel-config.js +0 -279
- package/dist/migrate/export/zitadel-config.js.map +0 -1
- package/dist/migrate/export/zitadel.d.ts +0 -82
- package/dist/migrate/export/zitadel.js +0 -447
- package/dist/migrate/export/zitadel.js.map +0 -1
- package/dist/migrate/firebase/plugin.d.ts +0 -2
- package/dist/migrate/firebase/plugin.js +0 -152
- package/dist/migrate/firebase/plugin.js.map +0 -1
- package/dist/migrate/framework/builtins.d.ts +0 -2
- package/dist/migrate/framework/builtins.js +0 -52
- package/dist/migrate/framework/builtins.js.map +0 -1
- package/dist/migrate/framework/commands.d.ts +0 -20
- package/dist/migrate/framework/commands.js +0 -58
- package/dist/migrate/framework/commands.js.map +0 -1
- package/dist/migrate/framework/custom.d.ts +0 -12
- package/dist/migrate/framework/custom.js +0 -96
- package/dist/migrate/framework/custom.js.map +0 -1
- package/dist/migrate/framework/orchestrator.d.ts +0 -113
- package/dist/migrate/framework/orchestrator.js +0 -532
- package/dist/migrate/framework/orchestrator.js.map +0 -1
- package/dist/migrate/framework/plugin.d.ts +0 -167
- package/dist/migrate/framework/plugin.js +0 -3
- package/dist/migrate/framework/plugin.js.map +0 -1
- package/dist/migrate/framework/registry.d.ts +0 -11
- package/dist/migrate/framework/registry.js +0 -44
- package/dist/migrate/framework/registry.js.map +0 -1
- package/dist/migrate/framework/report.d.ts +0 -17
- package/dist/migrate/framework/report.js +0 -103
- package/dist/migrate/framework/report.js.map +0 -1
- package/dist/migrate/frameworks/plugins.d.ts +0 -29
- package/dist/migrate/frameworks/plugins.js +0 -402
- package/dist/migrate/frameworks/plugins.js.map +0 -1
- package/dist/migrate/frameworks/report.d.ts +0 -92
- package/dist/migrate/frameworks/report.js +0 -207
- package/dist/migrate/frameworks/report.js.map +0 -1
- package/dist/migrate/frameworks/translate-js.d.ts +0 -5
- package/dist/migrate/frameworks/translate-js.js +0 -503
- package/dist/migrate/frameworks/translate-js.js.map +0 -1
- package/dist/migrate/frameworks/translate-rails-django.d.ts +0 -3
- package/dist/migrate/frameworks/translate-rails-django.js +0 -1391
- package/dist/migrate/frameworks/translate-rails-django.js.map +0 -1
- package/dist/migrate/frontegg/plugin.d.ts +0 -2
- package/dist/migrate/frontegg/plugin.js +0 -78
- package/dist/migrate/frontegg/plugin.js.map +0 -1
- package/dist/migrate/fusionauth/plugin.d.ts +0 -2
- package/dist/migrate/fusionauth/plugin.js +0 -109
- package/dist/migrate/fusionauth/plugin.js.map +0 -1
- package/dist/migrate/hanko/plugin.d.ts +0 -2
- package/dist/migrate/hanko/plugin.js +0 -100
- package/dist/migrate/hanko/plugin.js.map +0 -1
- package/dist/migrate/keycloak/plugin.d.ts +0 -2
- package/dist/migrate/keycloak/plugin.js +0 -148
- package/dist/migrate/keycloak/plugin.js.map +0 -1
- package/dist/migrate/kinde/plugin.d.ts +0 -2
- package/dist/migrate/kinde/plugin.js +0 -105
- package/dist/migrate/kinde/plugin.js.map +0 -1
- package/dist/migrate/ldap/plugin.d.ts +0 -2
- package/dist/migrate/ldap/plugin.js +0 -73
- package/dist/migrate/ldap/plugin.js.map +0 -1
- package/dist/migrate/logto/plugin.d.ts +0 -2
- package/dist/migrate/logto/plugin.js +0 -131
- package/dist/migrate/logto/plugin.js.map +0 -1
- package/dist/migrate/magic/plugin.d.ts +0 -2
- package/dist/migrate/magic/plugin.js +0 -56
- package/dist/migrate/magic/plugin.js.map +0 -1
- package/dist/migrate/nhost/plugin.d.ts +0 -2
- package/dist/migrate/nhost/plugin.js +0 -115
- package/dist/migrate/nhost/plugin.js.map +0 -1
- package/dist/migrate/oidc/plugin.d.ts +0 -2
- package/dist/migrate/oidc/plugin.js +0 -73
- package/dist/migrate/oidc/plugin.js.map +0 -1
- package/dist/migrate/okta/plugin.d.ts +0 -2
- package/dist/migrate/okta/plugin.js +0 -105
- package/dist/migrate/okta/plugin.js.map +0 -1
- package/dist/migrate/onelogin/plugin.d.ts +0 -2
- package/dist/migrate/onelogin/plugin.js +0 -61
- package/dist/migrate/onelogin/plugin.js.map +0 -1
- package/dist/migrate/ory/plugin.d.ts +0 -2
- package/dist/migrate/ory/plugin.js +0 -186
- package/dist/migrate/ory/plugin.js.map +0 -1
- package/dist/migrate/ping-identity/plugin.d.ts +0 -2
- package/dist/migrate/ping-identity/plugin.js +0 -100
- package/dist/migrate/ping-identity/plugin.js.map +0 -1
- package/dist/migrate/pocketbase/plugin.d.ts +0 -2
- package/dist/migrate/pocketbase/plugin.js +0 -99
- package/dist/migrate/pocketbase/plugin.js.map +0 -1
- package/dist/migrate/propelauth/plugin.d.ts +0 -2
- package/dist/migrate/propelauth/plugin.js +0 -65
- package/dist/migrate/propelauth/plugin.js.map +0 -1
- package/dist/migrate/saml/plugin.d.ts +0 -2
- package/dist/migrate/saml/plugin.js +0 -79
- package/dist/migrate/saml/plugin.js.map +0 -1
- package/dist/migrate/stytch/plugin.d.ts +0 -2
- package/dist/migrate/stytch/plugin.js +0 -97
- package/dist/migrate/stytch/plugin.js.map +0 -1
- package/dist/migrate/supabase/plugin.d.ts +0 -2
- package/dist/migrate/supabase/plugin.js +0 -149
- package/dist/migrate/supabase/plugin.js.map +0 -1
- package/dist/migrate/supertokens/plugin.d.ts +0 -2
- package/dist/migrate/supertokens/plugin.js +0 -114
- package/dist/migrate/supertokens/plugin.js.map +0 -1
- package/dist/migrate/user-table/plugin.d.ts +0 -2
- package/dist/migrate/user-table/plugin.js +0 -62
- package/dist/migrate/user-table/plugin.js.map +0 -1
- package/dist/migrate/userfront/plugin.d.ts +0 -2
- package/dist/migrate/userfront/plugin.js +0 -60
- package/dist/migrate/userfront/plugin.js.map +0 -1
- package/dist/migrate/workos/plugin.d.ts +0 -2
- package/dist/migrate/workos/plugin.js +0 -81
- package/dist/migrate/workos/plugin.js.map +0 -1
- package/dist/migrate/zitadel/plugin.d.ts +0 -2
- package/dist/migrate/zitadel/plugin.js +0 -114
- package/dist/migrate/zitadel/plugin.js.map +0 -1
- package/dist/output.d.ts +0 -41
- package/dist/output.js +0 -72
- package/dist/output.js.map +0 -1
- package/dist/project.d.ts +0 -64
- package/dist/project.js +0 -86
- package/dist/project.js.map +0 -1
- package/dist/prompt.d.ts +0 -15
- package/dist/prompt.js +0 -46
- package/dist/prompt.js.map +0 -1
- package/dist/run.d.ts +0 -12
- package/dist/run.js +0 -157
- package/dist/run.js.map +0 -1
- package/dist/secrets.d.ts +0 -41
- package/dist/secrets.js +0 -142
- package/dist/secrets.js.map +0 -1
- package/dist/serialize.d.ts +0 -30
- package/dist/serialize.js +0 -131
- package/dist/serialize.js.map +0 -1
- package/dist/version.d.ts +0 -7
- package/dist/version.js +0 -21
- package/dist/version.js.map +0 -1
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FRAMEWORK_PROVIDER_MAP = exports.TranslationBuilder = exports.MAX_ABSOLUTE_S = exports.MIN_IDLE_S = exports.DAY = void 0;
|
|
4
|
-
exports.clamp = clamp;
|
|
5
|
-
exports.humanDuration = humanDuration;
|
|
6
|
-
/**
|
|
7
|
-
* The builder every self-hosted-framework translator (Auth.js, Lucia,
|
|
8
|
-
* Passport, iron-session, Devise, Django) fills: Atlas config-as-code
|
|
9
|
-
* (`instance.auth_config`, `oauth_providers`, `custom_oauth_providers`,
|
|
10
|
-
* `redirect_urls`) plus the mapped / differs / manual report with the file and
|
|
11
|
-
* line each setting came from. Secrets are never copied: a value read from an
|
|
12
|
-
* environment variable becomes a `${NAME}` placeholder, and a secret
|
|
13
|
-
* hard-coded in source becomes a placeholder plus a manual entry.
|
|
14
|
-
*/
|
|
15
|
-
exports.DAY = 86_400;
|
|
16
|
-
/** Atlas session bounds (seconds). */
|
|
17
|
-
exports.MIN_IDLE_S = 300;
|
|
18
|
-
exports.MAX_ABSOLUTE_S = 90 * exports.DAY;
|
|
19
|
-
class TranslationBuilder {
|
|
20
|
-
origin;
|
|
21
|
-
fallback;
|
|
22
|
-
authConfig = {};
|
|
23
|
-
oauthProviders = [];
|
|
24
|
-
customOauthProviders = [];
|
|
25
|
-
redirectUrls = [];
|
|
26
|
-
allowedOrigins = new Set();
|
|
27
|
-
report = [];
|
|
28
|
-
env = new Map();
|
|
29
|
-
providers = {};
|
|
30
|
-
roles = {};
|
|
31
|
-
bridge;
|
|
32
|
-
lazy;
|
|
33
|
-
constructor(origin, fallback) {
|
|
34
|
-
this.origin = origin;
|
|
35
|
-
this.fallback = fallback;
|
|
36
|
-
}
|
|
37
|
-
set(path, value) {
|
|
38
|
-
const parts = path.split('.');
|
|
39
|
-
let node = this.authConfig;
|
|
40
|
-
for (const part of parts.slice(0, -1)) {
|
|
41
|
-
const next = node[part];
|
|
42
|
-
if (!next || typeof next !== 'object' || Array.isArray(next))
|
|
43
|
-
node[part] = {};
|
|
44
|
-
node = node[part];
|
|
45
|
-
}
|
|
46
|
-
node[parts[parts.length - 1]] = value;
|
|
47
|
-
}
|
|
48
|
-
get(path) {
|
|
49
|
-
let node = this.authConfig;
|
|
50
|
-
for (const part of path.split('.')) {
|
|
51
|
-
if (!node || typeof node !== 'object' || Array.isArray(node))
|
|
52
|
-
return undefined;
|
|
53
|
-
node = node[part];
|
|
54
|
-
}
|
|
55
|
-
return node;
|
|
56
|
-
}
|
|
57
|
-
add(status, area, setting, note, at, atlas) {
|
|
58
|
-
const where = at ?? this.fallback;
|
|
59
|
-
this.report.push({ status, area, setting, ...(atlas ? { atlas } : {}), note, file: where.file, line: where.line });
|
|
60
|
-
}
|
|
61
|
-
/** A config string: a literal stays, an env var becomes `${NAME}`, anything else a `${fallback}` placeholder + manual entry. */
|
|
62
|
-
configString(v, purpose, fallback, opts) {
|
|
63
|
-
if (v?.kind === 'literal') {
|
|
64
|
-
if (opts.secret) {
|
|
65
|
-
this.add('manual', opts.area, opts.setting, `A secret is hard-coded in source. It was not copied: set ${fallback} in the environment before applying, and move the secret out of the code.`, v.at);
|
|
66
|
-
this.env.set(fallback, purpose);
|
|
67
|
-
return `\${${fallback}}`;
|
|
68
|
-
}
|
|
69
|
-
return String(v.value);
|
|
70
|
-
}
|
|
71
|
-
if (v?.kind === 'env') {
|
|
72
|
-
this.env.set(v.name, purpose);
|
|
73
|
-
return `\${${v.name}}`;
|
|
74
|
-
}
|
|
75
|
-
if (v)
|
|
76
|
-
this.add('manual', opts.area, opts.setting, `Cannot read this value statically (${v.text}); set ${fallback} in the environment before applying.`, v.at);
|
|
77
|
-
this.env.set(fallback, purpose);
|
|
78
|
-
return `\${${fallback}}`;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* An enabled social provider (`oauth_providers`). Keeps the same OAuth app so
|
|
82
|
-
* imported identities relink by provider user id.
|
|
83
|
-
*/
|
|
84
|
-
oauthProvider(input) {
|
|
85
|
-
this.providers[input.sourceId] = input.atlasKey;
|
|
86
|
-
const entry = { provider: input.atlasKey, enabled: true, allow_sign_in: true, allow_sign_up: true, client_id: input.clientId };
|
|
87
|
-
if (input.clientSecret !== undefined)
|
|
88
|
-
entry.client_secret = input.clientSecret;
|
|
89
|
-
if (input.scopes?.length)
|
|
90
|
-
entry.scopes = input.scopes;
|
|
91
|
-
if (input.values && Object.keys(input.values).length)
|
|
92
|
-
entry.values = input.values;
|
|
93
|
-
if (!this.oauthProviders.some((p) => p.provider === input.atlasKey))
|
|
94
|
-
this.oauthProviders.push(entry);
|
|
95
|
-
const list = this.get('strategies.oauthProviders') ?? [];
|
|
96
|
-
if (!list.includes(input.atlasKey))
|
|
97
|
-
this.set('strategies.oauthProviders', [...list, input.atlasKey]);
|
|
98
|
-
this.add('mapped', input.area, input.setting, "Keep the same OAuth app so imported accounts relink by provider user id. Add Atlas's callback URL (redirect_uri on the provider) to the app's allowed redirect URLs.", input.at, `oauth_providers ${input.atlasKey}`);
|
|
99
|
-
}
|
|
100
|
-
/** Session lifetime: `idle` true = activity extends it (rolling), false = fixed. */
|
|
101
|
-
session(seconds, rolling, area, setting, at, sourceWords) {
|
|
102
|
-
const s = clamp(seconds, exports.MIN_IDLE_S, exports.MAX_ABSOLUTE_S);
|
|
103
|
-
if (rolling) {
|
|
104
|
-
this.set('session.idleMs', s * 1000);
|
|
105
|
-
this.set('session.idleTimeout', true);
|
|
106
|
-
this.set('session.absoluteMs', exports.MAX_ABSOLUTE_S * 1000);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
this.set('session.absoluteMs', s * 1000);
|
|
110
|
-
this.set('session.idleMs', s * 1000);
|
|
111
|
-
this.set('session.idleTimeout', false);
|
|
112
|
-
}
|
|
113
|
-
const exact = s === seconds;
|
|
114
|
-
this.add(exact ? 'mapped' : 'differs', area, setting, `${rolling ? 'Sessions stay alive while used and end after' : 'Sessions last a fixed'} ${humanDuration(s)}${rolling ? ' idle' : ''}${exact ? '' : ` (${sourceWords}: ${humanDuration(seconds)}; Atlas allows 5 minutes to 90 days)`}.`, at, rolling ? 'auth_config.session.idleMs' : 'auth_config.session.absoluteMs');
|
|
115
|
-
}
|
|
116
|
-
/** Minimum password length (Atlas requires at least 8). */
|
|
117
|
-
minPasswordLength(n, area, setting, at, sourceWords) {
|
|
118
|
-
const v = Math.max(8, Math.min(n, 128));
|
|
119
|
-
this.set('passwordPolicy.minLength', v);
|
|
120
|
-
this.add(v === n ? 'mapped' : 'differs', area, setting, v === n ? `${n}.` : n < 8 ? `${sourceWords} allows ${n}; Atlas requires at least 8. Existing shorter passwords still sign in; new ones need 8.` : `Set to ${v} (${sourceWords}: ${n}).`, at, 'auth_config.passwordPolicy.minLength');
|
|
121
|
-
}
|
|
122
|
-
result() {
|
|
123
|
-
const documents = {
|
|
124
|
-
instance: { ...(this.allowedOrigins.size ? { allowed_origins: [...this.allowedOrigins] } : {}), auth_config: this.authConfig },
|
|
125
|
-
};
|
|
126
|
-
if (this.oauthProviders.length)
|
|
127
|
-
documents.oauth_providers = this.oauthProviders;
|
|
128
|
-
if (this.customOauthProviders.length)
|
|
129
|
-
documents.custom_oauth_providers = this.customOauthProviders;
|
|
130
|
-
if (this.redirectUrls.length)
|
|
131
|
-
documents.redirect_urls = this.redirectUrls;
|
|
132
|
-
return {
|
|
133
|
-
origin: this.origin,
|
|
134
|
-
documents,
|
|
135
|
-
report: this.report,
|
|
136
|
-
env: [...this.env.entries()].map(([name, purpose]) => ({ name, for: purpose })).sort((a, b) => (a.name < b.name ? -1 : 1)),
|
|
137
|
-
mappings: { providers: this.providers, roles: this.roles },
|
|
138
|
-
...(this.bridge ? { bridge: this.bridge } : {}),
|
|
139
|
-
...(this.lazy ? { lazy: this.lazy } : {}),
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
exports.TranslationBuilder = TranslationBuilder;
|
|
144
|
-
function clamp(n, min, max) {
|
|
145
|
-
return Math.min(max, Math.max(min, n));
|
|
146
|
-
}
|
|
147
|
-
function humanDuration(seconds) {
|
|
148
|
-
if (seconds % exports.DAY === 0)
|
|
149
|
-
return `${seconds / exports.DAY} day${seconds === exports.DAY ? '' : 's'}`;
|
|
150
|
-
if (seconds % 3600 === 0)
|
|
151
|
-
return `${seconds / 3600} h`;
|
|
152
|
-
if (seconds % 60 === 0)
|
|
153
|
-
return `${seconds / 60} min`;
|
|
154
|
-
return `${seconds} s`;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Social provider names the frameworks use → Atlas catalog provider keys
|
|
158
|
-
* (Auth.js provider ids, arctic class names lowercased, Passport strategy
|
|
159
|
-
* names, OmniAuth strategies, django-allauth provider ids).
|
|
160
|
-
*/
|
|
161
|
-
exports.FRAMEWORK_PROVIDER_MAP = {
|
|
162
|
-
google: 'google',
|
|
163
|
-
google_oauth2: 'google',
|
|
164
|
-
'google-oauth20': 'google',
|
|
165
|
-
github: 'github',
|
|
166
|
-
gitlab: 'gitlab',
|
|
167
|
-
facebook: 'facebook',
|
|
168
|
-
apple: 'apple',
|
|
169
|
-
twitter: 'x',
|
|
170
|
-
twitter2: 'x',
|
|
171
|
-
twitter_oauth2: 'x',
|
|
172
|
-
x: 'x',
|
|
173
|
-
discord: 'discord',
|
|
174
|
-
slack: 'slack',
|
|
175
|
-
slack_openid: 'slack',
|
|
176
|
-
linkedin: 'linkedin',
|
|
177
|
-
linkedin_oauth2: 'linkedin',
|
|
178
|
-
linkedin_openid: 'linkedin',
|
|
179
|
-
'linkedin-openidconnect': 'linkedin',
|
|
180
|
-
microsoft: 'microsoft',
|
|
181
|
-
'azure-ad': 'microsoft',
|
|
182
|
-
'microsoft-entra-id': 'microsoft',
|
|
183
|
-
microsoftentraid: 'microsoft',
|
|
184
|
-
microsoft_graph: 'microsoft',
|
|
185
|
-
azure_activedirectory_v2: 'microsoft',
|
|
186
|
-
'azuread-openidconnect': 'microsoft',
|
|
187
|
-
twitch: 'twitch',
|
|
188
|
-
spotify: 'spotify',
|
|
189
|
-
reddit: 'reddit',
|
|
190
|
-
zoom: 'zoom',
|
|
191
|
-
notion: 'notion',
|
|
192
|
-
dropbox: 'dropbox',
|
|
193
|
-
atlassian: 'atlassian',
|
|
194
|
-
salesforce: 'salesforce',
|
|
195
|
-
bitbucket: 'bitbucket',
|
|
196
|
-
bitbucket_oauth2: 'bitbucket',
|
|
197
|
-
amazon: 'amazon',
|
|
198
|
-
kakao: 'kakao',
|
|
199
|
-
naver: 'naver',
|
|
200
|
-
line: 'line',
|
|
201
|
-
vk: 'vk',
|
|
202
|
-
shopify: 'shopify',
|
|
203
|
-
okta: 'okta',
|
|
204
|
-
auth0: 'auth0',
|
|
205
|
-
cognito: 'cognito',
|
|
206
|
-
};
|
|
207
|
-
//# sourceMappingURL=report.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../src/migrate/frameworks/report.ts"],"names":[],"mappings":";;;AAiLA,sBAEC;AAED,sCAKC;AAvLD;;;;;;;;GAQG;AAEU,QAAA,GAAG,GAAG,MAAM,CAAC;AAC1B,sCAAsC;AACzB,QAAA,UAAU,GAAG,GAAG,CAAC;AACjB,QAAA,cAAc,GAAG,EAAE,GAAG,WAAG,CAAC;AAavC,MAAa,kBAAkB;IAaR;IAAyB;IAZrC,UAAU,GAAyB,EAAE,CAAC;IACtC,cAAc,GAAW,EAAE,CAAC;IAC5B,oBAAoB,GAAW,EAAE,CAAC;IAClC,YAAY,GAAW,EAAE,CAAC;IAC1B,cAAc,GAAG,IAAI,GAAG,EAAU,CAAC;IACnC,MAAM,GAA6B,EAAE,CAAC;IACtC,GAAG,GAAG,IAAI,GAAG,EAAkB,CAAC;IAChC,SAAS,GAA2B,EAAE,CAAC;IACvC,KAAK,GAA2B,EAAE,CAAC;IAC5C,MAAM,CAAoD;IAC1D,IAAI,CAAsD;IAE1D,YAAqB,MAAc,EAAW,QAAe;QAAxC,WAAM,GAAN,MAAM,CAAQ;QAAW,aAAQ,GAAR,QAAQ,CAAO;IAAG,CAAC;IAEjE,GAAG,CAAC,IAAY,EAAE,KAAW;QAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAA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E,OAAO;IACd,OAAO,EAAE,SAAS;CACnB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { TranslationResult } from '../framework/plugin';
|
|
2
|
-
export declare function translateAuthJs(project: string): TranslationResult;
|
|
3
|
-
export declare function translateLucia(project: string): TranslationResult;
|
|
4
|
-
export declare function translatePassport(project: string): TranslationResult;
|
|
5
|
-
export declare function translateIronSession(project: string): TranslationResult;
|