@eventmodelers/node-kit 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -0
- package/package.json +36 -0
- package/src/cli.js +176 -0
- package/templates/.claude/skills/connect/SKILL.md +169 -0
- package/templates/.claude/skills/load-slice/SKILL.md +86 -0
- package/templates/realtime-agent/node_modules/.package-lock.json +107 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/LICENSE +21 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/README.md +190 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthAdminApi.d.ts +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthAdminApi.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthAdminApi.js +7 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthAdminApi.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthClient.d.ts +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthClient.js +7 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/AuthClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueAdminApi.d.ts +716 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueAdminApi.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueAdminApi.js +1108 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueAdminApi.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueClient.d.ts +2473 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueClient.js +5217 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/GoTrueClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/index.d.ts +9 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/index.js +20 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/index.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/base64url.d.ts +76 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/base64url.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/base64url.js +269 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/base64url.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/constants.d.ts +26 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/constants.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/constants.js +31 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/constants.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/error-codes.d.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/error-codes.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/error-codes.js +3 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/error-codes.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/errors.d.ts +258 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/errors.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/errors.js +290 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/errors.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/fetch.d.ts +54 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/fetch.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/fetch.js +200 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/fetch.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/helpers.d.ts +94 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/helpers.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/helpers.js +406 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/helpers.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/local-storage.d.ts +9 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/local-storage.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/local-storage.js +21 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/local-storage.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/locks.d.ts +107 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/locks.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/locks.js +349 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/locks.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/polyfills.d.ts +5 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/polyfills.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/polyfills.js +29 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/polyfills.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/types.d.ts +2498 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/types.js +23 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/types.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/version.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/version.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/version.js +11 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/version.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/ethereum.d.ts +96 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/ethereum.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/ethereum.js +66 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/ethereum.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/solana.d.ts +160 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/solana.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/solana.js +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/web3/solana.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.d.ts +284 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.dom.d.ts +583 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.dom.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.dom.js +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.dom.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.errors.d.ts +85 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.errors.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.errors.js +272 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.errors.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.js +707 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/main/lib/webauthn.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthAdminApi.d.ts +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthAdminApi.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthAdminApi.js +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthAdminApi.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthClient.d.ts +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthClient.js +4 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/AuthClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueAdminApi.d.ts +716 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueAdminApi.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueAdminApi.js +1105 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueAdminApi.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueClient.d.ts +2473 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueClient.js +5214 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/GoTrueClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/index.d.ts +9 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/index.js +9 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/index.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/base64url.d.ts +76 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/base64url.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/base64url.js +257 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/base64url.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/constants.d.ts +26 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/constants.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/constants.js +28 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/constants.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/error-codes.d.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/error-codes.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/error-codes.js +2 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/error-codes.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/errors.d.ts +258 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/errors.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/errors.js +267 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/errors.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/fetch.d.ts +54 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/fetch.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/fetch.js +190 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/fetch.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/helpers.d.ts +94 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/helpers.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/helpers.js +378 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/helpers.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/local-storage.d.ts +9 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/local-storage.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/local-storage.js +18 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/local-storage.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/locks.d.ts +107 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/locks.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/locks.js +341 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/locks.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/polyfills.d.ts +5 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/polyfills.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/polyfills.js +26 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/polyfills.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/types.d.ts +2498 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/types.js +20 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/types.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/version.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/version.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/version.js +8 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/version.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/ethereum.d.ts +96 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/ethereum.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/ethereum.js +60 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/ethereum.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/solana.d.ts +160 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/solana.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/solana.js +3 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/web3/solana.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.d.ts +284 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.dom.d.ts +583 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.dom.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.dom.js +3 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.dom.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.errors.d.ts +85 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.errors.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.errors.js +264 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.errors.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.js +689 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/module/lib/webauthn.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/tsconfig.module.tsbuildinfo +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/dist/tsconfig.tsbuildinfo +1 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/package.json +44 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/AuthAdminApi.ts +5 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/AuthClient.ts +5 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/GoTrueAdminApi.ts +1267 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/GoTrueClient.ts +6360 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/index.ts +13 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/base64url.ts +308 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/constants.ts +34 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/error-codes.ts +90 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/errors.ts +359 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/fetch.ts +320 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/helpers.ts +476 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/local-storage.ts +21 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/locks.ts +420 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/polyfills.ts +23 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/types.ts +2917 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/version.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/web3/ethereum.ts +184 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/web3/solana.ts +186 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/webauthn.dom.ts +636 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/webauthn.errors.ts +329 -0
- package/templates/realtime-agent/node_modules/@supabase/auth-js/src/lib/webauthn.ts +946 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/README.md +134 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/FunctionsClient.d.ts +177 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/FunctionsClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/FunctionsClient.js +309 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/FunctionsClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/helper.d.ts +3 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/helper.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/helper.js +11 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/helper.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/index.d.ts +3 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/index.js +12 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/index.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/types.d.ts +122 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/types.js +98 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/types.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/version.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/version.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/version.js +11 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/main/version.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/FunctionsClient.d.ts +177 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/FunctionsClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/FunctionsClient.js +305 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/FunctionsClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/helper.d.ts +3 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/helper.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/helper.js +7 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/helper.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/index.d.ts +3 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/index.js +3 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/index.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/types.d.ts +122 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/types.js +91 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/types.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/version.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/version.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/version.js +8 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/module/version.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/tsconfig.module.tsbuildinfo +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/dist/tsconfig.tsbuildinfo +1 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/package.json +52 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/src/FunctionsClient.ts +335 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/src/edge-runtime.d.ts +214 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/src/helper.ts +8 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/src/index.ts +10 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/src/types.ts +146 -0
- package/templates/realtime-agent/node_modules/@supabase/functions-js/src/version.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/LICENSE.md +22 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/README.md +121 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/ajax.js +116 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/channel.js +331 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/constants.js +35 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/index.js +212 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/longpoll.js +192 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/presence.js +208 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/push.js +134 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/serializer.js +133 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/socket.js +756 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/timer.js +48 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/types.js +184 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/assets/js/phoenix/utils.js +16 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/package.json +58 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/favicon.ico +0 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix-orange.png +0 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.cjs.js +1825 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.cjs.js.map +7 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.js +1847 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.min.js +2 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.mjs +1802 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.mjs.map +7 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/phoenix.png +0 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/ajax.d.ts +10 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/ajax.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/channel.d.ts +167 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/channel.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/constants.d.ts +36 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/constants.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/index.d.ts +10 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/longpoll.d.ts +29 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/longpoll.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/presence.d.ts +107 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/presence.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/push.d.ts +70 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/push.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/serializer.d.ts +74 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/serializer.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/socket.d.ts +291 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/socket.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/timer.d.ts +36 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/timer.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/types.d.ts +280 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/utils.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/priv/static/types/utils.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/phoenix/tsconfig.json +20 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/README.md +213 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.cjs +5025 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.cjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.d.cts +3828 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.d.cts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.d.mts +3828 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.d.mts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.mjs +5017 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/dist/index.mjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/package.json +69 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/PostgrestBuilder.ts +688 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/PostgrestClient.ts +447 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/PostgrestError.ts +41 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/PostgrestFilterBuilder.ts +2137 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/PostgrestQueryBuilder.ts +1703 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/PostgrestTransformBuilder.ts +981 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/constants.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/index.ts +34 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/select-query-parser/parser.ts +476 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/select-query-parser/result.ts +550 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/select-query-parser/types.ts +129 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/select-query-parser/utils.ts +704 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/types/common/common.ts +83 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/types/common/rpc.ts +148 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/types/feature-flags.ts +17 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/types/types.ts +161 -0
- package/templates/realtime-agent/node_modules/@supabase/postgrest-js/src/version.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/README.md +326 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeChannel.d.ts +442 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeChannel.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeChannel.js +719 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeChannel.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeClient.d.ts +275 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeClient.js +697 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimeClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimePresence.d.ts +62 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimePresence.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimePresence.js +43 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/RealtimePresence.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/index.d.ts +6 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/index.js +18 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/index.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/constants.d.ts +43 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/constants.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/constants.js +43 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/constants.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/normalizeChannelError.d.ts +10 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/normalizeChannelError.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/normalizeChannelError.js +29 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/normalizeChannelError.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/serializer.d.ts +33 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/serializer.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/serializer.js +155 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/serializer.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/transformers.d.ts +109 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/transformers.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/transformers.js +241 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/transformers.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/version.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/version.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/version.js +11 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/version.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/websocket-factory.d.ts +82 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/websocket-factory.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/websocket-factory.js +130 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/lib/websocket-factory.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/channelAdapter.d.ts +32 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/channelAdapter.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/channelAdapter.js +103 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/channelAdapter.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/presenceAdapter.d.ts +53 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/presenceAdapter.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/presenceAdapter.js +93 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/presenceAdapter.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/socketAdapter.d.ts +38 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/socketAdapter.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/socketAdapter.js +114 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/socketAdapter.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/types.d.ts +5 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/types.js +3 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/main/phoenix/types.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts +442 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.js +714 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts +275 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeClient.js +693 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimeClient.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts +62 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimePresence.js +38 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/RealtimePresence.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/index.d.ts +6 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/index.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/index.js +6 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/index.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/constants.d.ts +43 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/constants.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/constants.js +40 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/constants.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/normalizeChannelError.d.ts +10 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/normalizeChannelError.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/normalizeChannelError.js +26 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/normalizeChannelError.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/serializer.d.ts +33 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/serializer.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/serializer.js +152 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/serializer.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts +109 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/transformers.js +229 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/transformers.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/version.d.ts +2 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/version.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/version.js +8 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/version.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/websocket-factory.d.ts +82 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/websocket-factory.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/websocket-factory.js +126 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/lib/websocket-factory.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/channelAdapter.d.ts +32 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/channelAdapter.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/channelAdapter.js +100 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/channelAdapter.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/presenceAdapter.d.ts +53 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/presenceAdapter.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/presenceAdapter.js +90 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/presenceAdapter.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/socketAdapter.d.ts +38 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/socketAdapter.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/socketAdapter.js +111 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/socketAdapter.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/types.d.ts +5 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/types.d.ts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/types.js +2 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/module/phoenix/types.js.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/tsconfig.module.tsbuildinfo +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/dist/tsconfig.tsbuildinfo +1 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/package.json +58 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/RealtimeChannel.ts +1118 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/RealtimeClient.ts +868 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/RealtimePresence.ts +71 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/index.ts +53 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/lib/constants.ts +62 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/lib/normalizeChannelError.ts +30 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/lib/serializer.ts +203 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/lib/transformers.ts +270 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/lib/version.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/lib/websocket-factory.ts +204 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/phoenix/channelAdapter.ts +149 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/phoenix/presenceAdapter.ts +116 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/phoenix/socketAdapter.ts +168 -0
- package/templates/realtime-agent/node_modules/@supabase/realtime-js/src/phoenix/types.ts +32 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/README.md +1262 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.cjs +2995 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.cjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.d.cts +2956 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.d.cts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.d.mts +2956 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.d.mts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.mjs +2979 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/index.mjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/dist/umd/supabase.js +1 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/package.json +62 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/StorageClient.ts +98 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/index.ts +19 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/common/BaseApiClient.ts +104 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/common/errors.ts +160 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/common/fetch.ts +303 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/common/headers.ts +43 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/common/helpers.ts +146 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/constants.ts +4 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/types.ts +654 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/lib/version.ts +7 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/BlobDownloadBuilder.ts +62 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/StorageAnalyticsClient.ts +420 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/StorageBucketApi.ts +414 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/StorageFileApi.ts +1423 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/StorageVectorsClient.ts +644 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/StreamDownloadBuilder.ts +39 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/VectorBucketApi.ts +73 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/VectorDataApi.ts +98 -0
- package/templates/realtime-agent/node_modules/@supabase/storage-js/src/packages/VectorIndexApi.ts +90 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/README.md +238 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.cjs +89 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.cjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.d.cts +58 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.d.cts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.d.mts +58 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.d.mts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.mjs +88 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/cors.mjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.cjs +660 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.cjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.d.cts +616 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.d.cts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.d.mts +616 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.d.mts.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.mjs +607 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/index.mjs.map +1 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/dist/umd/supabase.js +24 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/package.json +122 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/SupabaseClient.ts +625 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/cors.ts +84 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/index.ts +106 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/SupabaseAuthClient.ts +8 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/constants.ts +35 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/fetch.ts +36 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/helpers.ts +98 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/rest/types/common/common.ts +93 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/rest/types/common/rpc.ts +158 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/types.ts +196 -0
- package/templates/realtime-agent/node_modules/@supabase/supabase-js/src/lib/version.ts +7 -0
- package/templates/realtime-agent/node_modules/iceberg-js/LICENSE +21 -0
- package/templates/realtime-agent/node_modules/iceberg-js/README.md +439 -0
- package/templates/realtime-agent/node_modules/iceberg-js/dist/index.cjs +596 -0
- package/templates/realtime-agent/node_modules/iceberg-js/dist/index.cjs.map +1 -0
- package/templates/realtime-agent/node_modules/iceberg-js/dist/index.d.cts +547 -0
- package/templates/realtime-agent/node_modules/iceberg-js/dist/index.d.ts +547 -0
- package/templates/realtime-agent/node_modules/iceberg-js/dist/index.mjs +587 -0
- package/templates/realtime-agent/node_modules/iceberg-js/dist/index.mjs.map +1 -0
- package/templates/realtime-agent/node_modules/iceberg-js/package.json +77 -0
- package/templates/realtime-agent/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/templates/realtime-agent/node_modules/tslib/LICENSE.txt +12 -0
- package/templates/realtime-agent/node_modules/tslib/README.md +164 -0
- package/templates/realtime-agent/node_modules/tslib/SECURITY.md +41 -0
- package/templates/realtime-agent/node_modules/tslib/modules/index.d.ts +38 -0
- package/templates/realtime-agent/node_modules/tslib/modules/index.js +70 -0
- package/templates/realtime-agent/node_modules/tslib/modules/package.json +3 -0
- package/templates/realtime-agent/node_modules/tslib/package.json +47 -0
- package/templates/realtime-agent/node_modules/tslib/tslib.d.ts +460 -0
- package/templates/realtime-agent/node_modules/tslib/tslib.es6.html +1 -0
- package/templates/realtime-agent/node_modules/tslib/tslib.es6.js +402 -0
- package/templates/realtime-agent/node_modules/tslib/tslib.es6.mjs +401 -0
- package/templates/realtime-agent/node_modules/tslib/tslib.html +1 -0
- package/templates/realtime-agent/node_modules/tslib/tslib.js +484 -0
- package/templates/realtime-agent/package-lock.json +114 -0
- package/templates/realtime-agent/package.json +11 -0
- package/templates/realtime-agent/src/index.js +152 -0
- package/templates/root/AGENT.md +37 -0
- package/templates/root/model.md +1 -0
- package/templates/root/prompt.md +91 -0
- package/templates/root/ralph.sh +47 -0
|
@@ -0,0 +1,716 @@
|
|
|
1
|
+
import { Fetch } from './lib/fetch';
|
|
2
|
+
import { AdminUserAttributes, GenerateLinkParams, GenerateLinkResponse, Pagination, User, UserResponse, GoTrueAdminMFAApi, PageParams, SignOutScope, GoTrueAdminOAuthApi, GoTrueAdminCustomProvidersApi, GoTrueAdminPasskeyApi, ExperimentalFeatureFlags } from './lib/types';
|
|
3
|
+
import { AuthError } from './lib/errors';
|
|
4
|
+
export default class GoTrueAdminApi {
|
|
5
|
+
/** Contains all MFA administration methods. */
|
|
6
|
+
mfa: GoTrueAdminMFAApi;
|
|
7
|
+
/**
|
|
8
|
+
* Contains all OAuth client administration methods.
|
|
9
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
10
|
+
*/
|
|
11
|
+
oauth: GoTrueAdminOAuthApi;
|
|
12
|
+
/** Contains all custom OIDC/OAuth provider administration methods. */
|
|
13
|
+
customProviders: GoTrueAdminCustomProvidersApi;
|
|
14
|
+
/**
|
|
15
|
+
* Contains all passkey administration methods.
|
|
16
|
+
*
|
|
17
|
+
* Requires `auth.experimental.passkey: true`; otherwise all methods throw.
|
|
18
|
+
*/
|
|
19
|
+
passkey: GoTrueAdminPasskeyApi;
|
|
20
|
+
protected url: string;
|
|
21
|
+
protected headers: {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
protected fetch: Fetch;
|
|
25
|
+
protected experimental: ExperimentalFeatureFlags;
|
|
26
|
+
/**
|
|
27
|
+
* Creates an admin API client that can be used to manage users and OAuth clients.
|
|
28
|
+
*
|
|
29
|
+
* @example Using supabase-js (recommended)
|
|
30
|
+
* ```ts
|
|
31
|
+
* import { createClient } from '@supabase/supabase-js'
|
|
32
|
+
*
|
|
33
|
+
* const supabase = createClient('https://xyzcompany.supabase.co', 'your-secret-key')
|
|
34
|
+
* const { data, error } = await supabase.auth.admin.listUsers()
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @example Standalone import for bundle-sensitive environments
|
|
38
|
+
* ```ts
|
|
39
|
+
* import { GoTrueAdminApi } from '@supabase/auth-js'
|
|
40
|
+
*
|
|
41
|
+
* const admin = new GoTrueAdminApi({
|
|
42
|
+
* url: 'https://xyzcompany.supabase.co/auth/v1',
|
|
43
|
+
* headers: { Authorization: `Bearer ${process.env.SUPABASE_SECRET_KEY}` },
|
|
44
|
+
* })
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
constructor({ url, headers, fetch, experimental, }: {
|
|
48
|
+
url: string;
|
|
49
|
+
headers?: {
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
};
|
|
52
|
+
fetch?: Fetch;
|
|
53
|
+
experimental?: ExperimentalFeatureFlags;
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* Removes a logged-in session.
|
|
57
|
+
* @param jwt A valid, logged-in JWT.
|
|
58
|
+
* @param scope The logout sope.
|
|
59
|
+
*
|
|
60
|
+
* @category Auth
|
|
61
|
+
* @subcategory Auth Admin
|
|
62
|
+
*/
|
|
63
|
+
signOut(jwt: string, scope?: SignOutScope): Promise<{
|
|
64
|
+
data: null;
|
|
65
|
+
error: AuthError | null;
|
|
66
|
+
}>;
|
|
67
|
+
/**
|
|
68
|
+
* Sends an invite link to an email address.
|
|
69
|
+
* @param email The email address of the user.
|
|
70
|
+
* @param options Additional options to be included when inviting.
|
|
71
|
+
*
|
|
72
|
+
* @category Auth
|
|
73
|
+
* @subcategory Auth Admin
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* - Sends an invite link to the user's email address.
|
|
77
|
+
* - The `inviteUserByEmail()` method is typically used by administrators to invite users to join the application.
|
|
78
|
+
* - Note that PKCE is not supported when using `inviteUserByEmail`. This is because the browser initiating the invite is often different from the browser accepting the invite which makes it difficult to provide the security guarantees required of the PKCE flow.
|
|
79
|
+
*
|
|
80
|
+
* @example Invite a user
|
|
81
|
+
* ```js
|
|
82
|
+
* const { data, error } = await supabase.auth.admin.inviteUserByEmail('email@example.com')
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @exampleResponse Invite a user
|
|
86
|
+
* ```json
|
|
87
|
+
* {
|
|
88
|
+
* "data": {
|
|
89
|
+
* "user": {
|
|
90
|
+
* "id": "11111111-1111-1111-1111-111111111111",
|
|
91
|
+
* "aud": "authenticated",
|
|
92
|
+
* "role": "authenticated",
|
|
93
|
+
* "email": "example@email.com",
|
|
94
|
+
* "invited_at": "2024-01-01T00:00:00Z",
|
|
95
|
+
* "phone": "",
|
|
96
|
+
* "confirmation_sent_at": "2024-01-01T00:00:00Z",
|
|
97
|
+
* "app_metadata": {
|
|
98
|
+
* "provider": "email",
|
|
99
|
+
* "providers": [
|
|
100
|
+
* "email"
|
|
101
|
+
* ]
|
|
102
|
+
* },
|
|
103
|
+
* "user_metadata": {},
|
|
104
|
+
* "identities": [
|
|
105
|
+
* {
|
|
106
|
+
* "identity_id": "22222222-2222-2222-2222-222222222222",
|
|
107
|
+
* "id": "11111111-1111-1111-1111-111111111111",
|
|
108
|
+
* "user_id": "11111111-1111-1111-1111-111111111111",
|
|
109
|
+
* "identity_data": {
|
|
110
|
+
* "email": "example@email.com",
|
|
111
|
+
* "email_verified": false,
|
|
112
|
+
* "phone_verified": false,
|
|
113
|
+
* "sub": "11111111-1111-1111-1111-111111111111"
|
|
114
|
+
* },
|
|
115
|
+
* "provider": "email",
|
|
116
|
+
* "last_sign_in_at": "2024-01-01T00:00:00Z",
|
|
117
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
118
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
119
|
+
* "email": "example@email.com"
|
|
120
|
+
* }
|
|
121
|
+
* ],
|
|
122
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
123
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
124
|
+
* "is_anonymous": false
|
|
125
|
+
* }
|
|
126
|
+
* },
|
|
127
|
+
* "error": null
|
|
128
|
+
* }
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
inviteUserByEmail(email: string, options?: {
|
|
132
|
+
/** A custom data object to store additional metadata about the user. This maps to the `auth.users.user_metadata` column. */
|
|
133
|
+
data?: object;
|
|
134
|
+
/** The URL which will be appended to the email link sent to the user's email address. Once clicked the user will end up on this URL. */
|
|
135
|
+
redirectTo?: string;
|
|
136
|
+
}): Promise<UserResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* Generates email links and OTPs to be sent via a custom email provider.
|
|
139
|
+
* @param email The user's email.
|
|
140
|
+
* @param options.password User password. For signup only.
|
|
141
|
+
* @param options.data Optional user metadata. For signup only.
|
|
142
|
+
* @param options.redirectTo The redirect url which should be appended to the generated link
|
|
143
|
+
*
|
|
144
|
+
* @category Auth
|
|
145
|
+
* @subcategory Auth Admin
|
|
146
|
+
*
|
|
147
|
+
* @remarks
|
|
148
|
+
* - The following types can be passed into `generateLink()`: `signup`, `magiclink`, `invite`, `recovery`, `email_change_current`, `email_change_new`, `phone_change`.
|
|
149
|
+
* - `generateLink()` only generates the email link for `email_change_email` if the **Secure email change** is enabled in your project's [email auth provider settings](/dashboard/project/_/auth/providers).
|
|
150
|
+
* - `generateLink()` handles the creation of the user for `signup`, `invite` and `magiclink`.
|
|
151
|
+
*
|
|
152
|
+
* @example Generate a signup link
|
|
153
|
+
* ```js
|
|
154
|
+
* const { data, error } = await supabase.auth.admin.generateLink({
|
|
155
|
+
* type: 'signup',
|
|
156
|
+
* email: 'email@example.com',
|
|
157
|
+
* password: 'secret'
|
|
158
|
+
* })
|
|
159
|
+
* ```
|
|
160
|
+
*
|
|
161
|
+
* @exampleResponse Generate a signup link
|
|
162
|
+
* ```json
|
|
163
|
+
* {
|
|
164
|
+
* "data": {
|
|
165
|
+
* "properties": {
|
|
166
|
+
* "action_link": "<LINK_TO_SEND_TO_USER>",
|
|
167
|
+
* "email_otp": "999999",
|
|
168
|
+
* "hashed_token": "<HASHED_TOKEN",
|
|
169
|
+
* "redirect_to": "<REDIRECT_URL>",
|
|
170
|
+
* "verification_type": "signup"
|
|
171
|
+
* },
|
|
172
|
+
* "user": {
|
|
173
|
+
* "id": "11111111-1111-1111-1111-111111111111",
|
|
174
|
+
* "aud": "authenticated",
|
|
175
|
+
* "role": "authenticated",
|
|
176
|
+
* "email": "email@example.com",
|
|
177
|
+
* "phone": "",
|
|
178
|
+
* "confirmation_sent_at": "2024-01-01T00:00:00Z",
|
|
179
|
+
* "app_metadata": {
|
|
180
|
+
* "provider": "email",
|
|
181
|
+
* "providers": [
|
|
182
|
+
* "email"
|
|
183
|
+
* ]
|
|
184
|
+
* },
|
|
185
|
+
* "user_metadata": {},
|
|
186
|
+
* "identities": [
|
|
187
|
+
* {
|
|
188
|
+
* "identity_id": "22222222-2222-2222-2222-222222222222",
|
|
189
|
+
* "id": "11111111-1111-1111-1111-111111111111",
|
|
190
|
+
* "user_id": "11111111-1111-1111-1111-111111111111",
|
|
191
|
+
* "identity_data": {
|
|
192
|
+
* "email": "email@example.com",
|
|
193
|
+
* "email_verified": false,
|
|
194
|
+
* "phone_verified": false,
|
|
195
|
+
* "sub": "11111111-1111-1111-1111-111111111111"
|
|
196
|
+
* },
|
|
197
|
+
* "provider": "email",
|
|
198
|
+
* "last_sign_in_at": "2024-01-01T00:00:00Z",
|
|
199
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
200
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
201
|
+
* "email": "email@example.com"
|
|
202
|
+
* }
|
|
203
|
+
* ],
|
|
204
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
205
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
206
|
+
* "is_anonymous": false
|
|
207
|
+
* }
|
|
208
|
+
* },
|
|
209
|
+
* "error": null
|
|
210
|
+
* }
|
|
211
|
+
* ```
|
|
212
|
+
*
|
|
213
|
+
* @example Generate an invite link
|
|
214
|
+
* ```js
|
|
215
|
+
* const { data, error } = await supabase.auth.admin.generateLink({
|
|
216
|
+
* type: 'invite',
|
|
217
|
+
* email: 'email@example.com'
|
|
218
|
+
* })
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
221
|
+
* @example Generate a magic link
|
|
222
|
+
* ```js
|
|
223
|
+
* const { data, error } = await supabase.auth.admin.generateLink({
|
|
224
|
+
* type: 'magiclink',
|
|
225
|
+
* email: 'email@example.com'
|
|
226
|
+
* })
|
|
227
|
+
* ```
|
|
228
|
+
*
|
|
229
|
+
* @example Generate a recovery link
|
|
230
|
+
* ```js
|
|
231
|
+
* const { data, error } = await supabase.auth.admin.generateLink({
|
|
232
|
+
* type: 'recovery',
|
|
233
|
+
* email: 'email@example.com'
|
|
234
|
+
* })
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* @example Generate links to change current email address
|
|
238
|
+
* ```js
|
|
239
|
+
* // generate an email change link to be sent to the current email address
|
|
240
|
+
* const { data, error } = await supabase.auth.admin.generateLink({
|
|
241
|
+
* type: 'email_change_current',
|
|
242
|
+
* email: 'current.email@example.com',
|
|
243
|
+
* newEmail: 'new.email@example.com'
|
|
244
|
+
* })
|
|
245
|
+
*
|
|
246
|
+
* // generate an email change link to be sent to the new email address
|
|
247
|
+
* const { data, error } = await supabase.auth.admin.generateLink({
|
|
248
|
+
* type: 'email_change_new',
|
|
249
|
+
* email: 'current.email@example.com',
|
|
250
|
+
* newEmail: 'new.email@example.com'
|
|
251
|
+
* })
|
|
252
|
+
* ```
|
|
253
|
+
*/
|
|
254
|
+
generateLink(params: GenerateLinkParams): Promise<GenerateLinkResponse>;
|
|
255
|
+
/**
|
|
256
|
+
* Creates a new user.
|
|
257
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
258
|
+
*
|
|
259
|
+
* @category Auth
|
|
260
|
+
* @subcategory Auth Admin
|
|
261
|
+
*
|
|
262
|
+
* @remarks
|
|
263
|
+
* - To confirm the user's email address or phone number, set `email_confirm` or `phone_confirm` to true. Both arguments default to false.
|
|
264
|
+
* - `createUser()` will not send a confirmation email to the user. You can use [`inviteUserByEmail()`](/docs/reference/javascript/auth-admin-inviteuserbyemail) if you want to send them an email invite instead.
|
|
265
|
+
* - If you are sure that the created user's email or phone number is legitimate and verified, you can set the `email_confirm` or `phone_confirm` param to `true`.
|
|
266
|
+
*
|
|
267
|
+
* @example With custom user metadata
|
|
268
|
+
* ```js
|
|
269
|
+
* const { data, error } = await supabase.auth.admin.createUser({
|
|
270
|
+
* email: 'user@email.com',
|
|
271
|
+
* password: 'password',
|
|
272
|
+
* user_metadata: { name: 'Yoda' }
|
|
273
|
+
* })
|
|
274
|
+
* ```
|
|
275
|
+
*
|
|
276
|
+
* @exampleResponse With custom user metadata
|
|
277
|
+
* ```json
|
|
278
|
+
* {
|
|
279
|
+
* data: {
|
|
280
|
+
* user: {
|
|
281
|
+
* id: '1',
|
|
282
|
+
* aud: 'authenticated',
|
|
283
|
+
* role: 'authenticated',
|
|
284
|
+
* email: 'example@email.com',
|
|
285
|
+
* email_confirmed_at: '2024-01-01T00:00:00Z',
|
|
286
|
+
* phone: '',
|
|
287
|
+
* confirmation_sent_at: '2024-01-01T00:00:00Z',
|
|
288
|
+
* confirmed_at: '2024-01-01T00:00:00Z',
|
|
289
|
+
* last_sign_in_at: '2024-01-01T00:00:00Z',
|
|
290
|
+
* app_metadata: {},
|
|
291
|
+
* user_metadata: {},
|
|
292
|
+
* identities: [
|
|
293
|
+
* {
|
|
294
|
+
* "identity_id": "22222222-2222-2222-2222-222222222222",
|
|
295
|
+
* "id": "1",
|
|
296
|
+
* "user_id": "1",
|
|
297
|
+
* "identity_data": {
|
|
298
|
+
* "email": "example@email.com",
|
|
299
|
+
* "email_verified": true,
|
|
300
|
+
* "phone_verified": false,
|
|
301
|
+
* "sub": "1"
|
|
302
|
+
* },
|
|
303
|
+
* "provider": "email",
|
|
304
|
+
* "last_sign_in_at": "2024-01-01T00:00:00Z",
|
|
305
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
306
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
307
|
+
* "email": "email@example.com"
|
|
308
|
+
* },
|
|
309
|
+
* ],
|
|
310
|
+
* created_at: '2024-01-01T00:00:00Z',
|
|
311
|
+
* updated_at: '2024-01-01T00:00:00Z',
|
|
312
|
+
* is_anonymous: false,
|
|
313
|
+
* }
|
|
314
|
+
* }
|
|
315
|
+
* error: null
|
|
316
|
+
* }
|
|
317
|
+
* ```
|
|
318
|
+
*
|
|
319
|
+
* @example Auto-confirm the user's email
|
|
320
|
+
* ```js
|
|
321
|
+
* const { data, error } = await supabase.auth.admin.createUser({
|
|
322
|
+
* email: 'user@email.com',
|
|
323
|
+
* email_confirm: true
|
|
324
|
+
* })
|
|
325
|
+
* ```
|
|
326
|
+
*
|
|
327
|
+
* @example Auto-confirm the user's phone number
|
|
328
|
+
* ```js
|
|
329
|
+
* const { data, error } = await supabase.auth.admin.createUser({
|
|
330
|
+
* phone: '1234567890',
|
|
331
|
+
* phone_confirm: true
|
|
332
|
+
* })
|
|
333
|
+
* ```
|
|
334
|
+
*/
|
|
335
|
+
createUser(attributes: AdminUserAttributes): Promise<UserResponse>;
|
|
336
|
+
/**
|
|
337
|
+
* Get a list of users.
|
|
338
|
+
*
|
|
339
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
340
|
+
* @param params An object which supports `page` and `perPage` as numbers, to alter the paginated results.
|
|
341
|
+
*
|
|
342
|
+
* @category Auth
|
|
343
|
+
* @subcategory Auth Admin
|
|
344
|
+
*
|
|
345
|
+
* @remarks
|
|
346
|
+
* - Defaults to return 50 users per page.
|
|
347
|
+
*
|
|
348
|
+
* @example Get a page of users
|
|
349
|
+
* ```js
|
|
350
|
+
* const { data: { users }, error } = await supabase.auth.admin.listUsers()
|
|
351
|
+
* ```
|
|
352
|
+
*
|
|
353
|
+
* @example Paginated list of users
|
|
354
|
+
* ```js
|
|
355
|
+
* const { data: { users }, error } = await supabase.auth.admin.listUsers({
|
|
356
|
+
* page: 1,
|
|
357
|
+
* perPage: 1000
|
|
358
|
+
* })
|
|
359
|
+
* ```
|
|
360
|
+
*/
|
|
361
|
+
listUsers(params?: PageParams): Promise<{
|
|
362
|
+
data: {
|
|
363
|
+
users: User[];
|
|
364
|
+
aud: string;
|
|
365
|
+
} & Pagination;
|
|
366
|
+
error: null;
|
|
367
|
+
} | {
|
|
368
|
+
data: {
|
|
369
|
+
users: [];
|
|
370
|
+
};
|
|
371
|
+
error: AuthError;
|
|
372
|
+
}>;
|
|
373
|
+
/**
|
|
374
|
+
* Get user by id.
|
|
375
|
+
*
|
|
376
|
+
* @param uid The user's unique identifier
|
|
377
|
+
*
|
|
378
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
379
|
+
*
|
|
380
|
+
* @category Auth
|
|
381
|
+
* @subcategory Auth Admin
|
|
382
|
+
*
|
|
383
|
+
* @remarks
|
|
384
|
+
* - Fetches the user object from the database based on the user's id.
|
|
385
|
+
* - The `getUserById()` method requires the user's id which maps to the `auth.users.id` column.
|
|
386
|
+
*
|
|
387
|
+
* @example Fetch the user object using the access_token jwt
|
|
388
|
+
* ```js
|
|
389
|
+
* const { data, error } = await supabase.auth.admin.getUserById(1)
|
|
390
|
+
* ```
|
|
391
|
+
*
|
|
392
|
+
* @exampleResponse Fetch the user object using the access_token jwt
|
|
393
|
+
* ```json
|
|
394
|
+
* {
|
|
395
|
+
* data: {
|
|
396
|
+
* user: {
|
|
397
|
+
* id: '1',
|
|
398
|
+
* aud: 'authenticated',
|
|
399
|
+
* role: 'authenticated',
|
|
400
|
+
* email: 'example@email.com',
|
|
401
|
+
* email_confirmed_at: '2024-01-01T00:00:00Z',
|
|
402
|
+
* phone: '',
|
|
403
|
+
* confirmation_sent_at: '2024-01-01T00:00:00Z',
|
|
404
|
+
* confirmed_at: '2024-01-01T00:00:00Z',
|
|
405
|
+
* last_sign_in_at: '2024-01-01T00:00:00Z',
|
|
406
|
+
* app_metadata: {},
|
|
407
|
+
* user_metadata: {},
|
|
408
|
+
* identities: [
|
|
409
|
+
* {
|
|
410
|
+
* "identity_id": "22222222-2222-2222-2222-222222222222",
|
|
411
|
+
* "id": "1",
|
|
412
|
+
* "user_id": "1",
|
|
413
|
+
* "identity_data": {
|
|
414
|
+
* "email": "example@email.com",
|
|
415
|
+
* "email_verified": true,
|
|
416
|
+
* "phone_verified": false,
|
|
417
|
+
* "sub": "1"
|
|
418
|
+
* },
|
|
419
|
+
* "provider": "email",
|
|
420
|
+
* "last_sign_in_at": "2024-01-01T00:00:00Z",
|
|
421
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
422
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
423
|
+
* "email": "email@example.com"
|
|
424
|
+
* },
|
|
425
|
+
* ],
|
|
426
|
+
* created_at: '2024-01-01T00:00:00Z',
|
|
427
|
+
* updated_at: '2024-01-01T00:00:00Z',
|
|
428
|
+
* is_anonymous: false,
|
|
429
|
+
* }
|
|
430
|
+
* }
|
|
431
|
+
* error: null
|
|
432
|
+
* }
|
|
433
|
+
* ```
|
|
434
|
+
*/
|
|
435
|
+
getUserById(uid: string): Promise<UserResponse>;
|
|
436
|
+
/**
|
|
437
|
+
* Updates the user data. Changes are applied directly without confirmation flows.
|
|
438
|
+
*
|
|
439
|
+
* @param uid The user's unique identifier
|
|
440
|
+
* @param attributes The data you want to update.
|
|
441
|
+
*
|
|
442
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
443
|
+
*
|
|
444
|
+
* @remarks
|
|
445
|
+
* **Important:** This is a server-side operation and does **not** trigger client-side
|
|
446
|
+
* `onAuthStateChange` listeners. The admin API has no connection to client state.
|
|
447
|
+
*
|
|
448
|
+
* To sync changes to the client after calling this method:
|
|
449
|
+
* 1. On the client, call `supabase.auth.refreshSession()` to fetch the updated user data
|
|
450
|
+
* 2. This will trigger the `TOKEN_REFRESHED` event and notify all listeners
|
|
451
|
+
*
|
|
452
|
+
* @example
|
|
453
|
+
* ```typescript
|
|
454
|
+
* // Server-side (Edge Function)
|
|
455
|
+
* const { data, error } = await supabase.auth.admin.updateUserById(
|
|
456
|
+
* userId,
|
|
457
|
+
* { user_metadata: { preferences: { theme: 'dark' } } }
|
|
458
|
+
* )
|
|
459
|
+
*
|
|
460
|
+
* // Client-side (to sync the changes)
|
|
461
|
+
* const { data, error } = await supabase.auth.refreshSession()
|
|
462
|
+
* // onAuthStateChange listeners will now be notified with updated user
|
|
463
|
+
* ```
|
|
464
|
+
*
|
|
465
|
+
* @see {@link GoTrueClient.refreshSession} for syncing admin changes to the client
|
|
466
|
+
* @see {@link GoTrueClient.updateUser} for client-side user updates (triggers listeners automatically)
|
|
467
|
+
*
|
|
468
|
+
* @category Auth
|
|
469
|
+
* @subcategory Auth Admin
|
|
470
|
+
*
|
|
471
|
+
* @example Updates a user's email
|
|
472
|
+
* ```js
|
|
473
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
474
|
+
* '11111111-1111-1111-1111-111111111111',
|
|
475
|
+
* { email: 'new@email.com' }
|
|
476
|
+
* )
|
|
477
|
+
* ```
|
|
478
|
+
*
|
|
479
|
+
* @exampleResponse Updates a user's email
|
|
480
|
+
* ```json
|
|
481
|
+
* {
|
|
482
|
+
* "data": {
|
|
483
|
+
* "user": {
|
|
484
|
+
* "id": "11111111-1111-1111-1111-111111111111",
|
|
485
|
+
* "aud": "authenticated",
|
|
486
|
+
* "role": "authenticated",
|
|
487
|
+
* "email": "new@email.com",
|
|
488
|
+
* "email_confirmed_at": "2024-01-01T00:00:00Z",
|
|
489
|
+
* "phone": "",
|
|
490
|
+
* "confirmed_at": "2024-01-01T00:00:00Z",
|
|
491
|
+
* "recovery_sent_at": "2024-01-01T00:00:00Z",
|
|
492
|
+
* "last_sign_in_at": "2024-01-01T00:00:00Z",
|
|
493
|
+
* "app_metadata": {
|
|
494
|
+
* "provider": "email",
|
|
495
|
+
* "providers": [
|
|
496
|
+
* "email"
|
|
497
|
+
* ]
|
|
498
|
+
* },
|
|
499
|
+
* "user_metadata": {
|
|
500
|
+
* "email": "example@email.com",
|
|
501
|
+
* "email_verified": false,
|
|
502
|
+
* "phone_verified": false,
|
|
503
|
+
* "sub": "11111111-1111-1111-1111-111111111111"
|
|
504
|
+
* },
|
|
505
|
+
* "identities": [
|
|
506
|
+
* {
|
|
507
|
+
* "identity_id": "22222222-2222-2222-2222-222222222222",
|
|
508
|
+
* "id": "11111111-1111-1111-1111-111111111111",
|
|
509
|
+
* "user_id": "11111111-1111-1111-1111-111111111111",
|
|
510
|
+
* "identity_data": {
|
|
511
|
+
* "email": "example@email.com",
|
|
512
|
+
* "email_verified": false,
|
|
513
|
+
* "phone_verified": false,
|
|
514
|
+
* "sub": "11111111-1111-1111-1111-111111111111"
|
|
515
|
+
* },
|
|
516
|
+
* "provider": "email",
|
|
517
|
+
* "last_sign_in_at": "2024-01-01T00:00:00Z",
|
|
518
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
519
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
520
|
+
* "email": "example@email.com"
|
|
521
|
+
* }
|
|
522
|
+
* ],
|
|
523
|
+
* "created_at": "2024-01-01T00:00:00Z",
|
|
524
|
+
* "updated_at": "2024-01-01T00:00:00Z",
|
|
525
|
+
* "is_anonymous": false
|
|
526
|
+
* }
|
|
527
|
+
* },
|
|
528
|
+
* "error": null
|
|
529
|
+
* }
|
|
530
|
+
* ```
|
|
531
|
+
*
|
|
532
|
+
* @example Updates a user's password
|
|
533
|
+
* ```js
|
|
534
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
535
|
+
* '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
|
|
536
|
+
* { password: 'new_password' }
|
|
537
|
+
* )
|
|
538
|
+
* ```
|
|
539
|
+
*
|
|
540
|
+
* @example Updates a user's metadata
|
|
541
|
+
* ```js
|
|
542
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
543
|
+
* '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
|
|
544
|
+
* { user_metadata: { hello: 'world' } }
|
|
545
|
+
* )
|
|
546
|
+
* ```
|
|
547
|
+
*
|
|
548
|
+
* @example Updates a user's app_metadata
|
|
549
|
+
* ```js
|
|
550
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
551
|
+
* '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
|
|
552
|
+
* { app_metadata: { plan: 'trial' } }
|
|
553
|
+
* )
|
|
554
|
+
* ```
|
|
555
|
+
*
|
|
556
|
+
* @example Confirms a user's email address
|
|
557
|
+
* ```js
|
|
558
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
559
|
+
* '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
|
|
560
|
+
* { email_confirm: true }
|
|
561
|
+
* )
|
|
562
|
+
* ```
|
|
563
|
+
*
|
|
564
|
+
* @example Confirms a user's phone number
|
|
565
|
+
* ```js
|
|
566
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
567
|
+
* '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
|
|
568
|
+
* { phone_confirm: true }
|
|
569
|
+
* )
|
|
570
|
+
* ```
|
|
571
|
+
*
|
|
572
|
+
* @example Ban a user for 100 years
|
|
573
|
+
* ```js
|
|
574
|
+
* const { data: user, error } = await supabase.auth.admin.updateUserById(
|
|
575
|
+
* '6aa5d0d4-2a9f-4483-b6c8-0cf4c6c98ac4',
|
|
576
|
+
* { ban_duration: '876000h' }
|
|
577
|
+
* )
|
|
578
|
+
* ```
|
|
579
|
+
*/
|
|
580
|
+
updateUserById(uid: string, attributes: AdminUserAttributes): Promise<UserResponse>;
|
|
581
|
+
/**
|
|
582
|
+
* Delete a user. Requires a `service_role` key.
|
|
583
|
+
*
|
|
584
|
+
* @param id The user id you want to remove.
|
|
585
|
+
* @param shouldSoftDelete If true, then the user will be soft-deleted from the auth schema. Soft deletion allows user identification from the hashed user ID but is not reversible.
|
|
586
|
+
* Defaults to false for backward compatibility.
|
|
587
|
+
*
|
|
588
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
589
|
+
*
|
|
590
|
+
* @category Auth
|
|
591
|
+
* @subcategory Auth Admin
|
|
592
|
+
*
|
|
593
|
+
* @remarks
|
|
594
|
+
* - The `deleteUser()` method requires the user's ID, which maps to the `auth.users.id` column.
|
|
595
|
+
*
|
|
596
|
+
* @example Removes a user
|
|
597
|
+
* ```js
|
|
598
|
+
* const { data, error } = await supabase.auth.admin.deleteUser(
|
|
599
|
+
* '715ed5db-f090-4b8c-a067-640ecee36aa0'
|
|
600
|
+
* )
|
|
601
|
+
* ```
|
|
602
|
+
*
|
|
603
|
+
* @exampleResponse Removes a user
|
|
604
|
+
* ```json
|
|
605
|
+
* {
|
|
606
|
+
* "data": {
|
|
607
|
+
* "user": {}
|
|
608
|
+
* },
|
|
609
|
+
* "error": null
|
|
610
|
+
* }
|
|
611
|
+
* ```
|
|
612
|
+
*/
|
|
613
|
+
deleteUser(id: string, shouldSoftDelete?: boolean): Promise<UserResponse>;
|
|
614
|
+
private _listFactors;
|
|
615
|
+
private _deleteFactor;
|
|
616
|
+
/**
|
|
617
|
+
* Lists all OAuth clients with optional pagination.
|
|
618
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
619
|
+
*
|
|
620
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
621
|
+
*/
|
|
622
|
+
private _listOAuthClients;
|
|
623
|
+
/**
|
|
624
|
+
* Creates a new OAuth client.
|
|
625
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
626
|
+
*
|
|
627
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
628
|
+
*/
|
|
629
|
+
private _createOAuthClient;
|
|
630
|
+
/**
|
|
631
|
+
* Gets details of a specific OAuth client.
|
|
632
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
633
|
+
*
|
|
634
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
635
|
+
*/
|
|
636
|
+
private _getOAuthClient;
|
|
637
|
+
/**
|
|
638
|
+
* Updates an existing OAuth client.
|
|
639
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
640
|
+
*
|
|
641
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
642
|
+
*/
|
|
643
|
+
private _updateOAuthClient;
|
|
644
|
+
/**
|
|
645
|
+
* Deletes an OAuth client.
|
|
646
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
647
|
+
*
|
|
648
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
649
|
+
*/
|
|
650
|
+
private _deleteOAuthClient;
|
|
651
|
+
/**
|
|
652
|
+
* Regenerates the secret for an OAuth client.
|
|
653
|
+
* Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
654
|
+
*
|
|
655
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
656
|
+
*/
|
|
657
|
+
private _regenerateOAuthClientSecret;
|
|
658
|
+
/**
|
|
659
|
+
* Lists all custom providers with optional type filter.
|
|
660
|
+
*
|
|
661
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
662
|
+
*/
|
|
663
|
+
private _listCustomProviders;
|
|
664
|
+
/**
|
|
665
|
+
* Creates a new custom OIDC/OAuth provider.
|
|
666
|
+
*
|
|
667
|
+
* For OIDC providers, the server fetches and validates the OpenID Connect discovery document
|
|
668
|
+
* from the issuer's well-known endpoint (or the provided `discovery_url`) at creation time.
|
|
669
|
+
* This may return a validation error (`error_code: "validation_failed"`) if the discovery
|
|
670
|
+
* document is unreachable, not valid JSON, missing required fields, or if the issuer
|
|
671
|
+
* in the document does not match the expected issuer.
|
|
672
|
+
*
|
|
673
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
674
|
+
*/
|
|
675
|
+
private _createCustomProvider;
|
|
676
|
+
/**
|
|
677
|
+
* Gets details of a specific custom provider by identifier.
|
|
678
|
+
*
|
|
679
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
680
|
+
*/
|
|
681
|
+
private _getCustomProvider;
|
|
682
|
+
/**
|
|
683
|
+
* Updates an existing custom provider.
|
|
684
|
+
*
|
|
685
|
+
* When `issuer` or `discovery_url` is changed on an OIDC provider, the server re-fetches and
|
|
686
|
+
* validates the discovery document before persisting. This may return a validation error
|
|
687
|
+
* (`error_code: "validation_failed"`) if the discovery document is unreachable, invalid, or
|
|
688
|
+
* the issuer does not match.
|
|
689
|
+
*
|
|
690
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
691
|
+
*/
|
|
692
|
+
private _updateCustomProvider;
|
|
693
|
+
/**
|
|
694
|
+
* Deletes a custom provider.
|
|
695
|
+
*
|
|
696
|
+
* This function should only be called on a server. Never expose your `service_role` key in the browser.
|
|
697
|
+
*/
|
|
698
|
+
private _deleteCustomProvider;
|
|
699
|
+
/**
|
|
700
|
+
* Lists all passkeys for a user.
|
|
701
|
+
*
|
|
702
|
+
* This function should only be called on a server. Never expose your secret key in the browser.
|
|
703
|
+
*
|
|
704
|
+
* Requires `auth.experimental.passkey: true`.
|
|
705
|
+
*/
|
|
706
|
+
private _adminListPasskeys;
|
|
707
|
+
/**
|
|
708
|
+
* Deletes a user's passkey.
|
|
709
|
+
*
|
|
710
|
+
* This function should only be called on a server. Never expose your secret key in the browser.
|
|
711
|
+
*
|
|
712
|
+
* Requires `auth.experimental.passkey: true`.
|
|
713
|
+
*/
|
|
714
|
+
private _adminDeletePasskey;
|
|
715
|
+
}
|
|
716
|
+
//# sourceMappingURL=GoTrueAdminApi.d.ts.map
|