@gadicc/loom 1.38.0 → 2.0.1
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/.loom-source-manifest.json +97 -0
- package/README.md +103 -31
- package/db/databaseTls.js +6 -3
- package/db/databaseUrl.js +3 -2
- package/db/drizzle-config.js +14 -16
- package/db/fixtures.d.ts +1 -3
- package/db/fixtures.js +4 -7
- package/esm/bin/loom.d.ts +2 -1
- package/esm/bin/loom.d.ts.map +1 -1
- package/esm/bin/loom.js +37 -10
- package/esm/bin/loom.js.map +1 -0
- package/esm/mod.d.ts +0 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -1
- package/esm/mod.js.map +1 -0
- package/esm/src/apiKeys/authorize.d.ts.map +1 -1
- package/esm/src/apiKeys/authorize.js +15 -14
- package/esm/src/apiKeys/authorize.js.map +1 -0
- package/esm/src/apiKeys/betterAuth.d.ts.map +1 -1
- package/esm/src/apiKeys/betterAuth.js +1 -0
- package/esm/src/apiKeys/betterAuth.js.map +1 -0
- package/esm/src/apiKeys/country.d.ts.map +1 -1
- package/esm/src/apiKeys/country.js +1 -0
- package/esm/src/apiKeys/country.js.map +1 -0
- package/esm/src/apiKeys/credentials.d.ts.map +1 -1
- package/esm/src/apiKeys/credentials.js +3 -1
- package/esm/src/apiKeys/credentials.js.map +1 -0
- package/esm/src/apiKeys/fingerprint.d.ts.map +1 -1
- package/esm/src/apiKeys/fingerprint.js +1 -0
- package/esm/src/apiKeys/fingerprint.js.map +1 -0
- package/esm/src/apiKeys/lifecycle.d.ts.map +1 -1
- package/esm/src/apiKeys/lifecycle.js +1 -0
- package/esm/src/apiKeys/lifecycle.js.map +1 -0
- package/esm/src/apiKeys/limits.d.ts.map +1 -1
- package/esm/src/apiKeys/limits.js +10 -10
- package/esm/src/apiKeys/limits.js.map +1 -0
- package/esm/src/apiKeys/mod.d.ts +0 -1
- package/esm/src/apiKeys/mod.d.ts.map +1 -1
- package/esm/src/apiKeys/mod.js +1 -1
- package/esm/src/apiKeys/mod.js.map +1 -0
- package/esm/src/apiKeys/permissions.d.ts.map +1 -1
- package/esm/src/apiKeys/permissions.js +1 -0
- package/esm/src/apiKeys/permissions.js.map +1 -0
- package/esm/src/apiKeys/policy.d.ts.map +1 -1
- package/esm/src/apiKeys/policy.js +1 -0
- package/esm/src/apiKeys/policy.js.map +1 -0
- package/esm/src/apiKeys/retention.d.ts.map +1 -1
- package/esm/src/apiKeys/retention.js +1 -0
- package/esm/src/apiKeys/retention.js.map +1 -0
- package/esm/src/apiKeys/types.d.ts.map +1 -1
- package/esm/src/apiKeys/types.js +1 -0
- package/esm/src/apiKeys/types.js.map +1 -0
- package/esm/src/cli/atomicText.d.ts +3 -0
- package/esm/src/cli/atomicText.d.ts.map +1 -0
- package/esm/src/cli/atomicText.js +33 -0
- package/esm/src/cli/atomicText.js.map +1 -0
- package/esm/src/cli/bunLocalDev.d.ts +65 -0
- package/esm/src/cli/bunLocalDev.d.ts.map +1 -0
- package/esm/src/cli/bunLocalDev.js +459 -0
- package/esm/src/cli/bunLocalDev.js.map +1 -0
- package/esm/src/cli/bunProject.d.ts +30 -0
- package/esm/src/cli/bunProject.d.ts.map +1 -0
- package/esm/src/cli/bunProject.js +309 -0
- package/esm/src/cli/bunProject.js.map +1 -0
- package/esm/src/cli/cliBootstrap.d.ts +83 -0
- package/esm/src/cli/cliBootstrap.d.ts.map +1 -0
- package/esm/src/cli/cliBootstrap.js +186 -0
- package/esm/src/cli/cliBootstrap.js.map +1 -0
- package/esm/src/cli/externalSkills.d.ts.map +1 -1
- package/esm/src/cli/externalSkills.js +9 -5
- package/esm/src/cli/externalSkills.js.map +1 -0
- package/esm/src/cli/filesR2Policy.d.ts.map +1 -1
- package/esm/src/cli/filesR2Policy.js +18 -11
- package/esm/src/cli/filesR2Policy.js.map +1 -0
- package/esm/src/cli/generatedBuild.d.ts +42 -0
- package/esm/src/cli/generatedBuild.d.ts.map +1 -0
- package/esm/src/cli/generatedBuild.js +259 -0
- package/esm/src/cli/generatedBuild.js.map +1 -0
- package/esm/src/cli/generatedCleanup.d.ts +7 -0
- package/esm/src/cli/generatedCleanup.d.ts.map +1 -0
- package/esm/src/cli/generatedCleanup.js +67 -0
- package/esm/src/cli/generatedCleanup.js.map +1 -0
- package/esm/src/cli/generatedDevLease.d.ts +8 -0
- package/esm/src/cli/generatedDevLease.d.ts.map +1 -0
- package/esm/src/cli/generatedDevLease.js +39 -0
- package/esm/src/cli/generatedDevLease.js.map +1 -0
- package/esm/src/cli/generatedInstall.d.ts +64 -0
- package/esm/src/cli/generatedInstall.d.ts.map +1 -0
- package/esm/src/cli/generatedInstall.js +466 -0
- package/esm/src/cli/generatedInstall.js.map +1 -0
- package/esm/src/cli/generatedWorkflow.d.ts +34 -0
- package/esm/src/cli/generatedWorkflow.d.ts.map +1 -0
- package/esm/src/cli/generatedWorkflow.js +85 -0
- package/esm/src/cli/generatedWorkflow.js.map +1 -0
- package/esm/src/cli/legacyManagedOutputs.d.ts.map +1 -1
- package/esm/src/cli/legacyManagedOutputs.js +1 -0
- package/esm/src/cli/legacyManagedOutputs.js.map +1 -0
- package/esm/src/cli/localDb.d.ts.map +1 -1
- package/esm/src/cli/localDb.js +33 -28
- package/esm/src/cli/localDb.js.map +1 -0
- package/esm/src/cli/localDevLock.d.ts +9 -0
- package/esm/src/cli/localDevLock.d.ts.map +1 -1
- package/esm/src/cli/localDevLock.js +54 -13
- package/esm/src/cli/localDevLock.js.map +1 -0
- package/esm/src/cli/localDevPackage.d.ts +6 -11
- package/esm/src/cli/localDevPackage.d.ts.map +1 -1
- package/esm/src/cli/localDevPackage.js +51 -48
- package/esm/src/cli/localDevPackage.js.map +1 -0
- package/esm/src/cli/managedFiles.d.ts.map +1 -1
- package/esm/src/cli/managedFiles.js +34 -18
- package/esm/src/cli/managedFiles.js.map +1 -0
- package/esm/src/cli/migrationEnv.d.ts +16 -3
- package/esm/src/cli/migrationEnv.d.ts.map +1 -1
- package/esm/src/cli/migrationEnv.js +7 -4
- package/esm/src/cli/migrationEnv.js.map +1 -0
- package/esm/src/cli/mod.d.ts +19 -7
- package/esm/src/cli/mod.d.ts.map +1 -1
- package/esm/src/cli/mod.js +2010 -745
- package/esm/src/cli/mod.js.map +1 -0
- package/esm/src/cli/packageTreeSignature.d.ts +8 -0
- package/esm/src/cli/packageTreeSignature.d.ts.map +1 -0
- package/esm/src/cli/packageTreeSignature.js +60 -0
- package/esm/src/cli/packageTreeSignature.js.map +1 -0
- package/esm/src/cli/processIdentity.d.ts +7 -0
- package/esm/src/cli/processIdentity.d.ts.map +1 -0
- package/esm/src/cli/processIdentity.js +39 -0
- package/esm/src/cli/processIdentity.js.map +1 -0
- package/esm/src/cli/projectSkills.d.ts +1 -1
- package/esm/src/cli/projectSkills.d.ts.map +1 -1
- package/esm/src/cli/projectSkills.js +31 -23
- package/esm/src/cli/projectSkills.js.map +1 -0
- package/esm/src/cli/projectTooling.d.ts +6 -3
- package/esm/src/cli/projectTooling.d.ts.map +1 -1
- package/esm/src/cli/projectTooling.js +86 -41
- package/esm/src/cli/projectTooling.js.map +1 -0
- package/esm/src/cli/releaseConfig.d.ts.map +1 -1
- package/esm/src/cli/releaseConfig.js +5 -3
- package/esm/src/cli/releaseConfig.js.map +1 -0
- package/esm/src/cli/releaseCredentials.d.ts.map +1 -1
- package/esm/src/cli/releaseCredentials.js +19 -31
- package/esm/src/cli/releaseCredentials.js.map +1 -0
- package/esm/src/cli/releaseTrust.d.ts.map +1 -1
- package/esm/src/cli/releaseTrust.js +11 -4
- package/esm/src/cli/releaseTrust.js.map +1 -0
- package/esm/src/cli/releaseTrustCommand.d.ts.map +1 -1
- package/esm/src/cli/releaseTrustCommand.js +6 -4
- package/esm/src/cli/releaseTrustCommand.js.map +1 -0
- package/esm/src/cli/sourceConfig.d.ts +3 -0
- package/esm/src/cli/sourceConfig.d.ts.map +1 -0
- package/esm/src/cli/sourceConfig.js +91 -0
- package/esm/src/cli/sourceConfig.js.map +1 -0
- package/esm/src/cli/sourceDev.d.ts +77 -0
- package/esm/src/cli/sourceDev.d.ts.map +1 -0
- package/esm/src/cli/sourceDev.js +974 -0
- package/esm/src/cli/sourceDev.js.map +1 -0
- package/esm/src/cli/vercelBuildEnv.d.ts.map +1 -1
- package/esm/src/cli/vercelBuildEnv.js +21 -15
- package/esm/src/cli/vercelBuildEnv.js.map +1 -0
- package/esm/src/cli/vercelEnvMask.d.ts +2 -2
- package/esm/src/cli/vercelEnvMask.d.ts.map +1 -1
- package/esm/src/cli/vercelEnvMask.js +8 -4
- package/esm/src/cli/vercelEnvMask.js.map +1 -0
- package/esm/src/cli/vercelProjectRelease.d.ts.map +1 -1
- package/esm/src/cli/vercelProjectRelease.js +45 -22
- package/esm/src/cli/vercelProjectRelease.js.map +1 -0
- package/esm/src/cli/vercelPulledEnv.d.ts +1 -1
- package/esm/src/cli/vercelPulledEnv.d.ts.map +1 -1
- package/esm/src/cli/vercelPulledEnv.js +1 -0
- package/esm/src/cli/vercelPulledEnv.js.map +1 -0
- package/esm/src/clientData/identity.d.ts.map +1 -1
- package/esm/src/clientData/identity.js +1 -0
- package/esm/src/clientData/identity.js.map +1 -0
- package/esm/src/clientData/mod.d.ts +0 -1
- package/esm/src/clientData/mod.d.ts.map +1 -1
- package/esm/src/clientData/mod.js +1 -0
- package/esm/src/clientData/mod.js.map +1 -0
- package/esm/src/files/client.d.ts +1 -1
- package/esm/src/files/client.d.ts.map +1 -1
- package/esm/src/files/client.js +3 -4
- package/esm/src/files/client.js.map +1 -0
- package/esm/src/files/errors.d.ts.map +1 -1
- package/esm/src/files/errors.js +3 -12
- package/esm/src/files/errors.js.map +1 -0
- package/esm/src/files/hash.d.ts +1 -1
- package/esm/src/files/hash.d.ts.map +1 -1
- package/esm/src/files/hash.js +1 -0
- package/esm/src/files/hash.js.map +1 -0
- package/esm/src/files/memory.d.ts.map +1 -1
- package/esm/src/files/memory.js +2 -1
- package/esm/src/files/memory.js.map +1 -0
- package/esm/src/files/metadata.d.ts.map +1 -1
- package/esm/src/files/metadata.js +11 -18
- package/esm/src/files/metadata.js.map +1 -0
- package/esm/src/files/mod.d.ts +0 -1
- package/esm/src/files/mod.d.ts.map +1 -1
- package/esm/src/files/mod.js +1 -1
- package/esm/src/files/mod.js.map +1 -0
- package/esm/src/files/s3.d.ts.map +1 -1
- package/esm/src/files/s3.js +6 -4
- package/esm/src/files/s3.js.map +1 -0
- package/esm/src/files/service.d.ts.map +1 -1
- package/esm/src/files/service.js +3 -4
- package/esm/src/files/service.js.map +1 -0
- package/esm/src/files/types.d.ts.map +1 -1
- package/esm/src/files/types.js +1 -0
- package/esm/src/files/types.js.map +1 -0
- package/esm/src/jobs/catalog.d.ts.map +1 -1
- package/esm/src/jobs/catalog.js +5 -1
- package/esm/src/jobs/catalog.js.map +1 -0
- package/esm/src/jobs/controller.d.ts +1 -1
- package/esm/src/jobs/controller.d.ts.map +1 -1
- package/esm/src/jobs/controller.js +11 -55
- package/esm/src/jobs/controller.js.map +1 -0
- package/esm/src/jobs/direct.d.ts.map +1 -1
- package/esm/src/jobs/direct.js +3 -3
- package/esm/src/jobs/direct.js.map +1 -0
- package/esm/src/jobs/events.d.ts.map +1 -1
- package/esm/src/jobs/events.js +1 -0
- package/esm/src/jobs/events.js.map +1 -0
- package/esm/src/jobs/format.d.ts +5 -5
- package/esm/src/jobs/format.d.ts.map +1 -1
- package/esm/src/jobs/format.js +2 -1
- package/esm/src/jobs/format.js.map +1 -0
- package/esm/src/jobs/http.d.ts +3 -3
- package/esm/src/jobs/http.d.ts.map +1 -1
- package/esm/src/jobs/http.js +1 -0
- package/esm/src/jobs/http.js.map +1 -0
- package/esm/src/jobs/log.d.ts.map +1 -1
- package/esm/src/jobs/log.js +1 -0
- package/esm/src/jobs/log.js.map +1 -0
- package/esm/src/jobs/mod.d.ts.map +1 -1
- package/esm/src/jobs/mod.js +1 -0
- package/esm/src/jobs/mod.js.map +1 -0
- package/esm/src/jobs/run.d.ts.map +1 -1
- package/esm/src/jobs/run.js +1 -0
- package/esm/src/jobs/run.js.map +1 -0
- package/esm/src/jobs/sanitize.d.ts.map +1 -1
- package/esm/src/jobs/sanitize.js +1 -0
- package/esm/src/jobs/sanitize.js.map +1 -0
- package/esm/src/jobs/types.d.ts +1 -0
- package/esm/src/jobs/types.d.ts.map +1 -1
- package/esm/src/jobs/types.js +1 -0
- package/esm/src/jobs/types.js.map +1 -0
- package/esm/src/mail/errors.d.ts.map +1 -1
- package/esm/src/mail/errors.js +8 -42
- package/esm/src/mail/errors.js.map +1 -0
- package/esm/src/mail/memory.d.ts +1 -1
- package/esm/src/mail/memory.d.ts.map +1 -1
- package/esm/src/mail/memory.js +10 -14
- package/esm/src/mail/memory.js.map +1 -0
- package/esm/src/mail/mod.d.ts +0 -1
- package/esm/src/mail/mod.d.ts.map +1 -1
- package/esm/src/mail/mod.js +1 -1
- package/esm/src/mail/mod.js.map +1 -0
- package/esm/src/mail/postal.d.ts +1 -2
- package/esm/src/mail/postal.d.ts.map +1 -1
- package/esm/src/mail/postal.js +22 -18
- package/esm/src/mail/postal.js.map +1 -0
- package/esm/src/mail/retry.d.ts.map +1 -1
- package/esm/src/mail/retry.js +1 -0
- package/esm/src/mail/retry.js.map +1 -0
- package/esm/src/mail/sender.d.ts.map +1 -1
- package/esm/src/mail/sender.js +1 -0
- package/esm/src/mail/sender.js.map +1 -0
- package/esm/src/mail/service.d.ts.map +1 -1
- package/esm/src/mail/service.js +6 -7
- package/esm/src/mail/service.js.map +1 -0
- package/esm/src/mail/types.d.ts.map +1 -1
- package/esm/src/mail/types.js +1 -0
- package/esm/src/mail/types.js.map +1 -0
- package/esm/src/mui/apiKeys.d.ts +10 -11
- package/esm/src/mui/apiKeys.d.ts.map +1 -1
- package/esm/src/mui/apiKeys.js +83 -214
- package/esm/src/mui/apiKeys.js.map +1 -0
- package/esm/src/mui/apiKeysView.d.ts +1 -1
- package/esm/src/mui/apiKeysView.d.ts.map +1 -1
- package/esm/src/mui/apiKeysView.js +11 -9
- package/esm/src/mui/apiKeysView.js.map +1 -0
- package/esm/src/mui/confirm.d.ts +2 -2
- package/esm/src/mui/confirm.d.ts.map +1 -1
- package/esm/src/mui/confirm.js +3 -7
- package/esm/src/mui/confirm.js.map +1 -0
- package/esm/src/mui/mail.d.ts +4 -4
- package/esm/src/mui/mail.d.ts.map +1 -1
- package/esm/src/mui/mail.js +11 -71
- package/esm/src/mui/mail.js.map +1 -0
- package/esm/src/mui/mailView.d.ts +1 -1
- package/esm/src/mui/mailView.d.ts.map +1 -1
- package/esm/src/mui/mailView.js +1 -0
- package/esm/src/mui/mailView.js.map +1 -0
- package/esm/src/mui/mod.d.ts +0 -1
- package/esm/src/mui/mod.d.ts.map +1 -1
- package/esm/src/mui/mod.js +1 -0
- package/esm/src/mui/mod.js.map +1 -0
- package/esm/src/next/apiKeys/mod.d.ts +2 -3
- package/esm/src/next/apiKeys/mod.d.ts.map +1 -1
- package/esm/src/next/apiKeys/mod.js +6 -5
- package/esm/src/next/apiKeys/mod.js.map +1 -0
- package/esm/src/next/auth/client.d.ts +0 -1
- package/esm/src/next/auth/client.d.ts.map +1 -1
- package/esm/src/next/auth/client.js +1 -0
- package/esm/src/next/auth/client.js.map +1 -0
- package/esm/src/next/auth/config.d.ts.map +1 -1
- package/esm/src/next/auth/config.js +11 -17
- package/esm/src/next/auth/config.js.map +1 -0
- package/esm/src/next/auth/localTestLogin.d.ts.map +1 -1
- package/esm/src/next/auth/localTestLogin.js +13 -9
- package/esm/src/next/auth/localTestLogin.js.map +1 -0
- package/esm/src/next/auth/mod.d.ts.map +1 -1
- package/esm/src/next/auth/mod.js +1 -0
- package/esm/src/next/auth/mod.js.map +1 -0
- package/esm/src/next/auth/server.d.ts +2 -2
- package/esm/src/next/auth/server.d.ts.map +1 -1
- package/esm/src/next/auth/server.js +1 -0
- package/esm/src/next/auth/server.js.map +1 -0
- package/esm/src/next/files/mod.d.ts +0 -1
- package/esm/src/next/files/mod.d.ts.map +1 -1
- package/esm/src/next/files/mod.js +1 -1
- package/esm/src/next/files/mod.js.map +1 -0
- package/esm/src/next/files/route.d.ts +1 -1
- package/esm/src/next/files/route.d.ts.map +1 -1
- package/esm/src/next/files/route.js +11 -11
- package/esm/src/next/files/route.js.map +1 -0
- package/esm/src/next/jobs/list.d.ts +5 -5
- package/esm/src/next/jobs/list.d.ts.map +1 -1
- package/esm/src/next/jobs/list.js +15 -19
- package/esm/src/next/jobs/list.js.map +1 -0
- package/esm/src/next/jobs/mod.d.ts.map +1 -1
- package/esm/src/next/jobs/mod.js +1 -0
- package/esm/src/next/jobs/mod.js.map +1 -0
- package/esm/src/next/jobs/paths.d.ts +2 -2
- package/esm/src/next/jobs/paths.d.ts.map +1 -1
- package/esm/src/next/jobs/paths.js +1 -0
- package/esm/src/next/jobs/paths.js.map +1 -0
- package/esm/src/next/jobs/route.d.ts +2 -2
- package/esm/src/next/jobs/route.d.ts.map +1 -1
- package/esm/src/next/jobs/route.js +4 -4
- package/esm/src/next/jobs/route.js.map +1 -0
- package/esm/src/next/jobs/run.d.ts +2 -2
- package/esm/src/next/jobs/run.d.ts.map +1 -1
- package/esm/src/next/jobs/run.js +68 -132
- package/esm/src/next/jobs/run.js.map +1 -0
- package/esm/src/next/jobs/runRequest.d.ts +1 -1
- package/esm/src/next/jobs/runRequest.d.ts.map +1 -1
- package/esm/src/next/jobs/runRequest.js +3 -4
- package/esm/src/next/jobs/runRequest.js.map +1 -0
- package/esm/src/next/jobs/stream.d.ts.map +1 -1
- package/esm/src/next/jobs/stream.js +1 -0
- package/esm/src/next/jobs/stream.js.map +1 -0
- package/esm/src/next/mail/mod.d.ts +0 -1
- package/esm/src/next/mail/mod.d.ts.map +1 -1
- package/esm/src/next/mail/mod.js +1 -1
- package/esm/src/next/mail/mod.js.map +1 -0
- package/esm/src/next/mail/route.d.ts +2 -2
- package/esm/src/next/mail/route.d.ts.map +1 -1
- package/esm/src/next/mail/route.js +1 -0
- package/esm/src/next/mail/route.js.map +1 -0
- package/esm/src/next/pwa/mod.d.ts +0 -4
- package/esm/src/next/pwa/mod.d.ts.map +1 -1
- package/esm/src/next/pwa/mod.js +32 -16
- package/esm/src/next/pwa/mod.js.map +1 -0
- package/esm/src/next/pwa/worker.d.ts +0 -1
- package/esm/src/next/pwa/worker.d.ts.map +1 -1
- package/esm/src/next/pwa/worker.js +1 -0
- package/esm/src/next/pwa/worker.js.map +1 -0
- package/esm/src/next/secrets/constants.d.ts +3 -0
- package/esm/src/next/secrets/constants.d.ts.map +1 -0
- package/esm/src/next/secrets/constants.js +3 -0
- package/esm/src/next/secrets/constants.js.map +1 -0
- package/esm/src/next/secrets/mod.d.ts +1 -3
- package/esm/src/next/secrets/mod.d.ts.map +1 -1
- package/esm/src/next/secrets/mod.js +6 -7
- package/esm/src/next/secrets/mod.js.map +1 -0
- package/esm/src/next/sourceDev.d.ts +6 -0
- package/esm/src/next/sourceDev.d.ts.map +1 -0
- package/esm/src/next/sourceDev.js +41 -0
- package/esm/src/next/sourceDev.js.map +1 -0
- package/esm/src/secrets/encoding.d.ts.map +1 -1
- package/esm/src/secrets/encoding.js +1 -0
- package/esm/src/secrets/encoding.js.map +1 -0
- package/esm/src/secrets/errors.d.ts.map +1 -1
- package/esm/src/secrets/errors.js +3 -7
- package/esm/src/secrets/errors.js.map +1 -0
- package/esm/src/secrets/fingerprint.d.ts.map +1 -1
- package/esm/src/secrets/fingerprint.js +1 -0
- package/esm/src/secrets/fingerprint.js.map +1 -0
- package/esm/src/secrets/frame.d.ts.map +1 -1
- package/esm/src/secrets/frame.js +4 -3
- package/esm/src/secrets/frame.js.map +1 -0
- package/esm/src/secrets/keyring.d.ts.map +1 -1
- package/esm/src/secrets/keyring.js +6 -6
- package/esm/src/secrets/keyring.js.map +1 -0
- package/esm/src/secrets/legacy.d.ts +0 -1
- package/esm/src/secrets/legacy.d.ts.map +1 -1
- package/esm/src/secrets/legacy.js +13 -10
- package/esm/src/secrets/legacy.js.map +1 -0
- package/esm/src/secrets/maintenance.d.ts +0 -1
- package/esm/src/secrets/maintenance.d.ts.map +1 -1
- package/esm/src/secrets/maintenance.js +9 -24
- package/esm/src/secrets/maintenance.js.map +1 -0
- package/esm/src/secrets/mod.d.ts +0 -1
- package/esm/src/secrets/mod.d.ts.map +1 -1
- package/esm/src/secrets/mod.js +1 -1
- package/esm/src/secrets/mod.js.map +1 -0
- package/esm/src/secrets/secrets.d.ts.map +1 -1
- package/esm/src/secrets/secrets.js +38 -30
- package/esm/src/secrets/secrets.js.map +1 -0
- package/package.json +111 -135
- package/skills/loom/SKILL.md +40 -5
- package/skills/loom/references/esm-package.md +35 -0
- package/skills/loom/references/local-development.md +261 -29
- package/skills/loom-mail/SKILL.md +1 -0
- package/skills/upgrade-deps/SKILL.md +4 -2
- package/source/bin/loom.ts +50 -0
- package/source/mod.ts +10 -0
- package/source/src/apiKeys/authorize.ts +294 -0
- package/source/src/apiKeys/betterAuth.ts +253 -0
- package/source/src/apiKeys/country.ts +7 -0
- package/source/src/apiKeys/credentials.ts +171 -0
- package/source/src/apiKeys/fingerprint.ts +10 -0
- package/{script/src/apiKeys/lifecycle.d.ts → source/src/apiKeys/lifecycle.ts} +21 -23
- package/source/src/apiKeys/limits.ts +372 -0
- package/source/src/apiKeys/mod.ts +11 -0
- package/source/src/apiKeys/permissions.ts +153 -0
- package/source/src/apiKeys/policy.ts +189 -0
- package/source/src/apiKeys/retention.ts +136 -0
- package/source/src/apiKeys/types.ts +288 -0
- package/source/src/cli/atomicText.ts +38 -0
- package/source/src/cli/bunLocalDev.ts +646 -0
- package/source/src/cli/bunProject.ts +433 -0
- package/source/src/cli/cliBootstrap.ts +313 -0
- package/source/src/cli/externalSkills.ts +315 -0
- package/source/src/cli/filesR2Policy.ts +212 -0
- package/source/src/cli/generatedBuild.ts +380 -0
- package/source/src/cli/generatedCleanup.ts +87 -0
- package/source/src/cli/generatedDevLease.ts +52 -0
- package/source/src/cli/generatedInstall.ts +630 -0
- package/source/src/cli/generatedWorkflow.ts +135 -0
- package/{script/src/cli/legacyManagedOutputs.js → source/src/cli/legacyManagedOutputs.ts} +36 -30
- package/source/src/cli/localDb.ts +548 -0
- package/source/src/cli/localDevLock.ts +462 -0
- package/source/src/cli/localDevPackage.ts +754 -0
- package/source/src/cli/managedFiles.ts +688 -0
- package/source/src/cli/migrationEnv.ts +267 -0
- package/source/src/cli/mod.ts +26794 -0
- package/source/src/cli/packageTreeSignature.ts +65 -0
- package/source/src/cli/processIdentity.ts +38 -0
- package/source/src/cli/projectSkills.ts +1102 -0
- package/source/src/cli/projectTooling.ts +1140 -0
- package/source/src/cli/releaseConfig.ts +36 -0
- package/source/src/cli/releaseCredentials.ts +642 -0
- package/source/src/cli/releaseTrust.ts +194 -0
- package/source/src/cli/releaseTrustCommand.ts +210 -0
- package/source/src/cli/sourceConfig.ts +106 -0
- package/source/src/cli/sourceDev.ts +1279 -0
- package/source/src/cli/vercelBuildEnv.ts +714 -0
- package/source/src/cli/vercelEnvMask.ts +182 -0
- package/source/src/cli/vercelProjectRelease.ts +807 -0
- package/source/src/cli/vercelPulledEnv.ts +174 -0
- package/source/src/clientData/identity.ts +229 -0
- package/source/src/clientData/mod.ts +1 -0
- package/source/src/files/client.ts +75 -0
- package/source/src/files/errors.ts +69 -0
- package/source/src/files/hash.ts +109 -0
- package/source/src/files/memory.ts +158 -0
- package/source/src/files/metadata.ts +251 -0
- package/source/src/files/mod.ts +8 -0
- package/source/src/files/s3.ts +182 -0
- package/source/src/files/service.ts +210 -0
- package/source/src/files/types.ts +171 -0
- package/source/src/jobs/catalog.ts +303 -0
- package/source/src/jobs/controller.ts +156 -0
- package/source/src/jobs/direct.ts +177 -0
- package/source/src/jobs/events.ts +74 -0
- package/source/src/jobs/format.ts +233 -0
- package/source/src/jobs/http.ts +83 -0
- package/source/src/jobs/log.ts +10 -0
- package/source/src/jobs/mod.ts +10 -0
- package/source/src/jobs/run.ts +141 -0
- package/source/src/jobs/sanitize.ts +142 -0
- package/source/src/jobs/types.ts +43 -0
- package/source/src/mail/errors.ts +77 -0
- package/source/src/mail/memory.ts +451 -0
- package/source/src/mail/mod.ts +5 -0
- package/source/src/mail/postal.ts +363 -0
- package/source/src/mail/retry.ts +30 -0
- package/source/src/mail/sender.ts +57 -0
- package/source/src/mail/service.ts +252 -0
- package/source/src/mail/types.ts +229 -0
- package/source/src/mui/apiKeys.tsx +1044 -0
- package/source/src/mui/apiKeysView.ts +535 -0
- package/source/src/mui/confirm.tsx +138 -0
- package/source/src/mui/mail.tsx +279 -0
- package/source/src/mui/mailView.ts +50 -0
- package/source/src/mui/mod.ts +3 -0
- package/source/src/next/apiKeys/mod.ts +393 -0
- package/{script/src/next/auth/client.d.ts → source/src/next/auth/client.ts} +19 -5
- package/source/src/next/auth/config.ts +207 -0
- package/source/src/next/auth/localTestLogin.ts +412 -0
- package/source/src/next/auth/mod.ts +3 -0
- package/source/src/next/auth/server.ts +94 -0
- package/source/src/next/files/mod.ts +1 -0
- package/source/src/next/files/route.ts +621 -0
- package/source/src/next/jobs/list.tsx +90 -0
- package/source/src/next/jobs/mod.ts +5 -0
- package/source/src/next/jobs/paths.ts +70 -0
- package/source/src/next/jobs/route.ts +207 -0
- package/source/src/next/jobs/run.tsx +888 -0
- package/source/src/next/jobs/runRequest.ts +92 -0
- package/source/src/next/jobs/stream.ts +33 -0
- package/source/src/next/mail/mod.ts +1 -0
- package/source/src/next/mail/route.ts +75 -0
- package/source/src/next/pwa/mod.tsx +453 -0
- package/source/src/next/pwa/worker.ts +59 -0
- package/source/src/next/secrets/constants.ts +2 -0
- package/source/src/next/secrets/mod.ts +319 -0
- package/source/src/next/sourceDev.ts +50 -0
- package/source/src/secrets/encoding.ts +102 -0
- package/source/src/secrets/errors.ts +58 -0
- package/source/src/secrets/fingerprint.ts +132 -0
- package/source/src/secrets/frame.ts +119 -0
- package/source/src/secrets/keyring.ts +225 -0
- package/source/src/secrets/legacy.ts +244 -0
- package/source/src/secrets/maintenance.ts +517 -0
- package/source/src/secrets/mod.ts +38 -0
- package/source/src/secrets/secrets.ts +926 -0
- package/db/databaseTls.test.ts +0 -171
- package/db/databaseUrl.test.ts +0 -72
- package/db/neonEndpoint.test.ts +0 -51
- package/db/testing.test.ts +0 -28
- package/deno.json +0 -3
- package/esm/_dnt.polyfills.d.ts +0 -166
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -177
- package/esm/_dnt.shims.d.ts +0 -2
- package/esm/_dnt.shims.d.ts.map +0 -1
- package/esm/_dnt.shims.js +0 -57
- package/esm/package.json +0 -3
- package/script/_dnt.polyfills.d.ts +0 -166
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -180
- package/script/_dnt.shims.d.ts +0 -2
- package/script/_dnt.shims.d.ts.map +0 -1
- package/script/_dnt.shims.js +0 -60
- package/script/bin/loom.d.ts +0 -2
- package/script/bin/loom.d.ts.map +0 -1
- package/script/bin/loom.js +0 -17
- package/script/mod.d.ts +0 -12
- package/script/mod.d.ts.map +0 -1
- package/script/mod.js +0 -27
- package/script/package.json +0 -3
- package/script/src/apiKeys/authorize.d.ts +0 -4
- package/script/src/apiKeys/authorize.d.ts.map +0 -1
- package/script/src/apiKeys/authorize.js +0 -258
- package/script/src/apiKeys/betterAuth.d.ts +0 -123
- package/script/src/apiKeys/betterAuth.d.ts.map +0 -1
- package/script/src/apiKeys/betterAuth.js +0 -169
- package/script/src/apiKeys/country.d.ts +0 -3
- package/script/src/apiKeys/country.d.ts.map +0 -1
- package/script/src/apiKeys/country.js +0 -10
- package/script/src/apiKeys/credentials.d.ts +0 -39
- package/script/src/apiKeys/credentials.d.ts.map +0 -1
- package/script/src/apiKeys/credentials.js +0 -121
- package/script/src/apiKeys/fingerprint.d.ts +0 -3
- package/script/src/apiKeys/fingerprint.d.ts.map +0 -1
- package/script/src/apiKeys/fingerprint.js +0 -8
- package/script/src/apiKeys/lifecycle.d.ts.map +0 -1
- package/script/src/apiKeys/lifecycle.js +0 -7
- package/script/src/apiKeys/limits.d.ts +0 -132
- package/script/src/apiKeys/limits.d.ts.map +0 -1
- package/script/src/apiKeys/limits.js +0 -254
- package/script/src/apiKeys/mod.d.ts +0 -13
- package/script/src/apiKeys/mod.d.ts.map +0 -1
- package/script/src/apiKeys/mod.js +0 -28
- package/script/src/apiKeys/permissions.d.ts +0 -56
- package/script/src/apiKeys/permissions.d.ts.map +0 -1
- package/script/src/apiKeys/permissions.js +0 -136
- package/script/src/apiKeys/policy.d.ts +0 -61
- package/script/src/apiKeys/policy.d.ts.map +0 -1
- package/script/src/apiKeys/policy.js +0 -94
- package/script/src/apiKeys/retention.d.ts +0 -55
- package/script/src/apiKeys/retention.d.ts.map +0 -1
- package/script/src/apiKeys/retention.js +0 -70
- package/script/src/apiKeys/types.d.ts +0 -242
- package/script/src/apiKeys/types.d.ts.map +0 -1
- package/script/src/apiKeys/types.js +0 -2
- package/script/src/cli/externalSkills.d.ts +0 -39
- package/script/src/cli/externalSkills.d.ts.map +0 -1
- package/script/src/cli/externalSkills.js +0 -204
- package/script/src/cli/filesR2Policy.d.ts +0 -33
- package/script/src/cli/filesR2Policy.d.ts.map +0 -1
- package/script/src/cli/filesR2Policy.js +0 -135
- package/script/src/cli/legacyManagedOutputs.d.ts +0 -33
- package/script/src/cli/legacyManagedOutputs.d.ts.map +0 -1
- package/script/src/cli/localDb.d.ts +0 -28
- package/script/src/cli/localDb.d.ts.map +0 -1
- package/script/src/cli/localDb.js +0 -370
- package/script/src/cli/localDevLock.d.ts +0 -97
- package/script/src/cli/localDevLock.d.ts.map +0 -1
- package/script/src/cli/localDevLock.js +0 -320
- package/script/src/cli/localDevPackage.d.ts +0 -172
- package/script/src/cli/localDevPackage.d.ts.map +0 -1
- package/script/src/cli/localDevPackage.js +0 -635
- package/script/src/cli/managedFiles.d.ts +0 -131
- package/script/src/cli/managedFiles.d.ts.map +0 -1
- package/script/src/cli/managedFiles.js +0 -536
- package/script/src/cli/migrationEnv.d.ts +0 -63
- package/script/src/cli/migrationEnv.d.ts.map +0 -1
- package/script/src/cli/migrationEnv.js +0 -217
- package/script/src/cli/mod.d.ts +0 -582
- package/script/src/cli/mod.d.ts.map +0 -1
- package/script/src/cli/mod.js +0 -17010
- package/script/src/cli/projectSkills.d.ts +0 -109
- package/script/src/cli/projectSkills.d.ts.map +0 -1
- package/script/src/cli/projectSkills.js +0 -749
- package/script/src/cli/projectTooling.d.ts +0 -164
- package/script/src/cli/projectTooling.d.ts.map +0 -1
- package/script/src/cli/projectTooling.js +0 -847
- package/script/src/cli/releaseConfig.d.ts +0 -10
- package/script/src/cli/releaseConfig.d.ts.map +0 -1
- package/script/src/cli/releaseConfig.js +0 -26
- package/script/src/cli/releaseCredentials.d.ts +0 -32
- package/script/src/cli/releaseCredentials.d.ts.map +0 -1
- package/script/src/cli/releaseCredentials.js +0 -392
- package/script/src/cli/releaseTrust.d.ts +0 -39
- package/script/src/cli/releaseTrust.d.ts.map +0 -1
- package/script/src/cli/releaseTrust.js +0 -130
- package/script/src/cli/releaseTrustCommand.d.ts +0 -18
- package/script/src/cli/releaseTrustCommand.d.ts.map +0 -1
- package/script/src/cli/releaseTrustCommand.js +0 -145
- package/script/src/cli/vercelBuildEnv.d.ts +0 -62
- package/script/src/cli/vercelBuildEnv.d.ts.map +0 -1
- package/script/src/cli/vercelBuildEnv.js +0 -418
- package/script/src/cli/vercelEnvMask.d.ts +0 -38
- package/script/src/cli/vercelEnvMask.d.ts.map +0 -1
- package/script/src/cli/vercelEnvMask.js +0 -142
- package/script/src/cli/vercelProjectRelease.d.ts +0 -38
- package/script/src/cli/vercelProjectRelease.d.ts.map +0 -1
- package/script/src/cli/vercelProjectRelease.js +0 -607
- package/script/src/cli/vercelPulledEnv.d.ts +0 -65
- package/script/src/cli/vercelPulledEnv.d.ts.map +0 -1
- package/script/src/cli/vercelPulledEnv.js +0 -138
- package/script/src/clientData/identity.d.ts +0 -89
- package/script/src/clientData/identity.d.ts.map +0 -1
- package/script/src/clientData/identity.js +0 -134
- package/script/src/clientData/mod.d.ts +0 -3
- package/script/src/clientData/mod.d.ts.map +0 -1
- package/script/src/clientData/mod.js +0 -18
- package/script/src/files/client.d.ts +0 -29
- package/script/src/files/client.d.ts.map +0 -1
- package/script/src/files/client.js +0 -45
- package/script/src/files/errors.d.ts +0 -37
- package/script/src/files/errors.d.ts.map +0 -1
- package/script/src/files/errors.js +0 -76
- package/script/src/files/hash.d.ts +0 -15
- package/script/src/files/hash.d.ts.map +0 -1
- package/script/src/files/hash.js +0 -89
- package/script/src/files/memory.d.ts +0 -29
- package/script/src/files/memory.d.ts.map +0 -1
- package/script/src/files/memory.js +0 -113
- package/script/src/files/metadata.d.ts +0 -10
- package/script/src/files/metadata.d.ts.map +0 -1
- package/script/src/files/metadata.js +0 -189
- package/script/src/files/mod.d.ts +0 -10
- package/script/src/files/mod.d.ts.map +0 -1
- package/script/src/files/mod.js +0 -25
- package/script/src/files/s3.d.ts +0 -29
- package/script/src/files/s3.d.ts.map +0 -1
- package/script/src/files/s3.js +0 -110
- package/script/src/files/service.d.ts +0 -27
- package/script/src/files/service.d.ts.map +0 -1
- package/script/src/files/service.js +0 -139
- package/script/src/files/types.d.ts +0 -134
- package/script/src/files/types.d.ts.map +0 -1
- package/script/src/files/types.js +0 -2
- package/script/src/jobs/catalog.d.ts +0 -32
- package/script/src/jobs/catalog.d.ts.map +0 -1
- package/script/src/jobs/catalog.js +0 -223
- package/script/src/jobs/controller.d.ts +0 -41
- package/script/src/jobs/controller.d.ts.map +0 -1
- package/script/src/jobs/controller.js +0 -151
- package/script/src/jobs/direct.d.ts +0 -36
- package/script/src/jobs/direct.d.ts.map +0 -1
- package/script/src/jobs/direct.js +0 -128
- package/script/src/jobs/events.d.ts +0 -23
- package/script/src/jobs/events.d.ts.map +0 -1
- package/script/src/jobs/events.js +0 -50
- package/script/src/jobs/format.d.ts +0 -16
- package/script/src/jobs/format.d.ts.map +0 -1
- package/script/src/jobs/format.js +0 -193
- package/script/src/jobs/http.d.ts +0 -22
- package/script/src/jobs/http.d.ts.map +0 -1
- package/script/src/jobs/http.js +0 -50
- package/script/src/jobs/log.d.ts +0 -2
- package/script/src/jobs/log.d.ts.map +0 -1
- package/script/src/jobs/log.js +0 -13
- package/script/src/jobs/mod.d.ts +0 -11
- package/script/src/jobs/mod.d.ts.map +0 -1
- package/script/src/jobs/mod.js +0 -26
- package/script/src/jobs/run.d.ts +0 -39
- package/script/src/jobs/run.d.ts.map +0 -1
- package/script/src/jobs/run.js +0 -86
- package/script/src/jobs/sanitize.d.ts +0 -30
- package/script/src/jobs/sanitize.d.ts.map +0 -1
- package/script/src/jobs/sanitize.js +0 -97
- package/script/src/jobs/types.d.ts +0 -31
- package/script/src/jobs/types.d.ts.map +0 -1
- package/script/src/jobs/types.js +0 -2
- package/script/src/mail/errors.d.ts +0 -33
- package/script/src/mail/errors.d.ts.map +0 -1
- package/script/src/mail/errors.js +0 -97
- package/script/src/mail/memory.d.ts +0 -30
- package/script/src/mail/memory.d.ts.map +0 -1
- package/script/src/mail/memory.js +0 -345
- package/script/src/mail/mod.d.ts +0 -7
- package/script/src/mail/mod.d.ts.map +0 -1
- package/script/src/mail/mod.js +0 -22
- package/script/src/mail/postal.d.ts +0 -57
- package/script/src/mail/postal.d.ts.map +0 -1
- package/script/src/mail/postal.js +0 -251
- package/script/src/mail/retry.d.ts +0 -9
- package/script/src/mail/retry.d.ts.map +0 -1
- package/script/src/mail/retry.js +0 -22
- package/script/src/mail/sender.d.ts +0 -5
- package/script/src/mail/sender.d.ts.map +0 -1
- package/script/src/mail/sender.js +0 -52
- package/script/src/mail/service.d.ts +0 -23
- package/script/src/mail/service.d.ts.map +0 -1
- package/script/src/mail/service.js +0 -191
- package/script/src/mail/types.d.ts +0 -176
- package/script/src/mail/types.d.ts.map +0 -1
- package/script/src/mail/types.js +0 -2
- package/script/src/mui/apiKeys.d.ts +0 -171
- package/script/src/mui/apiKeys.d.ts.map +0 -1
- package/script/src/mui/apiKeys.js +0 -470
- package/script/src/mui/apiKeysView.d.ts +0 -193
- package/script/src/mui/apiKeysView.d.ts.map +0 -1
- package/script/src/mui/apiKeysView.js +0 -331
- package/script/src/mui/confirm.d.ts +0 -12
- package/script/src/mui/confirm.d.ts.map +0 -1
- package/script/src/mui/confirm.js +0 -85
- package/script/src/mui/mail.d.ts +0 -29
- package/script/src/mui/mail.d.ts.map +0 -1
- package/script/src/mui/mail.js +0 -159
- package/script/src/mui/mailView.d.ts +0 -20
- package/script/src/mui/mailView.d.ts.map +0 -1
- package/script/src/mui/mailView.js +0 -32
- package/script/src/mui/mod.d.ts +0 -5
- package/script/src/mui/mod.d.ts.map +0 -1
- package/script/src/mui/mod.js +0 -20
- package/script/src/next/apiKeys/mod.d.ts +0 -71
- package/script/src/next/apiKeys/mod.d.ts.map +0 -1
- package/script/src/next/apiKeys/mod.js +0 -227
- package/script/src/next/auth/client.d.ts.map +0 -1
- package/script/src/next/auth/client.js +0 -39
- package/script/src/next/auth/config.d.ts +0 -62
- package/script/src/next/auth/config.d.ts.map +0 -1
- package/script/src/next/auth/config.js +0 -178
- package/script/src/next/auth/localTestLogin.d.ts +0 -75
- package/script/src/next/auth/localTestLogin.d.ts.map +0 -1
- package/script/src/next/auth/localTestLogin.js +0 -291
- package/script/src/next/auth/mod.d.ts +0 -4
- package/script/src/next/auth/mod.d.ts.map +0 -1
- package/script/src/next/auth/mod.js +0 -19
- package/script/src/next/auth/server.d.ts +0 -44
- package/script/src/next/auth/server.d.ts.map +0 -1
- package/script/src/next/auth/server.js +0 -39
- package/script/src/next/files/mod.d.ts +0 -3
- package/script/src/next/files/mod.d.ts.map +0 -1
- package/script/src/next/files/mod.js +0 -18
- package/script/src/next/files/route.d.ts +0 -99
- package/script/src/next/files/route.d.ts.map +0 -1
- package/script/src/next/files/route.js +0 -353
- package/script/src/next/jobs/list.d.ts +0 -25
- package/script/src/next/jobs/list.d.ts.map +0 -1
- package/script/src/next/jobs/list.js +0 -48
- package/script/src/next/jobs/mod.d.ts +0 -6
- package/script/src/next/jobs/mod.d.ts.map +0 -1
- package/script/src/next/jobs/mod.js +0 -21
- package/script/src/next/jobs/paths.d.ts +0 -14
- package/script/src/next/jobs/paths.d.ts.map +0 -1
- package/script/src/next/jobs/paths.js +0 -47
- package/script/src/next/jobs/route.d.ts +0 -48
- package/script/src/next/jobs/route.d.ts.map +0 -1
- package/script/src/next/jobs/route.js +0 -105
- package/script/src/next/jobs/run.d.ts +0 -58
- package/script/src/next/jobs/run.d.ts.map +0 -1
- package/script/src/next/jobs/run.js +0 -592
- package/script/src/next/jobs/runRequest.d.ts +0 -19
- package/script/src/next/jobs/runRequest.d.ts.map +0 -1
- package/script/src/next/jobs/runRequest.js +0 -81
- package/script/src/next/jobs/stream.d.ts +0 -3
- package/script/src/next/jobs/stream.d.ts.map +0 -1
- package/script/src/next/jobs/stream.js +0 -28
- package/script/src/next/mail/mod.d.ts +0 -3
- package/script/src/next/mail/mod.d.ts.map +0 -1
- package/script/src/next/mail/mod.js +0 -18
- package/script/src/next/mail/route.d.ts +0 -12
- package/script/src/next/mail/route.d.ts.map +0 -1
- package/script/src/next/mail/route.js +0 -46
- package/script/src/next/pwa/mod.d.ts +0 -112
- package/script/src/next/pwa/mod.d.ts.map +0 -1
- package/script/src/next/pwa/mod.js +0 -303
- package/script/src/next/pwa/worker.d.ts +0 -27
- package/script/src/next/pwa/worker.d.ts.map +0 -1
- package/script/src/next/pwa/worker.js +0 -33
- package/script/src/next/secrets/mod.d.ts +0 -108
- package/script/src/next/secrets/mod.d.ts.map +0 -1
- package/script/src/next/secrets/mod.js +0 -218
- package/script/src/secrets/encoding.d.ts +0 -32
- package/script/src/secrets/encoding.d.ts.map +0 -1
- package/script/src/secrets/encoding.js +0 -95
- package/script/src/secrets/errors.d.ts +0 -45
- package/script/src/secrets/errors.d.ts.map +0 -1
- package/script/src/secrets/errors.js +0 -45
- package/script/src/secrets/fingerprint.d.ts +0 -43
- package/script/src/secrets/fingerprint.d.ts.map +0 -1
- package/script/src/secrets/fingerprint.js +0 -92
- package/script/src/secrets/frame.d.ts +0 -34
- package/script/src/secrets/frame.d.ts.map +0 -1
- package/script/src/secrets/frame.js +0 -91
- package/script/src/secrets/keyring.d.ts +0 -62
- package/script/src/secrets/keyring.d.ts.map +0 -1
- package/script/src/secrets/keyring.js +0 -202
- package/script/src/secrets/legacy.d.ts +0 -60
- package/script/src/secrets/legacy.d.ts.map +0 -1
- package/script/src/secrets/legacy.js +0 -186
- package/script/src/secrets/maintenance.d.ts +0 -173
- package/script/src/secrets/maintenance.d.ts.map +0 -1
- package/script/src/secrets/maintenance.js +0 -323
- package/script/src/secrets/mod.d.ts +0 -6
- package/script/src/secrets/mod.d.ts.map +0 -1
- package/script/src/secrets/mod.js +0 -24
- package/script/src/secrets/secrets.d.ts +0 -192
- package/script/src/secrets/secrets.d.ts.map +0 -1
- package/script/src/secrets/secrets.js +0 -532
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_BETTER_AUTH_SECRET_ENV = "BETTER_AUTH_SECRET";
|
|
2
|
-
export declare const DEFAULT_BETTER_AUTH_SECRETS_ENV = "BETTER_AUTH_SECRETS";
|
|
3
|
-
export declare const DEFAULT_BETTER_AUTH_DEPRECATED_SECRET_ENVS: readonly ["AUTH_SECRET", "NEXTAUTH_SECRET"];
|
|
4
|
-
export declare const DEFAULT_BETTER_AUTH_COOKIE_CACHE_MAX_AGE_SECONDS = 10;
|
|
5
|
-
export declare const DEFAULT_BETTER_AUTH_LOCAL_ALLOWED_HOSTS: readonly ["localhost:*", "127.0.0.1:*", "[::1]:*"];
|
|
6
|
-
export declare const DEFAULT_BETTER_AUTH_LOCAL_TRUSTED_ORIGINS: readonly ["http://localhost:*", "http://127.0.0.1:*", "http://[::1]:*"];
|
|
7
|
-
export type BetterAuthSecretResolution = {
|
|
8
|
-
deprecated: boolean;
|
|
9
|
-
preferredEnvName: string;
|
|
10
|
-
secret: string;
|
|
11
|
-
source: string;
|
|
12
|
-
};
|
|
13
|
-
type BetterAuthEnv = Record<string, string | undefined>;
|
|
14
|
-
export type ResolveBetterAuthSecretOptions = {
|
|
15
|
-
deprecatedEnvNames?: readonly string[];
|
|
16
|
-
env?: BetterAuthEnv;
|
|
17
|
-
preferredEnvName?: string;
|
|
18
|
-
versionedEnvName?: string;
|
|
19
|
-
};
|
|
20
|
-
export type RequireBetterAuthSecretOptions = ResolveBetterAuthSecretOptions & {
|
|
21
|
-
nodeEnv?: string | undefined;
|
|
22
|
-
onDeprecatedEnv?: ((resolution: BetterAuthSecretResolution) => void) | null;
|
|
23
|
-
};
|
|
24
|
-
export type CreateBetterAuthSessionConfigOptions = {
|
|
25
|
-
cookieCacheMaxAgeSeconds?: number;
|
|
26
|
-
};
|
|
27
|
-
export type CreateBetterAuthLocalDevelopmentConfigOptions = {
|
|
28
|
-
/** Loopback hosts Better Auth may derive from a local request. */
|
|
29
|
-
allowedHosts?: readonly string[];
|
|
30
|
-
/** Stable public URL used when the incoming host cannot be accepted. */
|
|
31
|
-
fallback?: string | undefined;
|
|
32
|
-
/** Browser origins allowed to call the local auth endpoints. */
|
|
33
|
-
trustedOrigins?: readonly string[];
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Creates a loopback-only Better Auth policy for local reverse proxies.
|
|
37
|
-
*
|
|
38
|
-
* Proxy headers are trusted so tools such as `vercel dev` retain their public
|
|
39
|
-
* localhost URL instead of leaking an internal worker port into OAuth
|
|
40
|
-
* callbacks. Only spread this config into a non-production Better Auth setup.
|
|
41
|
-
*/
|
|
42
|
-
export declare function createBetterAuthLocalDevelopmentConfig(options?: CreateBetterAuthLocalDevelopmentConfigOptions): {
|
|
43
|
-
advanced: {
|
|
44
|
-
trustedProxyHeaders: boolean;
|
|
45
|
-
};
|
|
46
|
-
baseURL: {
|
|
47
|
-
protocol: "http";
|
|
48
|
-
fallback?: string | undefined;
|
|
49
|
-
allowedHosts: string[];
|
|
50
|
-
};
|
|
51
|
-
trustedOrigins: string[];
|
|
52
|
-
};
|
|
53
|
-
export declare function createBetterAuthSessionConfig(options?: CreateBetterAuthSessionConfigOptions): {
|
|
54
|
-
cookieCache: {
|
|
55
|
-
enabled: boolean;
|
|
56
|
-
maxAge: number;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export declare function resolveBetterAuthSecret(options?: ResolveBetterAuthSecretOptions): BetterAuthSecretResolution | null;
|
|
60
|
-
export declare function requireBetterAuthSecret(options?: RequireBetterAuthSecretOptions): string;
|
|
61
|
-
export {};
|
|
62
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/src/next/auth/config.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,8BAA8B,uBAAuB,CAAC;AACnE,eAAO,MAAM,+BAA+B,wBAAwB,CAAC;AACrE,eAAO,MAAM,0CAA0C,6CAG7C,CAAC;AACX,eAAO,MAAM,gDAAgD,KAAK,CAAC;AACnE,eAAO,MAAM,uCAAuC,oDAI1C,CAAC;AACX,eAAO,MAAM,yCAAyC,yEAI5C,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAKxD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,8BAA8B,GAAG;IAC5E,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,eAAe,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE,0BAA0B,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;CAC7E,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,6CAA6C,GAAG;IAC1D,kEAAkE;IAClE,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,gEAAgE;IAChE,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CACpD,OAAO,GAAE,6CAAkD;;;;;;;;;;EAuB5D;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,GAAE,oCAAyC;;;;;EASnD;AAMD,wBAAgB,uBAAuB,CACrC,OAAO,GAAE,8BAAmC,GAC3C,0BAA0B,GAAG,IAAI,CA6EnC;AAED,wBAAgB,uBAAuB,CACrC,OAAO,GAAE,8BAAmC,UAuB7C"}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_TRUSTED_ORIGINS = exports.DEFAULT_BETTER_AUTH_LOCAL_ALLOWED_HOSTS = exports.DEFAULT_BETTER_AUTH_COOKIE_CACHE_MAX_AGE_SECONDS = exports.DEFAULT_BETTER_AUTH_DEPRECATED_SECRET_ENVS = exports.DEFAULT_BETTER_AUTH_SECRETS_ENV = exports.DEFAULT_BETTER_AUTH_SECRET_ENV = void 0;
|
|
37
|
-
exports.createBetterAuthLocalDevelopmentConfig = createBetterAuthLocalDevelopmentConfig;
|
|
38
|
-
exports.createBetterAuthSessionConfig = createBetterAuthSessionConfig;
|
|
39
|
-
exports.resolveBetterAuthSecret = resolveBetterAuthSecret;
|
|
40
|
-
exports.requireBetterAuthSecret = requireBetterAuthSecret;
|
|
41
|
-
const dntShim = __importStar(require("../../../_dnt.shims.js"));
|
|
42
|
-
exports.DEFAULT_BETTER_AUTH_SECRET_ENV = "BETTER_AUTH_SECRET";
|
|
43
|
-
exports.DEFAULT_BETTER_AUTH_SECRETS_ENV = "BETTER_AUTH_SECRETS";
|
|
44
|
-
exports.DEFAULT_BETTER_AUTH_DEPRECATED_SECRET_ENVS = [
|
|
45
|
-
"AUTH_SECRET",
|
|
46
|
-
"NEXTAUTH_SECRET",
|
|
47
|
-
];
|
|
48
|
-
exports.DEFAULT_BETTER_AUTH_COOKIE_CACHE_MAX_AGE_SECONDS = 10;
|
|
49
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_ALLOWED_HOSTS = [
|
|
50
|
-
"localhost:*",
|
|
51
|
-
"127.0.0.1:*",
|
|
52
|
-
"[::1]:*",
|
|
53
|
-
];
|
|
54
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_TRUSTED_ORIGINS = [
|
|
55
|
-
"http://localhost:*",
|
|
56
|
-
"http://127.0.0.1:*",
|
|
57
|
-
"http://[::1]:*",
|
|
58
|
-
];
|
|
59
|
-
/**
|
|
60
|
-
* Creates a loopback-only Better Auth policy for local reverse proxies.
|
|
61
|
-
*
|
|
62
|
-
* Proxy headers are trusted so tools such as `vercel dev` retain their public
|
|
63
|
-
* localhost URL instead of leaking an internal worker port into OAuth
|
|
64
|
-
* callbacks. Only spread this config into a non-production Better Auth setup.
|
|
65
|
-
*/
|
|
66
|
-
function createBetterAuthLocalDevelopmentConfig(options = {}) {
|
|
67
|
-
const fallback = options.fallback?.trim();
|
|
68
|
-
return {
|
|
69
|
-
advanced: {
|
|
70
|
-
trustedProxyHeaders: true,
|
|
71
|
-
},
|
|
72
|
-
baseURL: {
|
|
73
|
-
allowedHosts: [
|
|
74
|
-
...(options.allowedHosts ?? exports.DEFAULT_BETTER_AUTH_LOCAL_ALLOWED_HOSTS),
|
|
75
|
-
],
|
|
76
|
-
...(fallback ? { fallback } : {}),
|
|
77
|
-
protocol: "http",
|
|
78
|
-
},
|
|
79
|
-
trustedOrigins: [
|
|
80
|
-
...(options.trustedOrigins ?? exports.DEFAULT_BETTER_AUTH_LOCAL_TRUSTED_ORIGINS),
|
|
81
|
-
],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
function createBetterAuthSessionConfig(options = {}) {
|
|
85
|
-
return {
|
|
86
|
-
cookieCache: {
|
|
87
|
-
enabled: true,
|
|
88
|
-
maxAge: options.cookieCacheMaxAgeSeconds ??
|
|
89
|
-
exports.DEFAULT_BETTER_AUTH_COOKIE_CACHE_MAX_AGE_SECONDS,
|
|
90
|
-
},
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function getGlobalProcessEnv() {
|
|
94
|
-
return dntShim.dntGlobalThis.process?.env ?? {};
|
|
95
|
-
}
|
|
96
|
-
function resolveBetterAuthSecret(options = {}) {
|
|
97
|
-
const env = options.env ?? getGlobalProcessEnv();
|
|
98
|
-
const preferredEnvName = options.preferredEnvName ??
|
|
99
|
-
exports.DEFAULT_BETTER_AUTH_SECRET_ENV;
|
|
100
|
-
const versionedEnvName = options.versionedEnvName ??
|
|
101
|
-
exports.DEFAULT_BETTER_AUTH_SECRETS_ENV;
|
|
102
|
-
const deprecatedEnvNames = options.deprecatedEnvNames ??
|
|
103
|
-
exports.DEFAULT_BETTER_AUTH_DEPRECATED_SECRET_ENVS;
|
|
104
|
-
const versionedSecrets = env[versionedEnvName];
|
|
105
|
-
if (versionedSecrets) {
|
|
106
|
-
const seenVersions = new Set();
|
|
107
|
-
let currentSecret = "";
|
|
108
|
-
for (const [index, rawEntry] of versionedSecrets.split(",").entries()) {
|
|
109
|
-
const entry = rawEntry.trim();
|
|
110
|
-
const separatorIndex = entry.indexOf(":");
|
|
111
|
-
const version = separatorIndex < 0
|
|
112
|
-
? ""
|
|
113
|
-
: entry.slice(0, separatorIndex).trim();
|
|
114
|
-
const secret = separatorIndex < 0
|
|
115
|
-
? ""
|
|
116
|
-
: entry.slice(separatorIndex + 1).trim();
|
|
117
|
-
if (!/^(0|[1-9]\d*)$/.test(version) || !secret) {
|
|
118
|
-
throw new Error(`Invalid ${versionedEnvName}. Expected a comma-separated list such as \`2:new-secret,1:old-secret\`.`);
|
|
119
|
-
}
|
|
120
|
-
if (seenVersions.has(version)) {
|
|
121
|
-
throw new Error(`Invalid ${versionedEnvName}. Secret version ${version} is duplicated.`);
|
|
122
|
-
}
|
|
123
|
-
seenVersions.add(version);
|
|
124
|
-
if (index === 0) {
|
|
125
|
-
currentSecret = secret;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
// Better Auth reads BETTER_AUTH_SECRETS itself. Its `secret` option becomes
|
|
129
|
-
// the fallback for pre-rotation payloads, so preserve a legacy env value
|
|
130
|
-
// when one exists instead of accidentally replacing it with the new key.
|
|
131
|
-
const legacySecret = env[preferredEnvName] ?? deprecatedEnvNames
|
|
132
|
-
.map((envName) => env[envName])
|
|
133
|
-
.find((secret) => Boolean(secret));
|
|
134
|
-
return {
|
|
135
|
-
deprecated: false,
|
|
136
|
-
preferredEnvName,
|
|
137
|
-
secret: legacySecret ?? currentSecret,
|
|
138
|
-
source: versionedEnvName,
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
const preferredSecret = env[preferredEnvName];
|
|
142
|
-
if (preferredSecret) {
|
|
143
|
-
return {
|
|
144
|
-
deprecated: false,
|
|
145
|
-
preferredEnvName,
|
|
146
|
-
secret: preferredSecret,
|
|
147
|
-
source: preferredEnvName,
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
for (const envName of deprecatedEnvNames) {
|
|
151
|
-
const deprecatedSecret = env[envName];
|
|
152
|
-
if (!deprecatedSecret) {
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
return {
|
|
156
|
-
deprecated: true,
|
|
157
|
-
preferredEnvName,
|
|
158
|
-
secret: deprecatedSecret,
|
|
159
|
-
source: envName,
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
return null;
|
|
163
|
-
}
|
|
164
|
-
function requireBetterAuthSecret(options = {}) {
|
|
165
|
-
const resolution = resolveBetterAuthSecret(options);
|
|
166
|
-
if (!resolution) {
|
|
167
|
-
throw new Error(`Missing Better Auth secret. Set ${options.versionedEnvName ?? exports.DEFAULT_BETTER_AUTH_SECRETS_ENV} or ${options.preferredEnvName ?? exports.DEFAULT_BETTER_AUTH_SECRET_ENV}.`);
|
|
168
|
-
}
|
|
169
|
-
if (resolution.deprecated && options.nodeEnv !== "test") {
|
|
170
|
-
if (options.onDeprecatedEnv) {
|
|
171
|
-
options.onDeprecatedEnv(resolution);
|
|
172
|
-
}
|
|
173
|
-
else if (options.onDeprecatedEnv !== null) {
|
|
174
|
-
console.warn(`Deprecated auth secret env ${resolution.source} is being used for Better Auth. Rename it to ${resolution.preferredEnvName}.`);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
return resolution.secret;
|
|
178
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_ENV = "LOOM_LOCAL_TEST_LOGIN";
|
|
2
|
-
export declare const DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_MAX_BODY_BYTES: number;
|
|
3
|
-
type BetterAuthLocalTestLoginEnv = Record<string, string | undefined>;
|
|
4
|
-
type BetterAuthLocalTestLoginContext = {
|
|
5
|
-
password: {
|
|
6
|
-
hash(password: string): Promise<string>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
type BetterAuthLocalTestLoginAuth = {
|
|
10
|
-
$context: Promise<BetterAuthLocalTestLoginContext>;
|
|
11
|
-
handler(request: Request): Promise<Response>;
|
|
12
|
-
};
|
|
13
|
-
/** A fixed local identity selected by an opaque form value. */
|
|
14
|
-
export type BetterAuthLocalTestLoginIdentity = {
|
|
15
|
-
/** Same-origin application path used when the submitted callback is unsafe. */
|
|
16
|
-
defaultCallbackURL: string;
|
|
17
|
-
/** Dedicated identity email. Never populate this from request data. */
|
|
18
|
-
email: string;
|
|
19
|
-
/** Dedicated identity display name. Never populate this from request data. */
|
|
20
|
-
name: string;
|
|
21
|
-
/** Optional fixed local password. A process-local random value is the default. */
|
|
22
|
-
password?: string;
|
|
23
|
-
};
|
|
24
|
-
export type BetterAuthLocalTestLoginProvisionContext<TKey extends string, TIdentity extends BetterAuthLocalTestLoginIdentity = BetterAuthLocalTestLoginIdentity> = {
|
|
25
|
-
/** Fixed identity configuration selected from the app-owned allowlist. */
|
|
26
|
-
identity: TIdentity;
|
|
27
|
-
/** Exact allowlisted selector submitted by the local form. */
|
|
28
|
-
key: TKey;
|
|
29
|
-
/** Better Auth-compatible hash for the generated or configured password. */
|
|
30
|
-
passwordHash: string;
|
|
31
|
-
/** Generated or configured password used only for the internal sign-in call. */
|
|
32
|
-
password: string;
|
|
33
|
-
};
|
|
34
|
-
export type CreateBetterAuthLocalTestLoginHandlerOptions<TIdentities extends Record<string, BetterAuthLocalTestLoginIdentity>> = {
|
|
35
|
-
/** Better Auth instance whose email sign-in handler creates the session. */
|
|
36
|
-
auth: BetterAuthLocalTestLoginAuth;
|
|
37
|
-
/** Fixed application-owned identity map. Request data selects only its keys. */
|
|
38
|
-
identities: TIdentities;
|
|
39
|
-
/** Runtime environment used for the explicit local-only enablement gate. */
|
|
40
|
-
env: BetterAuthLocalTestLoginEnv;
|
|
41
|
-
/**
|
|
42
|
-
* Idempotently provision the fixed identity and credential account.
|
|
43
|
-
*
|
|
44
|
-
* App-specific grants and fixtures remain in this callback or in a separate
|
|
45
|
-
* explicit fixture; Loom never infers authorization from an identity key.
|
|
46
|
-
*/
|
|
47
|
-
provisionIdentity(context: BetterAuthLocalTestLoginProvisionContext<Extract<keyof TIdentities, string>, TIdentities[Extract<keyof TIdentities, string>]>): Promise<void>;
|
|
48
|
-
/** Better Auth base path. Defaults to `/api/auth`. */
|
|
49
|
-
authBasePath?: string;
|
|
50
|
-
/** Maximum accepted URL-encoded request body size. */
|
|
51
|
-
maxBodyBytes?: number;
|
|
52
|
-
/** Server-only opt-in environment name. */
|
|
53
|
-
optInEnvName?: string;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Returns whether developer UI login is explicitly enabled for this process.
|
|
57
|
-
*
|
|
58
|
-
* The helper deliberately rejects production/test modes and every Vercel
|
|
59
|
-
* runtime. Tests should pass an explicit development-shaped environment and
|
|
60
|
-
* exercise the handler with loopback requests.
|
|
61
|
-
*/
|
|
62
|
-
export declare function isBetterAuthLocalTestLoginEnabled(env: BetterAuthLocalTestLoginEnv, optInEnvName?: string): boolean;
|
|
63
|
-
/** Keep a callback on an application page of the current origin. */
|
|
64
|
-
export declare function safeBetterAuthLocalTestCallbackURL(value: unknown, fallback?: string): string;
|
|
65
|
-
/** Return a safe same-origin application callback path, or null. */
|
|
66
|
-
export declare function normalizeBetterAuthLocalTestCallbackURL(value: unknown): string | null;
|
|
67
|
-
/**
|
|
68
|
-
* Creates a POST-only, loopback-only Better Auth developer-login handler.
|
|
69
|
-
*
|
|
70
|
-
* All request/deployment guards run before the body is read, Better Auth hashes
|
|
71
|
-
* a credential, or the app provisioning callback can reach its database.
|
|
72
|
-
*/
|
|
73
|
-
export declare function createBetterAuthLocalTestLoginHandler<TIdentities extends Record<string, BetterAuthLocalTestLoginIdentity>>(options: CreateBetterAuthLocalTestLoginHandlerOptions<TIdentities>): (request: Request) => Promise<Response>;
|
|
74
|
-
export {};
|
|
75
|
-
//# sourceMappingURL=localTestLogin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"localTestLogin.d.ts","sourceRoot":"","sources":["../../../../src/src/next/auth/localTestLogin.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wCAAwC,0BAA0B,CAAC;AAChF,eAAO,MAAM,mDAAmD,QAAW,CAAC;AAE5E,KAAK,2BAA2B,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEtE,KAAK,+BAA+B,GAAG;IACrC,QAAQ,EAAE;QACR,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;KACzC,CAAC;CACH,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,OAAO,CAAC,+BAA+B,CAAC,CAAC;IACnD,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC9C,CAAC;AAEF,+DAA+D;AAC/D,MAAM,MAAM,gCAAgC,GAAG;IAC7C,+EAA+E;IAC/E,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC;IACb,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,wCAAwC,CAClD,IAAI,SAAS,MAAM,EACnB,SAAS,SAAS,gCAAgC,GAChD,gCAAgC,IAChC;IACF,0EAA0E;IAC1E,QAAQ,EAAE,SAAS,CAAC;IACpB,8DAA8D;IAC9D,GAAG,EAAE,IAAI,CAAC;IACV,4EAA4E;IAC5E,YAAY,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,4CAA4C,CACtD,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,IAClE;IACF,4EAA4E;IAC5E,IAAI,EAAE,4BAA4B,CAAC;IACnC,gFAAgF;IAChF,UAAU,EAAE,WAAW,CAAC;IACxB,4EAA4E;IAC5E,GAAG,EAAE,2BAA2B,CAAC;IACjC;;;;;OAKG;IACH,iBAAiB,CACf,OAAO,EAAE,wCAAwC,CAC/C,OAAO,CAAC,MAAM,WAAW,EAAE,MAAM,CAAC,EAClC,WAAW,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,MAAM,CAAC,CAAC,CAChD,GACA,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAC/C,GAAG,EAAE,2BAA2B,EAChC,YAAY,SAA2C,GACtD,OAAO,CAMT;AA6FD,oEAAoE;AACpE,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,OAAO,EACd,QAAQ,SAAM,GACb,MAAM,CAMR;AAED,oEAAoE;AACpE,wBAAgB,uCAAuC,CACrD,KAAK,EAAE,OAAO,GACb,MAAM,GAAG,IAAI,CA2Bf;AAyED;;;;;GAKG;AACH,wBAAgB,qCAAqC,CACnD,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,EAEpE,OAAO,EAAE,4CAA4C,CAAC,WAAW,CAAC,GACjE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAkGzC"}
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_MAX_BODY_BYTES = exports.DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_ENV = void 0;
|
|
4
|
-
exports.isBetterAuthLocalTestLoginEnabled = isBetterAuthLocalTestLoginEnabled;
|
|
5
|
-
exports.safeBetterAuthLocalTestCallbackURL = safeBetterAuthLocalTestCallbackURL;
|
|
6
|
-
exports.normalizeBetterAuthLocalTestCallbackURL = normalizeBetterAuthLocalTestCallbackURL;
|
|
7
|
-
exports.createBetterAuthLocalTestLoginHandler = createBetterAuthLocalTestLoginHandler;
|
|
8
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_ENV = "LOOM_LOCAL_TEST_LOGIN";
|
|
9
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_MAX_BODY_BYTES = 8 * 1024;
|
|
10
|
-
/**
|
|
11
|
-
* Returns whether developer UI login is explicitly enabled for this process.
|
|
12
|
-
*
|
|
13
|
-
* The helper deliberately rejects production/test modes and every Vercel
|
|
14
|
-
* runtime. Tests should pass an explicit development-shaped environment and
|
|
15
|
-
* exercise the handler with loopback requests.
|
|
16
|
-
*/
|
|
17
|
-
function isBetterAuthLocalTestLoginEnabled(env, optInEnvName = exports.DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_ENV) {
|
|
18
|
-
return env.NODE_ENV === "development" &&
|
|
19
|
-
env[optInEnvName] === "1" &&
|
|
20
|
-
!Object.entries(env).some(([name, value]) => name.startsWith("VERCEL") && Boolean(value));
|
|
21
|
-
}
|
|
22
|
-
function randomLocalPassword() {
|
|
23
|
-
return `${crypto.randomUUID()}${crypto.randomUUID()}`;
|
|
24
|
-
}
|
|
25
|
-
function isLoopbackHostname(hostname) {
|
|
26
|
-
const normalized = hostname.toLowerCase();
|
|
27
|
-
return normalized === "localhost" ||
|
|
28
|
-
normalized === "127.0.0.1" ||
|
|
29
|
-
normalized === "[::1]" ||
|
|
30
|
-
normalized === "::1";
|
|
31
|
-
}
|
|
32
|
-
function hasControlCharacters(value) {
|
|
33
|
-
return [...value].some((character) => {
|
|
34
|
-
const code = character.charCodeAt(0);
|
|
35
|
-
return code <= 0x1f || code === 0x7f;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function parseHttpOrigin(value) {
|
|
39
|
-
try {
|
|
40
|
-
const origin = new URL(value);
|
|
41
|
-
if (origin.protocol !== "http:" ||
|
|
42
|
-
origin.origin !== value ||
|
|
43
|
-
!isLoopbackHostname(origin.hostname)) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return origin;
|
|
47
|
-
}
|
|
48
|
-
catch {
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
function parseLoopbackHost(value) {
|
|
53
|
-
if (!value || /[\\/?#@]/.test(value) || hasControlCharacters(value)) {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
try {
|
|
57
|
-
const parsed = new URL(`http://${value}`);
|
|
58
|
-
if (!isLoopbackHostname(parsed.hostname))
|
|
59
|
-
return null;
|
|
60
|
-
return parsed.host;
|
|
61
|
-
}
|
|
62
|
-
catch {
|
|
63
|
-
return null;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function commaSeparatedValues(value) {
|
|
67
|
-
if (value === null)
|
|
68
|
-
return [];
|
|
69
|
-
const values = value.split(",").map((entry) => entry.trim());
|
|
70
|
-
return values.every(Boolean) ? values : [];
|
|
71
|
-
}
|
|
72
|
-
function requestLoopbackOrigin(request) {
|
|
73
|
-
const requestOrigin = parseHttpOrigin(new URL(request.url).origin);
|
|
74
|
-
const origin = request.headers.get("origin");
|
|
75
|
-
const parsedOrigin = origin ? parseHttpOrigin(origin) : null;
|
|
76
|
-
const host = request.headers.get("host");
|
|
77
|
-
const parsedHost = host ? parseLoopbackHost(host) : null;
|
|
78
|
-
if (!requestOrigin || !parsedOrigin || !parsedHost)
|
|
79
|
-
return null;
|
|
80
|
-
const forwardedHosts = commaSeparatedValues(request.headers.get("x-forwarded-host"));
|
|
81
|
-
if (request.headers.has("x-forwarded-host") &&
|
|
82
|
-
(forwardedHosts.length !== 1 || !parseLoopbackHost(forwardedHosts[0]))) {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
const forwardedProtocols = commaSeparatedValues(request.headers.get("x-forwarded-proto"));
|
|
86
|
-
if (request.headers.has("x-forwarded-proto") &&
|
|
87
|
-
(forwardedProtocols.length !== 1 ||
|
|
88
|
-
forwardedProtocols[0].toLowerCase() !== "http")) {
|
|
89
|
-
return null;
|
|
90
|
-
}
|
|
91
|
-
const effectivePublicHost = forwardedHosts.length
|
|
92
|
-
? parseLoopbackHost(forwardedHosts[0])
|
|
93
|
-
: parsedHost;
|
|
94
|
-
if (parsedOrigin.host !== effectivePublicHost)
|
|
95
|
-
return null;
|
|
96
|
-
return parsedOrigin;
|
|
97
|
-
}
|
|
98
|
-
/** Keep a callback on an application page of the current origin. */
|
|
99
|
-
function safeBetterAuthLocalTestCallbackURL(value, fallback = "/") {
|
|
100
|
-
const safeFallback = normalizeBetterAuthLocalTestCallbackURL(fallback);
|
|
101
|
-
if (!safeFallback) {
|
|
102
|
-
throw new Error("Invalid local test login fallback callback URL");
|
|
103
|
-
}
|
|
104
|
-
return normalizeBetterAuthLocalTestCallbackURL(value) ?? safeFallback;
|
|
105
|
-
}
|
|
106
|
-
/** Return a safe same-origin application callback path, or null. */
|
|
107
|
-
function normalizeBetterAuthLocalTestCallbackURL(value) {
|
|
108
|
-
if (typeof value !== "string" ||
|
|
109
|
-
!value.startsWith("/") ||
|
|
110
|
-
value.length > 4096) {
|
|
111
|
-
return null;
|
|
112
|
-
}
|
|
113
|
-
try {
|
|
114
|
-
const decoded = decodeURIComponent(value);
|
|
115
|
-
if (decoded.startsWith("//") || decoded.includes("\\") ||
|
|
116
|
-
hasControlCharacters(decoded)) {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
const url = new URL(value, "https://local-test.invalid");
|
|
120
|
-
if (url.origin !== "https://local-test.invalid" ||
|
|
121
|
-
/^\/api(?:\/|$)/.test(decodeURIComponent(url.pathname))) {
|
|
122
|
-
return null;
|
|
123
|
-
}
|
|
124
|
-
return url.pathname + url.search + url.hash;
|
|
125
|
-
}
|
|
126
|
-
catch {
|
|
127
|
-
return null;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
function contentLengthIsAllowed(request, maxBodyBytes) {
|
|
131
|
-
const value = request.headers.get("content-length");
|
|
132
|
-
if (value === null)
|
|
133
|
-
return true;
|
|
134
|
-
if (!/^(0|[1-9]\d*)$/.test(value))
|
|
135
|
-
return false;
|
|
136
|
-
return Number(value) <= maxBodyBytes;
|
|
137
|
-
}
|
|
138
|
-
async function readBoundedBody(request, maxBodyBytes) {
|
|
139
|
-
if (!request.body)
|
|
140
|
-
return "";
|
|
141
|
-
const reader = request.body.getReader();
|
|
142
|
-
const chunks = [];
|
|
143
|
-
let size = 0;
|
|
144
|
-
try {
|
|
145
|
-
while (true) {
|
|
146
|
-
const { done, value } = await reader.read();
|
|
147
|
-
if (done)
|
|
148
|
-
break;
|
|
149
|
-
size += value.byteLength;
|
|
150
|
-
if (size > maxBodyBytes) {
|
|
151
|
-
try {
|
|
152
|
-
await reader.cancel();
|
|
153
|
-
}
|
|
154
|
-
catch {
|
|
155
|
-
// The request is already rejected; a broken producer cannot escape.
|
|
156
|
-
}
|
|
157
|
-
return null;
|
|
158
|
-
}
|
|
159
|
-
chunks.push(value);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
catch {
|
|
163
|
-
try {
|
|
164
|
-
await reader.cancel();
|
|
165
|
-
}
|
|
166
|
-
catch {
|
|
167
|
-
// The request is already rejected; a broken producer cannot escape.
|
|
168
|
-
}
|
|
169
|
-
return null;
|
|
170
|
-
}
|
|
171
|
-
finally {
|
|
172
|
-
try {
|
|
173
|
-
reader.releaseLock();
|
|
174
|
-
}
|
|
175
|
-
catch {
|
|
176
|
-
// A failed stream read is handled as invalid input below.
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
const body = new Uint8Array(size);
|
|
180
|
-
let offset = 0;
|
|
181
|
-
for (const chunk of chunks) {
|
|
182
|
-
body.set(chunk, offset);
|
|
183
|
-
offset += chunk.byteLength;
|
|
184
|
-
}
|
|
185
|
-
try {
|
|
186
|
-
return new TextDecoder("utf-8", { fatal: true }).decode(body);
|
|
187
|
-
}
|
|
188
|
-
catch {
|
|
189
|
-
return null;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function notFoundResponse() {
|
|
193
|
-
return new Response("Not found", { status: 404 });
|
|
194
|
-
}
|
|
195
|
-
function getSetCookieValues(headers) {
|
|
196
|
-
const getSetCookie = headers.getSetCookie;
|
|
197
|
-
if (getSetCookie)
|
|
198
|
-
return getSetCookie.call(headers);
|
|
199
|
-
const value = headers.get("set-cookie");
|
|
200
|
-
return value ? [value] : [];
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* Creates a POST-only, loopback-only Better Auth developer-login handler.
|
|
204
|
-
*
|
|
205
|
-
* All request/deployment guards run before the body is read, Better Auth hashes
|
|
206
|
-
* a credential, or the app provisioning callback can reach its database.
|
|
207
|
-
*/
|
|
208
|
-
function createBetterAuthLocalTestLoginHandler(options) {
|
|
209
|
-
const enabled = isBetterAuthLocalTestLoginEnabled(options.env, options.optInEnvName);
|
|
210
|
-
const authBasePath = options.authBasePath ?? "/api/auth";
|
|
211
|
-
const maxBodyBytes = options.maxBodyBytes ??
|
|
212
|
-
exports.DEFAULT_BETTER_AUTH_LOCAL_TEST_LOGIN_MAX_BODY_BYTES;
|
|
213
|
-
if (!/^\/[A-Za-z0-9_-]+(?:\/[A-Za-z0-9_-]+)*$/.test(authBasePath)) {
|
|
214
|
-
throw new Error("Invalid Better Auth base path");
|
|
215
|
-
}
|
|
216
|
-
if (!Number.isSafeInteger(maxBodyBytes) || maxBodyBytes < 1) {
|
|
217
|
-
throw new Error("Invalid local test login body limit");
|
|
218
|
-
}
|
|
219
|
-
const passwords = new Map();
|
|
220
|
-
return async function localTestLogin(request) {
|
|
221
|
-
if (!enabled || request.method !== "POST")
|
|
222
|
-
return notFoundResponse();
|
|
223
|
-
const publicOrigin = requestLoopbackOrigin(request);
|
|
224
|
-
if (!publicOrigin)
|
|
225
|
-
return notFoundResponse();
|
|
226
|
-
const contentType = request.headers.get("content-type")?.split(";", 1)[0]
|
|
227
|
-
.trim().toLowerCase();
|
|
228
|
-
if (contentType !== "application/x-www-form-urlencoded" ||
|
|
229
|
-
!contentLengthIsAllowed(request, maxBodyBytes)) {
|
|
230
|
-
return new Response("Invalid request", { status: 400 });
|
|
231
|
-
}
|
|
232
|
-
const body = await readBoundedBody(request, maxBodyBytes);
|
|
233
|
-
if (body === null)
|
|
234
|
-
return new Response("Invalid request", { status: 400 });
|
|
235
|
-
const fields = new URLSearchParams(body);
|
|
236
|
-
const allowedFields = new Set(["identity", "callbackURL"]);
|
|
237
|
-
if ([...fields.keys()].some((key) => !allowedFields.has(key))) {
|
|
238
|
-
return new Response("Invalid request", { status: 400 });
|
|
239
|
-
}
|
|
240
|
-
const identityKeys = fields.getAll("identity");
|
|
241
|
-
const callbackValues = fields.getAll("callbackURL");
|
|
242
|
-
if (identityKeys.length !== 1 || callbackValues.length > 1) {
|
|
243
|
-
return new Response("Invalid request", { status: 400 });
|
|
244
|
-
}
|
|
245
|
-
const key = identityKeys[0];
|
|
246
|
-
if (!Object.prototype.hasOwnProperty.call(options.identities, key)) {
|
|
247
|
-
return new Response("Invalid request", { status: 400 });
|
|
248
|
-
}
|
|
249
|
-
const identity = options.identities[key];
|
|
250
|
-
const callbackURL = safeBetterAuthLocalTestCallbackURL(callbackValues[0], identity.defaultCallbackURL);
|
|
251
|
-
let password = passwords.get(key);
|
|
252
|
-
if (!password) {
|
|
253
|
-
password = identity.password?.trim() || randomLocalPassword();
|
|
254
|
-
passwords.set(key, password);
|
|
255
|
-
}
|
|
256
|
-
const context = await options.auth.$context;
|
|
257
|
-
const passwordHash = await context.password.hash(password);
|
|
258
|
-
await options.provisionIdentity({
|
|
259
|
-
identity,
|
|
260
|
-
key,
|
|
261
|
-
password,
|
|
262
|
-
passwordHash,
|
|
263
|
-
});
|
|
264
|
-
const signInHeaders = new Headers({
|
|
265
|
-
"content-type": "application/json",
|
|
266
|
-
origin: publicOrigin.origin,
|
|
267
|
-
});
|
|
268
|
-
const userAgent = request.headers.get("user-agent");
|
|
269
|
-
if (userAgent)
|
|
270
|
-
signInHeaders.set("user-agent", userAgent);
|
|
271
|
-
const signInResponse = await options.auth.handler(new Request(new URL(`${authBasePath}/sign-in/email`, publicOrigin), {
|
|
272
|
-
body: JSON.stringify({
|
|
273
|
-
email: identity.email,
|
|
274
|
-
password,
|
|
275
|
-
rememberMe: true,
|
|
276
|
-
}),
|
|
277
|
-
headers: signInHeaders,
|
|
278
|
-
method: "POST",
|
|
279
|
-
}));
|
|
280
|
-
if (!signInResponse.ok)
|
|
281
|
-
return signInResponse;
|
|
282
|
-
const responseHeaders = new Headers({ location: callbackURL });
|
|
283
|
-
for (const cookie of getSetCookieValues(signInResponse.headers)) {
|
|
284
|
-
responseHeaders.append("set-cookie", cookie);
|
|
285
|
-
}
|
|
286
|
-
return new Response(null, {
|
|
287
|
-
headers: responseHeaders,
|
|
288
|
-
status: 303,
|
|
289
|
-
});
|
|
290
|
-
};
|
|
291
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/src/next/auth/mod.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./config.js"), exports);
|
|
18
|
-
__exportStar(require("./localTestLogin.js"), exports);
|
|
19
|
-
__exportStar(require("./server.js"), exports);
|