diff --git a/.github/workflows/docs-js-libs-update.yml b/.github/workflows/docs-js-libs-update.yml index 8848405c3ea66..0ec5bea40cdcf 100644 --- a/.github/workflows/docs-js-libs-update.yml +++ b/.github/workflows/docs-js-libs-update.yml @@ -4,14 +4,14 @@ on: workflow_dispatch: inputs: version: - description: "Version that was released (e.g., patch, minor, major, or v2.1.0)" + description: 'Version that was released (e.g., patch, minor, major, or v2.1.0)' required: true type: string source: - description: "Source of the documentation update" + description: 'Source of the documentation update' required: false type: string - default: "manual" + default: 'manual' permissions: pull-requests: write @@ -25,8 +25,6 @@ jobs: - uses: actions/checkout@v4 with: ref: master - sparse-checkout: | - apps/docs - uses: pnpm/action-setup@v4 name: Install pnpm @@ -36,8 +34,8 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version-file: ".nvmrc" - cache: "pnpm" + node-version-file: '.nvmrc' + cache: 'pnpm' - name: Install deps run: pnpm i @@ -50,12 +48,18 @@ jobs: echo "Version: ${{ github.event.inputs.version }}" make + - name: Generate new typespec snapshot + working-directory: apps/docs + run: | + echo "Generating new typespec snapshot for review..." + npx vitest run --update ./features/docs/Reference.typeSpec.test.ts + - name: Create pull request uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "docs: update js client libraries (${{ github.event.inputs.version }})" - title: "docs: update js client libraries (${{ github.event.inputs.version }})" + commit-message: 'docs: update js client libraries (${{ github.event.inputs.version }})' + title: 'docs: update js client libraries (${{ github.event.inputs.version }})' body: | Updates JS client libraries documentation following stable release. Ran `make` in apps/docs/spec to regenerate tsdoc files. @@ -66,5 +70,5 @@ jobs: - **Changes:** Regenerated tsdoc files from latest spec files 🤖 Auto-generated from supabase-js-libs stable release. - branch: "gha/update-js-libs-docs-${{ github.run_number }}" - base: "master" + branch: 'gha/update-js-libs-docs-${{ github.run_number }}' + base: 'master' diff --git a/.github/workflows/update-js-libs.yml b/.github/workflows/update-js-libs.yml index 4715581686c97..4d8da2a18453f 100644 --- a/.github/workflows/update-js-libs.yml +++ b/.github/workflows/update-js-libs.yml @@ -40,19 +40,19 @@ jobs: - name: Update @supabase/*-js packages in pnpm-workspace.yaml run: | # Update @supabase/supabase-js - sed -i "s/'@supabase\/supabase-js': .*/'@supabase\/supabase-js': ^${{ github.event.inputs.version }}/" pnpm-workspace.yaml + sed -i "s/'@supabase\/supabase-js': .*/'@supabase\/supabase-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml # Update @supabase/auth-js - sed -i "s/'@supabase\/auth-js': .*/'@supabase\/auth-js': ^${{ github.event.inputs.version }}/" pnpm-workspace.yaml + sed -i "s/'@supabase\/auth-js': .*/'@supabase\/auth-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml # Update @supabase/realtime-js - sed -i "s/'@supabase\/realtime-js': .*/'@supabase\/realtime-js': ^${{ github.event.inputs.version }}/" pnpm-workspace.yaml + sed -i "s/'@supabase\/realtime-js': .*/'@supabase\/realtime-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml echo "Updated pnpm-workspace.yaml:" cat pnpm-workspace.yaml - name: Install dependencies - run: pnpm i + run: pnpm i --no-frozen-lockfile - name: Create pull request uses: peter-evans/create-pull-request@v6 @@ -66,9 +66,9 @@ jobs: **Source**: ${{ github.event.inputs.source }} **Changes**: - - Updated @supabase/supabase-js to ^${{ github.event.inputs.version }} - - Updated @supabase/auth-js to ^${{ github.event.inputs.version }} - - Updated @supabase/realtime-js to ^${{ github.event.inputs.version }} + - Updated @supabase/supabase-js to ${{ github.event.inputs.version }} + - Updated @supabase/auth-js to ${{ github.event.inputs.version }} + - Updated @supabase/realtime-js to ${{ github.event.inputs.version }} - Refreshed pnpm-lock.yaml This PR was created automatically. diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index f07e11812c6db..f4479bb3cc278 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -2450,8 +2450,6 @@ export const platform: NavMenuConstant = { name: 'Manage your usage', url: '/guides/platform/manage-your-usage' as `/${string}`, items: [ - { name: 'Usage limits', url: '/guides/platform/usage-limits' as `/${string}` }, - { name: 'Overages', url: '/guides/platform/overages' as `/${string}` }, { name: 'Compute', url: '/guides/platform/manage-your-usage/compute' as `/${string}`, diff --git a/apps/docs/features/docs/Reference.typeSpec.ts b/apps/docs/features/docs/Reference.typeSpec.ts index 98298bcf2b93a..57fd7bff264b6 100644 --- a/apps/docs/features/docs/Reference.typeSpec.ts +++ b/apps/docs/features/docs/Reference.typeSpec.ts @@ -162,6 +162,7 @@ const KIND_MODULE = 2 const KIND_CLASS = 128 const KIND_INTERFACE = 256 const KIND_CONSTRUCTOR = 512 +const KIND_PROPERTY = 1024 const KIND_METHOD = 2048 const KIND_TYPE_LITERAL = 65536 @@ -303,6 +304,15 @@ function parseModInternal( parseConstructor(node, map, currentPath, res) } else if (node.kind === KIND_METHOD) { return parseMethod(node, map, currentPath, res) + } else if (node.kind === KIND_PROPERTY) { + if (node.type?.type === 'reference') { + const referent = map.get(node.type.target) + if (referent?.variant === 'declaration' && referent?.kind === KIND_INTERFACE) { + const children = referent?.children ?? [] + updatedPath = [...currentPath, node.name] + children.forEach((child: any) => parseModInternal(child, map, updatedPath, res)) + } + } } return case 'property': @@ -439,24 +449,26 @@ function parseSignature( // // with additional properties depending on the type. -function parseType(type: any, map: Map) { +function parseType(type: any, map: Map, typeArguments?: any, debug = false) { switch (type.type) { case 'literal': return type case 'intrinsic': return type case 'reference': - return parseReferenceType(type, map) + return parseReferenceType(type, map, typeArguments, debug) case 'array': - return parseArrayType(type, map) + return parseArrayType(type, map, typeArguments, debug) case 'union': - return parseUnionType(type, map) + return parseUnionType(type, map, typeArguments, debug) case 'reflection': - return parseReflectionType(type, map) + return parseReflectionType(type, map, typeArguments, debug) case 'indexedAccess': - return parseIndexedAccessType(type, map) + return parseIndexedAccessType(type, map, typeArguments, debug) case 'typeOperator': - return parseTypeOperatorType(type, map) + return parseTypeOperatorType(type, map, typeArguments, debug) + case 'conditional': + return parseConditionalType(type, map, typeArguments, debug) default: break } @@ -481,8 +493,13 @@ function parseType(type: any, map: Map) { * parsing to the referenced node, but use the name and comment from the * original type. */ -function delegateParsing(original: any, referenced: any, map: Map) { - const dereferencedType = parseType(referenced, map) +function delegateParsing( + original: any, + referenced: any, + map: Map, + typeArguments?: any +) { + const dereferencedType = parseType(referenced, map, typeArguments) if (dereferencedType) { dereferencedType.name = nameOrAnonymous([original, dereferencedType]) @@ -498,7 +515,44 @@ function delegateParsing(original: any, referenced: any, map: Map) return dereferencedType } -function parseReferenceType(type: any, map: Map) { +function parseConditionalType( + type: any, + map: Map, + typeArguments?: any, + _debug = false +) { + if (type.extendsType?.type === 'intrinsic' && type.extendsType?.name === 'object') { + let properties = [] + + if ( + type.trueType?.type === 'mapped' && + type.trueType?.parameterType?.target?.refersToTypeParameter && + typeArguments?.[0] + ) { + const propertyNames = parseType(typeArguments?.[0], map).properties?.map((p) => p.name) + properties = (propertyNames ?? []) + .map((p: string) => { + if (!type.trueType?.templateType) return undefined + + const mappedType = parseType(type.trueType.templateType, map) + if (mappedType) { + return { + name: p, + type: mappedType, + } + } + }) + .filter(Boolean) + } + + return { + type: 'object', + properties, + } + } +} + +function parseReferenceType(type: any, map: Map, typeArguments?: any, debug = false) { if (type.dereferenced?.type) { return delegateParsing(type, type.dereferenced.type, map) } @@ -507,6 +561,10 @@ function parseReferenceType(type: any, map: Map) { return delegateParsing(type, type.dereferenced, map) } + if (type.refersToTypeParameter === true && typeArguments?.[0]) { + return delegateParsing(type, typeArguments?.[0], map) + } + if ( type.package === 'typescript' && (type.name === 'Record' || type.qualifiedName === 'Record') @@ -537,8 +595,13 @@ function parseReferenceType(type: any, map: Map) { if (referenced) { const maybeType = typeof referenced.type === 'object' && 'type' in referenced.type - ? /* need to go down a level */ delegateParsing(type, referenced.type, map) - : delegateParsing(type, referenced, map) + ? /* need to go down a level */ delegateParsing( + type, + referenced.type, + map, + type.typeArguments + ) + : delegateParsing(type, referenced, map, type.typeArguments) if (maybeType) { return maybeType @@ -580,7 +643,12 @@ function parseReferenceType(type: any, map: Map) { return undefined } -function parseArrayType(type: any, map: Map): ArrayType { +function parseArrayType( + type: any, + map: Map, + _typeArguments?: any, + debug = false +): ArrayType { const elemType = parseType(type.elementType, map) return { @@ -590,9 +658,14 @@ function parseArrayType(type: any, map: Map): ArrayType { } } -function parseUnionType(type: any, map: Map): CustomUnionType { +function parseUnionType( + type: any, + map: Map, + typeArguments?: any, + _debug = false +): CustomUnionType { // Need the Boolean filter because there are nulls in some of the nodes - const subTypes = type.types.filter(Boolean).map((type) => parseType(type, map)) + const subTypes = type.types.filter(Boolean).map((type) => parseType(type, map, typeArguments)) return { type: 'union', @@ -654,17 +727,22 @@ function parsePickType(type: any, map: Map) { return undefined } -function parseReflectionType(type: any, map: Map): TypeDetails | undefined { +function parseReflectionType( + type: any, + map: Map, + typeArguments?: any, + _debug = false +): TypeDetails | undefined { if (!type.declaration) return undefined let res: TypeDetails | undefined switch ((type.declaration.kindString ?? type.declaration.variant).toLowerCase()) { case 'type literal': - res = parseTypeLiteral(type, map) + res = parseTypeLiteral(type, map, typeArguments) break case 'declaration': if (type.declaration.kind === KIND_TYPE_LITERAL) { - res = parseTypeLiteral(type, map) + res = parseTypeLiteral(type, map, typeArguments) } default: break @@ -673,12 +751,16 @@ function parseReflectionType(type: any, map: Map): TypeDetails | un return res } -function parseTypeLiteral(type: any, map: Map): TypeDetails | undefined { +function parseTypeLiteral( + type: any, + map: Map, + typeArguments?: any +): TypeDetails | undefined { const name = nameOrAnonymous(type) if ('children' in type.declaration) { const properties = type.declaration.children - .map((child: any) => parseTypeInternals(child, map)) + .map((child: any) => parseTypeInternals(child, map, typeArguments)) .filter(Boolean) return { name, @@ -714,14 +796,24 @@ function parseTypeLiteral(type: any, map: Map): TypeDetails | undef return undefined } -function parseIndexedAccessType(type: any, map: Map) { +function parseIndexedAccessType( + type: any, + map: Map, + _typeArguments?: any, + _debug = false +) { return { type: 'nameOnly', name: `${type.objectType?.name ?? ''}['${type.indexType.value ?? type.indexType.name ?? ''}']`, } } -function parseTypeOperatorType(type: any, map: Map) { +function parseTypeOperatorType( + type: any, + map: Map, + _typeArguments?: any, + _debug = false +) { switch (type.operator) { case 'readonly': return parseType(type.target, map) @@ -745,11 +837,11 @@ function parseInterface(type: any, map: Map): CustomObjectType { // This layer is for the sub-types that define a custom type, for example, the // properties of an interface. -function parseTypeInternals(elem: any, map: Map) { +function parseTypeInternals(elem: any, map: Map, typeArguments?: any) { switch ((elem.kindString || elem.variant).toLowerCase()) { case 'property': case 'declaration': - return parseInternalProperty(elem, map) + return parseInternalProperty(elem, map, typeArguments) case 'method': if (elem.signatures?.[0]) { const { params, ret, comment } = parseSignature(elem.signatures?.[0], map) @@ -772,13 +864,13 @@ function parseTypeInternals(elem: any, map: Map) { } } -function parseInternalProperty(elem: any, map: Map) { +function parseInternalProperty(elem: any, map: Map, typeArguments?: any) { const name = nameOrAnonymous(elem) if (!elem.type) { return undefined } - const type = parseType(elem.type, map) + const type = parseType(elem.type, map, typeArguments) const res = { name, diff --git a/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap b/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap index 0eeee322f79b3..4f2c343f42e32 100644 --- a/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap +++ b/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap @@ -5,8 +5,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "@supabase/supabase-js", "methods": { - "@supabase/supabase-js.index.SupabaseClient.constructor": { - "name": "@supabase/supabase-js.index.SupabaseClient.constructor", + "@supabase/supabase-js.SupabaseClient.constructor": { + "name": "@supabase/supabase-js.SupabaseClient.constructor", "params": [ { "name": "supabaseUrl", @@ -57,12 +57,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] } } - }, - "comment": { - "shortText": "Optional function for using a third-party authentication system with\\nSupabase. The function should return an access token or ID token (JWT) by\\nobtaining it from the third-party auth client library. Note that this\\nfunction may be called concurrently and many times. Use memoization and\\nlocking techniques if this is not supported by the client libraries.\\n\\nWhen set, the \`auth\` namespace of the Supabase client cannot be used.\\nCreate another client if you wish to use Supabase Auth and third-party\\nauthentications concurrently in the same application." } }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Optional function for using a third-party authentication system with\\nSupabase. The function should return an access token or ID token (JWT) by\\nobtaining it from the third-party auth client library. Note that this\\nfunction may be called concurrently and many times. Use memoization and\\nlocking techniques if this is not supported by the client libraries.\\n\\nWhen set, the \`auth\` namespace of the Supabase client cannot be used.\\nCreate another client if you wish to use Supabase Auth and third-party\\nauthentications concurrently in the same application." + } }, { "name": "auth", @@ -211,6 +211,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "properties": [ { "name": "fetch", + "type": { + "type": "nameOnly", + "name": "Fetch" + }, "isOptional": true, "comment": { "shortText": "A custom \`fetch\` implementation." @@ -243,7 +247,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "realtime", "type": { "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeClientOptions" + "name": "RealtimeClientOptions" }, "isOptional": true, "comment": { @@ -254,7 +258,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "storage", "type": { "type": "nameOnly", - "name": "@supabase/storage-js.StorageClientOptions" + "name": "StorageClientOptions" }, "isOptional": true } @@ -266,179 +270,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Database" + "name": "SupabaseClient" } }, "comment": { "shortText": "Create a new client for use in the browser." } }, - "@supabase/supabase-js.index.SupabaseClient._getAccessToken": { - "name": "@supabase/supabase-js.index.SupabaseClient._getAccessToken", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - } - }, - "@supabase/supabase-js.index.SupabaseClient._handleTokenChanged": { - "name": "@supabase/supabase-js.index.SupabaseClient._handleTokenChanged", - "params": [ - { - "name": "event", - "type": { - "type": "nameOnly", - "name": "@supabase/auth-js.AuthChangeEvent" - } - }, - { - "name": "source", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "CLIENT" - }, - { - "type": "literal", - "value": "STORAGE" - } - ] - } - }, - { - "name": "token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "intrinsic", - "name": "void" - } - } - }, - "@supabase/supabase-js.index.SupabaseClient._initRealtimeClient": { - "name": "@supabase/supabase-js.index.SupabaseClient._initRealtimeClient", - "params": [ - { - "name": "options", - "type": { - "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeClientOptions" - } - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeClient" - } - } - }, - "@supabase/supabase-js.index.SupabaseClient._initSupabaseAuthClient": { - "name": "@supabase/supabase-js.index.SupabaseClient._initSupabaseAuthClient", - "params": [ - { - "type": { - "type": "object", - "name": "SupabaseAuthClientOptions", - "properties": [] - } - }, - { - "name": "headers", - "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "string" - } - }, - "isOptional": true - }, - { - "name": "fetch", - "type": { - "type": "function", - "params": [ - { - "name": "input", - "type": { - "type": "union", - "subTypes": [ - { - "type": "nameOnly", - "name": "RequestInfo" - }, - { - "type": "nameOnly", - "name": "URL" - } - ] - } - }, - { - "name": "init", - "type": { - "type": "nameOnly", - "name": "RequestInit" - }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "nameOnly", - "name": "Response" - } - } - } - }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "SupabaseAuthClient" - } - } - }, - "@supabase/supabase-js.index.SupabaseClient._listenForAuthEvents": { - "name": "@supabase/supabase-js.index.SupabaseClient._listenForAuthEvents", - "params": [] - }, - "@supabase/supabase-js.index.SupabaseClient.channel": { - "name": "@supabase/supabase-js.index.SupabaseClient.channel", + "@supabase/supabase-js.SupabaseClient.channel": { + "name": "@supabase/supabase-js.SupabaseClient.channel", "params": [ { "name": "name", @@ -454,7 +294,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "opts", "type": { "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeChannelOptions" + "name": "RealtimeChannelOptions" }, "comment": { "shortText": "The options to pass to the Realtime channel." @@ -464,36 +304,30 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeChannel" + "name": "@supabase/realtime-js.default" } }, "comment": { "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." } }, - "@supabase/supabase-js.index.SupabaseClient.from": { - "name": "@supabase/supabase-js.index.SupabaseClient.from", + "@supabase/supabase-js.SupabaseClient.from": { + "name": "@supabase/supabase-js.SupabaseClient.from", "params": [ { "name": "relation", "type": { "type": "nameOnly", "name": "TableName" - }, - "comment": { - "shortText": "The table or view name to query" } } ], "ret": { "type": { "type": "nameOnly", - "name": "@supabase/postgrest-js.PostgrestQueryBuilder" + "name": "@supabase/postgrest-js.default" } }, - "comment": { - "shortText": "Perform a query on a table or a view." - }, "altSignatures": [ { "params": [ @@ -502,33 +336,27 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ViewName" - }, - "comment": { - "shortText": "The table or view name to query" } } ], "ret": { "type": { "type": "nameOnly", - "name": "@supabase/postgrest-js.PostgrestQueryBuilder" + "name": "@supabase/postgrest-js.default" } - }, - "comment": { - "shortText": "Perform a query on a table or a view." } } ] }, - "@supabase/supabase-js.index.SupabaseClient.getChannels": { - "name": "@supabase/supabase-js.index.SupabaseClient.getChannels", + "@supabase/supabase-js.SupabaseClient.getChannels": { + "name": "@supabase/supabase-js.SupabaseClient.getChannels", "params": [], "ret": { "type": { "type": "array", "elemType": { "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeChannel" + "name": "@supabase/realtime-js.default" } } }, @@ -536,8 +364,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "Returns all Realtime channels." } }, - "@supabase/supabase-js.index.SupabaseClient.removeAllChannels": { - "name": "@supabase/supabase-js.index.SupabaseClient.removeAllChannels", + "@supabase/supabase-js.SupabaseClient.removeAllChannels": { + "name": "@supabase/supabase-js.SupabaseClient.removeAllChannels", "params": [], "ret": { "type": { @@ -569,14 +397,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "Unsubscribes and removes all Realtime channels from Realtime client." } }, - "@supabase/supabase-js.index.SupabaseClient.removeChannel": { - "name": "@supabase/supabase-js.index.SupabaseClient.removeChannel", + "@supabase/supabase-js.SupabaseClient.removeChannel": { + "name": "@supabase/supabase-js.SupabaseClient.removeChannel", "params": [ { "name": "channel", "type": { "type": "nameOnly", - "name": "@supabase/realtime-js.RealtimeChannel" + "name": "@supabase/realtime-js.default" }, "comment": { "shortText": "The name of the Realtime channel." @@ -610,8 +438,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "Unsubscribes and removes Realtime channel from Realtime client." } }, - "@supabase/supabase-js.index.SupabaseClient.rpc": { - "name": "@supabase/supabase-js.index.SupabaseClient.rpc", + "@supabase/supabase-js.SupabaseClient.rpc": { + "name": "@supabase/supabase-js.SupabaseClient.rpc", "params": [ { "name": "fn", @@ -694,15 +522,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "@supabase/postgrest-js.PostgrestFilterBuilder" + "name": "@supabase/postgrest-js.default" } }, "comment": { "shortText": "Perform a function call." } }, - "@supabase/supabase-js.index.SupabaseClient.schema": { - "name": "@supabase/supabase-js.index.SupabaseClient.schema", + "@supabase/supabase-js.SupabaseClient.schema": { + "name": "@supabase/supabase-js.SupabaseClient.schema", "params": [ { "name": "schema", @@ -718,7 +546,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "@supabase/postgrest-js.PostgrestClient" + "name": "@supabase/postgrest-js.default" } }, "comment": { @@ -1157,8 +985,21 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "intrinsic", - "name": "string" + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "length" + }, + { + "type": "literal", + "value": "characters" + }, + { + "type": "literal", + "value": "pwned" + } + ] } } } @@ -1264,6 +1105,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -1293,7 +1137,253 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] } } - ] + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "GoTrueAdminApi" + } + } + }, + "@supabase/auth-js.GoTrueAdminApi.mfa.deleteFactor": { + "name": "@supabase/auth-js.GoTrueAdminApi.mfa.deleteFactor", + "params": [ + { + "name": "params", + "type": { + "name": "AuthMFAAdminDeleteFactorParams", + "type": "object", + "properties": [ + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the MFA factor to delete." + } + }, + { + "name": "userId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the user whose factor is being deleted." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAAdminDeleteFactorResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor that was successfully deleted." + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Deletes a factor on a user. This will log the user out of all active\\nsessions if the deleted factor was verified." + } + }, + "@supabase/auth-js.GoTrueAdminApi.mfa.listFactors": { + "name": "@supabase/auth-js.GoTrueAdminApi.mfa.listFactors", + "params": [ + { + "name": "params", + "type": { + "name": "AuthMFAAdminListFactorsParams", + "type": "object", + "properties": [ + { + "name": "userId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the user." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAAdminListFactorsResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "nameOnly", + "name": "Type" + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "nameOnly", + "name": "Status" + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "comment": { + "shortText": "All factors attached to the user." + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Lists all factors associated to a user." + } }, "@supabase/auth-js.GoTrueAdminApi.createUser": { "name": "@supabase/auth-js.GoTrueAdminApi.createUser", @@ -1454,6 +1544,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -1554,82 +1645,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -1907,6 +2101,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -2007,82 +2202,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -2332,6 +2630,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "GenerateLinkParams", "subTypes": [ { + "name": "GenerateSignupLinkParams", "type": "object", "properties": [ { @@ -2343,33 +2642,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "options", - "type": { - "type": "union", - "subTypes": [ - { - "name": "data", - "type": { - "type": "intrinsic", - "name": "object" - }, - "isOptional": true, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." - } - }, - { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The URL which will be appended to the email link generated." - } - } - ] - }, "isOptional": true }, { @@ -2389,6 +2661,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] }, { + "name": "GenerateInviteOrMagiclinkParams", "type": "object", "properties": [ { @@ -2403,33 +2676,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "options", - "type": { - "type": "union", - "subTypes": [ - { - "name": "data", - "type": { - "type": "intrinsic", - "name": "object" - }, - "isOptional": true, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." - } - }, - { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The URL which will be appended to the email link generated." - } - } - ] - }, "isOptional": true }, { @@ -2451,6 +2697,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] }, { + "name": "GenerateRecoveryLinkParams", "type": "object", "properties": [ { @@ -2465,17 +2712,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "options", - "type": { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The URL which will be appended to the email link generated." - } - }, "isOptional": true }, { @@ -2488,6 +2724,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] }, { + "name": "GenerateEmailChangeLinkParams", "type": "object", "properties": [ { @@ -2512,17 +2749,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "options", - "type": { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The URL which will be appended to the email link generated." - } - }, "isOptional": true }, { @@ -2561,6 +2787,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -2746,82 +2973,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -3096,6 +3426,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -3196,82 +3527,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -3572,6 +4006,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -3672,82 +4107,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -4323,6 +4861,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -4423,82 +4962,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -4918,15 +5560,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "R" } } - }, - "comment": { - "shortText": "Provide your own global lock implementation instead of the default\\nimplementation. The function should acquire a lock for the duration of the\\n\`fn\` async function, such that no other client instances will be able to\\nhold it at the same time.", - "tags": [ - { - "tag": "experimental", - "text": "" - } - ] } }, "isOptional": true, @@ -4950,6 +5583,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "storage", + "type": { + "type": "nameOnly", + "name": "SupportedStorage" + }, "isOptional": true }, { @@ -4970,6 +5607,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "userStorage", + "type": { + "type": "nameOnly", + "name": "SupportedStorage" + }, "isOptional": true, "comment": { "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, \`storage\` will only store a JSON object containing the access and refresh token and some adjacent metadata, while \`userStorage\` will only contain the user object under the key \`storageKey + '-user'\`.\\n\\nWhen this option is set and cookie storage is used, \`getSession()\` and other functions that load a session from the cookie store might not return back a user. It's very important to always use \`getUser()\` to fetch a user object in those scenarios.", @@ -4985,18 +5626,35 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ], + "ret": { + "type": { + "type": "nameOnly", + "name": "GoTrueClient" + } + }, "comment": { "shortText": "Create a new client for use in the browser." } }, - "@supabase/auth-js.GoTrueClient.exchangeCodeForSession": { - "name": "@supabase/auth-js.GoTrueClient.exchangeCodeForSession", + "@supabase/auth-js.GoTrueClient.mfa.challenge": { + "name": "@supabase/auth-js.GoTrueClient.mfa.challenge", "params": [ { - "name": "authCode", + "name": "params", "type": { - "type": "intrinsic", - "name": "string" + "type": "object", + "properties": [ + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor to be challenged. Returned in enroll()." + } + } + ] } } ], @@ -5006,8 +5664,26 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "AuthTokenResponse", "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + }, { "type": "object", "properties": [ @@ -5017,469 +5693,618 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "session", + "name": "expires_at", "type": { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the newly created challenge." + } + }, + { + "name": "type", + "type": { + "type": "literal", + "value": "totp" + }, + "comment": { + "shortText": "Factor Type which generated the challenge" + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Prepares a challenge used to verify that a user has access to a MFA\\nfactor." + }, + "altSignatures": [ + { + "params": [ + { + "name": "params", + "type": { + "type": "object", + "properties": [ + { + "name": "channel", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + }, + "comment": { + "shortText": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors" + } + }, + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor to be challenged. Returned in enroll()." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } + "comment": { + "shortText": "ID of the newly created challenge." + } + }, + { + "name": "type", + "type": { + "type": "literal", + "value": "phone" }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } + "comment": { + "shortText": "Factor Type which generated the challenge" + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + } + ] + } + } + } + }, + { + "params": [ + { + "name": "params", + "type": { + "type": "object", + "properties": [ + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor to be challenged. Returned in enroll()." + } + }, + { + "name": "webauthn", + "type": { + "type": "object", + "properties": [ + { + "name": "rpId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Relying party ID" + } + }, + { + "name": "rpOrigins", + "type": { + "type": "array", + "elemType": { + "type": "intrinsic", + "name": "string" + } + }, + "isOptional": true, + "comment": { + "shortText": "Relying party origins" + } + } + ] + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "shortText": "ID of the newly created challenge." + } + }, + { + "name": "type", + "type": { + "type": "literal", + "value": "webauthn" }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { + "comment": { + "shortText": "Factor Type which generated the challenge" + } + }, + { + "name": "webauthn", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "credential_options", + "type": { "type": "object", - "name": "Factor", "properties": [ { - "name": "created_at", + "name": "publicKey", "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + "type": "nameOnly", + "name": "PublicKeyCredentialCreationOptionsFuture" } } ] } }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "type", + "type": { + "type": "literal", + "value": "create" + } } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + ] + }, + { + "type": "object", + "properties": [ + { + "name": "credential_options", + "type": { "type": "object", - "name": "UserIdentity", "properties": [ { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", + "name": "publicKey", "type": { - "type": "intrinsic", - "name": "string" + "type": "nameOnly", + "name": "PublicKeyCredentialRequestOptionsFuture" } } ] } }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] + { + "name": "type", + "type": { + "type": "literal", + "value": "request" + } } - } - ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } + ] + } + ] } - ] + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + } + ] + } + } + } + }, + { + "params": [ + { + "name": "params", + "type": { + "type": "union", + "name": "MFAChallengeParams", + "subTypes": [ + { + "type": "nameOnly", + "name": "MFAChallengeTOTPParams" + }, + { + "type": "nameOnly", + "name": "MFAChallengePhoneParams" + }, + { + "type": "nameOnly", + "name": "MFAChallengeWebauthnParams" + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAChallengeResponse", + "subTypes": [ + { + "type": "union", + "name": "AuthMFAChallengeTOTPResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + }, + { + "type": "union", + "name": "AuthMFAChallengePhoneResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + }, + { + "type": "union", + "name": "AuthMFAChallengeWebauthnResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + ] + } + } + } + } + ] + }, + "@supabase/auth-js.GoTrueClient.mfa.challengeAndVerify": { + "name": "@supabase/auth-js.GoTrueClient.mfa.challengeAndVerify", + "params": [ + { + "name": "params", + "type": { + "type": "object", + "properties": [ + { + "name": "code", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Verification code provided by the user." + } + }, + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAVerifyResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "New access token (JWT) after successful verification." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + }, + "comment": { + "shortText": "Type of token, always \`bearer\`." } }, { @@ -5580,82 +6405,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -5846,6 +6774,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "Updated user profile." } } ] @@ -5866,31 +6797,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } - } - ] + "type": "literal", + "value": null } }, { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + "name": "error" } ] } @@ -5899,175 +6811,50 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." + "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\\nprovided by the user by entering a code seen in their authenticator app." } }, - "@supabase/auth-js.GoTrueClient.getClaims": { - "name": "@supabase/auth-js.GoTrueClient.getClaims", + "@supabase/auth-js.GoTrueClient.mfa.enroll": { + "name": "@supabase/auth-js.GoTrueClient.mfa.enroll", "params": [ { - "name": "jwt", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "An optional specific JWT you wish to verify, not the one you\\n can obtain from #getSession." - } - }, - { - "name": "options", + "name": "params", "type": { "type": "object", "properties": [ { - "name": "allowExpired", + "name": "factorType", "type": { - "type": "intrinsic", - "name": "boolean" + "type": "literal", + "value": "totp" }, - "isOptional": true, "comment": { - "shortText": "If set to \`true\` the \`exp\` claim will not be validated against the current time." + "shortText": "The type of factor being enrolled." } }, { - "name": "jwks", + "name": "friendlyName", "type": { - "type": "object", - "properties": [ - { - "name": "keys", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "JWK", - "properties": [ - { - "name": "alg", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "key_ops", - "type": { - "type": "array", - "elemType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "name": "kid", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "kty", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "RSA" - }, - { - "type": "literal", - "value": "EC" - }, - { - "type": "literal", - "value": "oct" - } - ] - } - } - ] - } - } - } - ] + "type": "intrinsic", + "name": "string" }, "isOptional": true, "comment": { - "shortText": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + "shortText": "Human readable name assigned to the factor." } }, { - "name": "keys", + "name": "issuer", "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "JWK", - "properties": [ - { - "name": "alg", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "key_ops", - "type": { - "type": "array", - "elemType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "name": "kid", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "kty", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "RSA" - }, - { - "type": "literal", - "value": "EC" - }, - { - "type": "literal", - "value": "oct" - } - ] - } - } - ] - } + "type": "intrinsic", + "name": "string" }, "isOptional": true, "comment": { - "shortText": "" + "shortText": "Domain which the user is enrolled with." } } ] - }, - "comment": { - "shortText": "Various additional options that allow you to customize the\\n behavior of this method." } } ], @@ -6077,6 +6864,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", + "name": "AuthMFAEnrollTOTPResponse", "subTypes": [ { "type": "object", @@ -6084,66 +6872,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "object", - "properties": [ - { - "name": "claims", - "type": { - "type": "nameOnly", - "name": "JwtPayload" - } - }, - { - "name": "header", - "type": { - "name": "JwtHeader", - "type": "object", - "properties": [ - { - "name": "alg", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "RS256" - }, - { - "type": "literal", - "value": "ES256" - }, - { - "type": "literal", - "value": "HS256" - } - ] - } - }, - { - "name": "kid", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "typ", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "name": "signature", - "type": { - "type": "nameOnly", - "name": "Uint8Array" - } - } - ] + "type": "nameOnly", + "name": "T" } }, { @@ -6166,523 +6896,463 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + "name": "error" } ] - }, - { + } + ] + } + } + }, + "comment": { + "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\\nfactor. This method creates a new \`unverified\` factor.\\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\\nauthenticator app.\\nThe user has to enter the code from their authenticator app to verify it.\\n\\nUpon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to \`aal2\`." + }, + "altSignatures": [ + { + "params": [ + { + "name": "params", + "type": { "type": "object", "properties": [ { - "name": "data", + "name": "factorType", "type": { "type": "literal", - "value": null + "value": "phone" + }, + "comment": { + "shortText": "The type of factor being enrolled." } }, { - "name": "error", + "name": "friendlyName", "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Human readable name assigned to the factor." + } + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Phone number associated with a factor. Number should conform to E.164 format" } } ] } - ] - } - } - }, - "comment": { - "shortText": "Extracts the JWT claims present in the access token by first verifying the\\nJWT against the server's JSON Web Key Set endpoint\\n\`/.well-known/jwks.json\` which is often cached, resulting in significantly\\nfaster responses. Prefer this method over #getUser which always\\nsends a request to the Auth server for each JWT.\\n\\nIf the project is not using an asymmetric JWT signing key (like ECC or\\nRSA) it always sends a request to the Auth server (similar to #getUser) to verify the JWT." - } - }, - "@supabase/auth-js.GoTrueClient.getSession": { - "name": "@supabase/auth-js.GoTrueClient.getSession", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "object", + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAEnrollPhoneResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + } + }, + { + "params": [ + { + "name": "params", + "type": { + "type": "object", + "properties": [ + { + "name": "factorType", + "type": { + "type": "literal", + "value": "webauthn" + }, + "comment": { + "shortText": "The type of factor being enrolled." + } + }, + { + "name": "friendlyName", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Human readable name assigned to the factor." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAEnrollWebauthnResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + } + }, + { + "params": [ + { + "name": "params", + "type": { + "type": "union", + "name": "MFAEnrollParams", + "subTypes": [ + { + "type": "nameOnly", + "name": "MFAEnrollTOTPParams" + }, + { + "type": "nameOnly", + "name": "MFAEnrollPhoneParams" + }, + { + "type": "nameOnly", + "name": "MFAEnrollWebauthnParams" + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAEnrollResponse", + "subTypes": [ + { + "type": "union", + "name": "AuthMFAEnrollTOTPResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + }, + { + "type": "union", + "name": "AuthMFAEnrollPhoneResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + }, + { + "type": "union", + "name": "AuthMFAEnrollWebauthnResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + ] + } + } + } + } + ] + }, + "@supabase/auth-js.GoTrueClient.mfa.getAuthenticatorAssuranceLevel": { + "name": "@supabase/auth-js.GoTrueClient.mfa.getAuthenticatorAssuranceLevel", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "subTypes": [ + { + "type": "object", "properties": [ { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { - "name": "session", + "name": "currentAuthenticationMethods", "type": { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "array", + "elemType": { + "type": "object", + "name": "AMREntry", + "properties": [ + { + "name": "method", + "type": { + "type": "union", + "name": "AMRMethod", + "subTypes": [ + { + "type": "nameOnly", + "name": "['number']" + }, + null + ] + }, + "comment": { + "shortText": "Authentication method name." + } }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + { + "name": "timestamp", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "Timestamp when the method was successfully used. Represents number of\\nseconds since 1st January 1970 (UNIX epoch) in UTC." + } } - }, + ] + } + }, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\\nthe information here to detect the last time a user verified a\\nfactor, for example if implementing a step-up scenario." + } + }, + { + "name": "currentLevel", + "type": { + "type": "union", + "subTypes": [ { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } + "type": "union", + "name": "AuthenticatorAssuranceLevels", + "subTypes": [ + { + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] }, { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } - }, + "type": "literal", + "value": null + } + ] + }, + "comment": { + "shortText": "Current AAL level of the session." + } + }, + { + "name": "nextLevel", + "type": { + "type": "union", + "subTypes": [ { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "name": "AuthenticatorAssuranceLevels", + "subTypes": [ + { + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] }, { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } - } - ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } + "type": "literal", + "value": null } ] + }, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\\nthan the current one, the user should go through MFA." } } ] @@ -6703,23 +7373,45 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - } - ] + "type": "literal", + "value": null } }, + { + "name": "error" + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.\\n\\n- \`aal1\` (or \`null\`) means that the user's identity has been verified only\\nwith a conventional login (email+password, OTP, magic link, social login,\\netc.).\\n- \`aal2\` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\\n\\nAlthough this method returns a promise, it's fairly quick (microseconds)\\nand rarely uses the network. You can use this to check whether the current\\nuser needs to be shown a screen to verify their MFA factors." + } + }, + "@supabase/auth-js.GoTrueClient.mfa.listFactors": { + "name": "@supabase/auth-js.GoTrueClient.mfa.listFactors", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAListFactorsResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data" + }, { "name": "error", "type": { - "type": "nameOnly", - "name": "AuthError" + "type": "literal", + "value": null } } ] @@ -6730,13 +7422,71 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Returns the list of MFA factors enabled for this user." + } + }, + "@supabase/auth-js.GoTrueClient.mfa.unenroll": { + "name": "@supabase/auth-js.GoTrueClient.mfa.unenroll", + "params": [ + { + "name": "params", + "type": { + "name": "MFAUnenrollParams", + "type": "object", + "properties": [ + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor being unenrolled." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAUnenrollResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", "type": "object", "properties": [ { - "name": "session", + "name": "id", "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor that was successfully unenrolled." } } ] @@ -6750,27 +7500,69 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] } ] } } }, "comment": { - "shortText": "Returns the session, refreshing it if necessary.\\n\\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.\\n\\n**IMPORTANT:** This method loads values directly from the storage attached\\nto the client. If that storage is based on request cookies for example,\\nthe values in it may not be authentic and therefore it's strongly advised\\nagainst using this method and its results in such circumstances. A warning\\nwill be emitted if this is detected. Use #getUser() instead." + "shortText": "Unenroll removes a MFA factor.\\nA user has to have an \`aal2\` authenticator level in order to unenroll a \`verified\` factor." } }, - "@supabase/auth-js.GoTrueClient.getUser": { - "name": "@supabase/auth-js.GoTrueClient.getUser", + "@supabase/auth-js.GoTrueClient.mfa.verify": { + "name": "@supabase/auth-js.GoTrueClient.mfa.verify", "params": [ { - "name": "jwt", + "name": "params", "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Takes in an optional access token JWT. If no JWT is provided, the JWT from the current session is used." + "type": "object", + "properties": [ + { + "name": "challengeId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the challenge being verified. Returned in challenge()." + } + }, + { + "name": "code", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Verification code provided by the user." + } + }, + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + } + } + ] } } ], @@ -6780,7 +7572,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "UserResponse", + "name": "AuthMFAVerifyResponse", "subTypes": [ { "type": "object", @@ -6788,8 +7580,49 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "New access token (JWT) after successful verification." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + }, + "comment": { + "shortText": "Type of token, always \`bearer\`." + } + }, { "name": "user", "type": { @@ -6888,82 +7721,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "unverified" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -7154,6 +8090,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "Updated user profile." } } ] @@ -7174,24 +8113,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "object", - "properties": [ - { - "name": "user", - "type": { - "type": "literal", - "value": null - } - } - ] + "type": "literal", + "value": null } }, { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + "name": "error" } ] } @@ -7200,2417 +8127,979 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Gets the current user details if there is an existing session. This method\\nperforms a network request to the Supabase Auth server, so the returned\\nvalue is authentic and can be used to base authorization rules on." - } - }, - "@supabase/auth-js.GoTrueClient.getUserIdentities": { - "name": "@supabase/auth-js.GoTrueClient.getUserIdentities", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { + "shortText": "Verifies a code against a challenge. The verification code is\\nprovided by the user by entering a code seen in their authenticator app." + }, + "altSignatures": [ + { + "params": [ + { + "name": "params", + "type": { "type": "object", "properties": [ { - "name": "data", + "name": "challengeId", "type": { - "type": "object", - "properties": [ - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - } - ] + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the challenge being verified. Returned in challenge()." } }, { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", + "name": "code", "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Verification code provided by the user." } }, { - "name": "error", + "name": "factorId", "type": { - "type": "nameOnly", - "name": "AuthError" + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." } } ] } - ] - } - } - }, - "comment": { - "shortText": "Gets all the identities linked to a user." - } - }, - "@supabase/auth-js.GoTrueClient.initialize": { - "name": "@supabase/auth-js.GoTrueClient.initialize", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "name": "InitializeResult", - "type": "object", - "properties": [ - { - "name": "error", - "type": { - "type": "union", - "subTypes": [ - { - "type": "nameOnly", - "name": "AuthError" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ] - } - } - }, - "comment": { - "shortText": "Initializes the client session either from the url or from storage.\\nThis method is automatically called when instantiating the client, but should also be called\\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)." - } - }, - "@supabase/auth-js.GoTrueClient.linkIdentity": { - "name": "@supabase/auth-js.GoTrueClient.linkIdentity", - "params": [ - { - "name": "credentials", - "type": { - "name": "SignInWithOAuthCredentials", - "type": "object", - "properties": [ - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "queryParams", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "string" - } - }, - "isOptional": true, - "comment": { - "shortText": "An object of query params" - } - }, - { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A URL to send the user to after they are confirmed." - } - }, - { - "name": "scopes", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - } - }, - { - "name": "skipBrowserRedirect", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true, - "comment": { - "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." - } - } - ] - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "union", - "name": "Provider", - "subTypes": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - }, - { - "type": "literal", - "value": "fly" - } - ] - }, - "comment": { - "shortText": "One of the providers supported by GoTrue." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "OAuthResponse", - "subTypes": [ - { - "type": "object", - "properties": [ + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAVerifyResponse", + "subTypes": [ { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "provider", - "type": { - "type": "union", - "name": "Provider", - "subTypes": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "fly" + "comment": { + "shortText": "New access token (JWT) after successful verification." } - ] - } - }, - { - "name": "url", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "provider", - "type": { - "type": "union", - "name": "Provider", - "subTypes": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" }, - { - "type": "literal", - "value": "fly" + "comment": { + "shortText": "Number of seconds in which the access token will expire." } - ] - } - }, - { - "name": "url", - "type": { - "type": "literal", - "value": null - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Links an oauth identity to an existing user.\\nThis method supports the PKCE flow." - } - }, - "@supabase/auth-js.GoTrueClient.onAuthStateChange": { - "name": "@supabase/auth-js.GoTrueClient.onAuthStateChange", - "params": [ - { - "name": "callback", - "type": { - "type": "function", - "params": [ - { - "name": "event", - "type": { - "type": "union", - "name": "AuthChangeEvent", - "subTypes": [ - { - "type": "literal", - "value": "INITIAL_SESSION" - }, - { - "type": "literal", - "value": "PASSWORD_RECOVERY" - }, - { - "type": "literal", - "value": "SIGNED_IN" - }, - { - "type": "literal", - "value": "SIGNED_OUT" - }, - { - "type": "literal", - "value": "TOKEN_REFRESHED" - }, - { - "type": "literal", - "value": "USER_UPDATED" - }, - { - "type": "literal", - "value": "MFA_CHALLENGE_VERIFIED" - } - ] - } - }, - { - "name": "session", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { + }, + { + "name": "refresh_token", + "type": { "type": "intrinsic", "name": "string" + }, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { + }, + { + "name": "token_type", + "type": { "type": "literal", - "value": null + "value": "bearer" }, - { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of token, always \`bearer\`." } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } - }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { "type": "intrinsic", "name": "string" }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" + "isOptional": true } - } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } - } - ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - } - ] - } - } - ], - "ret": { - "type": { - "type": "union", - "subTypes": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - "comment": { - "shortText": "A callback function to be invoked when an auth event happens." - } - } - ], - "ret": { - "type": { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "subscription", - "type": { - "type": "object", - "name": "Subscription", - "properties": [ - { - "name": "callback", - "type": { - "type": "function", - "params": [ - { - "name": "event", - "type": { - "type": "union", - "name": "AuthChangeEvent", - "subTypes": [ - { - "type": "literal", - "value": "INITIAL_SESSION" - }, - { - "type": "literal", - "value": "PASSWORD_RECOVERY" + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "SIGNED_IN" + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "SIGNED_OUT" + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "TOKEN_REFRESHED" + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "USER_UPDATED" + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "MFA_CHALLENGE_VERIFIED" - } - ] - } - }, - { - "name": "session", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } - }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "user", - "type": { + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", "type": "object", - "name": "User", "properties": [ { - "name": "action_link", + "name": "created_at", "type": { "type": "intrinsic", "name": "string" - }, - "isOptional": true + } }, { - "name": "app_metadata", + "name": "factor_type", "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ + "type": "union", + "name": "Type", + "subTypes": [ { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" } ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } }, { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", + "name": "id", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true + "comment": { + "shortText": "ID of the factor." + } }, { - "name": "last_sign_in_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "new_email", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" - }, - "isOptional": true - }, + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ { - "name": "new_phone", + "name": "created_at", "type": { "type": "intrinsic", "name": "string" - }, - "isOptional": true + } }, { - "name": "phone", + "name": "factor_type", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } }, { - "name": "phone_confirmed_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "name": "recovery_sent_at", + "name": "id", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "comment": { + "shortText": "ID of the factor." + } }, { - "name": "role", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { "name": "updated_at", "type": { "type": "intrinsic", "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] } } ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } - } - ] - } - ] - } - } - ], - "ret": { - "type": { - "type": "intrinsic", - "name": "void" - } - }, - "comment": { - "shortText": "The function to call every time there is an event. eg: (eventName) => {}" - } - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The subscriber UUID. This will be set by the client." - } - }, - { - "name": "unsubscribe", - "type": { - "type": "function", - "params": [], - "ret": { - "type": { - "type": "intrinsic", - "name": "void" - } - }, - "comment": { - "shortText": "Call this to remove the listener." - } - } - } - ] - } - } - ] - } - } - ] - } - }, - "comment": { - "shortText": "Receive a notification every time an auth event happens." - } - }, - "@supabase/auth-js.GoTrueClient.reauthenticate": { - "name": "@supabase/auth-js.GoTrueClient.reauthenticate", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" + ] + } }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } + "isOptional": true }, { - "name": "expires_in", + "name": "id", "type": { "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + "name": "string" } }, { - "name": "provider_refresh_token", + "name": "identities", "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } + "isOptional": true }, { - "name": "provider_token", + "name": "invited_at", "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "intrinsic", + "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } + "isOptional": true }, { - "name": "refresh_token", + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", "type": { "type": "intrinsic", "name": "string" }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } + "isOptional": true }, { - "name": "token_type", + "name": "new_email", "type": { "type": "intrinsic", "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] } + } + ] + }, + "comment": { + "shortText": "Updated user profile." + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + } + }, + { + "params": [ + { + "name": "params", + "type": { + "type": "object", + "properties": [ + { + "name": "challengeId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the challenge being verified. Returned in challenge()." + } + }, + { + "name": "factorId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + } + }, + { + "name": "webauthn" + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAVerifyResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "New access token (JWT) after successful verification." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + }, + "comment": { + "shortText": "Type of token, always \`bearer\`." + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, { - "name": "user", + "name": "app_metadata", "type": { "type": "object", - "name": "User", + "name": "UserAppMetadata", "properties": [ { - "name": "action_link", + "name": "provider", "type": { "type": "intrinsic", "name": "string" }, "isOptional": true - }, - { - "name": "app_metadata", - "type": { + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", "type": "object", - "name": "UserAppMetadata", "properties": [ { - "name": "provider", + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" }, - "valueType": { - "type": "intrinsic", - "name": "any" + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } - } - ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "name": "user", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "ID of the factor." } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "unverified" + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -9802,303 +9291,854 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - { - "type": "literal", - "value": null + "comment": { + "shortText": "Updated user profile." } - ] - } + } + ] } - ] - } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] }, { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null } - ] - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + }, + { + "name": "error" + } + ] } ] } - ] + } } - } - }, - "comment": { - "shortText": "Sends a reauthentication OTP to the user's email or phone number.\\nRequires the user to be signed-in." - } - }, - "@supabase/auth-js.GoTrueClient.refreshSession": { - "name": "@supabase/auth-js.GoTrueClient.refreshSession", - "params": [ + }, { - "name": "currentSession", - "type": { - "type": "object", - "properties": [ - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - } + "params": [ + { + "name": "params", + "type": { + "type": "union", + "name": "MFAVerifyParams", + "subTypes": [ + { + "type": "nameOnly", + "name": "MFAVerifyTOTPParams" + }, + { + "type": "nameOnly", + "name": "MFAVerifyPhoneParams" + }, + { + "type": "nameOnly", + "name": "MFAVerifyWebauthnParams" + } + ] } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The current session. If passed in, it must contain a refresh token." - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthResponse", - "subTypes": [ - { - "type": "object", - "properties": [ + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthMFAVerifyResponse", + "subTypes": [ { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "union", - "subTypes": [ - { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "New access token (JWT) after successful verification." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + }, + "comment": { + "shortText": "Type of token, always \`bearer\`." + } + }, + { + "name": "user", + "type": { "type": "object", - "name": "Session", + "name": "User", "properties": [ { - "name": "access_token", + "name": "action_link", "type": { "type": "intrinsic", "name": "string" }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] } }, { - "name": "expires_at", + "name": "aud", "type": { "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + "name": "string" } }, { - "name": "expires_in", + "name": "confirmation_sent_at", "type": { "type": "intrinsic", - "name": "number" + "name": "string" }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } + "isOptional": true }, { - "name": "provider_refresh_token", + "name": "confirmed_at", "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "intrinsic", + "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" } }, { - "name": "provider_token", + "name": "deleted_at", "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "intrinsic", + "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } + "isOptional": true }, { - "name": "refresh_token", + "name": "email", "type": { "type": "intrinsic", "name": "string" }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } + "isOptional": true }, { - "name": "token_type", + "name": "email_change_sent_at", "type": { "type": "intrinsic", "name": "string" - } + }, + "isOptional": true }, { - "name": "user", + "name": "email_confirmed_at", "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { + { + "name": "Factor", "type": "object", - "name": "UserAppMetadata", "properties": [ { - "name": "provider", + "name": "created_at", "type": { "type": "intrinsic", "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } ] } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "Updated user profile." + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + } + } + ] + }, + "@supabase/auth-js.GoTrueClient.exchangeCodeForSession": { + "name": "@supabase/auth-js.GoTrueClient.exchangeCodeForSession", + "params": [ + { + "name": "authCode", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthTokenResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { "name": "Factor", + "type": "object", "properties": [ { "name": "created_at", @@ -10111,8 +10151,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "factor_type", "type": { "type": "union", + "name": "Type", "subTypes": [ - null, + { + "type": "literal", + "value": "webauthn" + }, { "type": "literal", "value": "totp" @@ -10152,19 +10196,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "status", "type": { "type": "union", + "name": "Status", "subTypes": [ { "type": "literal", - "value": "verified" + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" }, { "type": "literal", - "value": "unverified" + "value": "phone" } ] }, "comment": { - "shortText": "Factor's status." + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, { @@ -10175,87 +10224,89 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + }, + { + "name": "Factor", "type": "object", - "name": "UserIdentity", "properties": [ { "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", "type": { "type": "intrinsic", "name": "string" } }, { - "name": "identity_data", + "name": "factor_type", "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "last_sign_in_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "name": "provider", + "name": "id", "type": { "type": "intrinsic", "name": "string" + }, + "comment": { + "shortText": "ID of the factor." } }, { - "name": "updated_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "user_id", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -10263,116 +10314,199 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + ] } - ] + }, + "isOptional": true }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } - } - ] - }, - { - "type": "literal", - "value": null + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } } ] } @@ -10380,106 +10514,106 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "user", "type": { - "type": "union", - "subTypes": [ + "type": "object", + "name": "User", + "properties": [ { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { "name": "Factor", + "type": "object", "properties": [ { "name": "created_at", @@ -10492,8 +10626,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "factor_type", "type": { "type": "union", + "name": "Type", "subTypes": [ - null, + { + "type": "literal", + "value": "webauthn" + }, { "type": "literal", "value": "totp" @@ -10533,19 +10671,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "status", "type": { "type": "union", + "name": "Status", "subTypes": [ { "type": "literal", - "value": "verified" + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" }, { "type": "literal", - "value": "unverified" + "value": "phone" } ] }, "comment": { - "shortText": "Factor's status." + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, { @@ -10556,87 +10699,89 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + }, + { + "name": "Factor", "type": "object", - "name": "UserIdentity", "properties": [ { "name": "created_at", "type": { "type": "intrinsic", "name": "string" - }, - "isOptional": true + } }, { - "name": "id", + "name": "factor_type", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } }, { - "name": "last_sign_in_at", + "name": "id", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "ID of the factor." } }, { - "name": "updated_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "user_id", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -10644,110 +10789,193 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + ] } - ] + }, + "isOptional": true }, { - "type": "literal", - "value": null + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } ] } @@ -10803,126 +11031,175 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Returns a new session, regardless of expiry status.\\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\\nIf the current session's refresh token is invalid, an error will be thrown." + "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." } }, - "@supabase/auth-js.GoTrueClient.resend": { - "name": "@supabase/auth-js.GoTrueClient.resend", + "@supabase/auth-js.GoTrueClient.getClaims": { + "name": "@supabase/auth-js.GoTrueClient.getClaims", "params": [ { - "name": "credentials", + "name": "jwt", "type": { - "type": "union", - "name": "ResendParams", - "subTypes": [ + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "An optional specific JWT you wish to verify, not the one you\\n can obtain from #getSession." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ { - "type": "object", - "properties": [ - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" + "name": "allowExpired", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "If set to \`true\` the \`exp\` claim will not be validated against the current time." + } + }, + { + "name": "jwks", + "type": { + "type": "object", + "properties": [ + { + "name": "keys", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "JWK", + "properties": [ + { + "name": "alg", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "key_ops", + "type": { + "type": "array", + "elemType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "name": "kid", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "kty", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ] + } + } } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } + ] + }, + "isOptional": true, + "comment": { + "shortText": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + } + }, + { + "name": "keys", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "JWK", + "properties": [ + { + "name": "alg", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "emailRedirectTo", - "type": { + "isOptional": true + }, + { + "name": "key_ops", + "type": { + "type": "array", + "elemType": { "type": "intrinsic", "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A URL to send the user to after they have signed-in." } } - ] - }, - "isOptional": true - }, - { - "name": "type", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "signup" + }, + { + "name": "kid", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "email_change" - } - ] - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - } - ] - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "type", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" + "isOptional": true + }, + { + "name": "kty", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] } - ] - } + } + ] } - ] + }, + "isOptional": true, + "comment": { + "shortText": "" + } } ] + }, + "comment": { + "shortText": "Various additional options that allow you to customize the\\n behavior of this method." } } ], @@ -10932,7 +11209,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "AuthOtpResponse", "subTypes": [ { "type": "object", @@ -10943,34 +11219,60 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "messageId", + "name": "claims", "type": { - "type": "union", - "subTypes": [ + "type": "nameOnly", + "name": "JwtPayload" + } + }, + { + "name": "header", + "type": { + "name": "JwtHeader", + "type": "object", + "properties": [ { - "type": "intrinsic", - "name": "string" + "name": "alg", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "RS256" + }, + { + "type": "literal", + "value": "ES256" + }, + { + "type": "literal", + "value": "HS256" + } + ] + } }, { - "type": "literal", - "value": null + "name": "kid", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "typ", + "type": { + "type": "intrinsic", + "name": "string" + } } ] - }, - "isOptional": true - }, - { - "name": "session", - "type": { - "type": "literal", - "value": null } }, { - "name": "user", + "name": "signature", "type": { - "type": "literal", - "value": null + "type": "nameOnly", + "name": "Uint8Array" } } ] @@ -10991,40 +11293,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "object", - "properties": [ - { - "name": "messageId", - "type": { - "type": "union", - "subTypes": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - }, - "isOptional": true - }, - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } - } - ] + "type": "literal", + "value": null } }, { @@ -11035,80 +11305,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - ] - } - } - }, - "comment": { - "shortText": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP." - } - }, - "@supabase/auth-js.GoTrueClient.resetPasswordForEmail": { - "name": "@supabase/auth-js.GoTrueClient.resetPasswordForEmail", - "params": [ - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The email address of the user." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The URL to send the user to after they click the password reset link." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data" - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] }, { "type": "object", @@ -11123,8 +11319,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "error", "type": { - "type": "nameOnly", - "name": "AuthError" + "type": "literal", + "value": null } } ] @@ -11134,45 +11330,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Sends a password reset request to an email address. This method supports the PKCE flow." + "shortText": "Extracts the JWT claims present in the access token by first verifying the\\nJWT against the server's JSON Web Key Set endpoint\\n\`/.well-known/jwks.json\` which is often cached, resulting in significantly\\nfaster responses. Prefer this method over #getUser which always\\nsends a request to the Auth server for each JWT.\\n\\nIf the project is not using an asymmetric JWT signing key (like ECC or\\nRSA) it always sends a request to the Auth server (similar to #getUser) to verify the JWT." } }, - "@supabase/auth-js.GoTrueClient.setSession": { - "name": "@supabase/auth-js.GoTrueClient.setSession", - "params": [ - { - "name": "currentSession", - "type": { - "type": "object", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - "comment": { - "shortText": "The current session that minimally contains an access token and refresh token." - } - } - ], + "@supabase/auth-js.GoTrueClient.getSession": { + "name": "@supabase/auth-js.GoTrueClient.getSession", + "params": [], "ret": { "type": { "type": "promise", "name": "Promise", "awaited": { "type": "union", - "name": "AuthResponse", "subTypes": [ { "type": "object", @@ -11185,200 +11354,200 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "session", "type": { - "type": "union", - "subTypes": [ + "type": "object", + "name": "Session", + "properties": [ { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { + { "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + "name": "string" } - }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } - }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { "name": "Factor", + "type": "object", "properties": [ { "name": "created_at", @@ -11391,8 +11560,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "factor_type", "type": { "type": "union", + "name": "Type", "subTypes": [ - null, + { + "type": "literal", + "value": "webauthn" + }, { "type": "literal", "value": "totp" @@ -11432,19 +11605,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "status", "type": { "type": "union", + "name": "Status", "subTypes": [ { "type": "literal", - "value": "verified" + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" }, { "type": "literal", - "value": "unverified" + "value": "phone" } ] }, "comment": { - "shortText": "Factor's status." + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, { @@ -11455,87 +11633,89 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + }, + { + "name": "Factor", "type": "object", - "name": "UserIdentity", "properties": [ { "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", "type": { "type": "intrinsic", "name": "string" } }, { - "name": "identity_data", + "name": "factor_type", "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "last_sign_in_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "name": "provider", + "name": "id", "type": { "type": "intrinsic", "name": "string" + }, + "comment": { + "shortText": "ID of the factor." } }, { - "name": "updated_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "user_id", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -11543,223 +11723,412 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + ] } - ] + }, + "isOptional": true }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "name": "user", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Returns the session, refreshing it if necessary.\\n\\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.\\n\\n**IMPORTANT:** This method loads values directly from the storage attached\\nto the client. If that storage is based on request cookies for example,\\nthe values in it may not be authentic and therefore it's strongly advised\\nagainst using this method and its results in such circumstances. A warning\\nwill be emitted if this is detected. Use #getUser() instead." + } + }, + "@supabase/auth-js.GoTrueClient.getUser": { + "name": "@supabase/auth-js.GoTrueClient.getUser", + "params": [ + { + "name": "jwt", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Takes in an optional access token JWT. If no JWT is provided, the JWT from the current session is used." + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "UserResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { "name": "Factor", + "type": "object", "properties": [ { "name": "created_at", @@ -11772,8 +12141,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "factor_type", "type": { "type": "union", + "name": "Type", "subTypes": [ - null, + { + "type": "literal", + "value": "webauthn" + }, { "type": "literal", "value": "totp" @@ -11813,19 +12186,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "status", "type": { "type": "union", + "name": "Status", "subTypes": [ { "type": "literal", - "value": "verified" + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" }, { "type": "literal", - "value": "unverified" + "value": "phone" } ] }, "comment": { - "shortText": "Factor's status." + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, { @@ -11836,87 +12214,89 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + }, + { + "name": "Factor", "type": "object", - "name": "UserIdentity", "properties": [ { "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", "type": { "type": "intrinsic", "name": "string" } }, { - "name": "identity_data", + "name": "factor_type", "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "last_sign_in_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "name": "provider", + "name": "id", "type": { "type": "intrinsic", "name": "string" + }, + "comment": { + "shortText": "ID of the factor." } }, { - "name": "updated_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "user_id", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -11924,110 +12304,193 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + ] } - ] + }, + "isOptional": true }, { - "type": "literal", - "value": null + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } ] } @@ -12053,22 +12516,151 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "session", + "name": "user", "type": { "type": "literal", "value": null } - }, + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Gets the current user details if there is an existing session. This method\\nperforms a network request to the Supabase Auth server, so the returned\\nvalue is authentic and can be used to base authorization rules on." + } + }, + "@supabase/auth-js.GoTrueClient.getUserIdentities": { + "name": "@supabase/auth-js.GoTrueClient.getUserIdentities", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ { - "name": "user", + "name": "identities", "type": { - "type": "literal", - "value": null + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } } } ] } }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, { "name": "error", "type": { @@ -12083,16 +12675,51 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\\nIf the refresh token or access token in the current session is invalid, an error will be thrown." + "shortText": "Gets all the identities linked to a user." } }, - "@supabase/auth-js.GoTrueClient.signInAnonymously": { - "name": "@supabase/auth-js.GoTrueClient.signInAnonymously", + "@supabase/auth-js.GoTrueClient.initialize": { + "name": "@supabase/auth-js.GoTrueClient.initialize", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "name": "InitializeResult", + "type": "object", + "properties": [ + { + "name": "error", + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "AuthError" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ] + } + } + }, + "comment": { + "shortText": "Initializes the client session either from the url or from storage.\\nThis method is automatically called when instantiating the client, but should also be called\\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)." + } + }, + "@supabase/auth-js.GoTrueClient.linkIdentity": { + "name": "@supabase/auth-js.GoTrueClient.linkIdentity", "params": [ { "name": "credentials", "type": { - "name": "SignInAnonymouslyCredentials", + "name": "SignInWithOAuthCredentials", "type": "object", "properties": [ { @@ -12101,104 +12728,590 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "captchaToken", + "name": "queryParams", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "string" + } + }, + "isOptional": true, + "comment": { + "shortText": "An object of query params" + } + }, + { + "name": "redirectTo", "type": { "type": "intrinsic", "name": "string" }, "isOptional": true, "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." + "shortText": "A URL to send the user to after they are confirmed." } }, { - "name": "data", + "name": "scopes", "type": { "type": "intrinsic", - "name": "object" + "name": "string" }, "isOptional": true, "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." + "shortText": "A space-separated list of scopes granted to the OAuth application." + } + }, + { + "name": "skipBrowserRedirect", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." } } ] }, "isOptional": true - } - ] - }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthResponse", - "subTypes": [ + }, { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" + "name": "provider", + "type": { + "type": "union", + "name": "Provider", + "subTypes": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "figma" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "kakao" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "linkedin_oidc" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "slack_oidc" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + }, + { + "type": "literal", + "value": "fly" + } + ] + }, + "comment": { + "shortText": "One of the providers supported by GoTrue." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "OAuthResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "provider", + "type": { + "type": "union", + "name": "Provider", + "subTypes": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "figma" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "kakao" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "linkedin_oidc" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "slack_oidc" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + }, + { + "type": "literal", + "value": "fly" + } + ] + } + }, + { + "name": "url", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "provider", + "type": { + "type": "union", + "name": "Provider", + "subTypes": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "figma" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "kakao" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "linkedin_oidc" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "slack_oidc" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + }, + { + "type": "literal", + "value": "fly" + } + ] + } + }, + { + "name": "url", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Links an oauth identity to an existing user.\\nThis method supports the PKCE flow." + }, + "altSignatures": [ + { + "params": [ + { + "name": "credentials", + "type": { + "name": "SignInWithIdTokenCredentials", + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "If the ID token contains an \`at_hash\` claim, then the hash of this value is compared to the value in the ID token." + } + }, + { + "name": "nonce", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "If the ID token contains a \`nonce\` claim, then the hash of this value is compared to the value in the ID token." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + } + ] + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "kakao" + }, + null + ] + }, + "comment": { + "shortText": "Provider name or OIDC \`iss\` value identifying which provider should be used to verify the provided token. Supported names: \`google\`, \`apple\`, \`azure\`, \`facebook\`, \`kakao\`, \`keycloak\` (deprecated)." + } + }, + { + "name": "token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "OIDC ID token issued by the specified provider. The \`iss\` claim in the ID token must match the supplied provider. Some ID tokens contain an \`at_hash\` which require that you provide an \`access_token\` value to be accepted properly. If the token contains a \`nonce\` claim you must supply the nonce used to obtain the ID token." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthTokenResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } ] }, @@ -12240,8 +13353,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "token_type", "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": "bearer" } }, { @@ -12342,82 +13455,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -12614,20 +13830,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - { - "type": "literal", - "value": null } - ] - } - }, - { - "name": "user", - "type": { - "type": "union", - "subTypes": [ - { + }, + { + "name": "user", + "type": { "type": "object", "name": "User", "properties": [ @@ -12723,82 +13930,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ + "type": "union", + "subTypes": [ { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -12989,655 +14299,583 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - { - "type": "literal", - "value": null } - ] - } + } + ] } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null } - ] - } + } + ] }, { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] } ] } - ] + } + }, + "comment": { + "shortText": "Links an OIDC identity to an existing user." } } - }, - "comment": { - "shortText": "Creates a new anonymous user." - } + ] }, - "@supabase/auth-js.GoTrueClient.signInWithIdToken": { - "name": "@supabase/auth-js.GoTrueClient.signInWithIdToken", + "@supabase/auth-js.GoTrueClient.onAuthStateChange": { + "name": "@supabase/auth-js.GoTrueClient.onAuthStateChange", "params": [ { - "name": "credentials", + "name": "callback", "type": { - "name": "SignInWithIdTokenCredentials", - "type": "object", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "If the ID token contains an \`at_hash\` claim, then the hash of this value is compared to the value in the ID token." - } - }, - { - "name": "nonce", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "If the ID token contains a \`nonce\` claim, then the hash of this value is compared to the value in the ID token." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - } - ] - }, - "isOptional": true - }, + "type": "function", + "params": [ { - "name": "provider", + "name": "event", "type": { "type": "union", + "name": "AuthChangeEvent", "subTypes": [ { "type": "literal", - "value": "google" + "value": "INITIAL_SESSION" }, { "type": "literal", - "value": "apple" + "value": "PASSWORD_RECOVERY" }, { "type": "literal", - "value": "azure" + "value": "SIGNED_IN" }, { "type": "literal", - "value": "facebook" + "value": "SIGNED_OUT" }, { "type": "literal", - "value": "kakao" + "value": "TOKEN_REFRESHED" }, - null + { + "type": "literal", + "value": "USER_UPDATED" + }, + { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED", + "name": "AuthChangeEventMFA" + } ] - }, - "comment": { - "shortText": "Provider name or OIDC \`iss\` value identifying which provider should be used to verify the provided token. Supported names: \`google\`, \`apple\`, \`azure\`, \`facebook\`, \`kakao\`, \`keycloak\` (deprecated)." } }, { - "name": "token", + "name": "session", "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "OIDC ID token issued by the specified provider. The \`iss\` claim in the ID token must match the supplied provider. Some ID tokens contain an \`at_hash\` which require that you provide an \`access_token\` value to be accepted properly. If the token contains a \`nonce\` claim you must supply the nonce used to obtain the ID token." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthTokenResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { "type": "object", + "name": "Session", "properties": [ { - "name": "session", + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", "type": { "type": "object", - "name": "Session", + "name": "User", "properties": [ { - "name": "access_token", + "name": "action_link", "type": { "type": "intrinsic", "name": "string" }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] } }, { - "name": "expires_at", + "name": "aud", "type": { "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + "name": "string" } }, { - "name": "expires_in", + "name": "confirmation_sent_at", "type": { "type": "intrinsic", - "name": "number" + "name": "string" }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } + "isOptional": true }, { - "name": "provider_refresh_token", + "name": "confirmed_at", "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "intrinsic", + "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" } }, { - "name": "provider_token", + "name": "deleted_at", "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "intrinsic", + "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } + "isOptional": true }, { - "name": "refresh_token", + "name": "email", "type": { "type": "intrinsic", "name": "string" }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } + "isOptional": true }, { - "name": "token_type", + "name": "email_change_sent_at", "type": { "type": "intrinsic", "name": "string" - } + }, + "isOptional": true }, { - "name": "user", + "name": "email_confirmed_at", "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", "type": "object", - "name": "UserAppMetadata", "properties": [ { - "name": "provider", + "name": "created_at", "type": { "type": "intrinsic", "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" }, - "valueType": { - "type": "intrinsic", - "name": "any" + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ] + } }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ + "isOptional": true + }, { - "name": "action_link", + "name": "invited_at", "type": { "type": "intrinsic", "name": "string" @@ -13645,31 +14883,23 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "app_metadata", + "name": "is_anonymous", "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, { - "name": "aud", + "name": "is_sso_user", "type": { "type": "intrinsic", - "name": "string" - } + "name": "boolean" + }, + "isOptional": true }, { - "name": "confirmation_sent_at", + "name": "last_sign_in_at", "type": { "type": "intrinsic", "name": "string" @@ -13677,7 +14907,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "confirmed_at", + "name": "new_email", "type": { "type": "intrinsic", "name": "string" @@ -13685,14 +14915,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "created_at", + "name": "new_phone", "type": { "type": "intrinsic", "name": "string" - } + }, + "isOptional": true }, { - "name": "deleted_at", + "name": "phone", "type": { "type": "intrinsic", "name": "string" @@ -13700,7 +14931,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "email", + "name": "phone_confirmed_at", "type": { "type": "intrinsic", "name": "string" @@ -13708,7 +14939,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "email_change_sent_at", + "name": "recovery_sent_at", "type": { "type": "intrinsic", "name": "string" @@ -13716,7 +14947,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "email_confirmed_at", + "name": "role", "type": { "type": "intrinsic", "name": "string" @@ -13724,261 +14955,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -13994,1767 +14971,4270 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\\nshould be enabled and configured." - } - }, - "@supabase/auth-js.GoTrueClient.signInWithOAuth": { - "name": "@supabase/auth-js.GoTrueClient.signInWithOAuth", - "params": [ - { - "name": "credentials", - "type": { - "name": "SignInWithOAuthCredentials", - "type": "object", - "properties": [ - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "queryParams", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "string" - } - }, - "isOptional": true, - "comment": { - "shortText": "An object of query params" - } - }, - { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A URL to send the user to after they are confirmed." - } - }, - { - "name": "scopes", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - } - }, - { - "name": "skipBrowserRedirect", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true, - "comment": { - "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." - } - } - ] - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "union", - "name": "Provider", - "subTypes": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - }, - { - "type": "literal", - "value": "fly" - } ] - }, - "comment": { - "shortText": "One of the providers supported by GoTrue." } } - ] + ], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + } + }, + "comment": { + "shortText": "A callback function to be invoked when an auth event happens." } } ], "ret": { "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "OAuthResponse", - "subTypes": [ - { + "type": "object", + "properties": [ + { + "name": "data", + "type": { "type": "object", "properties": [ { - "name": "data", + "name": "subscription", "type": { "type": "object", + "name": "Subscription", "properties": [ { - "name": "provider", + "name": "callback", "type": { - "type": "union", - "name": "Provider", - "subTypes": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, + "type": "function", + "params": [ { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - }, - { - "type": "literal", - "value": "fly" - } - ] - } - }, - { - "name": "url", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "provider", - "type": { - "type": "union", - "name": "Provider", - "subTypes": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" + "name": "event", + "type": { + "type": "union", + "name": "AuthChangeEvent", + "subTypes": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, + { + "type": "literal", + "value": "PASSWORD_RECOVERY" + }, + { + "type": "literal", + "value": "SIGNED_IN" + }, + { + "type": "literal", + "value": "SIGNED_OUT" + }, + { + "type": "literal", + "value": "TOKEN_REFRESHED" + }, + { + "type": "literal", + "value": "USER_UPDATED" + }, + { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED", + "name": "AuthChangeEventMFA" + } + ] + } }, { - "type": "literal", - "value": "fly" + "name": "session", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + } + ] + } } - ] - } - }, - { - "name": "url", - "type": { - "type": "literal", - "value": null - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Log in an existing user via a third-party provider.\\nThis method supports the PKCE flow." - } - }, - "@supabase/auth-js.GoTrueClient.signInWithOtp": { - "name": "@supabase/auth-js.GoTrueClient.signInWithOtp", - "params": [ - { - "name": "credentials", - "type": { - "type": "union", - "name": "SignInWithPasswordlessCredentials", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's email address." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "data", - "type": { - "type": "intrinsic", - "name": "object" - }, - "isOptional": true, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." - } - }, - { - "name": "emailRedirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The redirect url embedded in the email link" - } - }, - { - "name": "shouldCreateUser", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true, - "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." - } - } - ] - }, - "isOptional": true - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "channel", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" + ], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" } - ] + } }, - "isOptional": true, "comment": { - "shortText": "Messaging channel to use (e.g. whatsapp or sms)" + "shortText": "The function to call every time there is an event. eg: (eventName) => {}" } }, { - "name": "data", + "name": "id", "type": { "type": "intrinsic", - "name": "object" + "name": "string" }, - "isOptional": true, "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." + "shortText": "The subscriber UUID. This will be set by the client." } }, { - "name": "shouldCreateUser", + "name": "unsubscribe", "type": { - "type": "intrinsic", - "name": "boolean" + "type": "function", + "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + } }, - "isOptional": true, "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." + "shortText": "Call this to remove the listener." } } ] - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's phone number." } } ] } - ] - } + } + ] } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthOtpResponse", - "subTypes": [ - { - "type": "object", - "properties": [ + }, + "comment": { + "shortText": "Receive a notification every time an auth event happens.\\nSafe to use without an async function as callback." + }, + "altSignatures": [ + { + "params": [ + { + "name": "callback", + "type": { + "type": "function", + "params": [ { - "name": "data", + "name": "event", "type": { - "type": "object", - "properties": [ + "type": "union", + "name": "AuthChangeEvent", + "subTypes": [ { - "name": "messageId", - "type": { - "type": "union", - "subTypes": [ - { + "type": "literal", + "value": "INITIAL_SESSION" + }, + { + "type": "literal", + "value": "PASSWORD_RECOVERY" + }, + { + "type": "literal", + "value": "SIGNED_IN" + }, + { + "type": "literal", + "value": "SIGNED_OUT" + }, + { + "type": "literal", + "value": "TOKEN_REFRESHED" + }, + { + "type": "literal", + "value": "USER_UPDATED" + }, + { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED", + "name": "AuthChangeEventMFA" + } + ] + } + }, + { + "name": "session", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { "type": "intrinsic", "name": "string" }, - { - "type": "literal", - "value": null + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } - ] - }, - "isOptional": true - }, - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } + } + ] } ] } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "intrinsic", + "name": "void" } } - ] + } }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "messageId", - "type": { - "type": "union", - "subTypes": [ - { + "comment": { + "shortText": "A callback function to be invoked when an auth event happens." + } + } + ], + "ret": { + "type": { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "subscription", + "type": { + "type": "object", + "name": "Subscription", + "properties": [ + { + "name": "callback", + "type": { + "type": "function", + "params": [ + { + "name": "event", + "type": { + "type": "union", + "name": "AuthChangeEvent", + "subTypes": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, + { + "type": "literal", + "value": "PASSWORD_RECOVERY" + }, + { + "type": "literal", + "value": "SIGNED_IN" + }, + { + "type": "literal", + "value": "SIGNED_OUT" + }, + { + "type": "literal", + "value": "TOKEN_REFRESHED" + }, + { + "type": "literal", + "value": "USER_UPDATED" + }, + { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED", + "name": "AuthChangeEventMFA" + } + ] + } + }, + { + "name": "session", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + } + ] + } + } + ], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + } + }, + "comment": { + "shortText": "The function to call every time there is an event. eg: (eventName) => {}" + } + }, + { + "name": "id", + "type": { "type": "intrinsic", "name": "string" }, - { - "type": "literal", - "value": null + "comment": { + "shortText": "The subscriber UUID. This will be set by the client." } - ] - }, - "isOptional": true - }, - { - "name": "session", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Log in a user using magiclink or a one-time password (OTP).\\n\\nIf the \`{{ .ConfirmationURL }}\` variable is specified in the email template, a magiclink will be sent.\\nIf the \`{{ .Token }}\` variable is specified in the email template, an OTP will be sent.\\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\\n\\nBe aware that you may get back an error message that will not distinguish\\nbetween the cases where the account does not exist or, that the account\\ncan only be accessed via social login.\\n\\nDo note that you will need to configure a Whatsapp sender on Twilio\\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\\nchannel is not supported on other providers\\nat this time.\\nThis method supports PKCE when an email is passed." - } - }, - "@supabase/auth-js.GoTrueClient.signInWithPassword": { - "name": "@supabase/auth-js.GoTrueClient.signInWithPassword", - "params": [ - { - "name": "credentials", - "type": { - "type": "union", - "name": "SignInWithPasswordCredentials", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's email address." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - } - ] - }, - "isOptional": true - }, - { - "name": "password", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's password." - } + }, + { + "name": "unsubscribe", + "type": { + "type": "function", + "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + } + }, + "comment": { + "shortText": "Call this to remove the listener." + } + } + ] + } + } + ] } - ] - }, + } + ] + } + }, + "comment": { + "shortText": "Avoid using an async function inside \`onAuthStateChange\` as you might end\\nup with a deadlock. The callback function runs inside an exclusive lock,\\nso calling other Supabase Client APIs that also try to acquire the\\nexclusive lock, might cause a deadlock. This behavior is observable across\\ntabs. In the next major library version, this behavior will not be supported.\\n\\nReceive a notification every time an auth event happens." + } + } + ] + }, + "@supabase/auth-js.GoTrueClient.reauthenticate": { + "name": "@supabase/auth-js.GoTrueClient.reauthenticate", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthResponse", + "subTypes": [ { "type": "object", "properties": [ { - "name": "options", + "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { - "name": "captchaToken", + "name": "session", "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." + "type": "union", + "subTypes": [ + { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + }, + { + "type": "literal", + "value": null + } + ] } - } - ] - }, - "isOptional": true - }, - { - "name": "password", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's password." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's phone number." - } - } - ] - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthTokenResponsePassword", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ + }, { - "name": "session", + "name": "user", "type": { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, + "type": "union", + "subTypes": [ { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { "type": "intrinsic", "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null }, - { + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { "type": "intrinsic", "name": "string" } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } - }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { "type": "intrinsic", "name": "string" }, - "valueType": { - "type": "intrinsic", - "name": "any" + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "last_sign_in_at", - "type": { + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { "type": "intrinsic", "name": "string" }, - "isOptional": true - }, - { - "name": "provider", - "type": { + "valueType": { "type": "intrinsic", - "name": "string" + "name": "any" } }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] } - ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } + } + ] + }, + { + "type": "literal", + "value": null } ] } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } }, { "name": "user", "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Sends a reauthentication OTP to the user's email or phone number.\\nRequires the user to be signed-in." + } + }, + "@supabase/auth-js.GoTrueClient.refreshSession": { + "name": "@supabase/auth-js.GoTrueClient.refreshSession", + "params": [ + { + "name": "currentSession", + "type": { + "type": "object", + "properties": [ + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The current session. If passed in, it must contain a refresh token." + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "union", + "subTypes": [ { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { + { "type": "intrinsic", "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] } - ] + }, + "isOptional": true }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { "type": "intrinsic", "name": "string" }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" + "isOptional": true }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } - } - ] + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + ] }, { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, + "type": "literal", + "value": null + } + ] + } + }, + { + "name": "user", + "type": { + "type": "union", + "subTypes": [ { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] }, { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + "type": "literal", + "value": null } ] } - }, - { - "name": "weakPassword", - "type": { - "name": "WeakPassword", - "type": "object", - "properties": [ - { - "name": "message", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "reasons", - "type": { - "type": "array", - "elemType": { - "type": "union", - "name": "WeakPasswordReasons", - "subTypes": [ - { - "type": "literal", - "value": "length" - }, - { - "type": "literal", - "value": "characters" - }, - { - "type": "literal", - "value": "pwned" - }, - null - ] - } - } - } - ] - }, - "isOptional": true } ] } @@ -15789,14 +19269,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "literal", "value": null } - }, - { - "name": "weakPassword", - "type": { - "type": "literal", - "value": null - }, - "isOptional": true } ] } @@ -15815,21 +19287,28 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Log in an existing user with an email and password or phone and password.\\n\\nBe aware that you may get back an error message that will not distinguish\\nbetween the cases where the account does not exist or that the\\nemail/phone and password combination is wrong or that the account can only\\nbe accessed via social login." + "shortText": "Returns a new session, regardless of expiry status.\\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\\nIf the current session's refresh token is invalid, an error will be thrown." } }, - "@supabase/auth-js.GoTrueClient.signInWithSSO": { - "name": "@supabase/auth-js.GoTrueClient.signInWithSSO", + "@supabase/auth-js.GoTrueClient.resend": { + "name": "@supabase/auth-js.GoTrueClient.resend", "params": [ { - "name": "params", + "name": "credentials", "type": { "type": "union", - "name": "SignInWithSSO", + "name": "ResendParams", "subTypes": [ { "type": "object", "properties": [ + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + } + }, { "name": "options", "type": { @@ -15847,7 +19326,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, { - "name": "redirectTo", + "name": "emailRedirectTo", "type": { "type": "intrinsic", "name": "string" @@ -15862,13 +19341,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "providerId", + "name": "type", "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "UUID of the SSO provider to invoke single-sign on to." + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "email_change" + } + ] } } ] @@ -15876,16 +19361,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "type": "object", "properties": [ - { - "name": "domain", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Domain name of the organization for which to invoke single-sign on." - } - }, { "name": "options", "type": { @@ -15901,21 +19376,33 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "comment": { "shortText": "Verification token received when the user completes the captcha on the site." } - }, - { - "name": "redirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A URL to send the user to after they have signed-in." - } } ] }, "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "type", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } } ] } @@ -15929,7 +19416,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "SSOResponse", + "name": "AuthOtpResponse", "subTypes": [ { "type": "object", @@ -15937,21 +19424,158 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { - "name": "url", + "name": "messageId", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "subTypes": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] }, - "comment": { - "shortText": "URL to open in a browser which will complete the sign-in flow by\\ntaking the user to the identity provider's authentication flow.\\n\\nOn browsers you can set the URL to \`window.location.href\` to take\\nthe user to the authentication flow." + "isOptional": true + }, + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "messageId", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null } } ] } }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP." + } + }, + "@supabase/auth-js.GoTrueClient.resetPasswordForEmail": { + "name": "@supabase/auth-js.GoTrueClient.resetPasswordForEmail", + "params": [ + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The email address of the user." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "redirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The URL to send the user to after they click the password reset link." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data" + }, { "name": "error", "type": { @@ -15985,179 +19609,123 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\\nsuccessful SSO attempt will redirect the current page to the identity\\nprovider authorization page. The redirect URL is implementation and SSO\\nprotocol specific.\\n\\nYou can use it by providing a SSO domain. Typically you can extract this\\ndomain by asking users for their email address. If this domain is\\nregistered on the Auth instance the redirect will use that organization's\\ncurrently active SSO Identity Provider for the login.\\n\\nIf you have built an organization-specific login page, you can use the\\norganization's SSO Identity Provider UUID directly instead." + "shortText": "Sends a password reset request to an email address. This method supports the PKCE flow." } }, - "@supabase/auth-js.GoTrueClient.signInWithWeb3": { - "name": "@supabase/auth-js.GoTrueClient.signInWithWeb3", + "@supabase/auth-js.GoTrueClient.setSession": { + "name": "@supabase/auth-js.GoTrueClient.setSession", "params": [ { - "name": "credentials", + "name": "currentSession", "type": { + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + "comment": { + "shortText": "The current session that minimally contains an access token and refresh token." + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { "type": "union", - "name": "Web3Credentials", + "name": "AuthResponse", "subTypes": [ { - "type": "union", - "subTypes": [ + "type": "object", + "properties": [ { - "type": "object", - "properties": [ - { - "name": "chain", - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "signInWithSolana", - "type": { - "type": "nameOnly", - "name": "Partial" - }, - "isOptional": true - }, - { - "name": "url", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } - } - ] - }, - "isOptional": true - }, - { - "name": "statement", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - }, - { - "name": "wallet", - "type": { - "name": "SolanaWallet", - "type": "object", - "properties": [ - { - "name": "publicKey", - "type": { - "type": "union", - "subTypes": [ + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "name": "Session", + "properties": [ { - "type": "object", - "properties": [ - { - "name": "toBase58", - "type": { - "type": "function", - "params": [], - "ret": { - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - ] + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } }, { - "type": "literal", - "value": null - } - ] - }, - "isOptional": true - }, - { - "name": "signIn", - "type": { - "type": "function", - "params": [ + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, { - "name": "inputs", + "name": "provider_refresh_token", "type": { - "type": "array", - "elemType": { - "type": "nameOnly", - "name": "SolanaSignInInput" - } - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { "type": "union", "subTypes": [ { - "type": "nameOnly", - "name": "SolanaSignInOutput" + "type": "literal", + "value": null }, { - "type": "array", - "elemType": { - "type": "nameOnly", - "name": "SolanaSignInOutput" - } + "type": "intrinsic", + "name": "string" } ] - } - } - } - }, - "isOptional": true - }, - { - "name": "signMessage", - "type": { - "type": "function", - "params": [ - { - "name": "message", - "type": { - "type": "nameOnly", - "name": "Uint8Array" + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." } }, { - "name": "encoding", + "name": "provider_token", "type": { "type": "union", "subTypes": [ { "type": "literal", - "value": "utf8" + "value": null }, { "type": "intrinsic", @@ -16165,1071 +19733,983 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "union", - "subTypes": [ - { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "nameOnly", - "name": "Uint8Array" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - }, - "isOptional": true - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Wallet interface to use. If not specified will default to \`window.solana\`." - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "chain", - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "name": "message", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Sign in with Solana compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - } - ] - }, - "isOptional": true - }, - { - "name": "signature", - "type": { - "type": "nameOnly", - "name": "Uint8Array" - }, - "comment": { - "shortText": "Ed25519 signature of the message." - } - } - ] - } - ] - }, - { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "chain", - "type": { - "type": "literal", - "value": "ethereum" - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "signInWithEthereum", - "type": { - "type": "nameOnly", - "name": "Partial" - }, - "isOptional": true - }, - { - "name": "url", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } - } - ] - }, - "isOptional": true - }, - { - "name": "statement", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Optional statement to include in the Sign in with Ethereum message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - }, - { - "name": "wallet", - "type": { - "type": "nameOnly", - "name": "EthereumWallet" - }, - "isOptional": true, - "comment": { - "shortText": "Wallet interface to use. If not specified will default to \`window.ethereum\`." - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "chain", - "type": { - "type": "literal", - "value": "ethereum" - } - }, - { - "name": "message", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Sign in with Ethereum compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." + { + "type": "literal", + "value": null } - } - ] - }, - "isOptional": true - }, - { - "name": "signature", - "type": { - "type": "nameOnly", - "name": "Hex" + ] + } }, - "comment": { - "shortText": "Ethereum curve (secp256k1) signature of the message." - } - } - ] - } - ] - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ { - "name": "session", + "name": "user", "type": { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, + "type": "union", + "subTypes": [ { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { "type": "intrinsic", "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null }, - { + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { "type": "intrinsic", "name": "string" } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." - } - }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "valueType": { + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { "type": "intrinsic", - "name": "any" + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] + ] + } + ] } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "valueType": { - "type": "intrinsic", - "name": "any" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } + ] } - ] + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + ] }, { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + "type": "literal", + "value": null } ] } @@ -17285,231 +20765,52 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Signs in a user by verifying a message signed by the user's private key.\\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\\nboth of which derive from the EIP-4361 standard\\nWith slight variation on Solana's side." - } - }, - "@supabase/auth-js.GoTrueClient.signOut": { - "name": "@supabase/auth-js.GoTrueClient.signOut", - "params": [ - { - "name": "options", - "type": { - "name": "SignOut", - "type": "object", - "properties": [ - { - "name": "scope", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "global" - }, - { - "type": "literal", - "value": "local" - }, - { - "type": "literal", - "value": "others" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Determines which sessions should be\\nlogged out. Global means all\\nsessions by this account. Local\\nmeans only this session. Others\\nmeans all other sessions except the\\ncurrent one. When using others,\\nthere is no sign-out event fired on\\nthe current session!" - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "object", - "properties": [ - { - "name": "error", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "nameOnly", - "name": "AuthError" - } - ] - } - } - ] - } - } - }, - "comment": { - "shortText": "Inside a browser context, \`signOut()\` will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a \`\\"SIGNED_OUT\\"\` event.\\n\\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to \`auth.api.signOut(JWT: string)\`.\\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\\n\\nIf using \`others\` scope, no \`SIGNED_OUT\` event is fired!" + "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\\nIf the refresh token or access token in the current session is invalid, an error will be thrown." } }, - "@supabase/auth-js.GoTrueClient.signUp": { - "name": "@supabase/auth-js.GoTrueClient.signUp", + "@supabase/auth-js.GoTrueClient.signInAnonymously": { + "name": "@supabase/auth-js.GoTrueClient.signInAnonymously", "params": [ { - "name": "credentials", - "type": { - "type": "union", - "name": "SignUpWithPasswordCredentials", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's email address." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "data", - "type": { - "type": "intrinsic", - "name": "object" - }, - "isOptional": true, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." - } - }, - { - "name": "emailRedirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The redirect url embedded in the email link" - } - } - ] - }, - "isOptional": true - }, - { - "name": "password", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's password." - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio" - } - }, - { - "name": "channel", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Messaging channel to use (e.g. whatsapp or sms)" - } - }, - { - "name": "data", - "type": { - "type": "intrinsic", - "name": "object" - }, - "isOptional": true, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." - } - } - ] - }, - "isOptional": true - }, - { - "name": "password", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's password." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" + "name": "credentials", + "type": { + "name": "SignInAnonymouslyCredentials", + "type": "object", + "properties": [ + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } }, - "comment": { - "shortText": "The user's phone number." + { + "name": "data", + "type": { + "type": "intrinsic", + "name": "object" + }, + "isOptional": true, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." + } } - } - ] + ] + }, + "isOptional": true } ] - } + }, + "isOptional": true } ], "ret": { @@ -17526,6 +20827,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { @@ -17621,8 +20923,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "token_type", "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": "bearer" } }, { @@ -17723,82 +21025,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "unverified" + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - ] - }, - "comment": { - "shortText": "Factor's status." - } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -17970,50 +21375,414 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "name": "user", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ] + } }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "name": "user", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "name": "User", - "properties": [ + "isOptional": true + }, { - "name": "action_link", + "name": "invited_at", "type": { "type": "intrinsic", "name": "string" @@ -18021,31 +21790,31 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "app_metadata", + "name": "is_anonymous", "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, { - "name": "aud", + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", "type": { "type": "intrinsic", "name": "string" - } + }, + "isOptional": true }, { - "name": "confirmation_sent_at", + "name": "new_email", "type": { "type": "intrinsic", "name": "string" @@ -18053,7 +21822,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "confirmed_at", + "name": "new_phone", "type": { "type": "intrinsic", "name": "string" @@ -18061,14 +21830,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "created_at", + "name": "phone", "type": { "type": "intrinsic", "name": "string" - } + }, + "isOptional": true }, { - "name": "deleted_at", + "name": "phone_confirmed_at", "type": { "type": "intrinsic", "name": "string" @@ -18076,7 +21846,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "email", + "name": "recovery_sent_at", "type": { "type": "intrinsic", "name": "string" @@ -18084,7 +21854,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "email_change_sent_at", + "name": "role", "type": { "type": "intrinsic", "name": "string" @@ -18092,7 +21862,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "email_confirmed_at", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -18100,601 +21870,759 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "factors", + "name": "user_metadata", "type": { - "type": "array", - "elemType": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + { + "type": "literal", + "value": null + } + ] + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Creates a new anonymous user." + } + }, + "@supabase/auth-js.GoTrueClient.signInWithIdToken": { + "name": "@supabase/auth-js.GoTrueClient.signInWithIdToken", + "params": [ + { + "name": "credentials", + "type": { + "name": "SignInWithIdTokenCredentials", + "type": "object", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "If the ID token contains an \`at_hash\` claim, then the hash of this value is compared to the value in the ID token." + } + }, + { + "name": "nonce", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "If the ID token contains a \`nonce\` claim, then the hash of this value is compared to the value in the ID token." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + } + ] + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "kakao" + }, + null + ] + }, + "comment": { + "shortText": "Provider name or OIDC \`iss\` value identifying which provider should be used to verify the provided token. Supported names: \`google\`, \`apple\`, \`azure\`, \`facebook\`, \`kakao\`, \`keycloak\` (deprecated)." + } + }, + { + "name": "token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "OIDC ID token issued by the specified provider. The \`iss\` claim in the ID token must match the supplied provider. Some ID tokens contain an \`at_hash\` which require that you provide an \`access_token\` value to be accepted properly. If the token contains a \`nonce\` claim you must supply the nonce used to obtain the ID token." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthTokenResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { "type": "object", - "name": "Factor", + "name": "UserAppMetadata", "properties": [ { - "name": "created_at", + "name": "provider", "type": { "type": "intrinsic", "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, { - "type": "literal", - "value": "totp" + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "type": "literal", - "value": "phone" + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } ] }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ { - "type": "literal", - "value": "verified" + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "literal", - "value": "unverified" + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } } ] - }, - "comment": { - "shortText": "Factor's status." } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" } }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + { + "name": "id", + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } }, - "valueType": { + "isOptional": true + }, + { + "name": "identity_id", + "type": { "type": "intrinsic", - "name": "any" + "name": "string" } }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] - } + ] + } + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } - } - ] - }, - { - "type": "literal", - "value": null + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } } ] } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "session", - "type": { - "type": "literal", - "value": null - } }, - { - "name": "user", - "type": { - "type": "literal", - "value": null - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Creates a new user.\\n\\nBe aware that if a user account exists in the system you may get back an\\nerror message that attempts to hide this information from the user.\\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled." - } - }, - "@supabase/auth-js.GoTrueClient.startAutoRefresh": { - "name": "@supabase/auth-js.GoTrueClient.startAutoRefresh", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "intrinsic", - "name": "void" - } - } - }, - "comment": { - "shortText": "Starts an auto-refresh process in the background. The session is checked\\nevery few seconds. Close to the time of expiration a process is started to\\nrefresh the session. If refreshing fails it will be retried for as long as\\nnecessary.\\n\\nIf you set the GoTrueClientOptions#autoRefreshToken you don't need\\nto call this function, it will be called for you.\\n\\nOn browsers the refresh process works only when the tab/window is in the\\nforeground to conserve resources as well as prevent race conditions and\\nflooding auth with requests. If you call this method any managed\\nvisibility change callback will be removed and you must manage visibility\\nchanges on your own.\\n\\nOn non-browser platforms the refresh process works *continuously* in the\\nbackground, which may not be desirable. You should hook into your\\nplatform's foreground indication mechanism and call these methods\\nappropriately to conserve resources.\\n\\n#stopAutoRefresh" - } - }, - "@supabase/auth-js.GoTrueClient.stopAutoRefresh": { - "name": "@supabase/auth-js.GoTrueClient.stopAutoRefresh", - "params": [], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "intrinsic", - "name": "void" - } - } - }, - "comment": { - "shortText": "Stops an active auto refresh process running in the background (if any).\\n\\nIf you call this method any managed visibility change callback will be\\nremoved and you must manage visibility changes on your own.\\n\\nSee #startAutoRefresh for more details." - } - }, - "@supabase/auth-js.GoTrueClient.unlinkIdentity": { - "name": "@supabase/auth-js.GoTrueClient.unlinkIdentity", - "params": [ - { - "name": "identity", - "type": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } - }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data" - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Unlinks an identity from a user by deleting it. The user will no longer be able to sign in with that identity once it's unlinked." - } - }, - "@supabase/auth-js.GoTrueClient.updateUser": { - "name": "@supabase/auth-js.GoTrueClient.updateUser", - "params": [ - { - "name": "attributes", - "type": { - "type": "object", - "name": "UserAttributes", - "properties": [ - { - "name": "data", - "type": { - "type": "intrinsic", - "name": "object" - }, - "isOptional": true, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." - } - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The user's email." - } - }, - { - "name": "nonce", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The nonce sent for reauthentication if the user's password is to be updated.\\n\\nCall reauthenticate() to obtain the nonce first." - } - }, - { - "name": "password", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The user's password." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The user's phone." - } - } - ] - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "emailRedirectTo", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "UserResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ { "name": "user", "type": { @@ -18793,82 +22721,185 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "array", "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "union", + "subTypes": [ { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "phone" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - { - "type": "literal", - "value": "unverified" + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] } @@ -19081,6 +23112,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "object", "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, { "name": "user", "type": { @@ -19105,109 +23143,526 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Updates user data for a logged in user." + "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\\nshould be enabled and configured." } }, - "@supabase/auth-js.GoTrueClient.verifyOtp": { - "name": "@supabase/auth-js.GoTrueClient.verifyOtp", + "@supabase/auth-js.GoTrueClient.signInWithOAuth": { + "name": "@supabase/auth-js.GoTrueClient.signInWithOAuth", "params": [ { - "name": "params", + "name": "credentials", "type": { + "name": "SignInWithOAuthCredentials", + "type": "object", + "properties": [ + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "queryParams", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "string" + } + }, + "isOptional": true, + "comment": { + "shortText": "An object of query params" + } + }, + { + "name": "redirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "A URL to send the user to after they are confirmed." + } + }, + { + "name": "scopes", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + } + }, + { + "name": "skipBrowserRedirect", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." + } + } + ] + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "union", + "name": "Provider", + "subTypes": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "figma" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "kakao" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "linkedin_oidc" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "slack_oidc" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + }, + { + "type": "literal", + "value": "fly" + } + ] + }, + "comment": { + "shortText": "One of the providers supported by GoTrue." + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { "type": "union", - "name": "VerifyOtpParams", + "name": "OAuthResponse", "subTypes": [ { "type": "object", - "name": "VerifyMobileOtpParams", "properties": [ { - "name": "options", + "name": "data", "type": { "type": "object", "properties": [ { - "name": "captchaToken", + "name": "provider", "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." + "type": "union", + "name": "Provider", + "subTypes": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "figma" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "kakao" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "linkedin_oidc" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "slack_oidc" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + }, + { + "type": "literal", + "value": "fly" + } + ] } }, { - "name": "redirectTo", + "name": "url", "type": { "type": "intrinsic", "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "A URL to send the user to after they are confirmed." } } ] - }, - "isOptional": true + } }, { - "name": "phone", + "name": "error", "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's phone number." + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "provider", + "type": { + "type": "union", + "name": "Provider", + "subTypes": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "figma" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "kakao" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "linkedin_oidc" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "slack_oidc" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + }, + { + "type": "literal", + "value": "fly" + } + ] + } + }, + { + "name": "url", + "type": { + "type": "literal", + "value": null + } + } + ] } }, { - "name": "token", + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Log in an existing user via a third-party provider.\\nThis method supports the PKCE flow." + } + }, + "@supabase/auth-js.GoTrueClient.signInWithOtp": { + "name": "@supabase/auth-js.GoTrueClient.signInWithOtp", + "params": [ + { + "name": "credentials", + "type": { + "type": "union", + "name": "SignInWithPasswordlessCredentials", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "email", "type": { "type": "intrinsic", "name": "string" }, "comment": { - "shortText": "The otp sent to the user's phone number." + "shortText": "The user's email address." } }, { - "name": "type", + "name": "options", "type": { - "type": "union", - "name": "MobileOtpType", - "subTypes": [ + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "data", + "type": { + "type": "intrinsic", + "name": "object" + }, + "isOptional": true, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." + } + }, { - "type": "literal", - "value": "sms" + "name": "emailRedirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The redirect url embedded in the email link" + } }, { - "type": "literal", - "value": "phone_change" + "name": "shouldCreateUser", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." + } } ] }, - "comment": { - "shortText": "The user's verification type." - } + "isOptional": true } ] }, { "type": "object", - "name": "VerifyEmailOtpParams", "properties": [ - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The user's email address." - } - }, { "name": "options", "type": { @@ -19225,14 +23680,45 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, { - "name": "redirectTo", + "name": "channel", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "Messaging channel to use (e.g. whatsapp or sms)" + } + }, + { + "name": "data", "type": { "type": "intrinsic", - "name": "string" + "name": "object" }, "isOptional": true, "comment": { - "shortText": "A URL to send the user to after they are confirmed." + "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." + } + }, + { + "name": "shouldCreateUser", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." } } ] @@ -19240,101 +23726,118 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "token", + "name": "phone", "type": { "type": "intrinsic", "name": "string" }, "comment": { - "shortText": "The otp sent to the user's email address." + "shortText": "The user's phone number." } - }, + } + ] + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthOtpResponse", + "subTypes": [ + { + "type": "object", + "properties": [ { - "name": "type", + "name": "data", "type": { - "type": "union", - "name": "EmailOtpType", - "subTypes": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, + "name": "T", + "type": "object", + "properties": [ { - "type": "literal", - "value": "recovery" + "name": "messageId", + "type": { + "type": "union", + "subTypes": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + }, + "isOptional": true }, { - "type": "literal", - "value": "email_change" + "name": "session", + "type": { + "type": "literal", + "value": null + } }, { - "type": "literal", - "value": "email" + "name": "user", + "type": { + "type": "literal", + "value": null + } } ] - }, - "comment": { - "shortText": "The user's verification type." + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null } } ] }, { "type": "object", - "name": "VerifyTokenHashParams", "properties": [ { - "name": "token_hash", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The token hash used in an email link" - } - }, - { - "name": "type", + "name": "data", "type": { - "type": "union", - "name": "EmailOtpType", - "subTypes": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, + "type": "object", + "properties": [ { - "type": "literal", - "value": "recovery" + "name": "messageId", + "type": { + "type": "literal", + "value": null + } }, { - "type": "literal", - "value": "email_change" + "name": "session", + "type": { + "type": "literal", + "value": null + } }, { - "type": "literal", - "value": "email" + "name": "user", + "type": { + "type": "literal", + "value": null + } } ] - }, - "comment": { - "shortText": "The user's verification type." + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" } } ] @@ -19342,6 +23845,21 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] } } + }, + "comment": { + "shortText": "Log in a user using magiclink or a one-time password (OTP).\\n\\nIf the \`{{ .ConfirmationURL }}\` variable is specified in the email template, a magiclink will be sent.\\nIf the \`{{ .Token }}\` variable is specified in the email template, an OTP will be sent.\\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\\n\\nBe aware that you may get back an error message that will not distinguish\\nbetween the cases where the account does not exist or, that the account\\ncan only be accessed via social login.\\n\\nDo note that you will need to configure a Whatsapp sender on Twilio\\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\\nchannel is not supported on other providers\\nat this time.\\nThis method supports PKCE when an email is passed." + } + }, + "@supabase/auth-js.GoTrueClient.signInWithPassword": { + "name": "@supabase/auth-js.GoTrueClient.signInWithPassword", + "params": [ + { + "name": "credentials", + "type": { + "type": "nameOnly", + "name": "SignInWithPasswordCredentials" + } + } ], "ret": { "type": { @@ -19349,7 +23867,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "AuthResponse", + "name": "AuthTokenResponsePassword", "subTypes": [ { "type": "object", @@ -19357,205 +23875,206 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { "name": "session", "type": { - "type": "union", - "subTypes": [ + "type": "object", + "name": "Session", + "properties": [ { - "type": "object", - "name": "Session", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - }, - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - }, - { - "name": "provider_refresh_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - }, - { - "name": "provider_token", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null }, - "isOptional": true, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - }, - { - "name": "refresh_token", - "type": { + { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "A one-time used refresh token that never expires." } - }, - { - "name": "token_type", - "type": { + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "name": "user", - "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { "name": "Factor", + "type": "object", "properties": [ { "name": "created_at", @@ -19568,8 +24087,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "factor_type", "type": { "type": "union", + "name": "Type", "subTypes": [ - null, + { + "type": "literal", + "value": "webauthn" + }, { "type": "literal", "value": "totp" @@ -19609,19 +24132,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "status", "type": { "type": "union", + "name": "Status", "subTypes": [ { "type": "literal", - "value": "verified" + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" }, { "type": "literal", - "value": "unverified" + "value": "phone" } ] }, "comment": { - "shortText": "Factor's status." + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, { @@ -19632,87 +24160,89 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + }, + { + "name": "Factor", "type": "object", - "name": "UserIdentity", "properties": [ { "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", "type": { "type": "intrinsic", "name": "string" } }, { - "name": "identity_data", + "name": "factor_type", "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "last_sign_in_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "name": "provider", + "name": "id", "type": { "type": "intrinsic", "name": "string" + }, + "comment": { + "shortText": "ID of the factor." } }, { - "name": "updated_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "user_id", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -19720,223 +24250,306 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + ] } - ] + }, + "isOptional": true }, - "comment": { - "shortText": "When using a separate user storage, accessing properties of this object will throw an error." - } - } - ] - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "name": "user", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } }, - "isOptional": true - }, - { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { "name": "Factor", + "type": "object", "properties": [ { "name": "created_at", @@ -19949,8 +24562,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "factor_type", "type": { "type": "union", + "name": "Type", "subTypes": [ - null, + { + "type": "literal", + "value": "webauthn" + }, { "type": "literal", "value": "totp" @@ -19990,19 +24607,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "status", "type": { "type": "union", + "name": "Status", "subTypes": [ { "type": "literal", - "value": "verified" + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" }, { "type": "literal", - "value": "unverified" + "value": "phone" } ] }, "comment": { - "shortText": "Factor's status." + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" } }, { @@ -20013,87 +24635,89 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { + }, + { + "name": "Factor", "type": "object", - "name": "UserIdentity", "properties": [ { "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "id", "type": { "type": "intrinsic", "name": "string" } }, { - "name": "identity_data", + "name": "factor_type", "type": { - "type": "index signature", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" - } + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" } }, { - "name": "last_sign_in_at", + "name": "friendly_name", "type": { "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } }, { - "name": "provider", + "name": "id", "type": { "type": "intrinsic", "name": "string" + }, + "comment": { + "shortText": "ID of the factor." } }, { - "name": "updated_at", + "name": "status", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] }, - "isOptional": true + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } }, { - "name": "user_id", + "name": "updated_at", "type": { "type": "intrinsic", "name": "string" @@ -20101,113 +24725,223 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + ] } - ] + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, { - "type": "literal", - "value": null + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } ] } + }, + { + "name": "weakPassword", + "type": { + "name": "WeakPassword", + "type": "object", + "properties": [ + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "reasons", + "type": { + "type": "array", + "elemType": { + "type": "nameOnly", + "name": "WeakPasswordReasons" + } + } + } + ] + }, + "isOptional": true } ] } @@ -20242,6 +24976,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "literal", "value": null } + }, + { + "name": "weakPassword", + "type": { + "type": "literal", + "value": null + } } ] } @@ -20260,55 +25001,109 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Log in a user given a User supplied OTP or TokenHash received through mobile or email." - } - }, - "@supabase/auth-js.NavigatorLockAcquireTimeoutError.constructor": { - "name": "@supabase/auth-js.NavigatorLockAcquireTimeoutError.constructor", - "params": [ - { - "name": "message", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "NavigatorLockAcquireTimeoutError" - } + "shortText": "Log in an existing user with an email and password or phone and password.\\n\\nBe aware that you may get back an error message that will not distinguish\\nbetween the cases where the account does not exist or that the\\nemail/phone and password combination is wrong or that the account can only\\nbe accessed via social login." } }, - "@supabase/auth-js.GoTrueAdminMFAApi.deleteFactor": { - "name": "@supabase/auth-js.GoTrueAdminMFAApi.deleteFactor", + "@supabase/auth-js.GoTrueClient.signInWithSSO": { + "name": "@supabase/auth-js.GoTrueClient.signInWithSSO", "params": [ { "name": "params", "type": { - "name": "AuthMFAAdminDeleteFactorParams", - "type": "object", - "properties": [ + "type": "union", + "name": "SignInWithSSO", + "subTypes": [ { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the MFA factor to delete." - } + "type": "object", + "properties": [ + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "redirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "A URL to send the user to after they have signed-in." + } + } + ] + }, + "isOptional": true + }, + { + "name": "providerId", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "UUID of the SSO provider to invoke single-sign on to." + } + } + ] }, { - "name": "userId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the user whose factor is being deleted." - } + "type": "object", + "properties": [ + { + "name": "domain", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Domain name of the organization for which to invoke single-sign on." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "redirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "A URL to send the user to after they have signed-in." + } + } + ] + }, + "isOptional": true + } + ] } ] } @@ -20320,7 +25115,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "AuthMFAAdminDeleteFactorResponse", + "name": "SSOResponse", "subTypes": [ { "type": "object", @@ -20328,79 +25123,454 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { - "name": "id", + "name": "url", "type": { "type": "intrinsic", "name": "string" }, "comment": { - "shortText": "ID of the factor that was successfully deleted." + "shortText": "URL to open in a browser which will complete the sign-in flow by\\ntaking the user to the identity provider's authentication flow.\\n\\nOn browsers you can set the URL to \`window.location.href\` to take\\nthe user to the authentication flow." } } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error" + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\\nsuccessful SSO attempt will redirect the current page to the identity\\nprovider authorization page. The redirect URL is implementation and SSO\\nprotocol specific.\\n\\nYou can use it by providing a SSO domain. Typically you can extract this\\ndomain by asking users for their email address. If this domain is\\nregistered on the Auth instance the redirect will use that organization's\\ncurrently active SSO Identity Provider for the login.\\n\\nIf you have built an organization-specific login page, you can use the\\norganization's SSO Identity Provider UUID directly instead." + } + }, + "@supabase/auth-js.GoTrueClient.signInWithWeb3": { + "name": "@supabase/auth-js.GoTrueClient.signInWithWeb3", + "params": [ + { + "name": "credentials", + "type": { + "type": "union", + "name": "Web3Credentials", + "subTypes": [ + { + "type": "union", + "name": "SolanaWeb3Credentials", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "signInWithSolana", + "type": { + "type": "nameOnly", + "name": "Partial" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + } + } + ] + }, + "isOptional": true + }, + { + "name": "statement", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + } + }, + { + "name": "wallet", + "type": { + "name": "SolanaWallet", + "type": "object", + "properties": [ + { + "name": "publicKey", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "toBase58", + "type": { + "type": "function", + "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ] + }, + { + "type": "literal", + "value": null + } + ] + }, + "isOptional": true + }, + { + "name": "signIn", + "type": { + "type": "function", + "params": [ + { + "name": "inputs", + "type": { + "type": "array", + "elemType": { + "type": "nameOnly", + "name": "SolanaSignInInput" + } + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "SolanaSignInOutput" + }, + { + "type": "array", + "elemType": { + "type": "nameOnly", + "name": "SolanaSignInOutput" + } + } + ] + } + } + } + }, + "isOptional": true + }, + { + "name": "signMessage", + "type": { + "type": "function", + "params": [ + { + "name": "message", + "type": { + "type": "nameOnly", + "name": "Uint8Array" + } + }, + { + "name": "encoding", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "utf8" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Uint8Array" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + }, + "isOptional": true + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to \`window.solana\`." + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Sign in with Solana compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + } + ] + }, + "isOptional": true + }, + { + "name": "signature", + "type": { + "type": "nameOnly", + "name": "Uint8Array" + }, + "comment": { + "shortText": "Ed25519 signature of the message." + } + } + ] } ] }, { - "type": "object", - "properties": [ + "type": "union", + "name": "EthereumWeb3Credentials", + "subTypes": [ { - "name": "data", - "type": { - "type": "literal", - "value": null - } + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "signInWithEthereum", + "type": { + "type": "nameOnly", + "name": "Partial" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + } + } + ] + }, + "isOptional": true + }, + { + "name": "statement", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Optional statement to include in the Sign in with Ethereum message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + } + }, + { + "name": "wallet", + "type": { + "type": "nameOnly", + "name": "EthereumWallet" + }, + "isOptional": true, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to \`window.ethereum\`." + } + } + ] }, { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + } + ] + }, + "isOptional": true + }, + { + "name": "signature", + "type": { + "type": "nameOnly", + "name": "Hex" + }, + "comment": { + "shortText": "Ethereum curve (secp256k1) signature of the message." + } + } + ] } ] } ] } } - }, - "comment": { - "shortText": "Deletes a factor on a user. This will log the user out of all active\\nsessions if the deleted factor was verified." - } - }, - "@supabase/auth-js.GoTrueAdminMFAApi.listFactors": { - "name": "@supabase/auth-js.GoTrueAdminMFAApi.listFactors", - "params": [ - { - "name": "params", - "type": { - "name": "AuthMFAAdminListFactorsParams", - "type": "object", - "properties": [ - { - "name": "userId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the user." - } - } - ] - } - } ], "ret": { "type": { @@ -20408,7 +25578,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Promise", "awaited": { "type": "union", - "name": "AuthMFAAdminListFactorsResponse", "subTypes": [ { "type": "object", @@ -20419,357 +25588,572 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "factors", + "name": "session", "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } }, - { - "type": "literal", - "value": "phone" + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "comment": { - "shortText": "All factors attached to the user." - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Lists all factors associated to a user." - } - }, - "@supabase/auth-js.GoTrueMFAApi.challenge": { - "name": "@supabase/auth-js.GoTrueMFAApi.challenge", - "params": [ - { - "name": "params", - "type": { - "name": "MFAChallengeParams", - "type": "object", - "properties": [ - { - "name": "channel", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors" - } - }, - { - "name": "factorId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor to be challenged. Returned in enroll()." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthMFAChallengeResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "expires_at", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the newly created challenge." - } - }, - { - "name": "type", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Factor Type which generated the challenge" - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Prepares a challenge used to verify that a user has access to a MFA\\nfactor." - } - }, - "@supabase/auth-js.GoTrueMFAApi.challengeAndVerify": { - "name": "@supabase/auth-js.GoTrueMFAApi.challengeAndVerify", - "params": [ - { - "name": "params", - "type": { - "name": "MFAChallengeAndVerifyParams", - "type": "object", - "properties": [ - { - "name": "code", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Verification code provided by the user." - } - }, - { - "name": "factorId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthMFAVerifyResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "access_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "New access token (JWT) after successful verification." - } - }, - { - "name": "expires_in", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "Number of seconds in which the access token will expire." - } - }, - { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Refresh token you can use to obtain new access tokens when expired." - } - }, - { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Type of token, typically \`Bearer\`." + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] } }, { @@ -20866,1108 +26250,1895 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "isOptional": true }, { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Signs in a user by verifying a message signed by the user's private key.\\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\\nboth of which derive from the EIP-4361 standard\\nWith slight variation on Solana's side." + } + }, + "@supabase/auth-js.GoTrueClient.signOut": { + "name": "@supabase/auth-js.GoTrueClient.signOut", + "params": [ + { + "name": "options", + "type": { + "name": "SignOut", + "type": "object", + "properties": [ + { + "name": "scope", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "Determines which sessions should be\\nlogged out. Global means all\\nsessions by this account. Local\\nmeans only this session. Others\\nmeans all other sessions except the\\ncurrent one. When using others,\\nthere is no sign-out event fired on\\nthe current session!" + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "object", + "properties": [ + { + "name": "error", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "nameOnly", + "name": "AuthError" + } + ] + } + } + ] + } + } + }, + "comment": { + "shortText": "Inside a browser context, \`signOut()\` will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a \`\\"SIGNED_OUT\\"\` event.\\n\\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to \`auth.api.signOut(JWT: string)\`.\\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\\n\\nIf using \`others\` scope, no \`SIGNED_OUT\` event is fired!" + } + }, + "@supabase/auth-js.GoTrueClient.signUp": { + "name": "@supabase/auth-js.GoTrueClient.signUp", + "params": [ + { + "name": "credentials", + "type": { + "type": "nameOnly", + "name": "SignUpWithPasswordCredentials" + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { + { "type": "intrinsic", "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] } - ] + }, + "isOptional": true }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + { + "name": "new_email", + "type": { "type": "intrinsic", "name": "string" }, - "valueType": { + "isOptional": true + }, + { + "name": "new_phone", + "type": { "type": "intrinsic", - "name": "any" - } + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } - } - ] - } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } - } - ] - }, - "comment": { - "shortText": "Updated user profile." - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\\nprovided by the user by entering a code seen in their authenticator app." - } - }, - "@supabase/auth-js.GoTrueMFAApi.enroll": { - "name": "@supabase/auth-js.GoTrueMFAApi.enroll", - "params": [ - { - "name": "params", - "type": { - "name": "MFAEnrollTOTPParams", - "type": "object", - "properties": [ - { - "name": "factorType", - "type": { - "type": "literal", - "value": "totp" - }, - "comment": { - "shortText": "The type of factor being enrolled." - } - }, - { - "name": "friendlyName", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Human readable name assigned to the factor." - } - }, - { - "name": "issuer", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Domain which the user is enrolled with." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthMFAEnrollTOTPResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors *" - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - } - }, - { - "name": "totp", - "type": { - "type": "object", - "properties": [ - { - "name": "qr_code", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\\nconvert it to a URL by prepending \`data:image/svg+xml;utf-8,\` to\\nthe value. Avoid logging this value to the console." - } - }, - { - "name": "secret", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\\nin a password-style field to the user, in case they are unable to\\nscan the QR code. Avoid logging this value to the console." - } - }, - { - "name": "uri", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\\nto use it. Avoid loggin this value to the console." - } - } - ] - }, - "comment": { - "shortText": "TOTP enrollment information." - } - }, - { - "name": "type", - "type": { - "type": "literal", - "value": "totp" - }, - "comment": { - "shortText": "Type of MFA factor." - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - }, - "comment": { - "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\\nfactor. This method creates a new \`unverified\` factor.\\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\\nauthenticator app.\\nThe user has to enter the code from their authenticator app to verify it.\\n\\nUpon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to \`aal2\`." - }, - "altSignatures": [ - { - "params": [ - { - "name": "params", - "type": { - "name": "MFAEnrollPhoneParams", - "type": "object", - "properties": [ - { - "name": "factorType", - "type": { - "type": "literal", - "value": "phone" - }, - "comment": { - "shortText": "The type of factor being enrolled." - } - }, - { - "name": "friendlyName", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Human readable name assigned to the factor." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Phone number associated with a factor. Number should conform to E.164 format" - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthMFAEnrollPhoneResponse", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors *" - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - } - }, - { - "name": "type", - "type": { - "type": "literal", - "value": "phone" + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] }, - "comment": { - "shortText": "Type of MFA factor." + { + "type": "literal", + "value": null } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] - } - ] - } - } - } - }, - { - "params": [ - { - "name": "params", - "type": { - "type": "union", - "name": "MFAEnrollParams", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "factorType", - "type": { - "type": "literal", - "value": "totp" - }, - "comment": { - "shortText": "The type of factor being enrolled." - } - }, - { - "name": "friendlyName", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Human readable name assigned to the factor." - } - }, - { - "name": "issuer", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Domain which the user is enrolled with." - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "factorType", - "type": { - "type": "literal", - "value": "phone" - }, - "comment": { - "shortText": "The type of factor being enrolled." - } - }, - { - "name": "friendlyName", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Human readable name assigned to the factor." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" + ] + } }, - "comment": { - "shortText": "Phone number associated with a factor. Number should conform to E.164 format" - } - } - ] - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthMFAEnrollResponse", - "subTypes": [ - { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "user", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors *" - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - } - }, - { - "name": "totp", - "type": { - "type": "object", - "properties": [ - { - "name": "qr_code", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\\nconvert it to a URL by prepending \`data:image/svg+xml;utf-8,\` to\\nthe value. Avoid logging this value to the console." - } - }, - { - "name": "secret", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\\nin a password-style field to the user, in case they are unable to\\nscan the QR code. Avoid logging this value to the console." - } - }, - { - "name": "uri", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\\nto use it. Avoid loggin this value to the console." - } - } - ] + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "TOTP enrollment information." - } - }, - { - "name": "type", - "type": { - "type": "literal", - "value": "totp" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "Type of MFA factor." + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + ] + }, + { + "type": "literal", + "value": null + } + ] } - ] - } - ] + } + ] + } }, { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors *" - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - } - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - } - }, - { - "name": "type", - "type": { - "type": "literal", - "value": "phone" - }, - "comment": { - "shortText": "Type of MFA factor." - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null } - ] - } - ] + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } } ] } - } + ] } } - ] + }, + "comment": { + "shortText": "Creates a new user.\\n\\nBe aware that if a user account exists in the system you may get back an\\nerror message that attempts to hide this information from the user.\\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled." + } + }, + "@supabase/auth-js.GoTrueClient.startAutoRefresh": { + "name": "@supabase/auth-js.GoTrueClient.startAutoRefresh", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "intrinsic", + "name": "void" + } + } + }, + "comment": { + "shortText": "Starts an auto-refresh process in the background. The session is checked\\nevery few seconds. Close to the time of expiration a process is started to\\nrefresh the session. If refreshing fails it will be retried for as long as\\nnecessary.\\n\\nIf you set the GoTrueClientOptions#autoRefreshToken you don't need\\nto call this function, it will be called for you.\\n\\nOn browsers the refresh process works only when the tab/window is in the\\nforeground to conserve resources as well as prevent race conditions and\\nflooding auth with requests. If you call this method any managed\\nvisibility change callback will be removed and you must manage visibility\\nchanges on your own.\\n\\nOn non-browser platforms the refresh process works *continuously* in the\\nbackground, which may not be desirable. You should hook into your\\nplatform's foreground indication mechanism and call these methods\\nappropriately to conserve resources.\\n\\n#stopAutoRefresh" + } }, - "@supabase/auth-js.GoTrueMFAApi.getAuthenticatorAssuranceLevel": { - "name": "@supabase/auth-js.GoTrueMFAApi.getAuthenticatorAssuranceLevel", + "@supabase/auth-js.GoTrueClient.stopAutoRefresh": { + "name": "@supabase/auth-js.GoTrueClient.stopAutoRefresh", "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "intrinsic", + "name": "void" + } + } + }, + "comment": { + "shortText": "Stops an active auto refresh process running in the background (if any).\\n\\nIf you call this method any managed visibility change callback will be\\nremoved and you must manage visibility changes on your own.\\n\\nSee #startAutoRefresh for more details." + } + }, + "@supabase/auth-js.GoTrueClient.unlinkIdentity": { + "name": "@supabase/auth-js.GoTrueClient.unlinkIdentity", + "params": [ + { + "name": "identity", + "type": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], "ret": { "type": { "type": "promise", "name": "Promise", "awaited": { "type": "union", - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data" + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, { "type": "object", "properties": [ { "name": "data", "type": { - "type": "object", - "properties": [ - { - "name": "currentAuthenticationMethods", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "AMREntry", - "properties": [ - { - "name": "method", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "password" - }, - null, - { - "type": "literal", - "value": "otp" - }, - { - "type": "literal", - "value": "oauth" - }, - { - "type": "literal", - "value": "mfa/totp" - } - ] - }, - "comment": { - "shortText": "Authentication method name." - } - }, - { - "name": "timestamp", - "type": { - "type": "intrinsic", - "name": "number" - }, - "comment": { - "shortText": "Timestamp when the method was successfully used. Represents number of\\nseconds since 1st January 1970 (UNIX epoch) in UTC." - } - } - ] - } - }, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\\nthe information here to detect the last time a user verified a\\nfactor, for example if implementing a step-up scenario." - } - }, - { - "name": "currentLevel", - "type": { - "type": "union", - "subTypes": [ - { - "type": "union", - "name": "AuthenticatorAssuranceLevels", - "subTypes": [ - { - "type": "literal", - "value": "aal1" - }, - { - "type": "literal", - "value": "aal2" - } - ] - }, - { - "type": "literal", - "value": null - } - ] - }, - "comment": { - "shortText": "Current AAL level of the session." - } - }, - { - "name": "nextLevel", - "type": { - "type": "union", - "subTypes": [ - { - "type": "union", - "name": "AuthenticatorAssuranceLevels", - "subTypes": [ - { - "type": "literal", - "value": "aal1" - }, - { - "type": "literal", - "value": "aal2" - } - ] - }, - { - "type": "literal", - "value": null - } - ] - }, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\\nthan the current one, the user should go through MFA." - } - } - ] + "type": "literal", + "value": null } }, { "name": "error", "type": { - "type": "literal", - "value": null + "type": "nameOnly", + "name": "AuthError" } } ] + } + ] + } + } + }, + "comment": { + "shortText": "Unlinks an identity from a user by deleting it. The user will no longer be able to sign in with that identity once it's unlinked." + } + }, + "@supabase/auth-js.GoTrueClient.updateUser": { + "name": "@supabase/auth-js.GoTrueClient.updateUser", + "params": [ + { + "name": "attributes", + "type": { + "type": "object", + "name": "UserAttributes", + "properties": [ + { + "name": "data", + "type": { + "type": "intrinsic", + "name": "object" + }, + "isOptional": true, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the \`auth.users.raw_user_meta_data\` column.\\n\\nThe \`data\` should be a JSON object that includes user-specific info, such as their first and last name." + } + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The user's email." + } }, { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "AuthError" - } - } - ] + "name": "nonce", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.\\n\\nCall reauthenticate() to obtain the nonce first." + } + }, + { + "name": "password", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The user's password." + } + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The user's phone." + } + } + ] + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "emailRedirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true } ] } } - }, - "comment": { - "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.\\n\\n- \`aal1\` (or \`null\`) means that the user's identity has been verified only\\nwith a conventional login (email+password, OTP, magic link, social login,\\netc.).\\n- \`aal2\` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\\n\\nAlthough this method returns a promise, it's fairly quick (microseconds)\\nand rarely uses the network. You can use this to check whether the current\\nuser needs to be shown a screen to verify their MFA factors." - } - }, - "@supabase/auth-js.GoTrueMFAApi.listFactors": { - "name": "@supabase/auth-js.GoTrueMFAApi.listFactors", - "params": [], + ], "ret": { "type": { "type": "promise", "name": "Promise", "awaited": { "type": "union", - "name": "AuthMFAListFactorsResponse", + "name": "UserResponse", "subTypes": [ { "type": "object", @@ -21975,273 +28146,476 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { + "name": "T", "type": "object", "properties": [ { - "name": "all", + "name": "user", "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "status", - "type": { + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { "type": "union", "subTypes": [ { - "type": "literal", - "value": "verified" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] }, { - "type": "literal", - "value": "unverified" + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } ] - }, - "comment": { - "shortText": "Factor's status." } }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - "comment": { - "shortText": "All available factors (verified and unverified)." - } - }, - { - "name": "phone", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ { - "type": "literal", - "value": "totp" + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, { - "type": "literal", - "value": "verified" + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, { - "type": "literal", - "value": "unverified" + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } } ] - }, - "comment": { - "shortText": "Factor's status." } }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "comment": { - "shortText": "Only verified Phone factors. (A subset of \`all\`.)" - } - }, - { - "name": "totp", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor." - } + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - }, - "comment": { - "shortText": "Factor's status." - } + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] } - ] - } - }, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of \`all\`.)" + } + ] } } ] @@ -22262,8 +28636,16 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "literal", - "value": null + "type": "object", + "properties": [ + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] } }, { @@ -22280,563 +28662,1315 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Returns the list of MFA factors enabled for this user." + "shortText": "Updates user data for a logged in user." } }, - "@supabase/auth-js.GoTrueMFAApi.unenroll": { - "name": "@supabase/auth-js.GoTrueMFAApi.unenroll", + "@supabase/auth-js.GoTrueClient.verifyOtp": { + "name": "@supabase/auth-js.GoTrueClient.verifyOtp", "params": [ { "name": "params", "type": { - "name": "MFAUnenrollParams", - "type": "object", - "properties": [ - { - "name": "factorId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor being unenrolled." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { "type": "union", - "name": "AuthMFAUnenrollResponse", + "name": "VerifyOtpParams", "subTypes": [ { "type": "object", + "name": "VerifyMobileOtpParams", "properties": [ { - "name": "data", + "name": "options", "type": { "type": "object", "properties": [ { - "name": "id", + "name": "captchaToken", "type": { "type": "intrinsic", "name": "string" }, + "isOptional": true, "comment": { - "shortText": "ID of the factor that was successfully unenrolled." + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "redirectTo", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "A URL to send the user to after they are confirmed." } } ] - } + }, + "isOptional": true }, { - "name": "error", + "name": "phone", "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The user's phone number." } - } - ] - }, - { - "type": "object", - "properties": [ + }, { - "name": "data", + "name": "token", "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The otp sent to the user's phone number." } }, { - "name": "error", + "name": "type", "type": { - "type": "nameOnly", - "name": "AuthError" + "type": "union", + "name": "MobileOtpType", + "subTypes": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + }, + "comment": { + "shortText": "The user's verification type." } } ] - } - ] - } - } - }, - "comment": { - "shortText": "Unenroll removes a MFA factor.\\nA user has to have an \`aal2\` authenticator level in order to unenroll a \`verified\` factor." - } - }, - "@supabase/auth-js.GoTrueMFAApi.verify": { - "name": "@supabase/auth-js.GoTrueMFAApi.verify", - "params": [ - { - "name": "params", - "type": { - "name": "MFAVerifyParams", - "type": "object", - "properties": [ - { - "name": "challengeId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the challenge being verified. Returned in challenge()." - } - }, - { - "name": "code", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Verification code provided by the user." - } }, - { - "name": "factorId", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "name": "AuthMFAVerifyResponse", - "subTypes": [ { "type": "object", + "name": "VerifyEmailOtpParams", "properties": [ { - "name": "data", + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The user's email address." + } + }, + { + "name": "options", "type": { "type": "object", "properties": [ { - "name": "access_token", + "name": "captchaToken", "type": { "type": "intrinsic", "name": "string" }, + "isOptional": true, "comment": { - "shortText": "New access token (JWT) after successful verification." + "shortText": "Verification token received when the user completes the captcha on the site." } }, { - "name": "expires_in", + "name": "redirectTo", "type": { "type": "intrinsic", - "name": "number" + "name": "string" }, + "isOptional": true, "comment": { - "shortText": "Number of seconds in which the access token will expire." + "shortText": "A URL to send the user to after they are confirmed." } + } + ] + }, + "isOptional": true + }, + { + "name": "token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The otp sent to the user's email address." + } + }, + { + "name": "type", + "type": { + "type": "union", + "name": "EmailOtpType", + "subTypes": [ + { + "type": "literal", + "value": "signup" }, { - "name": "refresh_token", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Refresh token you can use to obtain new access tokens when expired." - } + "type": "literal", + "value": "invite" }, { - "name": "token_type", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Type of token, typically \`Bearer\`." - } + "type": "literal", + "value": "magiclink" + }, + { + "type": "literal", + "value": "recovery" + }, + { + "type": "literal", + "value": "email_change" + }, + { + "type": "literal", + "value": "email" + } + ] + }, + "comment": { + "shortText": "The user's verification type." + } + } + ] + }, + { + "type": "object", + "name": "VerifyTokenHashParams", + "properties": [ + { + "name": "token_hash", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The token hash used in an email link" + } + }, + { + "name": "type", + "type": { + "type": "union", + "name": "EmailOtpType", + "subTypes": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + }, + { + "type": "literal", + "value": "recovery" + }, + { + "type": "literal", + "value": "email_change" }, { - "name": "user", + "type": "literal", + "value": "email" + } + ] + }, + "comment": { + "shortText": "The user's verification type." + } + } + ] + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "name": "AuthResponse", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "name": "T", + "type": "object", + "properties": [ + { + "name": "session", "type": { - "type": "object", - "name": "User", - "properties": [ - { - "name": "action_link", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, + "type": "union", + "subTypes": [ { - "name": "app_metadata", - "type": { - "type": "object", - "name": "UserAppMetadata", - "properties": [ - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." } - ] - } - }, - { - "name": "aud", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "confirmation_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "deleted_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_change_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "email_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "factors", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "Factor", - "properties": [ - { - "name": "created_at", - "type": { + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "name": "factor_type", - "type": { - "type": "union", - "subTypes": [ - null, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] } - ] + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true }, - "comment": { - "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" - } - }, - { - "name": "friendly_name", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "ID of the factor." - } - }, - { - "name": "status", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "comment": { - "shortText": "Factor's status." - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identities", - "type": { - "type": "array", - "elemType": { - "type": "object", - "name": "UserIdentity", - "properties": [ - { - "name": "created_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "identity_data", - "type": { - "type": "index signature", - "keyType": { + { + "name": "phone_confirmed_at", + "type": { "type": "intrinsic", "name": "string" }, - "valueType": { + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { "type": "intrinsic", - "name": "any" - } + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "identity_id", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "provider", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true }, - "isOptional": true - }, - { - "name": "user_id", - "type": { - "type": "intrinsic", - "name": "string" + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "name": "user", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "union", + "subTypes": [ + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "name": "Factor", + "type": "object", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "name": "Type", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "name": "Status", + "subTypes": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "The verification status of the factor, default is \`unverified\` after \`.enroll()\`, then \`verified\` after the user verifies it with \`.verify()\`" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ] } - ] + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } } - }, - "isOptional": true - }, - { - "name": "invited_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "is_anonymous", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "is_sso_user", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "last_sign_in_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_email", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "new_phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "phone_confirmed_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "recovery_sent_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "role", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "updated_at", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true + ] }, { - "name": "user_metadata", - "type": { - "type": "object", - "name": "UserMetadata", - "properties": [] - } + "type": "literal", + "value": null } ] - }, - "comment": { - "shortText": "Updated user profile." } } ] @@ -22857,8 +29991,23 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "data", "type": { - "type": "literal", - "value": null + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] } }, { @@ -22875,7 +30024,25 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Verifies a code against a challenge. The verification code is\\nprovided by the user by entering a code seen in their authenticator app." + "shortText": "Log in a user given a User supplied OTP or TokenHash received through mobile or email." + } + }, + "@supabase/auth-js.NavigatorLockAcquireTimeoutError.constructor": { + "name": "@supabase/auth-js.NavigatorLockAcquireTimeoutError.constructor", + "params": [ + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "NavigatorLockAcquireTimeoutError" + } } } } @@ -22899,300 +30066,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, "isOptional": true }, - { - "name": "fetch", - "type": { - "type": "function", - "params": [ - { - "name": "input", - "type": { - "type": "union", - "subTypes": [ - { - "type": "nameOnly", - "name": "RequestInfo" - }, - { - "type": "nameOnly", - "name": "URL" - } - ] - } - }, - { - "name": "init", - "type": { - "type": "nameOnly", - "name": "RequestInit" - }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "nameOnly", - "name": "Response" - } - } - } - }, - "isOptional": true - }, - { - "name": "headers", - "type": { - "type": "nameOnly", - "name": "HeadersInit" - } - }, - { - "name": "isMaybeSingle", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "method", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - } - }, - { - "name": "schema", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true - }, - { - "name": "shouldThrowOnError", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true - }, - { - "name": "signal", - "type": { - "type": "nameOnly", - "name": "AbortSignal" - }, - "isOptional": true - }, - { - "name": "url", - "type": { - "type": "nameOnly", - "name": "URL" - } - } - ] - } - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "ClientOptions" - } - } - }, - "@supabase/postgrest-js.PostgrestBuilder.overrideTypes": { - "name": "@supabase/postgrest-js.PostgrestBuilder.overrideTypes", - "params": [], - "ret": { - "type": { - "type": "nameOnly", - "name": "ClientOptions" - } - }, - "comment": { - "shortText": "Override the type of the returned \`data\` field in the response." - } - }, - "@supabase/postgrest-js.PostgrestBuilder.returns": { - "name": "@supabase/postgrest-js.PostgrestBuilder.returns", - "params": [], - "ret": { - "type": { - "type": "nameOnly", - "name": "ClientOptions" - } - }, - "comment": { - "shortText": "Override the type of the returned \`data\`." - } - }, - "@supabase/postgrest-js.PostgrestBuilder.setHeader": { - "name": "@supabase/postgrest-js.PostgrestBuilder.setHeader", - "params": [ - { - "name": "name", - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "name": "value", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "ClientOptions" - } - }, - "comment": { - "shortText": "Set an HTTP header for the request." - } - }, - "@supabase/postgrest-js.PostgrestBuilder.then": { - "name": "@supabase/postgrest-js.PostgrestBuilder.then", - "params": [ - { - "name": "onfulfilled", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "function", - "params": [ - { - "name": "value" - } - ], - "ret": { - "type": { - "type": "union", - "subTypes": [ - { - "type": "nameOnly", - "name": "TResult1" - }, - { - "type": "nameOnly", - "name": "PromiseLike" - } - ] - } - } - } - ] - }, - "isOptional": true - }, - { - "name": "onrejected", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "function", - "params": [ - { - "name": "reason", - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "ret": { - "type": { - "type": "union", - "subTypes": [ - { - "type": "nameOnly", - "name": "TResult2" - }, - { - "type": "nameOnly", - "name": "PromiseLike" - } - ] - } - } - } - ] - }, - "isOptional": true - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "PromiseLike" - } - } - }, - "@supabase/postgrest-js.PostgrestBuilder.throwOnError": { - "name": "@supabase/postgrest-js.PostgrestBuilder.throwOnError", - "params": [], - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\\nthrowing the error instead of returning it as part of a successful response.\\n\\nhttps://github.com/supabase/supabase-js/issues/92" - } - }, - "@supabase/postgrest-js.PostgrestClient.constructor": { - "name": "@supabase/postgrest-js.PostgrestClient.constructor", - "params": [ - { - "name": "url", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "URL of the PostgREST endpoint" - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ { "name": "fetch", "type": { @@ -23234,11 +30107,320 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Custom fetch" + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true }, + { + "name": "headers", + "type": { + "type": "nameOnly", + "name": "HeadersInit" + } + }, + { + "name": "isMaybeSingle", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "method", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "name": "schema", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "shouldThrowOnError", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "signal", + "type": { + "type": "nameOnly", + "name": "AbortSignal" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "nameOnly", + "name": "URL" + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "PostgrestBuilder" + } + } + }, + "@supabase/postgrest-js.PostgrestBuilder.overrideTypes": { + "name": "@supabase/postgrest-js.PostgrestBuilder.overrideTypes", + "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "PostgrestBuilder" + } + }, + "comment": { + "shortText": "Override the type of the returned \`data\` field in the response." + } + }, + "@supabase/postgrest-js.PostgrestBuilder.returns": { + "name": "@supabase/postgrest-js.PostgrestBuilder.returns", + "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "PostgrestBuilder" + } + }, + "comment": { + "shortText": "Override the type of the returned \`data\`." + } + }, + "@supabase/postgrest-js.PostgrestBuilder.setHeader": { + "name": "@supabase/postgrest-js.PostgrestBuilder.setHeader", + "params": [ + { + "name": "name", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "value", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "ret": { + "type": { + "type": "intrinsic", + "name": "this" + } + }, + "comment": { + "shortText": "Set an HTTP header for the request." + } + }, + "@supabase/postgrest-js.PostgrestBuilder.then": { + "name": "@supabase/postgrest-js.PostgrestBuilder.then", + "params": [ + { + "name": "onfulfilled", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "function", + "params": [ + { + "name": "value" + } + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult1" + }, + { + "type": "nameOnly", + "name": "PromiseLike" + } + ] + } + } + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is resolved." + } + }, + { + "name": "onrejected", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "function", + "params": [ + { + "name": "reason", + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult2" + }, + { + "type": "nameOnly", + "name": "PromiseLike" + } + ] + } + } + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is rejected." + } + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "PromiseLike" + } + }, + "comment": { + "shortText": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + }, + "@supabase/postgrest-js.PostgrestBuilder.throwOnError": { + "name": "@supabase/postgrest-js.PostgrestBuilder.throwOnError", + "params": [], + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\\nthrowing the error instead of returning it as part of a successful response.\\n\\nhttps://github.com/supabase/supabase-js/issues/92" + } + }, + "@supabase/postgrest-js.PostgrestClient.constructor": { + "name": "@supabase/postgrest-js.PostgrestClient.constructor", + "params": [ + { + "name": "url", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "URL of the PostgREST endpoint" + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "fetch", + "type": { + "type": "function", + "params": [ + { + "name": "input", + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] + } + }, + { + "name": "init", + "type": { + "type": "nameOnly", + "name": "RequestInit" + }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Response" + } + } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + }, + "isOptional": true, + "comment": { + "shortText": "Custom fetch" + } + }, { "name": "headers", "type": { @@ -23254,7 +30436,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "schema", "type": { "type": "nameOnly", - "name": "SchemaName" + "name": "@supabase/postgrest-js.default.SchemaName" }, "isOptional": true, "comment": { @@ -23271,7 +30453,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Database" + "name": "PostgrestClient" } }, "comment": { @@ -23286,21 +30468,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "TableName" - }, - "comment": { - "shortText": "The table or view name to query" } } ], "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestQueryBuilder" } }, - "comment": { - "shortText": "Perform a query on a table or a view." - }, "altSignatures": [ { "params": [ @@ -23309,20 +30485,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ViewName" - }, - "comment": { - "shortText": "The table or view name to query" } } ], "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestQueryBuilder" } - }, - "comment": { - "shortText": "Perform a query on a table or a view." } } ] @@ -23411,7 +30581,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } }, "comment": { @@ -23435,7 +30605,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Database" + "name": "PostgrestClient" } }, "comment": { @@ -23481,7 +30651,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ] } } - ] + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "PostgrestError" + } + } }, "@supabase/postgrest-js.PostgrestFilterBuilder.constructor": { "name": "@supabase/postgrest-js.PostgrestFilterBuilder.constructor", @@ -23538,6 +30714,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -23623,7 +30802,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } } }, @@ -23643,8 +30822,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -23659,9 +30838,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" } }, { @@ -23693,21 +30869,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - "comment": { - "shortText": "The jsonb, array, or range value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\\nevery element appearing in \`column\` is contained by \`value\`." - }, "altSignatures": [ { "params": [ @@ -23716,9 +30886,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" } }, { @@ -23750,20 +30917,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - "comment": { - "shortText": "The jsonb, array, or range value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\\nevery element appearing in \`column\` is contained by \`value\`." } } ] @@ -23776,9 +30937,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" } }, { @@ -23810,21 +30968,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - "comment": { - "shortText": "The jsonb, array, or range value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\\n\`column\` contains every element appearing in \`value\`." - }, "altSignatures": [ { "params": [ @@ -23833,9 +30985,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" } }, { @@ -23867,20 +31016,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - "comment": { - "shortText": "The jsonb, array, or range value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\\n\`column\` contains every element appearing in \`value\`." } } ] @@ -23891,7 +31034,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -23920,8 +31063,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -24024,11 +31167,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "subTypes": [ { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" }, { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } ] } @@ -24045,9 +31188,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24148,9 +31288,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "value": "not.wfts" } ] - }, - "comment": { - "shortText": "The operator to filter with, following PostgREST syntax" } }, { @@ -24158,21 +31295,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\\nshould use the specific filter methods wherever possible.\\n\\nUnlike most filters, \`opearator\` and \`value\` are used as-is and need to\\nfollow [PostgREST\\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\\nto make sure they are properly sanitized." - }, "altSignatures": [ { "params": [ @@ -24181,9 +31312,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24191,9 +31319,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The operator to filter with, following PostgREST syntax" } }, { @@ -24201,20 +31326,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\\nshould use the specific filter methods wherever possible.\\n\\nUnlike most filters, \`opearator\` and \`value\` are used as-is and need to\\nfollow [PostgREST\\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\\nto make sure they are properly sanitized." } } ] @@ -24225,7 +31344,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -24240,9 +31359,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24250,21 +31366,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "Row['ColumnName']" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` is greater than \`value\`." - }, "altSignatures": [ { "params": [ @@ -24273,9 +31383,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24283,20 +31390,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` is greater than \`value\`." } } ] @@ -24309,9 +31410,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24319,21 +31417,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "Row['ColumnName']" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` is greater than or equal to \`value\`." - }, "altSignatures": [ { "params": [ @@ -24342,9 +31434,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24352,20 +31441,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` is greater than or equal to \`value\`." } } ] @@ -24378,9 +31461,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24388,21 +31468,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The pattern to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` matches \`pattern\` case-insensitively." - }, "altSignatures": [ { "params": [ @@ -24411,9 +31485,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24421,20 +31492,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The pattern to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` matches \`pattern\` case-insensitively." } } ] @@ -24447,9 +31512,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24460,21 +31522,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` matches all of \`patterns\` case-insensitively." - }, "altSignatures": [ { "params": [ @@ -24483,9 +31539,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24496,20 +31549,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` matches all of \`patterns\` case-insensitively." } } ] @@ -24522,9 +31569,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24535,21 +31579,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` matches any of \`patterns\` case-insensitively." - }, "altSignatures": [ { "params": [ @@ -24558,9 +31596,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24571,20 +31606,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` matches any of \`patterns\` case-insensitively." } } ] @@ -24614,8 +31643,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -24630,31 +31659,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { - "name": "value", - "type": { - "type": "intrinsic", - "name": "Object" - }, - "comment": { - "shortText": "The value to filter with" - } + "name": "value" } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` IS \`value\`.\\n\\nFor non-boolean columns, this is only relevant for checking if the value of\\n\`column\` is NULL by setting \`value\` to \`null\`.\\n\\nFor boolean columns, you can also set \`value\` to \`true\` or \`false\` and it\\nwill behave the same way as \`.eq()\`." - }, "altSignatures": [ { "params": [ @@ -24663,9 +31679,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24682,20 +31695,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } ] - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` IS \`value\`.\\n\\nFor non-boolean columns, this is only relevant for checking if the value of\\n\`column\` is NULL by setting \`value\` to \`null\`.\\n\\nFor boolean columns, you can also set \`value\` to \`true\` or \`false\` and it\\nwill behave the same way as \`.eq()\`." } } ] @@ -24708,9 +31715,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24718,21 +31722,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The pattern to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` matches \`pattern\` case-sensitively." - }, "altSignatures": [ { "params": [ @@ -24741,9 +31739,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24751,20 +31746,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The pattern to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` matches \`pattern\` case-sensitively." } } ] @@ -24777,9 +31766,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24790,21 +31776,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` matches all of \`patterns\` case-sensitively." - }, "altSignatures": [ { "params": [ @@ -24813,9 +31793,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24826,20 +31803,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` matches all of \`patterns\` case-sensitively." } } ] @@ -24852,9 +31823,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24865,21 +31833,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` matches any of \`patterns\` case-sensitively." - }, "altSignatures": [ { "params": [ @@ -24888,9 +31850,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24901,20 +31860,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" } - }, - "comment": { - "shortText": "The patterns to match with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` matches any of \`patterns\` case-sensitively." } } ] @@ -24968,8 +31921,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -24984,9 +31937,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -24994,21 +31944,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "Row['ColumnName']" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` is less than \`value\`." - }, "altSignatures": [ { "params": [ @@ -25017,9 +31961,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -25027,20 +31968,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` is less than \`value\`." } } ] @@ -25053,9 +31988,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -25063,21 +31995,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "Row['ColumnName']" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where \`column\` is less than or equal to \`value\`." - }, "altSignatures": [ { "params": [ @@ -25086,9 +32012,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -25096,20 +32019,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where \`column\` is less than or equal to \`value\`." } } ] @@ -25130,21 +32047,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "nameOnly", "name": "Row['ColumnName']" } - }, - "comment": { - "shortText": "The object to filter with, with column names as keys mapped\\nto their filter values" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows where each column in \`query\` keys is equal to its\\nassociated value. Shorthand for multiple \`.eq()\`s." - }, "altSignatures": [ { "params": [ @@ -25161,20 +32072,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "unknown" } - }, - "comment": { - "shortText": "The object to filter with, with column names as keys mapped\\nto their filter values" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows where each column in \`query\` keys is equal to its\\nassociated value. Shorthand for multiple \`.eq()\`s." } } ] @@ -25203,7 +32108,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -25232,8 +32137,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -25248,9 +32153,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -25258,9 +32160,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "FilterOperator" - }, - "comment": { - "shortText": "The operator to be negated to filter with, following\\nPostgREST syntax" } }, { @@ -25268,21 +32167,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "Row['ColumnName']" - }, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.\\n\\nUnlike most filters, \`opearator\` and \`value\` are used as-is and need to\\nfollow [PostgREST\\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\\nto make sure they are properly sanitized." - }, "altSignatures": [ { "params": [ @@ -25291,9 +32184,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to filter on" } }, { @@ -25301,9 +32191,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The operator to be negated to filter with, following\\nPostgREST syntax" } }, { @@ -25311,20 +32198,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "unknown" - }, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.\\n\\nUnlike most filters, \`opearator\` and \`value\` are used as-is and need to\\nfollow [PostgREST\\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\\nto make sure they are properly sanitized." } } ] @@ -25378,8 +32259,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -25394,9 +32275,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to order by" } }, { @@ -25410,10 +32288,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, the result will be in ascending order" - } + "isOptional": true }, { "name": "nullsFirst", @@ -25421,10 +32296,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, \`null\`s appear first. If \`false\`,\\n\`null\`s appear last." - } + "isOptional": true }, { "name": "referencedTable", @@ -25432,28 +32304,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "undefined" }, - "isOptional": true, - "comment": { - "shortText": "Set this to order a referenced table by\\nits columns" - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Order the query result by \`column\`.\\n\\nYou can call this method multiple times to order by multiple columns.\\n\\nYou can order referenced tables, but it only affects the ordering of the\\nparent table if you use \`!inner\` in the query." - }, "altSignatures": [ { "params": [ @@ -25462,9 +32325,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to order by" } }, { @@ -25478,10 +32338,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, the result will be in ascending order" - } + "isOptional": true }, { "name": "nullsFirst", @@ -25489,10 +32346,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, \`null\`s appear first. If \`false\`,\\n\`null\`s appear last." - } + "isOptional": true }, { "name": "referencedTable", @@ -25500,27 +32354,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "Set this to order a referenced table by\\nits columns" - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Order the query result by \`column\`.\\n\\nYou can call this method multiple times to order by multiple columns.\\n\\nYou can order referenced tables, but it only affects the ordering of the\\nparent table if you use \`!inner\` in the query." } }, { @@ -25568,8 +32413,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -25621,8 +32466,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -25639,9 +32484,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The array or range column to filter on" } }, { @@ -25661,21 +32503,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - "comment": { - "shortText": "The array or range value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\\n\`column\` and \`value\` have an element in common." - }, "altSignatures": [ { "params": [ @@ -25684,9 +32520,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The array or range column to filter on" } }, { @@ -25706,20 +32539,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] - }, - "comment": { - "shortText": "The array or range value to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\\n\`column\` and \`value\` have an element in common." } } ] @@ -25730,7 +32557,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -25796,8 +32623,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -25812,9 +32639,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -25822,21 +32646,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where \`column\` is\\nmutually exclusive to \`range\` and there can be no element between the two\\nranges." - }, "altSignatures": [ { "params": [ @@ -25845,9 +32663,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -25855,20 +32670,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where \`column\` is\\nmutually exclusive to \`range\` and there can be no element between the two\\nranges." } } ] @@ -25881,9 +32690,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -25891,21 +32697,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is greater than any element in \`range\`." - }, "altSignatures": [ { "params": [ @@ -25914,9 +32714,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -25924,20 +32721,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is greater than any element in \`range\`." } } ] @@ -25950,9 +32741,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -25960,21 +32748,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is either contained in \`range\` or greater than any element in\\n\`range\`." - }, "altSignatures": [ { "params": [ @@ -25983,9 +32765,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -25993,20 +32772,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is either contained in \`range\` or greater than any element in\\n\`range\`." } } ] @@ -26019,9 +32792,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -26029,21 +32799,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is less than any element in \`range\`." - }, "altSignatures": [ { "params": [ @@ -26052,9 +32816,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -26062,20 +32823,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is less than any element in \`range\`." } } ] @@ -26088,9 +32843,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -26098,21 +32850,15 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is either contained in \`range\` or less than any element in\\n\`range\`." - }, "altSignatures": [ { "params": [ @@ -26121,9 +32867,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range column to filter on" } }, { @@ -26131,20 +32874,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The range to filter with" } } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\\n\`column\` is either contained in \`range\` or less than any element in\\n\`range\`." } } ] @@ -26155,7 +32892,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestTransformBuilder" } }, "comment": { @@ -26167,8 +32904,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -26193,7 +32930,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestTransformBuilder" } }, "comment": { @@ -26220,8 +32957,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -26234,7 +32971,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -26249,9 +32986,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The text or tsvector column to filter on" } }, { @@ -26259,9 +32993,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The query text to match with" } }, { @@ -26275,10 +33006,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The text search configuration to use" - } + "isOptional": true }, { "name": "type", @@ -26299,28 +33027,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true, - "comment": { - "shortText": "Change how the \`query\` text is interpreted" - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Only relevant for text and tsvector columns. Match only rows where\\n\`column\` matches the query string in \`query\`." - }, "altSignatures": [ { "params": [ @@ -26329,9 +33048,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The text or tsvector column to filter on" } }, { @@ -26339,9 +33055,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The query text to match with" } }, { @@ -26355,10 +33068,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "The text search configuration to use" - } + "isOptional": true }, { "name": "type", @@ -26379,27 +33089,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true, - "comment": { - "shortText": "Change how the \`query\` text is interpreted" - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Only relevant for text and tsvector columns. Match only rows where\\n\`column\` matches the query string in \`query\`." } } ] @@ -26449,7 +33150,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "data", "type": { "type": "nameOnly", - "name": "T" + "name": "@supabase/postgrest-js.PostgrestResponseSuccess.T" } }, { @@ -26494,7 +33195,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, { - "name": "error" + "name": "error", + "type": { + "type": "nameOnly", + "name": "PostgrestError" + } }, { "name": "status", @@ -26534,7 +33239,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is resolved." + } }, { "name": "onrejected", @@ -26574,7 +33282,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is rejected." + } } ], "ret": { @@ -26582,6 +33293,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "nameOnly", "name": "PromiseLike" } + }, + "comment": { + "shortText": "Attaches callbacks for the resolution and/or rejection of the Promise." } }, "@supabase/postgrest-js.PostgrestFilterBuilder.throwOnError": { @@ -26644,6 +33358,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -26671,7 +33388,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestQueryBuilder" } } }, @@ -26717,7 +33434,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } }, "comment": { @@ -26732,9 +33449,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "Row" - }, - "comment": { - "shortText": "The values to insert. Pass an object to insert a single row\\nor an array to insert multiple rows." } }, { @@ -26761,28 +33475,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true, - "comment": { - "shortText": "Count algorithm to use to count inserted rows.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } }, - "comment": { - "shortText": "Perform an INSERT into the table or view.\\n\\nBy default, inserted rows are not returned. To return it, chain the call\\nwith \`.select()\`." - }, "altSignatures": [ { "params": [ @@ -26794,9 +33499,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "nameOnly", "name": "Row" } - }, - "comment": { - "shortText": "The values to insert. Pass an object to insert a single row\\nor an array to insert multiple rows." } }, { @@ -26823,10 +33525,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true, - "comment": { - "shortText": "Count algorithm to use to count inserted rows.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." - } + "isOptional": true }, { "name": "defaultToNull", @@ -26834,27 +33533,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "Make missing fields default to \`null\`.\\nOtherwise, use the default value for the column. Only applies for bulk\\ninserts." - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } - }, - "comment": { - "shortText": "Perform an INSERT into the table or view.\\n\\nBy default, inserted rows are not returned. To return it, chain the call\\nwith \`.select()\`." } } ] @@ -26899,163 +33589,81 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, "isOptional": true, "comment": { - "shortText": "Count algorithm to use to count rows in the table or view.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." - } - }, - { - "name": "head", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true, - "comment": { - "shortText": "When set to \`true\`, \`data\` will not be returned.\\nUseful if you only need the count." - } - } - ] - }, - "comment": { - "shortText": "Named parameters" - } - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "ClientOptions" - } - }, - "comment": { - "shortText": "Perform a SELECT query on the table or view." - } - }, - "@supabase/postgrest-js.PostgrestQueryBuilder.update": { - "name": "@supabase/postgrest-js.PostgrestQueryBuilder.update", - "params": [ - { - "name": "values", - "type": { - "type": "nameOnly", - "name": "Row" - }, - "comment": { - "shortText": "The values to update with" - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "count", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Count algorithm to use to count updated rows.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." - } - } - ] - }, - "comment": { - "shortText": "Named parameters" - } - } - ], - "ret": { - "type": { - "type": "nameOnly", - "name": "ClientOptions" - } - }, - "comment": { - "shortText": "Perform an UPDATE on the table or view.\\n\\nBy default, updated rows are not returned. To return it, chain the call\\nwith \`.select()\` after filters." - } - }, - "@supabase/postgrest-js.PostgrestQueryBuilder.upsert": { - "name": "@supabase/postgrest-js.PostgrestQueryBuilder.upsert", - "params": [ - { - "name": "values", - "type": { - "type": "nameOnly", - "name": "Row" - }, - "comment": { - "shortText": "The values to upsert with. Pass an object to upsert a\\nsingle row or an array to upsert multiple rows." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "count", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Count algorithm to use to count upserted rows.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." + "shortText": "Count algorithm to use to count rows in the table or view.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." } }, { - "name": "ignoreDuplicates", + "name": "head", "type": { "type": "intrinsic", "name": "boolean" }, "isOptional": true, "comment": { - "shortText": "If \`true\`, duplicate rows are ignored. If\\n\`false\`, duplicate rows are merged with existing rows." + "shortText": "When set to \`true\`, \`data\` will not be returned.\\nUseful if you only need the count." } - }, + } + ] + }, + "comment": { + "shortText": "Named parameters" + } + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "PostgrestFilterBuilder" + } + }, + "comment": { + "shortText": "Perform a SELECT query on the table or view." + } + }, + "@supabase/postgrest-js.PostgrestQueryBuilder.update": { + "name": "@supabase/postgrest-js.PostgrestQueryBuilder.update", + "params": [ + { + "name": "values", + "type": { + "type": "nameOnly", + "name": "Row" + }, + "comment": { + "shortText": "The values to update with" + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ { - "name": "onConflict", + "name": "count", "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] }, "isOptional": true, "comment": { - "shortText": "Comma-separated UNIQUE column(s) to specify how\\nduplicate rows are determined. Two rows are duplicates if all the\\n\`onConflict\` columns are equal." + "shortText": "Count algorithm to use to count updated rows.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." } } ] }, - "isOptional": true, "comment": { "shortText": "Named parameters" } @@ -27064,11 +33672,75 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } }, "comment": { - "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\\nto \`onConflict\`, \`.upsert()\` allows you to perform the equivalent of\\n\`.insert()\` if a row with the corresponding \`onConflict\` columns doesn't\\nexist, or if it does exist, perform an alternative action depending on\\n\`ignoreDuplicates\`.\\n\\nBy default, upserted rows are not returned. To return it, chain the call\\nwith \`.select()\`." + "shortText": "Perform an UPDATE on the table or view.\\n\\nBy default, updated rows are not returned. To return it, chain the call\\nwith \`.select()\` after filters." + } + }, + "@supabase/postgrest-js.PostgrestQueryBuilder.upsert": { + "name": "@supabase/postgrest-js.PostgrestQueryBuilder.upsert", + "params": [ + { + "name": "values", + "type": { + "type": "nameOnly", + "name": "Row" + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "count", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + }, + "isOptional": true + }, + { + "name": "ignoreDuplicates", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "onConflict", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "PostgrestFilterBuilder" + } }, "altSignatures": [ { @@ -27081,9 +33753,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "nameOnly", "name": "Row" } - }, - "comment": { - "shortText": "The values to upsert with. Pass an object to upsert a\\nsingle row or an array to upsert multiple rows." } }, { @@ -27110,10 +33779,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true, - "comment": { - "shortText": "Count algorithm to use to count upserted rows.\\n\\n\`\\"exact\\"\`: Exact but slow count algorithm. Performs a \`COUNT(*)\` under the\\nhood.\\n\\n\`\\"planned\\"\`: Approximated but fast count algorithm. Uses the Postgres\\nstatistics under the hood.\\n\\n\`\\"estimated\\"\`: Uses exact count for low numbers and planned count for high\\nnumbers." - } + "isOptional": true }, { "name": "defaultToNull", @@ -27121,10 +33787,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "Make missing fields default to \`null\`.\\nOtherwise, use the default value for the column. This only applies when\\ninserting new rows, not when merging with existing rows under\\n\`ignoreDuplicates: false\`. This also only applies when doing bulk upserts." - } + "isOptional": true }, { "name": "ignoreDuplicates", @@ -27132,10 +33795,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, duplicate rows are ignored. If\\n\`false\`, duplicate rows are merged with existing rows." - } + "isOptional": true }, { "name": "onConflict", @@ -27143,27 +33803,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "Comma-separated UNIQUE column(s) to specify how\\nduplicate rows are determined. Two rows are duplicates if all the\\n\`onConflict\` columns are equal." - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestFilterBuilder" } - }, - "comment": { - "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\\nto \`onConflict\`, \`.upsert()\` allows you to perform the equivalent of\\n\`.insert()\` if a row with the corresponding \`onConflict\` columns doesn't\\nexist, or if it does exist, perform an alternative action depending on\\n\`ignoreDuplicates\`.\\n\\nBy default, upserted rows are not returned. To return it, chain the call\\nwith \`.select()\`." } } ] @@ -27223,6 +33874,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -27308,7 +33962,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestTransformBuilder" } } }, @@ -27328,8 +33982,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27342,7 +33996,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -27445,11 +34099,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "subTypes": [ { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" }, { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } ] } @@ -27464,7 +34118,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -27520,8 +34174,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27552,7 +34206,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -27567,9 +34221,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "nameOnly", "name": "ColumnName" - }, - "comment": { - "shortText": "The column to order by" } }, { @@ -27583,10 +34234,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, the result will be in ascending order" - } + "isOptional": true }, { "name": "nullsFirst", @@ -27594,10 +34242,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, \`null\`s appear first. If \`false\`,\\n\`null\`s appear last." - } + "isOptional": true }, { "name": "referencedTable", @@ -27605,28 +34250,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "undefined" }, - "isOptional": true, - "comment": { - "shortText": "Set this to order a referenced table by\\nits columns" - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, - "comment": { - "shortText": "Order the query result by \`column\`.\\n\\nYou can call this method multiple times to order by multiple columns.\\n\\nYou can order referenced tables, but it only affects the ordering of the\\nparent table if you use \`!inner\` in the query." - }, "altSignatures": [ { "params": [ @@ -27635,9 +34271,6 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "intrinsic", "name": "string" - }, - "comment": { - "shortText": "The column to order by" } }, { @@ -27651,10 +34284,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, the result will be in ascending order" - } + "isOptional": true }, { "name": "nullsFirst", @@ -27662,10 +34292,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "boolean" }, - "isOptional": true, - "comment": { - "shortText": "If \`true\`, \`null\`s appear first. If \`false\`,\\n\`null\`s appear last." - } + "isOptional": true }, { "name": "referencedTable", @@ -27673,27 +34300,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true, - "comment": { - "shortText": "Set this to order a referenced table by\\nits columns" - } + "isOptional": true } ] }, - "isOptional": true, - "comment": { - "shortText": "Named parameters" - } + "isOptional": true } ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } - }, - "comment": { - "shortText": "Order the query result by \`column\`.\\n\\nYou can call this method multiple times to order by multiple columns.\\n\\nYou can order referenced tables, but it only affects the ordering of the\\nparent table if you use \`!inner\` in the query." } }, { @@ -27741,8 +34359,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27794,8 +34412,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27810,7 +34428,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -27876,8 +34494,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27890,7 +34508,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestTransformBuilder" } }, "comment": { @@ -27902,8 +34520,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27928,7 +34546,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestTransformBuilder" } }, "comment": { @@ -27955,8 +34573,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` ], "ret": { "type": { - "type": "nameOnly", - "name": "ClientOptions" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -27969,7 +34587,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ClientOptions" + "name": "PostgrestBuilder" } }, "comment": { @@ -28021,7 +34639,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "data", "type": { "type": "nameOnly", - "name": "T" + "name": "@supabase/postgrest-js.PostgrestResponseSuccess.T" } }, { @@ -28066,7 +34684,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, { - "name": "error" + "name": "error", + "type": { + "type": "nameOnly", + "name": "PostgrestError" + } }, { "name": "status", @@ -28106,7 +34728,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is resolved." + } }, { "name": "onrejected", @@ -28146,7 +34771,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is rejected." + } } ], "ret": { @@ -28154,6 +34782,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "nameOnly", "name": "PromiseLike" } + }, + "comment": { + "shortText": "Attaches callbacks for the resolution and/or rejection of the Promise." } }, "@supabase/postgrest-js.PostgrestTransformBuilder.throwOnError": { @@ -28523,7 +35154,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "event", "type": { - "type": "nameOnly", + "type": "literal", + "value": "*", "name": "T" }, "comment": { @@ -28629,7 +35261,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "event", "type": { - "type": "nameOnly", + "type": "literal", + "value": "INSERT", "name": "T" }, "comment": { @@ -28721,7 +35354,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "event", "type": { - "type": "nameOnly", + "type": "literal", + "value": "UPDATE", "name": "T" }, "comment": { @@ -28813,7 +35447,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "event", "type": { - "type": "nameOnly", + "type": "literal", + "value": "DELETE", "name": "T" }, "comment": { @@ -30663,8 +37298,17 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "input", "type": { - "type": "nameOnly", - "name": "RequestInfo" + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] } }, { @@ -30685,6 +37329,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -30692,8 +37339,18 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "opts", "type": { - "type": "nameOnly", - "name": "StorageClientOptions" + "type": "object", + "name": "StorageClientOptions", + "properties": [ + { + "name": "useNewHostname", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + } + ] }, "isOptional": true } @@ -30816,14 +37473,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "data", - "type": { - "name": "name", - "type": { - "type": "intrinsic", - "name": "string" - } - } + "name": "data" }, { "name": "error", @@ -31025,6 +37675,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ], + "ret": { + "type": { + "type": "nameOnly", + "name": "default" + } + }, "comment": { "shortText": "Perform file operation in a bucket." } @@ -31322,8 +37978,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "nameOnly", - "name": "StorageClient" + "type": "intrinsic", + "name": "this" } }, "comment": { @@ -31513,6 +38169,204 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } }, + "@supabase/storage-js.packages/BlobDownloadBuilder.default.constructor": { + "name": "@supabase/storage-js.packages/BlobDownloadBuilder.default.constructor", + "params": [ + { + "name": "downloadFn", + "type": { + "type": "function", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Response" + } + } + } + } + }, + { + "name": "shouldThrowOnError", + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "default" + } + } + }, + "@supabase/storage-js.packages/BlobDownloadBuilder.default.asStream": { + "name": "@supabase/storage-js.packages/BlobDownloadBuilder.default.asStream", + "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "default" + } + } + }, + "@supabase/storage-js.packages/BlobDownloadBuilder.default.then": { + "name": "@supabase/storage-js.packages/BlobDownloadBuilder.default.then", + "params": [ + { + "name": "onfulfilled", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "function", + "params": [ + { + "name": "value", + "type": { + "type": "union", + "name": "DownloadResult", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "StorageError" + } + } + ] + } + ] + } + } + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult1" + }, + { + "type": "nameOnly", + "name": "PromiseLike" + } + ] + } + } + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is resolved." + } + }, + { + "name": "onrejected", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "function", + "params": [ + { + "name": "reason", + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult2" + }, + { + "type": "nameOnly", + "name": "PromiseLike" + } + ] + } + } + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is rejected." + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult1" + }, + { + "type": "nameOnly", + "name": "TResult2" + } + ] + } + } + }, + "comment": { + "shortText": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + }, "@supabase/storage-js.packages/StorageBucketApi.default.constructor": { "name": "@supabase/storage-js.packages/StorageBucketApi.default.constructor", "params": [ @@ -31545,8 +38399,17 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "input", "type": { - "type": "nameOnly", - "name": "RequestInfo" + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] } }, { @@ -31567,6 +38430,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -31574,12 +38440,28 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "opts", "type": { - "type": "nameOnly", - "name": "StorageClientOptions" + "type": "object", + "name": "StorageClientOptions", + "properties": [ + { + "name": "useNewHostname", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + } + ] }, "isOptional": true } - ] + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "default" + } + } }, "@supabase/storage-js.packages/StorageBucketApi.default.createBucket": { "name": "@supabase/storage-js.packages/StorageBucketApi.default.createBucket", @@ -31692,14 +38574,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "object", "properties": [ { - "name": "data", - "type": { - "name": "name", - "type": { - "type": "intrinsic", - "name": "string" - } - } + "name": "data" }, { "name": "error", @@ -32178,6 +39053,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "@supabase/storage-js.packages/StorageBucketApi.default.throwOnError": { "name": "@supabase/storage-js.packages/StorageBucketApi.default.throwOnError", "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "this" + } + }, "comment": { "shortText": "Enable throwing errors instead of returning them." } @@ -32362,8 +39243,17 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "input", "type": { - "type": "nameOnly", - "name": "RequestInfo" + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] } }, { @@ -32384,11 +39274,20 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true } - ] + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "default" + } + } }, "@supabase/storage-js.packages/StorageFileApi.default.copy": { "name": "@supabase/storage-js.packages/StorageFileApi.default.copy", @@ -32698,7 +39597,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "subTypes": [ { "type": "literal", - "value": "cover" + "value": "fill" }, { "type": "literal", @@ -32706,7 +39605,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "type": "literal", - "value": "fill" + "value": "cover" } ] }, @@ -32966,141 +39865,16 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "options", "type": { - "type": "object", - "properties": [ - { - "name": "transform", - "type": { - "type": "object", - "name": "TransformOptions", - "properties": [ - { - "name": "format", - "type": { - "type": "literal", - "value": "origin" - }, - "isOptional": true, - "comment": { - "shortText": "Specify the format of the image requested.\\n\\nWhen using 'origin' we force the format to be the same as the original image.\\nWhen this option is not passed in, images are optimized to modern image formats like Webp." - } - }, - { - "name": "height", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "The height of the image in pixels." - } - }, - { - "name": "quality", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "Set the quality of the returned image.\\nA number from 20 to 100, with 100 being the highest quality.\\nDefaults to 80" - } - }, - { - "name": "resize", - "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": "cover" - }, - { - "type": "literal", - "value": "contain" - }, - { - "type": "literal", - "value": "fill" - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." - } - }, - { - "name": "width", - "type": { - "type": "intrinsic", - "name": "number" - }, - "isOptional": true, - "comment": { - "shortText": "The width of the image in pixels." - } - } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Transform the asset before serving it to the client." - } - } - ] + "type": "nameOnly", + "name": "Options" }, "isOptional": true } ], "ret": { "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "nameOnly", - "name": "Blob" - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] - }, - { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "StorageError" - } - } - ] - } - ] - } + "type": "nameOnly", + "name": "default" } }, "comment": { @@ -33255,7 +40029,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "subTypes": [ { "type": "literal", - "value": "cover" + "value": "fill" }, { "type": "literal", @@ -33263,7 +40037,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "type": "literal", - "value": "fill" + "value": "cover" } ] }, @@ -34362,6 +41136,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "@supabase/storage-js.packages/StorageFileApi.default.throwOnError": { "name": "@supabase/storage-js.packages/StorageFileApi.default.throwOnError", "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "this" + } + }, "comment": { "shortText": "Enable throwing errors instead of returning them." } @@ -34420,7 +41200,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "type": "nameOnly", - "name": "@types/node.Buffer" + "name": "FormData" + }, + { + "type": "nameOnly", + "name": "URLSearchParams" }, { "type": "nameOnly", @@ -34428,7 +41212,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "type": "nameOnly", - "name": "FormData" + "name": "ReadableStream" }, { "type": "nameOnly", @@ -34436,14 +41220,201 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "type": "nameOnly", - "name": "ReadableStream" + "name": "@types/node.__global.Buffer" + } + ] + }, + "comment": { + "shortText": "The body of the file to be stored in the bucket." + } + }, + { + "name": "fileOptions", + "type": { + "type": "object", + "name": "FileOptions", + "properties": [ + { + "name": "cacheControl", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the \`Cache-Control: max-age=\` header. Defaults to 3600 seconds." + } }, { - "type": "nameOnly", - "name": "URLSearchParams" + "name": "contentType", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "the \`Content-Type\` header value. Should be specified if using a \`fileBody\` that is neither \`Blob\` nor \`File\` nor \`FormData\`, otherwise will default to \`text/plain;charset=UTF-8\`." + } + }, + { + "name": "duplex", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." + } + }, + { + "name": "headers", + "type": { + "type": "record", + "name": "Record", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "string" + } + }, + "isOptional": true, + "comment": { + "shortText": "Optionally add extra headers" + } + }, + { + "name": "metadata", + "type": { + "type": "record", + "name": "Record", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true, + "comment": { + "shortText": "The metadata option is an object that allows you to store additional information about the file. This information can be used to filter and search for files. The metadata object can contain any key-value pairs you want to store." + } + }, + { + "name": "upsert", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." + } } ] }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "fullPath", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "path", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "StorageError" + } + } + ] + } + ] + } + } + }, + "comment": { + "shortText": "Replaces an existing file at the specified path with a new one." + } + }, + "@supabase/storage-js.packages/StorageFileApi.default.upload": { + "name": "@supabase/storage-js.packages/StorageFileApi.default.upload", + "params": [ + { + "name": "path", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The file path, including the file name. Should be of the format \`folder/subfolder/filename.png\`. The bucket must already exist before attempting to upload." + } + }, + { + "name": "fileBody", + "type": { + "type": "nameOnly", + "name": "FileBody" + }, "comment": { "shortText": "The body of the file to be stored in the bucket." } @@ -34613,11 +41584,11 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Replaces an existing file at the specified path with a new one." + "shortText": "Uploads a file to an existing bucket." } }, - "@supabase/storage-js.packages/StorageFileApi.default.upload": { - "name": "@supabase/storage-js.packages/StorageFileApi.default.upload", + "@supabase/storage-js.packages/StorageFileApi.default.uploadToSignedUrl": { + "name": "@supabase/storage-js.packages/StorageFileApi.default.uploadToSignedUrl", "params": [ { "name": "path", @@ -34629,6 +41600,16 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "The file path, including the file name. Should be of the format \`folder/subfolder/filename.png\`. The bucket must already exist before attempting to upload." } }, + { + "name": "token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The token generated from \`createSignedUploadUrl\`" + } + }, { "name": "fileBody", "type": { @@ -34751,14 +41732,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "fullPath", "type": { "type": "intrinsic", - "name": "string" - } - }, - { - "name": "id", - "type": { - "type": "intrinsic", - "name": "string" + "name": "any" } }, { @@ -34804,133 +41778,172 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Uploads a file to an existing bucket." + "shortText": "Upload a file with a token generated from \`createSignedUploadUrl\`." } }, - "@supabase/storage-js.packages/StorageFileApi.default.uploadToSignedUrl": { - "name": "@supabase/storage-js.packages/StorageFileApi.default.uploadToSignedUrl", + "@supabase/storage-js.packages/StreamDownloadBuilder.default.constructor": { + "name": "@supabase/storage-js.packages/StreamDownloadBuilder.default.constructor", "params": [ { - "name": "path", + "name": "downloadFn", "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The file path, including the file name. Should be of the format \`folder/subfolder/filename.png\`. The bucket must already exist before attempting to upload." + "type": "function", + "params": [], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Response" + } + } + } } }, { - "name": "token", + "name": "shouldThrowOnError", "type": { "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "The token generated from \`createSignedUploadUrl\`" + "name": "boolean" } - }, + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "default" + } + } + }, + "@supabase/storage-js.packages/StreamDownloadBuilder.default.then": { + "name": "@supabase/storage-js.packages/StreamDownloadBuilder.default.then", + "params": [ { - "name": "fileBody", + "name": "onfulfilled", "type": { - "type": "nameOnly", - "name": "FileBody" + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "function", + "params": [ + { + "name": "value", + "type": { + "type": "union", + "name": "DownloadResult", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "nameOnly", + "name": "T" + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "StorageError" + } + } + ] + } + ] + } + } + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult1" + }, + { + "type": "nameOnly", + "name": "PromiseLike" + } + ] + } + } + } + ] }, + "isOptional": true, "comment": { - "shortText": "The body of the file to be stored in the bucket." + "shortText": "The callback to execute when the Promise is resolved." } }, { - "name": "fileOptions", + "name": "onrejected", "type": { - "type": "object", - "name": "FileOptions", - "properties": [ - { - "name": "cacheControl", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the \`Cache-Control: max-age=\` header. Defaults to 3600 seconds." - } - }, - { - "name": "contentType", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "the \`Content-Type\` header value. Should be specified if using a \`fileBody\` that is neither \`Blob\` nor \`File\` nor \`FormData\`, otherwise will default to \`text/plain;charset=UTF-8\`." - } - }, + "type": "union", + "subTypes": [ { - "name": "duplex", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." - } + "type": "literal", + "value": null }, { - "name": "headers", - "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "string" + "type": "function", + "params": [ + { + "name": "reason", + "type": { + "type": "intrinsic", + "name": "any" + } } - }, - "isOptional": true, - "comment": { - "shortText": "Optionally add extra headers" - } - }, - { - "name": "metadata", - "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "any" + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "TResult2" + }, + { + "type": "nameOnly", + "name": "PromiseLike" + } + ] } - }, - "isOptional": true, - "comment": { - "shortText": "The metadata option is an object that allows you to store additional information about the file. This information can be used to filter and search for files. The metadata object can contain any key-value pairs you want to store." - } - }, - { - "name": "upsert", - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "isOptional": true, - "comment": { - "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." } } ] }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "The callback to execute when the Promise is rejected." + } } ], "ret": { @@ -34941,64 +41954,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "union", "subTypes": [ { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "object", - "properties": [ - { - "name": "fullPath", - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "name": "path", - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "name": "error", - "type": { - "type": "literal", - "value": null - } - } - ] + "type": "nameOnly", + "name": "TResult1" }, { - "type": "object", - "properties": [ - { - "name": "data", - "type": { - "type": "literal", - "value": null - } - }, - { - "name": "error", - "type": { - "type": "nameOnly", - "name": "StorageError" - } - } - ] + "type": "nameOnly", + "name": "TResult2" } ] } } }, "comment": { - "shortText": "Upload a file with a token generated from \`createSignedUploadUrl\`." + "shortText": "Attaches callbacks for the resolution and/or rejection of the Promise." } } } @@ -35059,6 +42027,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "Response" } } + }, + "comment": { + "shortText": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } }, "isOptional": true @@ -35081,6 +42052,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "region", + "type": { + "type": "nameOnly", + "name": "FunctionRegion" + }, "isOptional": true } ] @@ -35213,15 +42188,30 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, { "name": "region", + "type": { + "type": "nameOnly", + "name": "FunctionRegion" + }, "isOptional": true, "comment": { "shortText": "The Region to invoke the function in." } + }, + { + "name": "signal", + "type": { + "type": "nameOnly", + "name": "AbortSignal" + }, + "isOptional": true, + "comment": { + "shortText": "The AbortSignal to use for the request." + } } ] }, "comment": { - "shortText": "Options for invoking the Function.\\n" + "shortText": "Options for invoking the Function." } } ], @@ -35232,7 +42222,16 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "awaited": { "type": "union", "name": "FunctionsResponse", - "subTypes": [] + "subTypes": [ + { + "type": "nameOnly", + "name": "FunctionsResponseSuccess" + }, + { + "type": "nameOnly", + "name": "FunctionsResponseFailure" + } + ] } } }, @@ -35250,7 +42249,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" }, "comment": { - "shortText": "the new jwt token sent in the authorisation header\\n" + "shortText": "the new jwt token sent in the authorisation header" } } ], diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json index 36e0d4f4a64a7..ae8545f21dcc6 100644 --- a/apps/docs/spec/api_v1_openapi.json +++ b/apps/docs/spec/api_v1_openapi.json @@ -633,6 +633,198 @@ "tags": ["Database"] } }, + "/v1/projects/{ref}/actions": { + "get": { + "description": "Returns a paginated list of action runs of the specified project.", + "operationId": "v1-list-action-runs", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } + }, + { + "name": "offset", + "required": false, + "in": "query", + "schema": { "minimum": 0, "type": "number" } + }, + { + "name": "limit", + "required": false, + "in": "query", + "schema": { "minimum": 10, "type": "number" } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/ListActionRunResponse" } + } + } + }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, + "500": { "description": "Failed to list action runs" } + }, + "security": [{ "bearer": [] }], + "summary": "List all action runs", + "tags": ["Environments"] + }, + "head": { + "description": "Returns the total number of action runs of the specified project.", + "operationId": "v1-count-action-runs", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } + } + ], + "responses": { + "200": { + "headers": { + "X-Total-Count": { + "schema": { "type": "integer", "format": "int64", "minimum": 0 }, + "description": "total count value" + } + }, + "description": "" + }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, + "500": { "description": "Failed to count action runs" } + }, + "security": [{ "bearer": [] }], + "summary": "Count the number of action runs", + "tags": ["Environments"] + } + }, + "/v1/projects/{ref}/actions/{run_id}": { + "get": { + "description": "Returns the current status of the specified action run.", + "operationId": "v1-get-action-run", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } + }, + { + "name": "run_id", + "required": true, + "in": "path", + "description": "Action Run ID", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { "schema": { "$ref": "#/components/schemas/ActionRunResponse" } } + } + }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, + "500": { "description": "Failed to get action run status" } + }, + "security": [{ "bearer": [] }], + "summary": "Get the status of an action run", + "tags": ["Environments"] + } + }, + "/v1/projects/{ref}/actions/{run_id}/status": { + "patch": { + "description": "Updates the status of an ongoing action run.", + "operationId": "v1-update-action-run-status", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } + }, + { + "name": "run_id", + "required": true, + "in": "path", + "description": "Action Run ID", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRunStatusBody" } } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/UpdateRunStatusResponse" } + } + } + }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, + "500": { "description": "Failed to update action run status" } + }, + "security": [{ "bearer": [] }], + "summary": "Update the status of an action run", + "tags": ["Environments"] + } + }, + "/v1/projects/{ref}/actions/{run_id}/logs": { + "get": { + "description": "Returns the logs from the specified action run.", + "operationId": "v1-get-action-run-logs", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } + }, + { + "name": "run_id", + "required": true, + "in": "path", + "description": "Action Run ID", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "content": { "text/plain": { "schema": { "type": "string" } } }, + "description": "" + }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, + "500": { "description": "Failed to get action run logs" } + }, + "security": [{ "bearer": [] }], + "summary": "Get the logs of an action run", + "tags": ["Environments"] + } + }, "/v1/projects/{ref}/api-keys": { "get": { "operationId": "v1-get-project-api-keys", @@ -664,7 +856,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Get project api keys", @@ -701,7 +895,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ApiKeyResponse" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Creates a new API key for the project", @@ -729,7 +925,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Check whether JWT based legacy (anon, service_role) API keys are enabled. This API endpoint will be removed in the future, check for HTTP 404 Not Found.", @@ -762,7 +960,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future, check for HTTP 404 Not Found.", @@ -807,7 +1007,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ApiKeyResponse" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Updates an API key for the project", @@ -844,7 +1046,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ApiKeyResponse" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Get API key", @@ -889,7 +1093,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ApiKeyResponse" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Deletes an API key for the project", @@ -921,7 +1127,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve database branches" } }, "security": [{ "bearer": [] }], @@ -953,7 +1161,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/BranchResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to create database branch" } }, "security": [{ "bearer": [] }], @@ -974,7 +1184,9 @@ ], "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to disable preview branching" } }, "security": [{ "bearer": [] }], @@ -1003,7 +1215,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/BranchResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to fetch database branch" } }, "security": [{ "bearer": [] }], @@ -1032,7 +1246,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's custom hostname config" } }, "security": [{ "bearer": [] }], @@ -1052,7 +1268,9 @@ ], "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete project custom hostname configuration" } }, "security": [{ "bearer": [] }], @@ -1089,7 +1307,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project custom hostname configuration" } }, "security": [{ "bearer": [] }], @@ -1118,7 +1338,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to verify project custom hostname configuration" } }, "security": [{ "bearer": [] }], @@ -1147,7 +1369,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to activate project custom hostname configuration" } }, "security": [{ "bearer": [] }], @@ -1176,7 +1400,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's network bans" } }, "security": [{ "bearer": [] }], @@ -1205,7 +1431,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's enriched network bans" } }, "security": [{ "bearer": [] }], @@ -1235,7 +1463,9 @@ }, "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove network bans." } }, "security": [{ "bearer": [] }], @@ -1264,7 +1494,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's network restrictions" } }, "security": [{ "bearer": [] }], @@ -1299,7 +1531,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project network restrictions" } }, "security": [{ "bearer": [] }], @@ -1336,7 +1570,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project network restrictions" } }, "security": [{ "bearer": [] }], @@ -1365,7 +1601,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's pgsodium config" } }, "security": [{ "bearer": [] }], @@ -1400,7 +1638,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's pgsodium config" } }, "security": [{ "bearer": [] }], @@ -1429,7 +1669,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's postgrest config" } }, "security": [{ "bearer": [] }], @@ -1464,7 +1706,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's postgrest config" } }, "security": [{ "bearer": [] }], @@ -1493,7 +1737,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project" } }, "security": [{ "bearer": [] }], @@ -1520,7 +1766,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Deletes the given project", @@ -1552,7 +1800,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's secrets" } }, "security": [{ "bearer": [] }], @@ -1579,7 +1829,9 @@ }, "responses": { "201": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to create project's secrets" } }, "security": [{ "bearer": [] }], @@ -1606,7 +1858,9 @@ }, "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete secrets with given names" } }, "security": [{ "bearer": [] }], @@ -1635,7 +1889,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's SSL enforcement config" } }, "security": [{ "bearer": [] }], @@ -1670,7 +1926,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's SSL enforcement configuration." } }, "security": [{ "bearer": [] }], @@ -1706,7 +1964,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to generate TypeScript types" } }, "security": [{ "bearer": [] }], @@ -1735,7 +1995,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project vanity subdomain configuration" } }, "security": [{ "bearer": [] }], @@ -1755,7 +2017,9 @@ ], "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete project vanity subdomain configuration" } }, "security": [{ "bearer": [] }], @@ -1790,7 +2054,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to check project vanity subdomain configuration" } }, "security": [{ "bearer": [] }], @@ -1825,7 +2091,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to activate project vanity subdomain configuration" } }, "security": [{ "bearer": [] }], @@ -1860,7 +2128,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to initiate project upgrade" } }, "security": [{ "bearer": [] }], @@ -1889,7 +2159,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to determine project upgrade eligibility" } }, "security": [{ "bearer": [] }], @@ -1924,7 +2196,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project upgrade status" } }, "security": [{ "bearer": [] }], @@ -1953,7 +2227,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project readonly mode status" } }, "security": [{ "bearer": [] }], @@ -1975,7 +2251,9 @@ ], "responses": { "201": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to disable project's readonly mode" } }, "security": [{ "bearer": [] }], @@ -2005,7 +2283,9 @@ }, "responses": { "201": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to set up read replica" } }, "security": [{ "bearer": [] }], @@ -2035,7 +2315,9 @@ }, "responses": { "201": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove read replica" } }, "security": [{ "bearer": [] }], @@ -2094,7 +2376,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's service health status" } }, "security": [{ "bearer": [] }], @@ -2123,7 +2407,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Set up the project's existing JWT secret as an in_use JWT signing key. This endpoint will be removed in the future always check for HTTP 404 Not Found.", @@ -2149,7 +2435,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Get the signing key information for the JWT secret imported as signing key for this project. This endpoint will be removed in the future, check for HTTP 404 Not Found.", @@ -2185,7 +2473,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Create a new signing key for the project in standby status", @@ -2211,7 +2501,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "List all signing keys for the project", @@ -2245,7 +2537,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Get information about a signing key", @@ -2277,7 +2571,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Remove a signing key from a project. Only possible if the key has been in revoked status for a while.", @@ -2317,7 +2613,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Update a signing key, mainly its status", @@ -2345,7 +2643,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's storage config" } }, "security": [{ "bearer": [] }], @@ -2373,7 +2673,9 @@ }, "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's storage config" } }, "security": [{ "bearer": [] }], @@ -2402,7 +2704,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's Postgres config" } }, "security": [{ "bearer": [] }], @@ -2437,7 +2741,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's Postgres config" } }, "security": [{ "bearer": [] }], @@ -2466,7 +2772,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's pgbouncer config" } }, "summary": "Get project's pgbouncer config", @@ -2497,7 +2805,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's supavisor config" } }, "security": [{ "bearer": [] }], @@ -2532,7 +2842,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's supavisor config" } }, "security": [{ "bearer": [] }], @@ -2561,7 +2873,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's auth config" } }, "security": [{ "bearer": [] }], @@ -2596,7 +2910,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's auth config" } }, "security": [{ "bearer": [] }], @@ -2631,7 +2947,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ThirdPartyAuth" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Creates a new third-party auth integration", @@ -2660,7 +2978,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Lists all third-party auth integrations", @@ -2692,7 +3012,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ThirdPartyAuth" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Removes a third-party auth integration", @@ -2722,7 +3044,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/ThirdPartyAuth" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Get a third-party integration", @@ -2741,7 +3065,12 @@ "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } } ], - "responses": { "200": { "description": "" }, "403": { "description": "" } }, + "responses": { + "200": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Pauses the given project", "tags": ["Projects"] @@ -2770,7 +3099,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Lists available restore versions for the given project", @@ -2787,7 +3118,12 @@ "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } } ], - "responses": { "200": { "description": "" }, "403": { "description": "" } }, + "responses": { + "200": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Restores the given project", "tags": ["Projects"] @@ -2805,7 +3141,12 @@ "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } } ], - "responses": { "200": { "description": "" }, "403": { "description": "" } }, + "responses": { + "200": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Cancels the given project restoration", "tags": ["Projects"] @@ -2813,6 +3154,7 @@ }, "/v1/projects/{ref}/billing/addons": { "get": { + "description": "Returns the billing addons that are currently applied, including the active compute instance size, and lists every addon option that can be provisioned with pricing metadata.", "operationId": "v1-list-project-addons", "parameters": [ { @@ -2832,14 +3174,17 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to list project addons" } }, "security": [{ "bearer": [] }], - "summary": "Lists project addons", + "summary": "List billing addons and compute instance selections", "tags": ["Billing"] }, "patch": { + "description": "Selects an addon variant, for example scaling the project’s compute instance up or down, and applies it to the project.", "operationId": "v1-apply-project-addon", "parameters": [ { @@ -2860,16 +3205,19 @@ }, "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to apply project addon" } }, "security": [{ "bearer": [] }], - "summary": "Applies project addon", + "summary": "Apply or update billing addons, including compute instance size", "tags": ["Billing"] } }, "/v1/projects/{ref}/billing/addons/{addon_variant}": { "delete": { + "description": "Disables the selected addon variant, including rolling the compute instance back to its previous size.", "operationId": "v1-remove-project-addon", "parameters": [ { @@ -2917,11 +3265,13 @@ ], "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove project addon" } }, "security": [{ "bearer": [] }], - "summary": "Removes project addon", + "summary": "Remove billing addons or revert compute instance sizing", "tags": ["Billing"] } }, @@ -2946,7 +3296,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets project claim token", @@ -2973,7 +3325,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Creates project claim token", @@ -2991,7 +3345,12 @@ "schema": { "minLength": 20, "maxLength": 20, "pattern": "^[a-z]+$", "type": "string" } } ], - "responses": { "204": { "description": "" }, "403": { "description": "" } }, + "responses": { + "204": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Revokes project claim token", "tags": ["Projects"], @@ -3021,7 +3380,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets project performance advisors.", @@ -3057,7 +3418,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets project security advisors.", @@ -3097,7 +3460,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/AnalyticsResponse" } } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets project's logs", @@ -3134,7 +3499,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project's usage api counts" } }, "security": [{ "bearer": [] }], @@ -3163,7 +3530,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project's usage api requests count" } }, "security": [{ "bearer": [] }], @@ -3197,7 +3566,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/AnalyticsResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project's function combined statistics" } }, "security": [{ "bearer": [] }], @@ -3232,7 +3603,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to create login role" } }, "security": [{ "bearer": [] }], @@ -3259,7 +3632,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete login roles" } }, "security": [{ "bearer": [] }], @@ -3289,7 +3664,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to list database migrations" } }, "security": [{ "bearer": [] }], @@ -3325,7 +3702,9 @@ }, "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to apply database migration" } }, "security": [{ "bearer": [] }], @@ -3361,7 +3740,9 @@ }, "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to upsert database migration" } }, "security": [{ "bearer": [] }], @@ -3389,7 +3770,9 @@ }, "responses": { "201": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to run sql query" } }, "security": [{ "bearer": [] }], @@ -3411,7 +3794,9 @@ ], "responses": { "201": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to enable Database Webhooks on the project" } }, "security": [{ "bearer": [] }], @@ -3442,7 +3827,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets database metadata for the given project.", @@ -3469,7 +3856,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/JitAccessResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to list database jit access" } }, "security": [{ "bearer": [] }], @@ -3505,7 +3894,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to authorize database jit access" } }, "security": [{ "bearer": [] }], @@ -3537,7 +3928,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/JitAccessResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to upsert database migration" } }, "security": [{ "bearer": [] }], @@ -3567,7 +3960,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to list database jit access" } }, "security": [{ "bearer": [] }], @@ -3596,7 +3991,9 @@ ], "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove JIT access" } }, "security": [{ "bearer": [] }], @@ -3629,7 +4026,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's functions" } }, "security": [{ "bearer": [] }], @@ -3706,8 +4105,10 @@ "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } } } }, + "401": { "description": "Unauthorized" }, "402": { "description": "Maximum number of functions reached for Plan" }, - "403": { "description": "" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to create project's function" } }, "security": [{ "bearer": [] }], @@ -3743,8 +4144,10 @@ } } }, + "401": { "description": "Unauthorized" }, "402": { "description": "Maximum number of functions reached for Plan" }, - "403": { "description": "" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update functions" } }, "security": [{ "bearer": [] }], @@ -3795,8 +4198,10 @@ } } }, + "401": { "description": "Unauthorized" }, "402": { "description": "Maximum number of functions reached for Plan" }, - "403": { "description": "" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to deploy function" } }, "security": [{ "bearer": [] }], @@ -3833,7 +4238,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve function with given slug" } }, "security": [{ "bearer": [] }], @@ -3916,7 +4323,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to update function with given slug" } }, "security": [{ "bearer": [] }], @@ -3944,7 +4353,9 @@ ], "responses": { "200": { "description": "" }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete function with given slug" } }, "security": [{ "bearer": [] }], @@ -3979,7 +4390,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/StreamableFile" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve function body with given slug" } }, "security": [{ "bearer": [] }], @@ -4011,7 +4424,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get list of buckets" } }, "security": [{ "bearer": [] }], @@ -4046,8 +4461,10 @@ } } }, - "403": { "description": "" }, - "404": { "description": "SAML 2.0 support is not enabled for this project" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "404": { "description": "SAML 2.0 support is not enabled for this project" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Creates a new SSO provider", @@ -4073,8 +4490,10 @@ } } }, - "403": { "description": "" }, - "404": { "description": "SAML 2.0 support is not enabled for this project" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "404": { "description": "SAML 2.0 support is not enabled for this project" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Lists all SSO providers", @@ -4108,10 +4527,12 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, "404": { "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" - } + }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets a SSO provider by its UUID", @@ -4149,10 +4570,12 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, "404": { "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" - } + }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Updates a SSO provider by its UUID", @@ -4184,10 +4607,12 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, "404": { "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" - } + }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Removes a SSO provider by its UUID", @@ -4213,7 +4638,9 @@ "application/json": { "schema": { "$ref": "#/components/schemas/V1BackupsResponse" } } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get backups" } }, "security": [{ "bearer": [] }], @@ -4239,7 +4666,12 @@ "application/json": { "schema": { "$ref": "#/components/schemas/V1RestorePitrBody" } } } }, - "responses": { "201": { "description": "" }, "403": { "description": "" } }, + "responses": { + "201": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Restores a PITR backup for a database", "tags": ["Database"] @@ -4274,7 +4706,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Initiates a creation of a restore point for a database", @@ -4307,7 +4741,9 @@ } } }, - "403": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" }, "500": { "description": "Failed to get requested restore points" } }, "security": [{ "bearer": [] }], @@ -4334,7 +4770,12 @@ "application/json": { "schema": { "$ref": "#/components/schemas/V1UndoBody" } } } }, - "responses": { "201": { "description": "" }, "403": { "description": "" } }, + "responses": { + "201": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Initiates an undo to a given restore point", "tags": ["Database"], @@ -4365,7 +4806,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "List members of an organization", @@ -4393,7 +4836,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets information about the organization", @@ -4422,7 +4867,9 @@ } } }, - "403": { "description": "" } + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } }, "security": [{ "bearer": [] }], "summary": "Gets project details for the specified organization and claim token", @@ -4441,7 +4888,12 @@ }, { "name": "token", "required": true, "in": "path", "schema": { "type": "string" } } ], - "responses": { "204": { "description": "" }, "403": { "description": "" } }, + "responses": { + "204": { "description": "" }, + "401": { "description": "Unauthorized" }, + "403": { "description": "Forbidden action" }, + "429": { "description": "Rate limit exceeded" } + }, "security": [{ "bearer": [] }], "summary": "Claims project for the specified organization", "tags": ["Organizations"], @@ -4926,6 +5378,143 @@ "content" ] }, + "ListActionRunResponse": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "branch_id": { "type": "string" }, + "run_steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": ["clone", "pull", "health", "configure", "migrate", "seed", "deploy"] + }, + "status": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["name", "status", "created_at", "updated_at"] + } + }, + "git_config": { "nullable": true }, + "workdir": { "type": "string", "nullable": true }, + "check_run_id": { "type": "number", "nullable": true }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": [ + "id", + "branch_id", + "run_steps", + "workdir", + "check_run_id", + "created_at", + "updated_at" + ] + } + }, + "ActionRunResponse": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "branch_id": { "type": "string" }, + "run_steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": ["clone", "pull", "health", "configure", "migrate", "seed", "deploy"] + }, + "status": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["name", "status", "created_at", "updated_at"] + } + }, + "git_config": { "nullable": true }, + "workdir": { "type": "string", "nullable": true }, + "check_run_id": { "type": "number", "nullable": true }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": [ + "id", + "branch_id", + "run_steps", + "workdir", + "check_run_id", + "created_at", + "updated_at" + ] + }, + "UpdateRunStatusBody": { + "type": "object", + "properties": { + "clone": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "pull": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "health": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "configure": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "migrate": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "seed": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "deploy": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + } + } + }, + "UpdateRunStatusResponse": { + "type": "object", + "properties": { "message": { "type": "string", "enum": ["ok"] } }, + "required": ["message"] + }, "ApiKeyResponse": { "type": "object", "properties": { @@ -5961,64 +6550,82 @@ "external_anonymous_users_enabled": { "type": "boolean", "nullable": true }, "external_apple_additional_client_ids": { "type": "string", "nullable": true }, "external_apple_client_id": { "type": "string", "nullable": true }, + "external_apple_email_optional": { "type": "boolean", "nullable": true }, "external_apple_enabled": { "type": "boolean", "nullable": true }, "external_apple_secret": { "type": "string", "nullable": true }, "external_azure_client_id": { "type": "string", "nullable": true }, + "external_azure_email_optional": { "type": "boolean", "nullable": true }, "external_azure_enabled": { "type": "boolean", "nullable": true }, "external_azure_secret": { "type": "string", "nullable": true }, "external_azure_url": { "type": "string", "nullable": true }, "external_bitbucket_client_id": { "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { "type": "boolean", "nullable": true }, "external_bitbucket_enabled": { "type": "boolean", "nullable": true }, "external_bitbucket_secret": { "type": "string", "nullable": true }, "external_discord_client_id": { "type": "string", "nullable": true }, + "external_discord_email_optional": { "type": "boolean", "nullable": true }, "external_discord_enabled": { "type": "boolean", "nullable": true }, "external_discord_secret": { "type": "string", "nullable": true }, "external_email_enabled": { "type": "boolean", "nullable": true }, "external_facebook_client_id": { "type": "string", "nullable": true }, + "external_facebook_email_optional": { "type": "boolean", "nullable": true }, "external_facebook_enabled": { "type": "boolean", "nullable": true }, "external_facebook_secret": { "type": "string", "nullable": true }, "external_figma_client_id": { "type": "string", "nullable": true }, + "external_figma_email_optional": { "type": "boolean", "nullable": true }, "external_figma_enabled": { "type": "boolean", "nullable": true }, "external_figma_secret": { "type": "string", "nullable": true }, "external_github_client_id": { "type": "string", "nullable": true }, + "external_github_email_optional": { "type": "boolean", "nullable": true }, "external_github_enabled": { "type": "boolean", "nullable": true }, "external_github_secret": { "type": "string", "nullable": true }, "external_gitlab_client_id": { "type": "string", "nullable": true }, + "external_gitlab_email_optional": { "type": "boolean", "nullable": true }, "external_gitlab_enabled": { "type": "boolean", "nullable": true }, "external_gitlab_secret": { "type": "string", "nullable": true }, "external_gitlab_url": { "type": "string", "nullable": true }, "external_google_additional_client_ids": { "type": "string", "nullable": true }, "external_google_client_id": { "type": "string", "nullable": true }, + "external_google_email_optional": { "type": "boolean", "nullable": true }, "external_google_enabled": { "type": "boolean", "nullable": true }, "external_google_secret": { "type": "string", "nullable": true }, "external_google_skip_nonce_check": { "type": "boolean", "nullable": true }, "external_kakao_client_id": { "type": "string", "nullable": true }, + "external_kakao_email_optional": { "type": "boolean", "nullable": true }, "external_kakao_enabled": { "type": "boolean", "nullable": true }, "external_kakao_secret": { "type": "string", "nullable": true }, "external_keycloak_client_id": { "type": "string", "nullable": true }, + "external_keycloak_email_optional": { "type": "boolean", "nullable": true }, "external_keycloak_enabled": { "type": "boolean", "nullable": true }, "external_keycloak_secret": { "type": "string", "nullable": true }, "external_keycloak_url": { "type": "string", "nullable": true }, "external_linkedin_oidc_client_id": { "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { "type": "boolean", "nullable": true }, "external_linkedin_oidc_enabled": { "type": "boolean", "nullable": true }, "external_linkedin_oidc_secret": { "type": "string", "nullable": true }, "external_slack_oidc_client_id": { "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { "type": "boolean", "nullable": true }, "external_slack_oidc_enabled": { "type": "boolean", "nullable": true }, "external_slack_oidc_secret": { "type": "string", "nullable": true }, "external_notion_client_id": { "type": "string", "nullable": true }, + "external_notion_email_optional": { "type": "boolean", "nullable": true }, "external_notion_enabled": { "type": "boolean", "nullable": true }, "external_notion_secret": { "type": "string", "nullable": true }, "external_phone_enabled": { "type": "boolean", "nullable": true }, "external_slack_client_id": { "type": "string", "nullable": true }, + "external_slack_email_optional": { "type": "boolean", "nullable": true }, "external_slack_enabled": { "type": "boolean", "nullable": true }, "external_slack_secret": { "type": "string", "nullable": true }, "external_spotify_client_id": { "type": "string", "nullable": true }, + "external_spotify_email_optional": { "type": "boolean", "nullable": true }, "external_spotify_enabled": { "type": "boolean", "nullable": true }, "external_spotify_secret": { "type": "string", "nullable": true }, "external_twitch_client_id": { "type": "string", "nullable": true }, + "external_twitch_email_optional": { "type": "boolean", "nullable": true }, "external_twitch_enabled": { "type": "boolean", "nullable": true }, "external_twitch_secret": { "type": "string", "nullable": true }, "external_twitter_client_id": { "type": "string", "nullable": true }, + "external_twitter_email_optional": { "type": "boolean", "nullable": true }, "external_twitter_enabled": { "type": "boolean", "nullable": true }, "external_twitter_secret": { "type": "string", "nullable": true }, "external_workos_client_id": { "type": "string", "nullable": true }, @@ -6028,6 +6635,7 @@ "external_web3_solana_enabled": { "type": "boolean", "nullable": true }, "external_web3_ethereum_enabled": { "type": "boolean", "nullable": true }, "external_zoom_client_id": { "type": "string", "nullable": true }, + "external_zoom_email_optional": { "type": "boolean", "nullable": true }, "external_zoom_enabled": { "type": "boolean", "nullable": true }, "external_zoom_secret": { "type": "string", "nullable": true }, "hook_custom_access_token_enabled": { "type": "boolean", "nullable": true }, @@ -6077,6 +6685,7 @@ "mfa_phone_template": { "type": "string", "nullable": true }, "mfa_phone_max_frequency": { "type": "integer", "nullable": true }, "nimbus_oauth_client_id": { "type": "string", "nullable": true }, + "nimbus_oauth_email_optional": { "type": "boolean", "nullable": true }, "nimbus_oauth_client_secret": { "type": "string", "nullable": true }, "password_hibp_enabled": { "type": "boolean", "nullable": true }, "password_min_length": { "type": "integer", "nullable": true }, @@ -6161,64 +6770,82 @@ "external_anonymous_users_enabled", "external_apple_additional_client_ids", "external_apple_client_id", + "external_apple_email_optional", "external_apple_enabled", "external_apple_secret", "external_azure_client_id", + "external_azure_email_optional", "external_azure_enabled", "external_azure_secret", "external_azure_url", "external_bitbucket_client_id", + "external_bitbucket_email_optional", "external_bitbucket_enabled", "external_bitbucket_secret", "external_discord_client_id", + "external_discord_email_optional", "external_discord_enabled", "external_discord_secret", "external_email_enabled", "external_facebook_client_id", + "external_facebook_email_optional", "external_facebook_enabled", "external_facebook_secret", "external_figma_client_id", + "external_figma_email_optional", "external_figma_enabled", "external_figma_secret", "external_github_client_id", + "external_github_email_optional", "external_github_enabled", "external_github_secret", "external_gitlab_client_id", + "external_gitlab_email_optional", "external_gitlab_enabled", "external_gitlab_secret", "external_gitlab_url", "external_google_additional_client_ids", "external_google_client_id", + "external_google_email_optional", "external_google_enabled", "external_google_secret", "external_google_skip_nonce_check", "external_kakao_client_id", + "external_kakao_email_optional", "external_kakao_enabled", "external_kakao_secret", "external_keycloak_client_id", + "external_keycloak_email_optional", "external_keycloak_enabled", "external_keycloak_secret", "external_keycloak_url", "external_linkedin_oidc_client_id", + "external_linkedin_oidc_email_optional", "external_linkedin_oidc_enabled", "external_linkedin_oidc_secret", "external_slack_oidc_client_id", + "external_slack_oidc_email_optional", "external_slack_oidc_enabled", "external_slack_oidc_secret", "external_notion_client_id", + "external_notion_email_optional", "external_notion_enabled", "external_notion_secret", "external_phone_enabled", "external_slack_client_id", + "external_slack_email_optional", "external_slack_enabled", "external_slack_secret", "external_spotify_client_id", + "external_spotify_email_optional", "external_spotify_enabled", "external_spotify_secret", "external_twitch_client_id", + "external_twitch_email_optional", "external_twitch_enabled", "external_twitch_secret", "external_twitter_client_id", + "external_twitter_email_optional", "external_twitter_enabled", "external_twitter_secret", "external_workos_client_id", @@ -6228,6 +6855,7 @@ "external_web3_solana_enabled", "external_web3_ethereum_enabled", "external_zoom_client_id", + "external_zoom_email_optional", "external_zoom_enabled", "external_zoom_secret", "hook_custom_access_token_enabled", @@ -6277,6 +6905,7 @@ "mfa_phone_template", "mfa_phone_max_frequency", "nimbus_oauth_client_id", + "nimbus_oauth_email_optional", "nimbus_oauth_client_secret", "password_hibp_enabled", "password_min_length", @@ -6528,63 +7157,81 @@ "hook_before_user_created_secrets": { "type": "string", "nullable": true }, "external_apple_enabled": { "type": "boolean", "nullable": true }, "external_apple_client_id": { "type": "string", "nullable": true }, + "external_apple_email_optional": { "type": "boolean", "nullable": true }, "external_apple_secret": { "type": "string", "nullable": true }, "external_apple_additional_client_ids": { "type": "string", "nullable": true }, "external_azure_enabled": { "type": "boolean", "nullable": true }, "external_azure_client_id": { "type": "string", "nullable": true }, + "external_azure_email_optional": { "type": "boolean", "nullable": true }, "external_azure_secret": { "type": "string", "nullable": true }, "external_azure_url": { "type": "string", "nullable": true }, "external_bitbucket_enabled": { "type": "boolean", "nullable": true }, "external_bitbucket_client_id": { "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { "type": "boolean", "nullable": true }, "external_bitbucket_secret": { "type": "string", "nullable": true }, "external_discord_enabled": { "type": "boolean", "nullable": true }, "external_discord_client_id": { "type": "string", "nullable": true }, + "external_discord_email_optional": { "type": "boolean", "nullable": true }, "external_discord_secret": { "type": "string", "nullable": true }, "external_facebook_enabled": { "type": "boolean", "nullable": true }, "external_facebook_client_id": { "type": "string", "nullable": true }, + "external_facebook_email_optional": { "type": "boolean", "nullable": true }, "external_facebook_secret": { "type": "string", "nullable": true }, "external_figma_enabled": { "type": "boolean", "nullable": true }, "external_figma_client_id": { "type": "string", "nullable": true }, + "external_figma_email_optional": { "type": "boolean", "nullable": true }, "external_figma_secret": { "type": "string", "nullable": true }, "external_github_enabled": { "type": "boolean", "nullable": true }, "external_github_client_id": { "type": "string", "nullable": true }, + "external_github_email_optional": { "type": "boolean", "nullable": true }, "external_github_secret": { "type": "string", "nullable": true }, "external_gitlab_enabled": { "type": "boolean", "nullable": true }, "external_gitlab_client_id": { "type": "string", "nullable": true }, + "external_gitlab_email_optional": { "type": "boolean", "nullable": true }, "external_gitlab_secret": { "type": "string", "nullable": true }, "external_gitlab_url": { "type": "string", "nullable": true }, "external_google_enabled": { "type": "boolean", "nullable": true }, "external_google_client_id": { "type": "string", "nullable": true }, + "external_google_email_optional": { "type": "boolean", "nullable": true }, "external_google_secret": { "type": "string", "nullable": true }, "external_google_additional_client_ids": { "type": "string", "nullable": true }, "external_google_skip_nonce_check": { "type": "boolean", "nullable": true }, "external_kakao_enabled": { "type": "boolean", "nullable": true }, "external_kakao_client_id": { "type": "string", "nullable": true }, + "external_kakao_email_optional": { "type": "boolean", "nullable": true }, "external_kakao_secret": { "type": "string", "nullable": true }, "external_keycloak_enabled": { "type": "boolean", "nullable": true }, "external_keycloak_client_id": { "type": "string", "nullable": true }, + "external_keycloak_email_optional": { "type": "boolean", "nullable": true }, "external_keycloak_secret": { "type": "string", "nullable": true }, "external_keycloak_url": { "type": "string", "nullable": true }, "external_linkedin_oidc_enabled": { "type": "boolean", "nullable": true }, "external_linkedin_oidc_client_id": { "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { "type": "boolean", "nullable": true }, "external_linkedin_oidc_secret": { "type": "string", "nullable": true }, "external_slack_oidc_enabled": { "type": "boolean", "nullable": true }, "external_slack_oidc_client_id": { "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { "type": "boolean", "nullable": true }, "external_slack_oidc_secret": { "type": "string", "nullable": true }, "external_notion_enabled": { "type": "boolean", "nullable": true }, "external_notion_client_id": { "type": "string", "nullable": true }, + "external_notion_email_optional": { "type": "boolean", "nullable": true }, "external_notion_secret": { "type": "string", "nullable": true }, "external_slack_enabled": { "type": "boolean", "nullable": true }, "external_slack_client_id": { "type": "string", "nullable": true }, + "external_slack_email_optional": { "type": "boolean", "nullable": true }, "external_slack_secret": { "type": "string", "nullable": true }, "external_spotify_enabled": { "type": "boolean", "nullable": true }, "external_spotify_client_id": { "type": "string", "nullable": true }, + "external_spotify_email_optional": { "type": "boolean", "nullable": true }, "external_spotify_secret": { "type": "string", "nullable": true }, "external_twitch_enabled": { "type": "boolean", "nullable": true }, "external_twitch_client_id": { "type": "string", "nullable": true }, + "external_twitch_email_optional": { "type": "boolean", "nullable": true }, "external_twitch_secret": { "type": "string", "nullable": true }, "external_twitter_enabled": { "type": "boolean", "nullable": true }, "external_twitter_client_id": { "type": "string", "nullable": true }, + "external_twitter_email_optional": { "type": "boolean", "nullable": true }, "external_twitter_secret": { "type": "string", "nullable": true }, "external_workos_enabled": { "type": "boolean", "nullable": true }, "external_workos_client_id": { "type": "string", "nullable": true }, @@ -6594,6 +7241,7 @@ "external_web3_ethereum_enabled": { "type": "boolean", "nullable": true }, "external_zoom_enabled": { "type": "boolean", "nullable": true }, "external_zoom_client_id": { "type": "string", "nullable": true }, + "external_zoom_email_optional": { "type": "boolean", "nullable": true }, "external_zoom_secret": { "type": "string", "nullable": true }, "db_max_pool_size": { "type": "integer", "nullable": true }, "api_max_request_duration": { "type": "integer", "nullable": true }, diff --git a/apps/docs/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yaml index 502a47a585d0f..74bf0b42e2bda 100644 --- a/apps/docs/spec/cli_v1_commands.yaml +++ b/apps/docs/spec/cli_v1_commands.yaml @@ -78,7 +78,7 @@ flags: name: --workdir description: path to a Supabase project directory default_value: '' - - id: "yes" + - id: 'yes' name: --yes description: answer yes to all prompts default_value: 'false' diff --git a/apps/docs/spec/common-api-sections.json b/apps/docs/spec/common-api-sections.json index 45d8e0d38156c..64b8a35af5e16 100644 --- a/apps/docs/spec/common-api-sections.json +++ b/apps/docs/spec/common-api-sections.json @@ -484,6 +484,12 @@ "type": "category", "title": "Environments", "items": [ + { + "id": "v1-count-action-runs", + "title": "Count action runs", + "slug": "v1-count-action-runs", + "type": "operation" + }, { "id": "v1-create-a-branch", "title": "Create a branch", @@ -520,6 +526,24 @@ "slug": "v1-get-a-branch-config", "type": "operation" }, + { + "id": "v1-get-action-run", + "title": "Get action run", + "slug": "v1-get-action-run", + "type": "operation" + }, + { + "id": "v1-get-action-run-logs", + "title": "Get action run logs", + "slug": "v1-get-action-run-logs", + "type": "operation" + }, + { + "id": "v1-list-action-runs", + "title": "List action runs", + "slug": "v1-list-action-runs", + "type": "operation" + }, { "id": "v1-list-all-branches", "title": "List all branches", @@ -549,6 +573,12 @@ "title": "Update a branch config", "slug": "v1-update-a-branch-config", "type": "operation" + }, + { + "id": "v1-update-action-run-status", + "title": "Update action run status", + "slug": "v1-update-action-run-status", + "type": "operation" } ] }, diff --git a/apps/docs/spec/enrichments/tsdoc_v2/combined.json b/apps/docs/spec/enrichments/tsdoc_v2/combined.json index 5d649373305a2..c53b01cdad654 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/combined.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/combined.json @@ -4,213 +4,195 @@ { "id": 0, "name": "@supabase/supabase-js", + "variant": "project", "kind": 1, "flags": {}, - "originalName": "", "children": [ { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", + "id": 11, + "name": "SupabaseClient", + "variant": "declaration", + "kind": 128, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Client.\n\nAn isomorphic Javascript client for interacting with Postgres." + } + ] + }, "children": [ { - "id": 270, - "name": "QueryData", - "kind": 8388608, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 50, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" - } - ], - "target": 139 - }, - { - "id": 271, - "name": "QueryError", - "kind": 8388608, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 61, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" - } - ], - "target": 143 - }, - { - "id": 269, - "name": "QueryResult", - "kind": 8388608, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 37, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" - } - ], - "target": 137 - }, - { - "id": 268, - "name": "SupabaseClientOptions", - "kind": 8388608, - "kindString": "Reference", + "id": 12, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/index.ts", - "line": 22, - "character": 14, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 99, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L99" } ], - "target": 83 - }, - { - "id": 146, - "name": "SupabaseClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Client.\n\nAn isomorphic Javascript client for interacting with Postgres." - } - ] - }, - "children": [ + "signatures": [ { - "id": 147, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", + "id": 13, + "name": "SupabaseClient", + "variant": "signature", + "kind": 16384, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a new client for use in the browser." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 99, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L99" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L99" } ], - "signatures": [ + "typeParameters": [ { - "id": 148, - "name": "new SupabaseClient", - "kind": 16384, - "kindString": "Constructor signature", + "id": 14, + "name": "Database", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "comment": { - "summary": [ + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 15, + "name": "SchemaNameOrClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "Create a new client for use in the browser." - } - ] - }, - "typeParameter": [ - { - "id": 149, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { "type": "intrinsic", - "name": "any" - } - }, - { - "id": 152, - "name": "SchemaNameOrClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 150, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 17, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 151, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 38, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [151] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 38, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "children": [17] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 38, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" + } + ] + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" }, - "default": { - "type": "conditional", - "checkType": { + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + { "type": "literal", - "value": "public" + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "extendsType": { + { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ { "type": "typeOperator", "operator": "keyof", "target": { "type": "reference", - "id": 149, - "name": "Database" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } }, { @@ -219,157 +201,155 @@ } ], "name": "Exclude", - "qualifiedName": "Exclude", "package": "typescript" + } + ] + } + } + }, + { + "id": 18, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } }, { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "type": "literal", + "value": "__InternalSupabase" } - ] + ], + "name": "Exclude", + "package": "typescript" } - } + ] }, - { - "id": 153, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { + "trueType": { + "type": "reference", + "target": 15, + "typeArguments": [ + { "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + } + ], + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } - ] - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "conditional", - "checkType": { + }, + { "type": "literal", - "value": "public" + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "extendsType": { + { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } }, { "type": "literal", @@ -377,3819 +357,3350 @@ } ], "name": "Exclude", - "qualifiedName": "Exclude", "package": "typescript" - } - ] - } - } - } - }, - { - "id": 154, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" }, { "type": "literal", "value": "__InternalSupabase" } ], - "name": "Omit", - "qualifiedName": "Omit", + "name": "Exclude", "package": "typescript" } + ] + } + } + } + }, + { + "id": 19, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, - "objectType": { - "type": "intrinsic", - "name": "any" + { + "type": "literal", + "value": "__InternalSupabase" } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } + ], + "name": "Omit", + "package": "typescript" } }, - { - "id": 165, - "name": "ClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 155, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 156, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 26, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [156] - } - ], + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 20, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 22, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 53, - "character": 24, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" + ], + "groups": [ + { + "title": "Properties", + "children": [22] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" + } + ] + } + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "extendsType": { - "type": "intersection", - "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } }, { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "type": "literal", + "value": "__InternalSupabase" } - ] - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 149, - "name": "Database" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 157, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "name": "Exclude", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 23, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 24, + "name": "__InternalSupabase", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ + "sources": [ { - "id": 158, - "name": "__InternalSupabase", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 25, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 25, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 159, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 26, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 160, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 47, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [160] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 56, - "character": 45, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" + "character": 47, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [158] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 23, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" + ], + "groups": [ + { + "title": "Properties", + "children": [26] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ] } - ] + } } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "__InternalSupabase" - }, - "objectType": { + ], + "groups": [ + { + "title": "Properties", + "children": [24] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ] + } + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "__InternalSupabase" + }, + "objectType": { + "type": "reference", + "target": 14, + "typeArguments": [ + { "type": "reference", - "name": "Database" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 27, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 28, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 162, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ], - "type": { - "type": "literal", - "value": "12" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [162] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 59, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" } - ] + ], + "type": { + "type": "literal", + "value": "12" + } } - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 163, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "groups": [ + { + "title": "Properties", + "children": [28] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 59, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" + } + ] + } + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 29, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 30, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 164, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 42, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [164] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 60, - "character": 40, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } + ], + "groups": [ + { + "title": "Properties", + "children": [30] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 60, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" + } + ] } - } - } - ], - "parameters": [ - { - "id": 166, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 167, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 168, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true }, - "type": { + "trueType": { "type": "reference", - "id": 83, + "target": 15, "typeArguments": [ { "type": "reference", - "id": 153, - "name": "SchemaName" + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true } ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" } } - ], + } + } + ], + "parameters": [ + { + "id": 31, + "name": "supabaseUrl", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 32, + "name": "supabaseKey", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 33, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, "type": { "type": "reference", - "id": 146, + "target": 137, "typeArguments": [ { "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 165, - "name": "ClientOptions" + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true } ], - "name": "default" + "name": "SupabaseClientOptions", + "package": "@supabase/supabase-js", + "highlightedProperties": { + "realtime": [ + { + "kind": "text", + "text": "Options passed along to realtime-js constructor." + } + ], + "storage": [ + { + "kind": "text", + "text": "Options passed along to the storage-js constructor." + } + ] + } } } - ] - }, + ], + "type": { + "type": "reference", + "target": 11, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + } + ], + "name": "SupabaseClient", + "package": "@supabase/supabase-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 52, + "name": "accessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ { - "id": 184, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 82, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L82" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 82, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L82" + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L82" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 185, + "signatures": [ + { + "id": 54, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 82, "character": 26, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L82" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L82" } ], - "signatures": [ - { - "id": 186, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } - } - ] - } - } - }, - { - "id": 169, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L67" } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" + ] + } + } + }, + { + "id": 34, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." } - }, + ] + }, + "sources": [ { - "id": 173, - "name": "authUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 75, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L75" - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L67" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/SupabaseAuthClient.ts", + "qualifiedName": "SupabaseAuthClient" }, + "name": "SupabaseAuthClient", + "package": "@supabase/supabase-js" + } + }, + { + "id": 38, + "name": "authUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 183, - "name": "changedAccessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 81, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L81" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 75, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L75" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 51, + "name": "changedAccessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ { - "id": 178, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 81, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 43, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 80, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L80" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 44, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 80, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L80" + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], - "type": { - "type": "reflection", - "declaration": { - "id": 179, + "signatures": [ + { + "id": 45, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 } ], - "signatures": [ + "parameters": [ { - "id": 180, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 46, + "name": "input", + "variant": "param", + "kind": 32768, "flags": {}, - "parameters": [ - { - "id": 181, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 182, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { + "type": { + "type": "union", + "types": [ + { "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ + }, { "type": "reference", - "name": "Response", - "qualifiedName": "Response", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" } - ], - "name": "Promise", - "qualifiedName": "Promise", + ] + } + }, + { + "id": 47, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", "package": "typescript" } } - ] - } - } - }, - { - "id": 175, - "name": "functionsUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 77, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L77" - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - }, - { - "id": 187, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 84, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L84" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 170, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "default", - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js" - } - }, - { - "id": 172, - "name": "realtimeUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 74, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L74" - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - }, - { - "id": 176, - "name": "rest", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ + }, { - "fileName": "src/SupabaseClient.ts", - "line": 78, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L78" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 153, - "name": "SchemaName" + "id": 48, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 49, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, { "type": "reference", - "id": 149, - "name": "Database" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" }, { - "type": "literal", - "value": "__InternalSupabase" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" + ] } }, - "extendsType": { - "type": "reference", - "name": "GenericSchema", - "qualifiedName": "GenericSchema", - "package": "@supabase/postgrest-js" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" + { + "id": 50, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, - "objectType": { - "type": "intrinsic", - "name": "any" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" } - }, - "falseType": { - "type": "intrinsic", - "name": "any" } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" } - ], - "name": "default", - "qualifiedName": "PostgrestClient", - "package": "@supabase/postgrest-js" - } - }, - { - "id": 171, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Storage allows you to manage user-generated content, such as photos or videos." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 72, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L72" } - ], - "type": { - "type": "reference", - "name": "StorageClient", - "qualifiedName": "StorageClient", - "package": "@supabase/storage-js" - } - }, + ] + } + } + }, + { + "id": 40, + "name": "functionsUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 177, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 77, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L77" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 55, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 84, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L84" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 79, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L79" - } - ], - "type": { + { "type": "intrinsic", "name": "string" } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 35, + "name": "realtime", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 68, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L68" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default" }, + "name": "RealtimeClient", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 37, + "name": "realtimeUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 174, - "name": "storageUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 74, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L74" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 41, + "name": "rest", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 78, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L78" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 76, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L76" - } - ], - "type": { + { "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true } + ], + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 36, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Storage allows you to manage user-generated content, such as photos or videos." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L72" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage-js/src/StorageClient.ts", + "qualifiedName": "StorageClient" }, + "name": "StorageClient", + "package": "@supabase/storage-js" + } + }, + { + "id": 42, + "name": "storageKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 189, - "name": "supabaseKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 79, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 39, + "name": "storageUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 76, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L76" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 57, + "name": "supabaseKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 101, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L101" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 56, + "name": "supabaseUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 100, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L100" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 58, + "name": "functions", + "variant": "declaration", + "kind": 262144, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L174" + } + ], + "getSignature": { + "id": 59, + "name": "functions", + "variant": "signature", + "kind": 524288, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Functions allows you to deploy and invoke edge functions." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L174" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/functions-js/src/FunctionsClient.ts", + "qualifiedName": "FunctionsClient" }, + "name": "FunctionsClient", + "package": "@supabase/functions-js" + } + } + }, + { + "id": 84, + "name": "channel", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 272, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L272" + } + ], + "signatures": [ + { + "id": 85, + "name": "channel", + "variant": "signature", + "kind": 4096, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + "text": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." } ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 101, - "character": 14, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L101" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 272, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L272" + } + ], + "parameters": [ + { + "id": 86, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the Realtime channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 87, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The options to pass to the Realtime channel." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimeChannelOptions" + }, + "name": "RealtimeChannelOptions", + "package": "@supabase/realtime-js" + }, + "defaultValue": "..." } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } - }, - { - "id": 188, - "name": "supabaseUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "comment": { - "summary": [ + } + ] + }, + { + "id": 60, + "name": "from", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform a query on a table or a view." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "relation", + "content": [ { "kind": "text", - "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + "text": "The table or view name to query" } ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 100, - "character": 14, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L100" - } - ], - "type": { - "type": "intrinsic", - "name": "string" } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L182" }, { - "id": 190, - "name": "functions", - "kind": 262144, - "kindString": "Accessor", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L186" + }, + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 194, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L194" + } + ], + "signatures": [ + { + "id": 61, + "name": "from", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 174, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L174" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L182" } ], - "getSignature": { - "id": 191, - "name": "functions", - "kind": 524288, - "kindString": "Get signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Functions allows you to deploy and invoke edge functions." - } - ] + "typeParameters": [ + { + "id": 62, + "name": "TableName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } }, - "type": { - "type": "reference", - "name": "FunctionsClient", - "qualifiedName": "FunctionsClient", - "package": "@supabase/functions-js" - } - } - }, - { - "id": 229, - "name": "_getAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 300, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L300" + "id": 63, + "name": "Table", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/supabase-js" + } } ], - "signatures": [ + "parameters": [ { - "id": 230, - "name": "_getAccessToken", - "kind": 4096, - "kindString": "Call signature", + "id": 64, + "name": "relation", + "variant": "param", + "kind": 32768, "flags": {}, "type": { "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + "target": 62, + "name": "TableName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 63, + "name": "Table", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 62, + "name": "TableName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } }, { - "id": 246, - "name": "_handleTokenChanged", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, + "id": 65, + "name": "from", + "variant": "signature", + "kind": 4096, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 364, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L364" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L186" } ], - "signatures": [ + "typeParameters": [ { - "id": 247, - "name": "_handleTokenChanged", - "kind": 4096, - "kindString": "Call signature", + "id": 66, + "name": "ViewName", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "parameters": [ - { - "id": 248, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "AuthChangeEvent", - "qualifiedName": "AuthChangeEvent", - "package": "@supabase/auth-js" - } - }, - { - "id": 249, - "name": "source", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "CLIENT" - }, - { - "type": "literal", - "value": "STORAGE" - } - ] - } - }, - { - "id": 250, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], "type": { "type": "intrinsic", - "name": "void" + "name": "string" } - } - ] - }, - { - "id": 240, - "name": "_initRealtimeClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ + }, { - "fileName": "src/SupabaseClient.ts", - "line": 350, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L350" + "id": 67, + "name": "View", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/supabase-js" + } } ], - "signatures": [ + "parameters": [ { - "id": 241, - "name": "_initRealtimeClient", - "kind": 4096, - "kindString": "Call signature", + "id": 68, + "name": "relation", + "variant": "param", + "kind": 32768, "flags": {}, - "parameters": [ - { - "id": 242, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - } - ], "type": { "type": "reference", - "name": "default", - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js" + "target": 66, + "name": "ViewName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } } - ] - }, + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 67, + "name": "View", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 66, + "name": "ViewName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 88, + "name": "getChannels", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 231, - "name": "_initSupabaseAuthClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 279, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L279" + } + ], + "signatures": [ + { + "id": 89, + "name": "getChannels", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns all Realtime channels." + } + ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 310, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L310" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 279, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L279" } ], - "signatures": [ - { - "id": 232, - "name": "_initSupabaseAuthClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 233, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions", - "dereferenced": { - "id": 81, - "name": "SupabaseAuthClientOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 17, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L8" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "AuthClientOptions" - } - ] - } - } - }, - { - "id": 234, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 235, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 236, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 237, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 238, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 239, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" - } + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } - ] - }, + } + } + ] + }, + { + "id": 93, + "name": "removeAllChannels", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 243, - "name": "_listenForAuthEvents", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 296, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L296" + } + ], + "signatures": [ + { + "id": 94, + "name": "removeAllChannels", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unsubscribes and removes all Realtime channels from Realtime client." + } + ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 357, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L357" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 296, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L296" } ], - "signatures": [ - { - "id": 244, - "name": "_listenForAuthEvents", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 245, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, { - "fileName": "node_modules/@supabase/auth-js/dist/module/GoTrueClient.d.ts", - "line": 313, - "character": 108 + "type": "literal", + "value": "timed out" } ] } } - } - ] - }, + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 90, + "name": "removeChannel", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 218, - "name": "channel", - "kind": 2048, - "kindString": "Method", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 289, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L289" + } + ], + "signatures": [ + { + "id": 91, + "name": "removeChannel", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unsubscribes and removes Realtime channel from Realtime client." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 272, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 289, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L272" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L289" } ], - "signatures": [ + "parameters": [ { - "id": 219, + "id": 92, "name": "channel", - "kind": 4096, - "kindString": "Call signature", + "variant": "param", + "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." + "text": "The name of the Realtime channel." } ] }, - "parameters": [ - { - "id": 220, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the Realtime channel." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 221, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The options to pass to the Realtime channel." - } - ] - }, - "type": { - "type": "reference", - "name": "RealtimeChannelOptions", - "qualifiedName": "RealtimeChannelOptions", - "package": "@supabase/realtime-js" - }, - "defaultValue": "..." - } - ], "type": { "type": "reference", - "name": "default", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js" + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } } - ] - }, + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 73, + "name": "rpc", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 192, - "name": "from", - "kind": 2048, - "kindString": "Method", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 241, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L241" + } + ], + "signatures": [ + { + "id": 74, + "name": "rpc", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform a function call." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 182, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 241, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L182" - }, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L241" + } + ], + "typeParameters": [ { - "fileName": "src/SupabaseClient.ts", - "line": 186, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L186" + "id": 75, + "name": "FnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "fileName": "src/SupabaseClient.ts", - "line": 194, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L194" + "id": 76, + "name": "Fn", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericFunction" + }, + "name": "GenericFunction", + "package": "@supabase/supabase-js" + } } ], - "signatures": [ + "parameters": [ { - "id": 193, - "name": "from", - "kind": 4096, - "kindString": "Call signature", + "id": 77, + "name": "fn", + "variant": "param", + "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Perform a query on a table or a view." + "text": "The function name to call" } ] }, - "typeParameter": [ - { - "id": 194, - "name": "TableName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 195, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - } - ], - "parameters": [ - { - "id": 196, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The table or view name to query" - } - ] - }, - "type": { - "type": "reference", - "id": 194, - "name": "TableName", - "dereferenced": {} - } - } - ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 195, - "name": "Table" - }, - { - "type": "reference", - "id": 194, - "name": "TableName" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 195, - "name": "Table" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/cjs/PostgrestQueryBuilder.d.ts", - "line": 4, - "character": 218 - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "R", - "qualifiedName": "R", - "package": "@supabase/postgrest-js" - }, - "falseType": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "name": "default", - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js" + "target": 75, + "name": "FnName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } }, { - "id": 198, - "name": "from", - "kind": 4096, - "kindString": "Call signature", + "id": 78, + "name": "args", + "variant": "param", + "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Perform a query on a table or a view." + "text": "The arguments to pass to the function call" } ] }, - "typeParameter": [ - { - "id": 199, - "name": "ViewName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" }, - { - "id": 200, - "name": "View", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 127, - "name": "GenericView" - } + "objectType": { + "type": "reference", + "target": 76, + "name": "Fn", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - ], - "parameters": [ - { - "id": 201, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", + }, + "defaultValue": "{}" + }, + { + "id": 79, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 80, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The table or view name to query" + "children": [ + { + "id": 83, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n" + }, + { + "kind": "code", + "text": "`\"exact\"`" + }, + { + "kind": "text", + "text": ": Exact but slow count algorithm. Performs a " + }, + { + "kind": "code", + "text": "`COUNT(*)`" + }, + { + "kind": "text", + "text": " under the\nhood.\n\n" + }, + { + "kind": "code", + "text": "`\"planned\"`" + }, + { + "kind": "text", + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 247, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L247" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] } - ] - }, - "type": { - "type": "reference", - "id": 199, - "name": "ViewName", - "dereferenced": {} - } + }, + { + "id": 82, + "name": "get", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the function will be called with\nread-only access mode." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 246, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L246" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 81, + "name": "head", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " will not be returned.\nUseful if you only need the count." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 245, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L245" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [83, 82, 81] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 244, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L244" + } + ] } - ], - "type": { + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestFilterBuilder.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" }, - { + "objectType": { "type": "reference", - "id": 200, - "name": "View" + "target": 76, + "name": "Fn", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } }, - { + "extendsType": { "type": "reference", - "id": 199, - "name": "ViewName" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 200, - "name": "View" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 202, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/cjs/PostgrestQueryBuilder.d.ts", - "line": 4, - "character": 218 - } - ] + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } + ], + "name": "Record", + "package": "typescript" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" }, - "trueType": { - "type": "reference", - "name": "R", - "qualifiedName": "R", - "package": "@supabase/postgrest-js" - }, - "falseType": { + "objectType": { "type": "intrinsic", - "name": "unknown" + "name": "any" } + }, + "falseType": { + "type": "intrinsic", + "name": "never" } - ], - "name": "default", - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "target": 76, + "name": "Fn", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": 75, + "name": "FnName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "RPC" } - } - ] - }, + ], + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 69, + "name": "schema", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 222, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 206, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L206" + } + ], + "signatures": [ + { + "id": 70, + "name": "schema", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Select a schema to query or perform an function (rpc) call.\n\nThe schema needs to be on the list of exposed schemas inside Supabase." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 279, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 206, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L279" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L206" } ], - "signatures": [ + "typeParameters": [ { - "id": 223, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", + "id": 71, + "name": "DynamicSchema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 72, + "name": "schema", + "variant": "param", + "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Returns all Realtime channels." + "text": "The schema to query" } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "default", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js" - } + "type": "reference", + "target": 71, + "name": "DynamicSchema", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } } - ] - }, - { - "id": 227, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 296, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L296" - } ], - "signatures": [ - { - "id": 228, - "name": "removeAllChannels", - "kind": 4096, - "kindString": "Call signature", + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 71, + "name": "DynamicSchema", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 71, + "name": "DynamicSchema", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [12] + }, + { + "title": "Properties", + "children": [52, 34, 38, 51, 43, 40, 55, 35, 37, 41, 36, 42, 39, 57, 56] + }, + { + "title": "Accessors", + "children": [58] + }, + { + "title": "Methods", + "children": [84, 60, 88, 93, 90, 73, 69] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 31, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L31" + } + ], + "typeParameters": [ + { + "id": 120, + "name": "Database", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 121, + "name": "SchemaNameOrClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + } + ] + }, + { + "type": "reflection", + "declaration": { + "id": 122, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Unsubscribes and removes all Realtime channels from Realtime client." + "children": [ + { + "id": 123, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 38, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ] + } + ], + "groups": [ + { + "title": "Properties", + "children": [123] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 38, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" + } + ] + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, - "type": { + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" } ], - "name": "Promise", - "qualifiedName": "Promise", + "name": "Omit", "package": "typescript" } } ] - }, - { - "id": 224, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 289, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L289" - } - ], - "signatures": [ - { - "id": 225, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Unsubscribes and removes Realtime channel from Realtime client." - } - ] + } + } + }, + { + "id": 124, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "parameters": [ + "typeArguments": [ { - "id": 226, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the Realtime channel." - } - ] - }, - "type": { - "type": "reference", - "name": "default", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js" - } + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" } ], - "type": { + "name": "Omit", + "package": "typescript" + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" } ], - "name": "Promise", - "qualifiedName": "Promise", + "name": "Omit", "package": "typescript" } } ] }, - { - "id": 207, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 241, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L241" - } - ], - "signatures": [ - { - "id": 208, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform a function call." - } - ] + "trueType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "typeParameter": [ + "typeArguments": [ { - "id": 209, - "name": "FnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { - "id": 210, - "name": "Fn", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 128, - "name": "GenericFunction" - } + "type": "literal", + "value": "__InternalSupabase" } ], - "parameters": [ - { - "id": 211, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The function name to call" - } - ] - }, - "type": { - "type": "reference", - "id": 209, - "name": "FnName", - "dereferenced": {} - } - }, - { - "id": 212, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The arguments to pass to the function call" - } - ] + "name": "Omit", + "package": "typescript" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Args" - }, - "objectType": { + "typeArguments": [ + { "type": "reference", - "id": 210, - "name": "Fn" - } - }, - "defaultValue": "{}" - }, - { - "id": 213, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 214, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ { - "id": 217, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 247, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L247" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 216, - "name": "get", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the function will be called with\nread-only access mode." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 246, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L246" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { - "id": 215, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " will not be returned.\nUseful if you only need the count." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 245, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L245" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [217, 216, 215] + "type": "literal", + "value": "__InternalSupabase" } ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 244, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L244" - } - ] + "name": "Omit", + "package": "typescript" + }, + { + "type": "literal", + "value": "__InternalSupabase" } - }, - "defaultValue": "{}" + ], + "name": "Omit", + "package": "typescript" + } + } + ] + } + } + } + }, + { + "id": 125, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 126, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 127, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 128, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" } ], "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [128] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" + } + ] + } + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 210, - "name": "Fn" - } - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 210, - "name": "Fn" - } - }, - { - "type": "reference", - "id": 209, - "name": "FnName" - }, - { - "type": "literal", - "value": null + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", - "value": "RPC" + "value": "__InternalSupabase" } ], - "name": "default", - "qualifiedName": "PostgrestFilterBuilder", - "package": "@supabase/postgrest-js" + "name": "Omit", + "package": "typescript" } } ] }, - { - "id": 203, - "name": "schema", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 206, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L206" - } - ], - "signatures": [ - { - "id": 204, - "name": "schema", - "kind": 4096, - "kindString": "Call signature", + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 129, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Select a schema to query or perform an function (rpc) call.\n\nThe schema needs to be on the list of exposed schemas inside Supabase." - } - ] - }, - "typeParameter": [ + "children": [ { - "id": 205, - "name": "DynamicSchema", - "kind": 131072, - "kindString": "Type parameter", + "id": 130, + "name": "__InternalSupabase", + "variant": "declaration", + "kind": 1024, "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reflection", + "declaration": { + "id": 131, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 132, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 47, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [132] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ] + } } } ], - "parameters": [ + "groups": [ { - "id": 206, - "name": "schema", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The schema to query" - } - ] - }, - "type": { - "type": "reference", - "id": 205, - "name": "DynamicSchema", - "dereferenced": {} - } + "title": "Properties", + "children": [130] } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 205, - "name": "DynamicSchema" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 205, - "name": "DynamicSchema" - }, - "objectType": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "default", - "qualifiedName": "PostgrestClient", - "package": "@supabase/postgrest-js" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [147] - }, - { - "title": "Properties", - "children": [ - 184, 169, 173, 183, 178, 175, 187, 170, 172, 176, 171, 177, 174, 189, 188 - ] - }, - { - "title": "Accessors", - "children": [190] - }, - { - "title": "Methods", - "children": [229, 246, 240, 231, 243, 218, 192, 222, 227, 224, 207, 203] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 31, - "character": 21, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L31" - } - ], - "typeParameters": [ - { - "id": 251, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 254, - "name": "SchemaNameOrClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] - }, - { - "type": "reflection", - "declaration": { - "id": 252, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 253, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 38, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [253] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 38, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" - } - ] + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } - } - ] + ] + } }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "trueType": { + "trueType": { + "type": "indexedAccess", + "indexType": { "type": "literal", - "value": "public" + "value": "__InternalSupabase" }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] + "objectType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } - } - }, - { - "id": 255, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 133, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 134, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ { - "type": "literal", - "value": "__InternalSupabase" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 59, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" } ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" + "type": { + "type": "literal", + "value": "12" + } } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ + ], + "groups": [ { - "type": "intrinsic", - "name": "string" - }, + "title": "Properties", + "children": [134] + } + ], + "sources": [ { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 59, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" } ] - }, - "trueType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] - } } } }, - { - "id": 256, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - { - "id": 267, - "name": "ClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { + "extendsType": { "type": "reflection", "declaration": { - "id": 257, + "id": 135, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 258, + "id": 136, "name": "PostgrestVersion", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 26, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 60, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" } ], "type": { @@ -4201,21736 +3712,3460 @@ "groups": [ { "title": "Properties", - "children": [258] + "children": [136] } ], "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 24, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 60, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" } ] } }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 149, - "name": "Database" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 259, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 260, - "name": "__InternalSupabase", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 25, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 261, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 262, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 47, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [262] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 45, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [260] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 23, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "__InternalSupabase" - }, - "objectType": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 263, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 264, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ], - "type": { - "type": "literal", - "value": "12" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [264] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ] + "trueType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + } + ] + }, + { + "id": 165, + "name": "QueryData", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 132, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L132" + } + ], + "typeParameters": [ + { + "id": 168, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 168, + "name": "T", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 167, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 132, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L132" + } + ], + "type": { + "type": "inferred", + "name": "U" } } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 265, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 266, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 42, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [266] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 40, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ] - } - }, - "trueType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "intrinsic", - "name": "never" + ], + "groups": [ + { + "title": "Properties", + "children": [167] } - } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 132, + "character": 49, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L132" + } + ] } } - ] + ], + "name": "PromiseLike", + "package": "typescript" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": null + } + ], + "name": "Exclude", + "package": "typescript" }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 169, + "name": "QueryError", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ { - "id": 2, - "name": "createClient", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 133, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L133" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default" + }, + "name": "PostgrestError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 163, + "name": "QueryResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Helper types for query results." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 131, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L131" + } + ], + "typeParameters": [ + { + "id": 164, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 164, + "name": "T", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ { - "fileName": "src/index.ts", - "line": 27, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L27" + "type": "inferred", + "name": "U" } ], - "signatures": [ + "name": "PromiseLike", + "package": "typescript" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 137, + "name": "SupabaseClientOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 12, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L12" + } + ], + "typeParameters": [ + { + "id": 162, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 138, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 3, - "name": "createClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "id": 159, + "name": "accessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Creates a new Supabase Client." + "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " + }, + { + "kind": "code", + "text": "`auth`" + }, + { + "kind": "text", + "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." } ] }, - "typeParameter": [ - { - "id": 4, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, + "sources": [ { - "id": 7, - "name": "SchemaNameOrClientOptions", - "kind": 131072, - "kindString": "Type parameter", + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L90" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 6, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 31, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L31" - } - ], - "type": { + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 90, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L90" + } + ], + "signatures": [ + { + "id": 161, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" + }, + { + "type": "literal", + "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "children": [6] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 31, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L31" - } - ] - } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" + ] } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - } - ] + ], + "name": "Promise", + "package": "typescript" + } } - } - }, + ] + } + } + }, + { + "id": 142, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ { - "id": 8, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L20" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 143, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" + "children": [ + { + "id": 144, + "name": "autoRefreshToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Automatically refreshes the token for logged-in users. Defaults to true." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 24, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } }, - "extendsType": { - "type": "intersection", - "types": [ + { + "id": 151, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." + } + ] + }, + "sources": [ { - "type": "intrinsic", - "name": "string" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 56, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L56" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "debug" }, - { + "objectType": { "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" } - ] + } }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" + { + "id": 147, + "name": "detectSessionInUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 36, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" + { + "id": 150, + "name": "flowType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "extendsType": { - "type": "reference", - "typeArguments": [ + "comment": { + "summary": [ { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } + "kind": "text", + "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 52, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L52" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "flowType" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" + } + } + }, + { + "id": 152, + "name": "lock", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "literal", - "value": "__InternalSupabase" + "kind": "text", + "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." } ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "modifierTags": ["@experimental"] }, - "trueType": { - "type": "literal", - "value": "public" + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 62, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L62" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "lock" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" + } + } + }, + { + "id": 146, + "name": "persistSession", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "falseType": { - "type": "intersection", - "types": [ + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "Whether to persist a logged-in session to storage. Defaults to true." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 32, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L32" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 148, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A storage provider. Used to store the logged-in session." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 40, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L40" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "storage" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" + } + } + }, + { + "id": 145, + "name": "storageKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "kind": "text", + "text": "Optional key name used for storing tokens in local storage." } ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 28, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L28" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 149, + "name": "userStorage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." + } + ], + "modifierTags": ["@experimental"] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 48, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L48" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "userStorage" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" + } } } - } + ], + "groups": [ + { + "title": "Properties", + "children": [144, 151, 147, 150, 152, 146, 148, 145, 149] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 20, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L20" + } + ] } - ], - "parameters": [ - { - "id": 9, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + } + }, + { + "id": 139, + "name": "db", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " + }, + { + "kind": "code", + "text": "`public`" + }, + { + "kind": "text", + "text": "." } - }, + ] + }, + "sources": [ { - "id": 10, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L16" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 140, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 11, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "reference", - "id": 8, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, + "children": [ + { + "id": 141, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 17, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L17" } ], - "typeParameters": [ + "type": { + "type": "reference", + "target": 162, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [141] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 16, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L16" + } + ] + } + } + }, + { + "id": 155, + "name": "global", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 69, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L69" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 157, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation." + } + ] + }, + "sources": [ { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 73, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L73" } ], "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Fetch" + }, + "name": "Fetch", + "package": "@supabase/supabase-js" + } + }, + { + "id": 158, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional headers for initializing the client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 77, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L77" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [157, 158] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 69, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L69" + } + ] + } + } + }, + { + "id": 153, + "name": "realtime", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options passed to the realtime-js instance" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L67" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeClient.ts", + "qualifiedName": "RealtimeClientOptions" + }, + "name": "RealtimeClientOptions", + "package": "@supabase/realtime-js" + } + }, + { + "id": 154, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 68, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L68" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage-js/src/StorageClient.ts", + "qualifiedName": "StorageClientOptions" + }, + "name": "StorageClientOptions", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [159, 142, 139, 155, 153, 154] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 12, + "character": 48, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L12" + } + ] + } + } + }, + { + "id": 1, + "name": "createClient", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new Supabase Client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 27, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L27" + } + ], + "signatures": [ + { + "id": 2, + "name": "createClient", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 27, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L27" + } + ], + "typeParameters": [ + { + "id": 3, + "name": "Database", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 4, + "name": "SchemaNameOrClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ + "sources": [ { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 31, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [6] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 31, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L31" + } + ] + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + } + ] + } + } + }, + { + "id": 7, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 4, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "reference", + "target": 4, + "typeArguments": [ + { + "type": "reference", + "target": 4, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" + { + "type": "literal", + "value": "__InternalSupabase" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "id": 146, - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - { - "type": "reference", - "id": 8, - "name": "SchemaName" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 8, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" + ], + "name": "Exclude", + "package": "typescript" }, { "type": "literal", "value": "__InternalSupabase" } ], - "name": "Omit", - "qualifiedName": "Omit", + "name": "Exclude", "package": "typescript" } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, + ] + } + } + } + } + ], + "parameters": [ + { + "id": 8, + "name": "supabaseUrl", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9, + "name": "supabaseKey", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 137, + "typeArguments": [ { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 4, - "name": "Database" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 13, - "name": "__InternalSupabase", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 25, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 14, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 15, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 47, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [15] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 45, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [13] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 23, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "__InternalSupabase" - }, - "objectType": { - "type": "reference", - "name": "Database" - } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 16, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 17, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ], - "type": { - "type": "literal", - "value": "12" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [17] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ] - } - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 18, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 19, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 42, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [19] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 40, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } + "type": "reference", + "target": 7, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } ], - "name": "default" + "name": "SupabaseClientOptions", + "package": "@supabase/supabase-js" } } - ] - } - ], - "groups": [ - { - "title": "References", - "children": [270, 271, 269, 268] - }, - { - "title": "Classes", - "children": [146] - }, - { - "title": "Functions", - "children": [2] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L1" - } - ] - }, - { - "id": 20, - "name": "lib/constants", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 32, - "name": "DEFAULT_AUTH_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 28, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L28" - } - ], - "type": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - }, - "defaultValue": "..." - }, - { - "id": 29, - "name": "DEFAULT_DB_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 24, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L24" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 30, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 31, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 25, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L25" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "'public'" - } - ], - "groups": [ - { - "title": "Properties", - "children": [31] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 24, - "character": 34, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L24" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 24, - "name": "DEFAULT_GLOBAL_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 20, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 25, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 26, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 21, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L21" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 27, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 28, - "name": "X-Client-Info", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 33, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [28] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 31, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ] - } - }, - "defaultValue": "DEFAULT_HEADERS" - } - ], - "groups": [ - { - "title": "Properties", - "children": [26] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 20, - "character": 38, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L20" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 21, - "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 22, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 23, - "name": "X-Client-Info", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 33, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [23] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 31, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 33, - "name": "DEFAULT_REALTIME_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 35, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L35" - } ], "type": { "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - }, - "defaultValue": "{}" - } - ], - "groups": [ - { - "title": "Variables", - "children": [32, 29, 24, 21, 33] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L2" + "target": 11, + "typeArguments": [ + { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 4, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 7, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "SupabaseClient", + "package": "@supabase/supabase-js", + "qualifiedName": "default" + } } ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [11] }, { - "id": 34, - "name": "lib/fetch", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 48, - "name": "fetchWithAuth", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 26, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L26" - } - ], - "signatures": [ - { - "id": 49, - "name": "fetchWithAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 50, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 51, - "name": "getAccessToken", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 52, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 28, - "character": 18, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L28" - } - ], - "signatures": [ - { - "id": 53, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 54, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 55, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 56, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 57, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 58, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 59, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 60, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 61, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 62, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 35, - "name": "resolveFetch", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 6, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L6" - } - ], - "signatures": [ - { - "id": 36, - "name": "resolveFetch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 37, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 39, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 40, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 41, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 42, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 43, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 44, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 45, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 46, - "name": "resolveHeadersConstructor", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 18, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L18" - } - ], - "signatures": [ - { - "id": 47, - "name": "resolveHeadersConstructor", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "children": [48, 35, 46] - } - ], - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L2" - } - ] + "title": "Type Aliases", + "children": [165, 169, 163, 137] }, { - "id": 63, - "name": "lib/helpers", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 69, - "name": "applySettingDefaults", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 18, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L18" - } - ], - "signatures": [ - { - "id": 70, - "name": "applySettingDefaults", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 71, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 72, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 71, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 71, - "name": "Database" - } - } - ] - } - } - } - ], - "parameters": [ - { - "id": 73, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "reference", - "id": 72, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - } - }, - { - "id": 74, - "name": "defaults", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "reference", - "id": 72, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - ], - "name": "Required", - "qualifiedName": "Required", - "package": "typescript" - } - } - ] - }, - { - "id": 66, - "name": "ensureTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L12" - } - ], - "signatures": [ - { - "id": 67, - "name": "ensureTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 68, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 78, - "name": "isBrowser", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 16, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L16" - } - ], - "signatures": [ - { - "id": 79, - "name": "isBrowser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 64, - "name": "uuid", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 4, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L4" - } - ], - "signatures": [ - { - "id": 65, - "name": "uuid", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 75, - "name": "validateSupabaseUrl", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 82, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L82" - } - ], - "signatures": [ - { - "id": 76, - "name": "validateSupabaseUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Validates a Supabase client URL" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- The validated base URL." - } - ] - }, - { - "tag": "@throws", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 77, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Supabase client URL string." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "children": [69, 66, 78, 64, 75] - } - ], - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L2" - } - ] - }, - { - "id": 80, - "name": "lib/types", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 81, - "name": "SupabaseAuthClientOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 17, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L8" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "AuthClientOptions" - } - ] - }, - { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - }, - { - "id": 128, - "name": "GenericFunction", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L117" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 130, - "name": "Args", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 118, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L118" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 131, - "name": "Returns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L119" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [130, 131] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 30, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L117" - } - ] - } - } - }, - { - "id": 123, - "name": "GenericNonUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 126, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L112" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 109, - "name": "GenericRelationship" - } - } - }, - { - "id": 125, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 111, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L111" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [126, 125] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 38, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ] - } - } - }, - { - "id": 109, - "name": "GenericRelationship", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 93, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L93" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 112, - "name": "columns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 95, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L95" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 111, - "name": "foreignKeyName", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 94, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L94" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 113, - "name": "isOneToOne", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 96, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L96" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 115, - "name": "referencedColumns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 98, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L98" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 114, - "name": "referencedRelation", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 97, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L97" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [112, 111, 113, 115, 114] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 93, - "character": 34, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L93" - } - ] - } - } - }, - { - "id": 132, - "name": "GenericSchema", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L122" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 133, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 136, - "name": "Functions", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L125" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 128, - "name": "GenericFunction" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 134, - "name": "Tables", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L123" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 135, - "name": "Views", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L124" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 127, - "name": "GenericView" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [136, 134, 135] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 28, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L122" - } - ] - } - } - }, - { - "id": 116, - "name": "GenericTable", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L101" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 117, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 119, - "name": "Insert", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 103, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L103" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 121, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L105" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 109, - "name": "GenericRelationship" - } - } - }, - { - "id": 118, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 102, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L102" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 120, - "name": "Update", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 104, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L104" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [119, 121, 118, 120] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 27, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L101" - } - ] - } - } - }, - { - "id": 122, - "name": "GenericUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L108" - } - ], - "type": { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - }, - { - "id": 127, - "name": "GenericView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L115" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 122, - "name": "GenericUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L108" - } - ], - "type": { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - }, - { - "id": 123, - "name": "GenericNonUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 126, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L112" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 109, - "name": "GenericRelationship" - } - } - }, - { - "id": 125, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 111, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L111" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [126, 125] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 38, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ] - } - } - } - ] - } - }, - { - "id": 139, - "name": "QueryData", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L132" - } - ], - "typeParameters": [ - { - "id": 142, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 142, - "name": "T" - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 140, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 141, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 51, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L132" - } - ], - "type": { - "type": "inferred", - "name": "U" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [141] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 49, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L132" - } - ] - } - } - ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" - }, - "trueType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "U" - }, - { - "type": "literal", - "value": null - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - { - "id": 143, - "name": "QueryError", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L133" - } - ], - "type": { - "type": "reference", - "name": "PostgrestError", - "qualifiedName": "PostgrestError", - "package": "@supabase/postgrest-js" - } - }, - { - "id": 137, - "name": "QueryResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Helper types for query results." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L131" - } - ], - "typeParameters": [ - { - "id": 138, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 138, - "name": "T" - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "inferred", - "name": "U" - } - ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" - }, - "trueType": { - "type": "reference", - "name": "U" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [81] - }, - { - "title": "Type Aliases", - "children": [82, 128, 123, 109, 132, 116, 122, 127, 139, 143, 137, 83] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L1" - } - ] - }, - { - "id": 144, - "name": "lib/version", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 145, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/version.ts#L1" - } - ], - "type": { - "type": "literal", - "value": "0.0.0-automated" - }, - "defaultValue": "'0.0.0-automated'" - } - ], - "groups": [ - { - "title": "Variables", - "children": [145] - } - ], - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/version.ts#L1" - } - ] - } - ], - "groups": [ - { - "title": "Modules", - "children": [1, 20, 34, 63, 80, 144] - } - ] - }, - { - "id": 0, - "name": "@supabase/auth-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1285, - "name": "AuthApiError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1286, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 33, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L33" - } - ], - "signatures": [ - { - "id": 1287, - "name": "new AuthApiError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1288, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1289, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1290, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 1285, - "name": "AuthApiError" - }, - "overwrites": { - "type": "reference", - "id": 1277, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1276, - "name": "AuthError.constructor" - } - }, - { - "id": 1292, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1293, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1281, - "name": "AuthError.code" - } - }, - { - "id": 1291, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 31, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L31" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 1283, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1286] - }, - { - "title": "Properties", - "children": [1292, 1291] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 30, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L30" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - ] - }, - { - "id": 1275, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1276, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 18, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L18" - } - ], - "signatures": [ - { - "id": 1277, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1278, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1279, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1280, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 1281, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1282, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - } - }, - { - "id": 1283, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L14" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1276] - }, - { - "title": "Properties", - "children": [1281, 1283] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L4" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1285, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1295, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1342, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1343, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L90" - } - ], - "signatures": [ - { - "id": 1344, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1345, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1346, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1347, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1349, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L90" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L90" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1349, 1348] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 40, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L90" - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1342, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1366, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1367, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1350, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1351, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1353, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1352, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1353, 1352] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1364, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1365, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - }, - { - "id": 1354, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L95" - } - ], - "signatures": [ - { - "id": 1355, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1360, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L100" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1361, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1363, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1362, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1363, 1362] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L89" - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1358, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L98" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1357, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L97" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1359, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L99" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [1360, 1358, 1357, 1359] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 96, - "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L96" - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1343] - }, - { - "title": "Properties", - "children": [1366, 1350, 1364, 1365] - }, - { - "title": "Methods", - "children": [1354] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L88" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1333, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1334, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L83" - } - ], - "signatures": [ - { - "id": 1335, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1336, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1333, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1339, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1340, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1337, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1338, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1334] - }, - { - "title": "Properties", - "children": [1339, 1337, 1338] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 82, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L82" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1418, - "name": "AuthInvalidJwtError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1419, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 162, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L162" - } - ], - "signatures": [ - { - "id": 1420, - "name": "new AuthInvalidJwtError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1421, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1418, - "name": "AuthInvalidJwtError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1424, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1425, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1422, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1423, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1419] - }, - { - "title": "Properties", - "children": [1424, 1422, 1423] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 161, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L161" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1325, - "name": "AuthInvalidTokenResponseError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1326, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 77, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L77" - } - ], - "signatures": [ - { - "id": 1327, - "name": "new AuthInvalidTokenResponseError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1325, - "name": "AuthInvalidTokenResponseError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1330, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1331, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1328, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1329, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1326] - }, - { - "title": "Properties", - "children": [1330, 1328, 1329] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 76, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L76" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1369, - "name": "AuthPKCEGrantCodeExchangeError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1370, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L114" - } - ], - "signatures": [ - { - "id": 1371, - "name": "new AuthPKCEGrantCodeExchangeError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1372, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1373, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1374, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1376, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 57, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L114" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1375, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L114" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1376, 1375] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 40, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L114" - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1369, - "name": "AuthPKCEGrantCodeExchangeError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1393, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1394, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1377, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1380, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1379, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1380, 1379] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1391, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1392, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - }, - { - "id": 1381, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 119, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L119" - } - ], - "signatures": [ - { - "id": 1382, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1383, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1387, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 124, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L124" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1388, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1390, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1389, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1390, 1389] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L112" - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1385, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 122, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L122" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1384, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 121, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L121" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1386, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 123, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L123" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [1387, 1385, 1384, 1386] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 120, - "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L120" - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1370] - }, - { - "title": "Properties", - "children": [1393, 1377, 1391, 1392] - }, - { - "title": "Methods", - "children": [1381] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 111, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L111" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1396, - "name": "AuthRetryableFetchError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1397, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 130, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L130" - } - ], - "signatures": [ - { - "id": 1398, - "name": "new AuthRetryableFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1399, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1400, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 1396, - "name": "AuthRetryableFetchError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1403, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1404, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1401, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1402, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1397] - }, - { - "title": "Properties", - "children": [1403, 1401, 1402] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 129, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L129" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1317, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1318, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L67" - } - ], - "signatures": [ - { - "id": 1319, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1317, - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1322, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1323, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1320, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1321, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1318] - }, - { - "title": "Properties", - "children": [1322, 1320, 1321] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 66, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L66" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1295, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1296, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 48, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L48" - } - ], - "signatures": [ - { - "id": 1297, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1298, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1299, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 1295, - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 1277, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1276, - "name": "AuthError.constructor" - } - }, - { - "id": 1301, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1281, - "name": "AuthError.code" - } - }, - { - "id": 1300, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 46, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L46" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 1303, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L14" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1283, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1296] - }, - { - "title": "Properties", - "children": [1301, 1300, 1303] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 45, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L45" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - ] - }, - { - "id": 1406, - "name": "AuthWeakPasswordError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." - } - ] - }, - "children": [ - { - "id": 1407, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 150, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L150" - } - ], - "signatures": [ - { - "id": 1408, - "name": "new AuthWeakPasswordError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1409, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1410, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1411, - "name": "reasons", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 1406, - "name": "AuthWeakPasswordError" - }, - "overwrites": { - "type": "reference", - "id": 1307, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1306, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1415, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1416, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1314, - "name": "CustomAuthError.code" - } - }, - { - "id": 1413, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1312, - "name": "CustomAuthError.name" - } - }, - { - "id": 1412, - "name": "reasons", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Reasons why the password is deemed weak." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 148, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L148" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 606, - "name": "WeakPasswordReasons" - } - } - }, - { - "id": 1414, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1313, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1407] - }, - { - "title": "Properties", - "children": [1415, 1413, 1412, 1414] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 144, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L144" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1305, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1306, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L59" - } - ], - "signatures": [ - { - "id": 1307, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1308, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1309, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1310, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1311, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 1305, - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 1277, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1276, - "name": "AuthError.constructor" - } - }, - { - "id": 1314, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#status", - "target": 0 - }, - { - "kind": "text", - "text": " will also be undefined." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1315, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1281, - "name": "AuthError.code" - } - }, - { - "id": 1312, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "name": "AuthError.name" - } - }, - { - "id": 1313, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP status code that caused the error." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 1283, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [1306] - }, - { - "title": "Properties", - "children": [1314, 1312, 1313] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 55, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L55" - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1317, - "name": "AuthSessionMissingError" - }, - { - "type": "reference", - "id": 1325, - "name": "AuthInvalidTokenResponseError" - }, - { - "type": "reference", - "id": 1333, - "name": "AuthInvalidCredentialsError" - }, - { - "type": "reference", - "id": 1342, - "name": "AuthImplicitGrantRedirectError" - }, - { - "type": "reference", - "id": 1369, - "name": "AuthPKCEGrantCodeExchangeError" - }, - { - "type": "reference", - "id": 1396, - "name": "AuthRetryableFetchError" - }, - { - "type": "reference", - "id": 1406, - "name": "AuthWeakPasswordError" - }, - { - "type": "reference", - "id": 1418, - "name": "AuthInvalidJwtError" - } - ] - }, - { - "id": 1, - "name": "GoTrueAdminApi", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 37, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L37" - } - ], - "signatures": [ - { - "id": 3, - "name": "new GoTrueAdminApi", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 4, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 11, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 46, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L46" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 15, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 7, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 43, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L43" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 43, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L43" - } - ], - "indexSignature": { - "id": 9, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 10, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 6, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 42, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L42" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [11, 7, 6] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 41, - "character": 5, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L41" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ] - }, - { - "id": 16, - "name": "mfa", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains all MFA administration methods." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 29, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L29" - } - ], - "type": { - "type": "reference", - "id": 1157, - "name": "GoTrueAdminMFAApi", - "dereferenced": { - "id": 1157, - "name": "GoTrueAdminMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains the full multi-factor authentication administration API." - } - ], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "children": [ - { - "id": 1161, - "name": "deleteFactor", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1169, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1169" - } - ], - "signatures": [ - { - "id": 1162, - "name": "deleteFactor", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "unenroll", - "target": 1122 - } - ] - }, - { - "tag": "@expermental", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 1163, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "dereferenced": { - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1142, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1143, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the MFA factor to delete." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1122, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1122" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1144, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user whose factor is being deleted." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1125, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1125" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1143, 1144] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 45, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1132, - "name": "AuthMFAAdminDeleteFactorResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1158, - "name": "listFactors", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1159, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1159" - } - ], - "signatures": [ - { - "id": 1159, - "name": "listFactors", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Lists all factors associated to a user." - } - ] - }, - "parameters": [ - { - "id": 1160, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "dereferenced": { - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1155, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1156, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1146, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1146" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1156] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1145, - "name": "AuthMFAAdminListFactorsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [1161, 1158] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1154, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1154" - } - ] - } - } - }, - { - "id": 44, - "name": "createUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L160" - } - ], - "signatures": [ - { - "id": 45, - "name": "createUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a new user.\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "parameters": [ - { - "id": 46, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 787, - "name": "AdminUserAttributes", - "dereferenced": { - "id": 787, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 789, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's application specific metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.app_metadata`" - }, - { - "kind": "text", - "text": " column.\n\nOnly a service role can modify.\n\nThe " - }, - { - "kind": "code", - "text": "`app_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L421" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 792, - "name": "ban_duration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 447, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L447" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 799, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.email" - } - }, - { - "id": 790, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 428, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L428" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 795, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " for the user.\n\nAllows you to overwrite the default " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " set for the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L472" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 797, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.nonce" - } - }, - { - "id": 796, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.password" - } - }, - { - "id": 794, - "name": "password_hash", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`password_hash`" - }, - { - "kind": "text", - "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 465, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L465" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 798, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.phone" - } - }, - { - "id": 791, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 435, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L435" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 793, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to " - }, - { - "kind": "code", - "text": "`authenticated`" - }, - { - "kind": "text", - "text": " by default. You should only modify the " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " is not recommended as it grants the user admin privileges." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L456" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 788, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\n\nThe " - }, - { - "kind": "code", - "text": "`user_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 411, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L411" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 400, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L400" - } - ], - "extendedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 781, - "name": "UserAttributes" - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 68, - "name": "deleteUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 280, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L280" - } - ], - "signatures": [ - { - "id": 69, - "name": "deleteUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Delete a user. Requires a " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key." - } - ] - }, - "parameters": [ - { - "id": 70, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user id you want to remove." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 71, - "name": "shouldSoftDelete", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "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.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 41, - "name": "generateLink", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 126, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L126" - } - ], - "signatures": [ - { - "id": 42, - "name": "generateLink", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Generates email links and OTPs to be sent via a custom email provider." - } - ] - }, - "parameters": [ - { - "id": 43, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1012, - "name": "GenerateLinkParams", - "dereferenced": { - "id": 1012, - "name": "GenerateLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 856, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L856" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 987, - "name": "GenerateSignupLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 813, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 988, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 990, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 815, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L815" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 992, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 817, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L817" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 991, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 816, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L816" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 989, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 814, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L814" - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [990, 992, 991, 989] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 813, - "character": 39, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" - } - ] - } - } - }, - { - "id": 993, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 994, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 996, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 823, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L823" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 997, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 824, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L824" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 995, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 821, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L821" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [996, 997, 995] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 46, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ] - } - } - }, - { - "id": 998, - "name": "GenerateRecoveryLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 827, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 999, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1001, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 830, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L830" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1002, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 831, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L831" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 1000, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 828, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L828" - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1001, 1002, 1000] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 827, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" - } - ] - } - } - }, - { - "id": 1003, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1004, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1006, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 837, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L837" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1007, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 841, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L841" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1008, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 842, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L842" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 1005, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L835" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1006, 1007, 1008, 1005] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" - } - ] - } - } - } - ] - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1013, - "name": "GenerateLinkResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 61, - "name": "getUserById", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 229, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L229" - } - ], - "signatures": [ - { - "id": 62, - "name": "getUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get user by id." - } - ] - }, - "parameters": [ - { - "id": 63, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 34, - "name": "inviteUserByEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 93, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L93" - } - ], - "signatures": [ - { - "id": 35, - "name": "inviteUserByEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends an invite link to an email address." - } - ] - }, - "parameters": [ - { - "id": 36, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The email address of the user." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 37, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Additional options to be included when inviting." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 39, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store additional metadata about the user. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.user_metadata`" - }, - { - "kind": "text", - "text": " column." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 97, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L97" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 40, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "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." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 100, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L100" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [39, 40] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 95, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L95" - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 47, - "name": "listUsers", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 182, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L182" - } - ], - "signatures": [ - { - "id": 48, - "name": "listUsers", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "parameters": [ - { - "id": 49, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object which supports " - }, - { - "kind": "code", - "text": "`page`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`perPage`" - }, - { - "kind": "text", - "text": " as numbers, to alter the paginated results." - } - ] - }, - "type": { - "type": "reference", - "id": 1184, - "name": "PageParams", - "dereferenced": { - "id": 1184, - "name": "PageParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1213, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1213" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1185, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1186, - "name": "page", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The page number" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1215, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1215" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1187, - "name": "perPage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Number of items returned per page" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1217" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1186, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1213, - "character": 25, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1213" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 50, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 51, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 52, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 54, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 31, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 53, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 755, - "name": "User" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [54, 53] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ] - } - }, - { - "type": "reference", - "id": 1177, - "name": "Pagination" - } - ] - } - }, - { - "id": 55, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 59, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [51, 55] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 56, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 57, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 58, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 59, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ], - "type": { - "type": "tuple" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [59] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ] - } - } - }, - { - "id": 60, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 29, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [57, 60] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 27, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 62, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L62" - } - ], - "signatures": [ - { - "id": 28, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Removes a logged-in session." - } - ] - }, - "parameters": [ - { - "id": 29, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A valid, logged-in JWT." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 30, - "name": "scope", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The logout sope." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "global" - }, - { - "type": "literal", - "value": "local" - }, - { - "type": "literal", - "value": "others" - } - ] - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 32, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 15, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L65" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 33, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 27, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L65" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [32, 33] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L65" - } - ] - } - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 64, - "name": "updateUserById", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 253, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L253" - } - ], - "signatures": [ - { - "id": 65, - "name": "updateUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Updates the user data." - } - ] - }, - "parameters": [ - { - "id": 66, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 67, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data you want to update.\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "type": { - "type": "reference", - "id": 787, - "name": "AdminUserAttributes", - "dereferenced": { - "id": 787, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 789, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's application specific metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.app_metadata`" - }, - { - "kind": "text", - "text": " column.\n\nOnly a service role can modify.\n\nThe " - }, - { - "kind": "code", - "text": "`app_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L421" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 792, - "name": "ban_duration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 447, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L447" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 799, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.email" - } - }, - { - "id": 790, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 428, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L428" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 795, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " for the user.\n\nAllows you to overwrite the default " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " set for the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L472" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 797, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.nonce" - } - }, - { - "id": 796, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.password" - } - }, - { - "id": 794, - "name": "password_hash", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`password_hash`" - }, - { - "kind": "text", - "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 465, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L465" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 798, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.phone" - } - }, - { - "id": 791, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 435, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L435" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 793, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to " - }, - { - "kind": "code", - "text": "`authenticated`" - }, - { - "kind": "text", - "text": " by default. You should only modify the " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " is not recommended as it grants the user admin privileges." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L456" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 788, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\n\nThe " - }, - { - "kind": "code", - "text": "`user_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 411, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L411" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 400, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L400" - } - ], - "extendedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 781, - "name": "UserAttributes" - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [2] - }, - { - "title": "Properties", - "children": [16] - }, - { - "title": "Methods", - "children": [44, 68, 41, 61, 34, 47, 27, 64] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 27, - "character": 21, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L27" - } - ] - }, - { - "id": 78, - "name": "GoTrueClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 80, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L240" - } - ], - "signatures": [ - { - "id": 81, - "name": "new GoTrueClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Create a new client for use in the browser." - } - ] - }, - "parameters": [ - { - "id": 82, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 584, - "name": "GoTrueClientOptions", - "dereferenced": { - "id": 584, - "name": "GoTrueClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L60" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 593, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L70" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 599, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 88, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L88" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "reflection", - "declaration": { - "id": 600, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 88, - "character": 21, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L88" - } - ], - "signatures": [ - { - "id": 601, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 602, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 603, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - ] - } - }, - { - "id": 592, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L68" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 597, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 84, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L84" - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 598, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 86, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L86" - } - ], - "type": { - "type": "reference", - "id": 863, - "name": "AuthFlowType", - "dereferenced": { - "id": 863, - "name": "AuthFlowType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 601, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L601" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "implicit" - }, - { - "type": "literal", - "value": "pkce" - } - ] - } - } - } - }, - { - "id": 605, - "name": "hasCustomAuthorizationHeader", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set to \"true\" if there is a custom authorization header set globally." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 99, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L99" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 587, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L64" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 588, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L64" - } - ], - "indexSignature": { - "id": 589, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 590, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 604, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 94, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L94" - } - ], - "type": { - "type": "reference", - "id": 575, - "name": "LockFunc", - "dereferenced": { - "id": 575, - "name": "LockFunc", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 576, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 23, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" - } - ], - "signatures": [ - { - "id": 577, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n" - }, - { - "kind": "code", - "text": "`fn`" - }, - { - "kind": "text", - "text": " async function, such that no other client instances will be able to\nhold it at the same time." - } - ], - "modifierTags": ["@experimental"] - }, - "typeParameter": [ - { - "id": 583, - "name": "R", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 578, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the lock to be acquired." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 579, - "name": "acquireTimeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If negative, no timeout should occur. If positive it\n should throw an Error with an " - }, - { - "kind": "code", - "text": "`isAcquireTimeout`" - }, - { - "kind": "text", - "text": "\n property set to true if the operation fails to be\n acquired after this much time (ms)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 580, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operation to execute when the lock is acquired." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 581, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 69, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" - } - ], - "signatures": [ - { - "id": 582, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 583, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 583, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - } - }, - { - "id": 594, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L72" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 595, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L74" - } - ], - "type": { - "type": "reference", - "id": 1164, - "name": "SupportedStorage", - "dereferenced": { - "id": 1164, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1181, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1181" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Storage", - "qualifiedName": "Storage", - "package": "typescript" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "getItem" - }, - { - "type": "literal", - "value": "setItem" - }, - { - "type": "literal", - "value": "removeItem" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - ], - "name": "PromisifyMethods" - }, - { - "type": "reflection", - "declaration": { - "id": 1165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1166, - "name": "isServer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1191, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1191" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1166] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1183, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1183" - } - ] - } - } - ] - } - } - } - }, - { - "id": 591, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L66" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L62" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 596, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Stores the user object in a separate storage location from the rest of the session data. When non-null, " - }, - { - "kind": "code", - "text": "`storage`" - }, - { - "kind": "text", - "text": " will only store a JSON object containing the access and refresh token and some adjacent metadata, while " - }, - { - "kind": "code", - "text": "`userStorage`" - }, - { - "kind": "text", - "text": " will only contain the user object under the key " - }, - { - "kind": "code", - "text": "`storageKey + '-user'`" - }, - { - "kind": "text", - "text": ".\n\nWhen this option is set and cookie storage is used, " - }, - { - "kind": "code", - "text": "`getSession()`" - }, - { - "kind": "text", - "text": " and other functions that load a session from the cookie store might not return back a user. It's very important to always use " - }, - { - "kind": "code", - "text": "`getUser()`" - }, - { - "kind": "text", - "text": " to fetch a user object in those scenarios." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L82" - } - ], - "type": { - "type": "reference", - "id": 1164, - "name": "SupportedStorage", - "dereferenced": { - "id": 1164, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1181, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1181" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Storage", - "qualifiedName": "Storage", - "package": "typescript" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "getItem" - }, - { - "type": "literal", - "value": "setItem" - }, - { - "type": "literal", - "value": "removeItem" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - ], - "name": "PromisifyMethods" - }, - { - "type": "reflection", - "declaration": { - "id": 1165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1166, - "name": "isServer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1191, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1191" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1166] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1183, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1183" - } - ] - } - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L60" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "id": 78, - "name": "default" - } - } - ] - }, - { - "id": 84, - "name": "admin", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 167, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L167" - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default", - "dereferenced": { - "id": 1, - "name": "GoTrueAdminApi", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 37, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L37" - } - ], - "signatures": [ - { - "id": 3, - "name": "new GoTrueAdminApi", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 4, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 11, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 46, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L46" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 15, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 7, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 43, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L43" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 43, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L43" - } - ], - "indexSignature": { - "id": 9, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 10, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 6, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 42, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L42" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [11, 7, 6] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 41, - "character": 5, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L41" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ] - }, - { - "id": 16, - "name": "mfa", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains all MFA administration methods." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 29, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L29" - } - ], - "type": { - "type": "reference", - "id": 1157, - "name": "GoTrueAdminMFAApi", - "dereferenced": { - "id": 1157, - "name": "GoTrueAdminMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains the full multi-factor authentication administration API." - } - ], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "children": [ - { - "id": 1161, - "name": "deleteFactor", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1169, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1169" - } - ], - "signatures": [ - { - "id": 1162, - "name": "deleteFactor", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "unenroll", - "target": 1122 - } - ] - }, - { - "tag": "@expermental", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 1163, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "dereferenced": { - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1142, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1143, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the MFA factor to delete." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1122, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1122" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1144, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user whose factor is being deleted." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1125, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1125" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1143, 1144] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 45, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1132, - "name": "AuthMFAAdminDeleteFactorResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1158, - "name": "listFactors", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1159, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1159" - } - ], - "signatures": [ - { - "id": 1159, - "name": "listFactors", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Lists all factors associated to a user." - } - ] - }, - "parameters": [ - { - "id": 1160, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "dereferenced": { - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1155, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1156, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1146, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1146" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1156] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1145, - "name": "AuthMFAAdminListFactorsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [1161, 1158] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1154, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1154" - } - ] - } - } - }, - { - "id": 44, - "name": "createUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L160" - } - ], - "signatures": [ - { - "id": 45, - "name": "createUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a new user.\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "parameters": [ - { - "id": 46, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 787, - "name": "AdminUserAttributes", - "dereferenced": { - "id": 787, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 789, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's application specific metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.app_metadata`" - }, - { - "kind": "text", - "text": " column.\n\nOnly a service role can modify.\n\nThe " - }, - { - "kind": "code", - "text": "`app_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L421" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 792, - "name": "ban_duration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 447, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L447" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 799, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.email" - } - }, - { - "id": 790, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 428, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L428" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 795, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " for the user.\n\nAllows you to overwrite the default " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " set for the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L472" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 797, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.nonce" - } - }, - { - "id": 796, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.password" - } - }, - { - "id": 794, - "name": "password_hash", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`password_hash`" - }, - { - "kind": "text", - "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 465, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L465" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 798, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.phone" - } - }, - { - "id": 791, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 435, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L435" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 793, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to " - }, - { - "kind": "code", - "text": "`authenticated`" - }, - { - "kind": "text", - "text": " by default. You should only modify the " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " is not recommended as it grants the user admin privileges." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L456" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 788, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\n\nThe " - }, - { - "kind": "code", - "text": "`user_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 411, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L411" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 400, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L400" - } - ], - "extendedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 781, - "name": "UserAttributes" - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 68, - "name": "deleteUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 280, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L280" - } - ], - "signatures": [ - { - "id": 69, - "name": "deleteUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Delete a user. Requires a " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key." - } - ] - }, - "parameters": [ - { - "id": 70, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user id you want to remove." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 71, - "name": "shouldSoftDelete", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "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.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 41, - "name": "generateLink", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 126, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L126" - } - ], - "signatures": [ - { - "id": 42, - "name": "generateLink", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Generates email links and OTPs to be sent via a custom email provider." - } - ] - }, - "parameters": [ - { - "id": 43, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1012, - "name": "GenerateLinkParams", - "dereferenced": { - "id": 1012, - "name": "GenerateLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 856, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L856" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 987, - "name": "GenerateSignupLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 813, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 988, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 990, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 815, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L815" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 992, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 817, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L817" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 991, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 816, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L816" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 989, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 814, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L814" - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [990, 992, 991, 989] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 813, - "character": 39, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" - } - ] - } - } - }, - { - "id": 993, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 994, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 996, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 823, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L823" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 997, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 824, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L824" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 995, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 821, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L821" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [996, 997, 995] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 46, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ] - } - } - }, - { - "id": 998, - "name": "GenerateRecoveryLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 827, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 999, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1001, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 830, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L830" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1002, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 831, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L831" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 1000, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 828, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L828" - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1001, 1002, 1000] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 827, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" - } - ] - } - } - }, - { - "id": 1003, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1004, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1006, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 837, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L837" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1007, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 841, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L841" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1008, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 842, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L842" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 1005, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L835" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1006, 1007, 1008, 1005] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" - } - ] - } - } - } - ] - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1013, - "name": "GenerateLinkResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 61, - "name": "getUserById", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 229, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L229" - } - ], - "signatures": [ - { - "id": 62, - "name": "getUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get user by id." - } - ] - }, - "parameters": [ - { - "id": 63, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 34, - "name": "inviteUserByEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 93, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L93" - } - ], - "signatures": [ - { - "id": 35, - "name": "inviteUserByEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends an invite link to an email address." - } - ] - }, - "parameters": [ - { - "id": 36, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The email address of the user." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 37, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Additional options to be included when inviting." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 39, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store additional metadata about the user. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.user_metadata`" - }, - { - "kind": "text", - "text": " column." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 97, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L97" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 40, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "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." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 100, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L100" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [39, 40] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 95, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L95" - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 47, - "name": "listUsers", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 182, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L182" - } - ], - "signatures": [ - { - "id": 48, - "name": "listUsers", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "parameters": [ - { - "id": 49, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object which supports " - }, - { - "kind": "code", - "text": "`page`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`perPage`" - }, - { - "kind": "text", - "text": " as numbers, to alter the paginated results." - } - ] - }, - "type": { - "type": "reference", - "id": 1184, - "name": "PageParams", - "dereferenced": { - "id": 1184, - "name": "PageParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1213, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1213" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1185, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1186, - "name": "page", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The page number" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1215, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1215" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1187, - "name": "perPage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Number of items returned per page" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1217" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1186, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1213, - "character": 25, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1213" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 50, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 51, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 52, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 54, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 31, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 53, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 755, - "name": "User" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [54, 53] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ] - } - }, - { - "type": "reference", - "id": 1177, - "name": "Pagination" - } - ] - } - }, - { - "id": 55, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 59, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [51, 55] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 185, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L185" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 56, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 57, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 58, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 59, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ], - "type": { - "type": "tuple" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [59] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ] - } - } - }, - { - "id": 60, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 29, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [57, 60] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 186, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L186" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 27, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 62, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L62" - } - ], - "signatures": [ - { - "id": 28, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Removes a logged-in session." - } - ] - }, - "parameters": [ - { - "id": 29, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A valid, logged-in JWT." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 30, - "name": "scope", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The logout sope." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "global" - }, - { - "type": "literal", - "value": "local" - }, - { - "type": "literal", - "value": "others" - } - ] - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 32, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 15, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L65" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 33, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 27, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L65" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [32, 33] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L65" - } - ] - } - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 64, - "name": "updateUserById", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 253, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L253" - } - ], - "signatures": [ - { - "id": 65, - "name": "updateUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Updates the user data." - } - ] - }, - "parameters": [ - { - "id": 66, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 67, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data you want to update.\n\nThis function should only be called on a server. Never expose your " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " key in the browser." - } - ] - }, - "type": { - "type": "reference", - "id": 787, - "name": "AdminUserAttributes", - "dereferenced": { - "id": 787, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 789, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's application specific metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.app_metadata`" - }, - { - "kind": "text", - "text": " column.\n\nOnly a service role can modify.\n\nThe " - }, - { - "kind": "code", - "text": "`app_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L421" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 792, - "name": "ban_duration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 447, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L447" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 799, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.email" - } - }, - { - "id": 790, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 428, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L428" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 795, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " for the user.\n\nAllows you to overwrite the default " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " set for the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L472" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 797, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.nonce" - } - }, - { - "id": 796, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.password" - } - }, - { - "id": 794, - "name": "password_hash", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`password_hash`" - }, - { - "kind": "text", - "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 465, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L465" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 798, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.phone" - } - }, - { - "id": 791, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 435, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L435" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 793, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to " - }, - { - "kind": "code", - "text": "`authenticated`" - }, - { - "kind": "text", - "text": " by default. You should only modify the " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to " - }, - { - "kind": "code", - "text": "`service_role`" - }, - { - "kind": "text", - "text": " is not recommended as it grants the user admin privileges." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L456" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 788, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\n\nThe " - }, - { - "kind": "code", - "text": "`user_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 411, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L411" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 400, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L400" - } - ], - "extendedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 781, - "name": "UserAttributes" - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [2] - }, - { - "title": "Properties", - "children": [16] - }, - { - "title": "Methods", - "children": [44, 68, 41, 61, 34, 47, 27, 64] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 27, - "character": 21, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueAdminApi.ts#L27" - } - ] - } - } - }, - { - "id": 85, - "name": "mfa", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Namespace for the MFA methods." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 171, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L171" - } - ], - "type": { - "type": "reference", - "id": 1108, - "name": "GoTrueMFAApi", - "dereferenced": { - "id": 1108, - "name": "GoTrueMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains the full multi-factor authentication API." - } - ] - }, - "children": [ - { - "id": 1116, - "name": "challenge", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1058, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1058" - } - ], - "signatures": [ - { - "id": 1117, - "name": "challenge", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Prepares a challenge used to verify that a user has access to a MFA\nfactor." - } - ] - }, - "parameters": [ - { - "id": 1118, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1043, - "name": "MFAChallengeParams", - "dereferenced": { - "id": 1043, - "name": "MFAChallengeParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 926, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L926" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1044, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1046, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 930, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L930" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 1045, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor to be challenged. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 928, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L928" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1046, 1045] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 926, - "character": 33, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L926" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1074, - "name": "AuthMFAChallengeResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1125, - "name": "challengeAndVerify", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1076, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1076" - } - ], - "signatures": [ - { - "id": 1126, - "name": "challengeAndVerify", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app." - } - ] - }, - "parameters": [ - { - "id": 1127, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1047, - "name": "MFAChallengeAndVerifyParams", - "dereferenced": { - "id": 1047, - "name": "MFAChallengeAndVerifyParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 933, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L933" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1048, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1050, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification code provided by the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 937, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L937" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1049, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being verified. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 935, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L935" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1050, 1049] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 933, - "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L933" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1051, - "name": "AuthMFAVerifyResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1109, - "name": "enroll", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1050, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1050" - }, - { - "fileName": "src/lib/types.ts", - "line": 1051, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1051" - }, - { - "fileName": "src/lib/types.ts", - "line": 1052, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1052" - } - ], - "signatures": [ - { - "id": 1110, - "name": "enroll", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new " - }, - { - "kind": "code", - "text": "`unverified`" - }, - { - "kind": "text", - "text": " factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.\n\nUpon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to " - }, - { - "kind": "code", - "text": "`aal2`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "parameters": [ - { - "id": 1111, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1191, - "name": "MFAEnrollTOTPParams", - "dereferenced": { - "id": 1191, - "name": "MFAEnrollTOTPParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1193, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1236" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 1195, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1240" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1194, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain which the user is enrolled with." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1238" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1193, 1195, 1194] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1201, - "name": "AuthMFAEnrollTOTPResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - }, - { - "id": 1112, - "name": "enroll", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1113, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1196, - "name": "MFAEnrollPhoneParams", - "dereferenced": { - "id": 1196, - "name": "MFAEnrollPhoneParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1198, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1244, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1244" - } - ], - "type": { - "type": "literal", - "value": "phone" - } - }, - { - "id": 1199, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1246" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1200, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Phone number associated with a factor. Number should conform to E.164 format" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1248" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1198, 1199, 1200] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1217, - "name": "AuthMFAEnrollPhoneResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - }, - { - "id": 1114, - "name": "enroll", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1115, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1034, - "name": "MFAEnrollParams", - "dereferenced": { - "id": 1034, - "name": "MFAEnrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 908, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L908" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 1191, - "name": "MFAEnrollTOTPParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1193, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1236" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 1195, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1240" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1194, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain which the user is enrolled with." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1238" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1193, 1195, 1194] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ] - } - } - }, - { - "id": 1196, - "name": "MFAEnrollPhoneParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1198, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1244, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1244" - } - ], - "type": { - "type": "literal", - "value": "phone" - } - }, - { - "id": 1199, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1246" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1200, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Phone number associated with a factor. Number should conform to E.164 format" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1248" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1198, 1199, 1200] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ] - } - } - } - ] - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1064, - "name": "AuthMFAEnrollResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1130, - "name": "getAuthenticatorAssuranceLevel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1101, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1101" - } - ], - "signatures": [ - { - "id": 1131, - "name": "getAuthenticatorAssuranceLevel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Returns the Authenticator Assurance Level (AAL) for the active session.\n\n- " - }, - { - "kind": "code", - "text": "`aal1`" - }, - { - "kind": "text", - "text": " (or " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ") means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- " - }, - { - "kind": "code", - "text": "`aal2`" - }, - { - "kind": "text", - "text": " means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1097, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1128, - "name": "listFactors", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1086, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1086" - } - ], - "signatures": [ - { - "id": 1129, - "name": "listFactors", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Returns the list of MFA factors enabled for this user." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "enroll", - "target": 1109 - }, - { - "kind": "text", - "text": "\n" - }, - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "getAuthenticatorAssuranceLevel", - "target": 1130 - }, - { - "kind": "text", - "text": "\n" - }, - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "getUser", - "target": 295 - }, - { - "kind": "text", - "text": "\n" - } - ] - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1085, - "name": "AuthMFAListFactorsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1122, - "name": "unenroll", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1070, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1070" - } - ], - "signatures": [ - { - "id": 1123, - "name": "unenroll", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Unenroll removes a MFA factor.\nA user has to have an " - }, - { - "kind": "code", - "text": "`aal2`" - }, - { - "kind": "text", - "text": " authenticator level in order to unenroll a " - }, - { - "kind": "code", - "text": "`verified`" - }, - { - "kind": "text", - "text": " factor." - } - ] - }, - "parameters": [ - { - "id": 1124, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1035, - "name": "MFAUnenrollParams", - "dereferenced": { - "id": 1035, - "name": "MFAUnenrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 910, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L910" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1036, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1037, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being unenrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 912, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L912" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1037] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 910, - "character": 32, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L910" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1065, - "name": "AuthMFAUnenrollResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1119, - "name": "verify", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1064, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1064" - } - ], - "signatures": [ - { - "id": 1120, - "name": "verify", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app." - } - ] - }, - "parameters": [ - { - "id": 1121, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1038, - "name": "MFAVerifyParams", - "dereferenced": { - "id": 1038, - "name": "MFAVerifyParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 915, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L915" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1039, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1041, - "name": "challengeId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the challenge being verified. Returned in challenge()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 920, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L920" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1042, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification code provided by the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 923, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L923" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1040, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being verified. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 917, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L917" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1041, 1042, 1040] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 915, - "character": 30, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L915" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1051, - "name": "AuthMFAVerifyResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [1116, 1125, 1109, 1130, 1128, 1122, 1119] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1039, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1039" - } - ] - } - } - }, - { - "id": 157, - "name": "exchangeCodeForSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 651, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L651" - } - ], - "signatures": [ - { - "id": 158, - "name": "exchangeCodeForSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." - } - ] - }, - "parameters": [ - { - "id": 159, - "name": "authCode", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 654, - "name": "AuthTokenResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 523, - "name": "getClaims", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3181, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3181" - } - ], - "signatures": [ - { - "id": 524, - "name": "getClaims", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extracts the JWT claims present in the access token by first verifying the\nJWT against the server's JSON Web Key Set endpoint\n" - }, - { - "kind": "code", - "text": "`/.well-known/jwks.json`" - }, - { - "kind": "text", - "text": " which is often cached, resulting in significantly\nfaster responses. Prefer this method over " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#getUser", - "target": 0 - }, - { - "kind": "text", - "text": " which always\nsends a request to the Auth server for each JWT.\n\nIf the project is not using an asymmetric JWT signing key (like ECC or\nRSA) it always sends a request to the Auth server (similar to " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#getUser", - "target": 0 - }, - { - "kind": "text", - "text": ") to verify the JWT." - } - ] - }, - "parameters": [ - { - "id": 525, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An optional specific JWT you wish to verify, not the one you\n can obtain from " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#getSession", - "target": 0 - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 526, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Various additional options that allow you to customize the\n behavior of this method." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 527, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 529, - "name": "allowExpired", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " the " - }, - { - "kind": "code", - "text": "`exp`" - }, - { - "kind": "text", - "text": " claim will not be validated against the current time." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3190, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3190" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 530, - "name": "jwks", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3193, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3193" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 531, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 532, - "name": "keys", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3193, - "character": 15, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3193" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1248, - "name": "JWK" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [532] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3193, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3193" - } - ] - } - } - }, - { - "id": 528, - "name": "keys", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "Please use options.jwks instead." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3187, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3187" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1248, - "name": "JWK" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [529, 530, 528] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3183, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3183" - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 533, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 534, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3197, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3197" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 535, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 536, - "name": "claims", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3197, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3197" - } - ], - "type": { - "type": "reference", - "id": 1244, - "name": "JwtPayload" - } - }, - { - "id": 537, - "name": "header", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3197, - "character": 36, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3197" - } - ], - "type": { - "type": "reference", - "id": 1229, - "name": "JwtHeader" - } - }, - { - "id": 538, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3197, - "character": 55, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3197" - } - ], - "type": { - "type": "reference", - "name": "Uint8Array", - "qualifiedName": "Uint8Array", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [536, 537, 538] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3197, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3197" - } - ] - } - } - }, - { - "id": 539, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3198, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3198" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [534, 539] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3196, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3196" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 540, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 541, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3200, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3200" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 542, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3200, - "character": 20, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3200" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [541, 542] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3200, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3200" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 543, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 544, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3201, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3201" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 545, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3201, - "character": 20, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3201" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [544, 545] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 3201, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L3201" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 232, - "name": "getSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1355, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1355" - } - ], - "signatures": [ - { - "id": 233, - "name": "getSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Returns the session, refreshing it if necessary.\n\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.\n\n**IMPORTANT:** This method loads values directly from the storage attached\nto the client. If that storage is based on request cookies for example,\nthe values in it may not be authentic and therefore it's strongly advised\nagainst using this method and its results in such circumstances. A warning\nwill be emitted if this is detected. Use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#getUser()", - "target": 0 - }, - { - "kind": "text", - "text": " instead." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 234, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 235, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1448, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1448" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 236, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 237, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1449, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1449" - } - ], - "type": { - "type": "reference", - "id": 715, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [237] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1448, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1448" - } - ] - } - } - }, - { - "id": 238, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1451, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1451" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [235, 238] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1447, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1447" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 239, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 240, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1454, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1454" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 241, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 242, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1455, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1455" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [242] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1454, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1454" - } - ] - } - } - }, - { - "id": 243, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1457, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1457" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [240, 243] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1453, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1453" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 245, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1460, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1460" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 246, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 247, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1461, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1461" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [247] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1460, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1460" - } - ] - } - } - }, - { - "id": 248, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1463, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1463" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [245, 248] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1459, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1459" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 295, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1599, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1599" - } - ], - "signatures": [ - { - "id": 296, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Gets the current user details if there is an existing session. This method\nperforms a network request to the Supabase Auth server, so the returned\nvalue is authentic and can be used to base authorization rules on." - } - ] - }, - "parameters": [ - { - "id": 297, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Takes in an optional access token JWT. If no JWT is provided, the JWT from the current session is used." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 404, - "name": "getUserIdentities", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2157, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2157" - } - ], - "signatures": [ - { - "id": 405, - "name": "getUserIdentities", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Gets all the identities linked to a user." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 406, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 407, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2159, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2159" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2160, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2160" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 728, - "name": "UserIdentity" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [409] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2159, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2159" - } - ] - } - } - }, - { - "id": 410, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2162, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2162" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [407, 410] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2158, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2158" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 411, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 412, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2164, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2164" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 413, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2164, - "character": 20, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2164" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [412, 413] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2164, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2164" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 141, - "name": "initialize", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 353, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L353" - } - ], - "signatures": [ - { - "id": 142, - "name": "initialize", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1167, - "name": "InitializeResult" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 414, - "name": "linkIdentity", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2181, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2181" - } - ], - "signatures": [ - { - "id": 415, - "name": "linkIdentity", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Links an oauth identity to an existing user.\nThis method supports the PKCE flow." - } - ] - }, - "parameters": [ - { - "id": 416, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 864, - "name": "SignInWithOAuthCredentials", - "dereferenced": { - "id": 864, - "name": "SignInWithOAuthCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L602" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 865, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 867, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L605" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 868, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 871, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object of query params" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L611" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 872, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L611" - } - ], - "indexSignature": { - "id": 873, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 874, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 869, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 607, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L607" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 870, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A space-separated list of scopes granted to the OAuth application." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 609, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L609" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 875, - "name": "skipBrowserRedirect", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L613" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [871, 869, 870, 875] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L605" - } - ] - } - } - }, - { - "id": 866, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "One of the providers supported by GoTrue." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 604, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L604" - } - ], - "type": { - "type": "reference", - "id": 572, - "name": "Provider", - "dereferenced": { - "id": 572, - "name": "Provider", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "One of the providers supported by GoTrue." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L8" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - }, - { - "type": "literal", - "value": "fly" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [867, 866] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L602" - } - ] - } + "title": "Functions", + "children": [1] + } + ], + "packageName": "@supabase/supabase-js", + "readme": [ + { + "kind": "text", + "text": "# " + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " - Isomorphic JavaScript Client for Supabase.\n\n- **Documentation:** https://supabase.com/docs/reference/javascript/start\n- TypeDoc: https://supabase.github.io/supabase-js/supabase-js/v2/spec.json\n\n
\n\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/supabase-js)](https://pkg.pr.new/~/supabase/supabase-js)\n\n
\n\n## Usage\n\nFirst of all, you need to install the library:\n\n" + }, + { + "kind": "code", + "text": "```sh\nnpm install @supabase/supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\nThen you're able to import the library and establish the connection with the database:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Create a single supabase client for interacting with your database\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')\n```" + }, + { + "kind": "text", + "text": "\n\n### UMD\n\nYou can use plain " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\nor even:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\nThen you can use it from a global " + }, + { + "kind": "code", + "text": "`supabase`" + }, + { + "kind": "text", + "text": " variable:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\n### ESM\n\nYou can use " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\n### Deno\n\nYou can use supabase-js in the Deno runtime via [JSR](https://jsr.io/@supabase/supabase-js):\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from 'jsr:@supabase/supabase-js@2'\n```" + }, + { + "kind": "text", + "text": "\n\n### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Provide a custom `fetch` implementation as an option\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {\n global: {\n fetch: (...args) => fetch(...args),\n },\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Support Policy\n\nThis section outlines the scope of support for various runtime environments in Supabase JavaScript client.\n\n### Node.js\n\nWe only support Node.js versions that are in **Active LTS** or **Maintenance** status as defined by the [official Node.js release schedule](https://nodejs.org/en/about/previous-releases#release-schedule). This means we support versions that are currently receiving long-term support and critical bug fixes.\n\nWhen a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Deno\n\nWe support Deno versions that are currently receiving active development and security updates. We follow the [official Deno release schedule](https://docs.deno.com/runtime/fundamentals/stability_and_releases/) and only support versions from the " + }, + { + "kind": "code", + "text": "`stable`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`lts`" + }, + { + "kind": "text", + "text": " release channels.\n\nWhen a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Important Notes\n\n- **Experimental features**: Features marked as experimental may be removed or changed without notice\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# From the monorepo root\nnpx nx build supabase-js\n\n# Or with watch mode for development\nnpx nx build supabase-js --watch\n```" + }, + { + "kind": "text", + "text": "\n\n### Testing\n\n**Important:** The test suite includes tests for multiple runtime environments (Node.js, Deno, Bun, Expo, Next.js). Each environment has its own test runner and specific requirements.\n\n#### Prerequisites for All Integration Tests\n\n1. **Docker** must be installed and running\n2. **Supabase CLI** must be installed (" + }, + { + "kind": "code", + "text": "`npm install -g supabase`" + }, + { + "kind": "text", + "text": " or via package manager)\n3. **Local Supabase instance** must be started:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Navigate to the supabase-js package directory\ncd packages/core/supabase-js\n\n# Start Supabase (downloads and starts all required containers)\nnpx supabase start\n\n# The output will show:\n# - API URL: http://127.0.0.1:54321\n# - Database URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres\n# - Studio URL: http://127.0.0.1:54323\n# - Anon key: [your-anon-key]\n# - Service role key: [your-service-role-key] # Important for some tests!\n\n# Return to monorepo root for running tests\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Scripts Overview\n\n| Script | Description | Requirements |\n| -------------------------- | ----------------------------------------- | --------------------------------------- |\n| " + }, + { + "kind": "code", + "text": "`test`" + }, + { + "kind": "text", + "text": " | Runs unit tests + type checking | None |\n| " + }, + { + "kind": "code", + "text": "`test:all`" + }, + { + "kind": "text", + "text": " | Unit + integration + browser tests | Supabase running |\n| " + }, + { + "kind": "code", + "text": "`test:run`" + }, + { + "kind": "text", + "text": " | Jest unit tests only | None |\n| " + }, + { + "kind": "code", + "text": "`test:unit`" + }, + { + "kind": "text", + "text": " | Jest unit tests in test/unit directory | None |\n| " + }, + { + "kind": "code", + "text": "`test:coverage`" + }, + { + "kind": "text", + "text": " | Unit tests with coverage report | None |\n| " + }, + { + "kind": "code", + "text": "`test:integration`" + }, + { + "kind": "text", + "text": " | Node.js integration tests | Supabase running + SERVICE_ROLE_KEY |\n| " + }, + { + "kind": "code", + "text": "`test:integration:browser`" + }, + { + "kind": "text", + "text": " | Browser tests using Deno + Puppeteer | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:edge-functions`" + }, + { + "kind": "text", + "text": " | Edge Functions tests | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:types`" + }, + { + "kind": "text", + "text": " | TypeScript type checking + JSR validation | None |\n| " + }, + { + "kind": "code", + "text": "`test:deno`" + }, + { + "kind": "text", + "text": " | Deno runtime compatibility tests | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:bun`" + }, + { + "kind": "text", + "text": " | Bun runtime compatibility tests | Supabase running + Bun installed |\n| Expo (see section below) | React Native/Expo tests | Supabase running + dependencies updated |\n| Next.js (see below) | Next.js SSR tests | Supabase running + dependencies updated |\n| " + }, + { + "kind": "code", + "text": "`test:node:playwright`" + }, + { + "kind": "text", + "text": " | WebSocket browser tests | Supabase running + Playwright |\n\n#### Unit Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run all unit tests (Jest)\nnpx nx test supabase-js\n\n# Run only unit tests in test/unit directory\nnpx nx test:unit supabase-js\n\n# Run tests in watch mode during development\nnpx nx test supabase-js --watch\n\n# Run tests with coverage report\nnpx nx test:coverage supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Integration Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites: Start Supabase first (see above)\n\n# Run Node.js integration tests\n# IMPORTANT: Requires SUPABASE_SERVICE_ROLE_KEY environment variable\ncd packages/core/supabase-js\nexport SUPABASE_SERVICE_ROLE_KEY=\"$(npx supabase status --output json | jq -r '.SERVICE_ROLE_KEY')\"\ncd ../../..\nnpx nx test:integration supabase-js\n\n# Run browser-based integration tests (requires Deno)\nnpx nx test:integration:browser supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Running All Tests\n\n" + }, + { + "kind": "code", + "text": "```bash\n# This runs type checking, unit tests, and integration tests sequentially\n# NOTE: Will fail if Supabase is not running or dependencies not updated\nnpx nx test:all supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n**Common Issues and Solutions:**\n\n| Issue | Solution |\n| -------------------------------------------- | --------------------------------------------------------------- |\n| \"Cannot find module 'https://deno.land/...'\" | Deno tests incorrectly run by Jest - check " + }, + { + "kind": "code", + "text": "`jest.config.ts`" + }, + { + "kind": "text", + "text": " |\n| \"Port 54322 already allocated\" | Stop existing Supabase: " + }, + { + "kind": "code", + "text": "`npx supabase stop --project-id `" + }, + { + "kind": "text", + "text": " |\n| \"503 Service Unavailable\" for Edge Functions | Supabase not running - start with " + }, + { + "kind": "code", + "text": "`npx supabase start`" + }, + { + "kind": "text", + "text": " |\n| \"Uncommitted changes\" during type check | Commit changes or add " + }, + { + "kind": "code", + "text": "`--allow-dirty`" + }, + { + "kind": "text", + "text": " to JSR publish |\n| Integration tests fail with auth errors | Export " + }, + { + "kind": "code", + "text": "`SUPABASE_SERVICE_ROLE_KEY`" + }, + { + "kind": "text", + "text": " (see Integration Testing) |\n\n### Platform-Specific Testing\n\n#### Expo Testing (React Native)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Update test dependencies and pack current build\nnpx nx update:test-deps:expo supabase-js\n\n# Run Expo tests from the Expo test project\ncd packages/core/supabase-js/test/integration/expo\nnpm install\nnpm test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Next.js Testing (SSR)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Update test dependencies and pack current build\nnpx nx update:test-deps:next supabase-js\n\n# 3. Install Playwright browsers and dependencies\nnpx playwright install --with-deps\n\n# Run Next.js tests from the Next test project\ncd packages/core/supabase-js/test/integration/next\nnpm install --legacy-peer-deps\nnpm run test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Deno Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Deno must be installed (https://deno.land)\n# 2. Supabase must be running (see Prerequisites)\n# 3. Update test dependencies:\nnpx nx update:test-deps:deno supabase-js\n\n# Run Deno tests\nnpx nx test:deno supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n### Edge Functions Testing\n\nThe project includes Edge Functions integration tests that require a local Supabase instance to be running.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Ensure Docker is installed and running\n# 2. Navigate to the supabase-js package directory\ncd packages/core/supabase-js\n\n# 3. Start Supabase locally (this will download and start all required containers)\nnpx supabase start\n\n# Wait for the output showing all services are ready, including:\n# - API URL: http://127.0.0.1:54321\n# - Database URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres\n# - Edge Runtime container\n\n# 4. Run the Edge Functions tests from the monorepo root\ncd ../../../ # Back to monorepo root\nnpx nx test:edge-functions supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n**Important Notes:**\n\n- The Edge Functions tests will fail with 503 errors if Supabase is not running\n- If you encounter port conflicts (e.g., \"port 54322 already allocated\"), stop any existing Supabase instances:\n\n " + }, + { + "kind": "code", + "text": "```bash\n npx supabase stop --project-id \n # Or stop all Docker containers if unsure:\n docker ps | grep supabase # List all Supabase containers\n ```" + }, + { + "kind": "text", + "text": "\n\n- The tests use the default local development credentials (anon key)\n- Edge Functions are automatically served when " + }, + { + "kind": "code", + "text": "`supabase start`" + }, + { + "kind": "text", + "text": " is run\n\n#### Bun Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Bun must be installed (https://bun.sh)\n# 2. Supabase must be running (see Prerequisites)\n# 3. Update test dependencies:\nnpx nx update:test-deps:bun supabase-js\n\n# Run Bun tests\nnpx nx test:bun supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### WebSocket Browser Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Build the UMD bundle first:\nnpx nx build supabase-js\n\n# Run WebSocket browser tests with Playwright\ncd packages/core/supabase-js/test/integration/node-browser\nnpm install\ncp ../../../dist/umd/supabase.js .\nnpm run test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### CI/CD Testing\n\nWhen running on CI, the tests automatically use the latest dependencies from the root project. The CI pipeline:\n\n1. Builds the main project with current dependencies\n2. Creates a package archive (" + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": ") with the latest versions\n3. Uses this archive in Expo, Next.js, Deno, and Bun tests to ensure consistency\n\n### Updating Test Dependencies\n\nThe platform-specific tests (Expo, Next.js, Deno, Bun) use a packaged version of supabase-js rather than directly importing from source. This ensures they test the actual built package as it would be consumed by users.\n\n#### How It Works\n\n1. **Build** the current supabase-js package\n2. **Pack** it into a " + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": " file (like " + }, + { + "kind": "code", + "text": "`npm pack`" + }, + { + "kind": "text", + "text": " does)\n3. **Copy** the " + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": " to the test directory\n4. **Install** it in the test project\n\nThis mimics how real users would install and use the package.\n\n#### Update Scripts\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Update ALL test environment dependencies at once\n# This builds, packs, and installs in all test directories\nnpx nx update:test-deps supabase-js\n\n# Or update specific test environments:\nnpx nx update:test-deps:expo supabase-js # Expo/React Native only\nnpx nx update:test-deps:next supabase-js # Next.js only\nnpx nx update:test-deps:deno supabase-js # Deno only\nnpx nx update:test-deps:bun supabase-js # Bun only\n```" + }, + { + "kind": "text", + "text": "\n\n**When to Update:**\n\n- After making changes to the source code\n- Before running platform-specific tests locally\n- When debugging test failures that might be due to stale dependencies\n\n**Note:** CI automatically handles this, so manual updates are only needed for local development.\n\n### Test Coverage\n\n#### Viewing Coverage Reports\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Generate coverage report\nnpx nx test:coverage supabase-js\n\n# Serve coverage report locally (opens interactive HTML report)\nnpx nx serve:coverage supabase-js\n# This starts a local server at http://localhost:3000 with the coverage report\n```" + }, + { + "kind": "text", + "text": "\n\nThe coverage report shows:\n\n- Line coverage\n- Branch coverage\n- Function coverage\n- Uncovered lines with highlights\n\nCoverage results are also automatically uploaded to Coveralls in CI for tracking over time.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## Badges\n\n[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-js/badge.svg?branch=master)](https://coveralls.io/github/supabase/supabase-js?branch=master)" + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "2": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "3": { + "sourceFileName": "src/index.ts", + "qualifiedName": "Database" + }, + "4": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaNameOrClientOptions" + }, + "5": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type" + }, + "6": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "7": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaName" + }, + "8": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseUrl" + }, + "9": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseKey" + }, + "10": { + "sourceFileName": "src/index.ts", + "qualifiedName": "options" + }, + "11": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "12": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.__constructor" + }, + "13": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "14": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "15": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "16": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "17": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "18": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "19": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "20": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "21": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "22": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "23": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "24": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "25": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "26": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "27": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "28": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "29": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "30": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "31": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseUrl" + }, + "32": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseKey" + }, + "33": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "34": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.auth" + }, + "35": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtime" + }, + "36": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storage" + }, + "37": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtimeUrl" + }, + "38": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.authUrl" + }, + "39": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageUrl" + }, + "40": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functionsUrl" + }, + "41": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rest" + }, + "42": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageKey" + }, + "43": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.fetch" + }, + "44": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "45": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "46": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "47": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "48": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "49": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "50": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "51": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.changedAccessToken" + }, + "52": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.accessToken" + }, + "53": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "54": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "55": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.headers" + }, + "56": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseUrl" + }, + "57": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseKey" + }, + "58": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "59": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "60": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "61": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "62": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "TableName" + }, + "63": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Table" + }, + "64": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "65": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "66": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "ViewName" + }, + "67": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "View" + }, + "68": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "69": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "70": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "71": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "DynamicSchema" + }, + "72": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "schema" + }, + "73": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "74": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "75": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "FnName" + }, + "76": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Fn" + }, + "77": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "fn" + }, + "78": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "args" + }, + "79": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "80": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "81": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.head" + }, + "82": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.get" + }, + "83": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.count" + }, + "84": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "85": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "86": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "name" + }, + "87": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "opts" + }, + "88": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "89": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "90": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "91": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "92": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "channel" + }, + "93": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "94": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "120": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "121": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "122": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "124": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "125": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "126": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "127": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "128": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "129": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "130": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "131": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "132": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "133": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "134": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "135": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "137": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseClientOptions" + }, + "138": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "139": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.db" + }, + "140": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "141": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.schema" + }, + "142": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.auth" + }, + "143": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "144": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "145": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "146": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "147": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "148": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "149": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "150": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "151": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "152": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "153": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.realtime" + }, + "154": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "155": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.global" + }, + "156": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "157": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "158": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "159": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.accessToken" + }, + "160": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "162": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SchemaName" + }, + "163": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryResult" + }, + "164": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "165": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryData" + }, + "166": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "167": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "168": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "169": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryError" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 + } + } + }, + { + "id": 0, + "name": "@supabase/auth-js", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 1314, + "name": "AuthApiError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1315, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L33" + } + ], + "signatures": [ + { + "id": 1316, + "name": "AuthApiError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L33" + } + ], + "parameters": [ + { + "id": 1317, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1318, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1319, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" } - } + ] } } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1314, + "name": "AuthApiError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1306, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1305, + "name": "AuthError.constructor" + } + }, + { + "id": 1321, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 682, - "name": "OAuthResponse" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1322, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1310, + "name": "AuthError.code" + } + }, + { + "id": 1320, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L31" } - ] + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "overwrites": { + "type": "reference", + "target": 1312, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1315] }, { - "id": 376, - "name": "onAuthStateChange", - "kind": 2048, - "kindString": "Method", + "title": "Properties", + "children": [1321, 1320] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 30, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L30" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1304, + "name": "AuthError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1305, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2055, + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 18, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2055" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L18" } ], "signatures": [ { - "id": 377, - "name": "onAuthStateChange", - "kind": 4096, - "kindString": "Call signature", + "id": 1306, + "name": "AuthError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Receive a notification every time an auth event happens." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L18" + } + ], "parameters": [ { - "id": 378, - "name": "callback", + "id": 1307, + "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A callback function to be invoked when an auth event happens." - } - ] + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1308, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1309, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + }, + { + "id": 1310, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reflection", "declaration": { - "id": 379, + "id": 1311, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2056, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2056" - } - ], - "signatures": [ - { - "id": 380, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 381, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 574, - "name": "AuthChangeEvent" - } - }, - { - "id": 382, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 715, - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - ] - } - } - ] + "flags": {} } } + ] + } + ] + } + }, + { + "id": 1312, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L14" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1305] + }, + { + "title": "Properties", + "children": [1310, 1312] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 4, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L4" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1314, + "name": "AuthApiError" + }, + { + "type": "reference", + "target": 1324, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1371, + "name": "AuthImplicitGrantRedirectError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1372, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L90" + } + ], + "signatures": [ + { + "id": 1373, + "name": "AuthImplicitGrantRedirectError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L90" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 383, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "parameters": [ + { + "id": 1374, + "name": "message", + "variant": "param", + "kind": 32768, "flags": {}, - "children": [ - { - "id": 384, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2058, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2058" - } - ], - "type": { + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1375, + "name": "details", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reflection", "declaration": { - "id": 385, + "id": 1376, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 386, - "name": "subscription", + "id": 1378, + "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2058, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2058" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 57, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L90" } ], "type": { - "type": "reference", - "id": 800, - "name": "Subscription", - "dereferenced": { - "id": 800, - "name": "Subscription", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 802, - "name": "callback", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 483, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L483" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 803, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 483, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L483" - } - ], - "signatures": [ - { - "id": 804, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The function to call every time there is an event. eg: (eventName) => {}" - } - ] - }, - "parameters": [ - { - "id": 805, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 574, - "name": "AuthChangeEvent" - } - }, - { - "id": 806, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 715, - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 801, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The subscriber UUID. This will be set by the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 479, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L479" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 807, - "name": "unsubscribe", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 487, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L487" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 808, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 487, - "character": 15, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L487" - } - ], - "signatures": [ - { - "id": 809, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Call this to remove the listener." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [802, 801, 807] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 475, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L475" - } - ] + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1377, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L90" } + ], + "type": { + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [386] + "children": [1378, 1377] } ], "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2058, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2058" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L90" } ] } } - } - ], - "groups": [ - { - "title": "Properties", - "children": [384] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2057, - "character": 5, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2057" - } - ] + ] + }, + "defaultValue": "null" } + ], + "type": { + "type": "reference", + "target": 1371, + "name": "AuthImplicitGrantRedirectError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" } } - ] + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } }, { - "id": 225, - "name": "reauthenticate", - "kind": 2048, - "kindString": "Method", - "flags": {}, + "id": 1395, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1271, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1271" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" } ], - "signatures": [ - { - "id": 226, - "name": "reauthenticate", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in." - } - ] + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" }, - "type": { + { "type": "reference", - "typeArguments": [ + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 612, - "name": "AuthResponse" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1396, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } }, { - "id": 325, - "name": "refreshSession", - "kind": 2048, - "kindString": "Method", + "id": 1379, + "name": "details", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1804, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1804" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" } ], - "signatures": [ - { - "id": 326, - "name": "refreshSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown." - } - ] + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 327, - "name": "currentSession", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The current session. If passed in, it must contain a refresh token." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 328, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + { + "type": "reflection", + "declaration": { + "id": 1380, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1382, + "name": "code", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 329, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1804, - "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1804" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ + "sources": [ { - "title": "Properties", - "children": [329] + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1381, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1804, - "character": 40, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1804" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } + ], + "groups": [ + { + "title": "Properties", + "children": [1382, 1381] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" + } + ] } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 612, - "name": "AuthResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" } + ] + }, + "defaultValue": "null" + }, + { + "id": 1393, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } }, { - "id": 229, - "name": "resend", + "id": 1394, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + }, + { + "id": 1383, + "name": "toJSON", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1306, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1306" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 95, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L95" } ], "signatures": [ { - "id": 230, - "name": "resend", + "id": 1384, + "name": "toJSON", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP." - } - ] - }, - "parameters": [ + "sources": [ { - "id": 231, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 95, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L95" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1385, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "reference", - "id": 960, - "name": "ResendParams", - "dereferenced": { - "id": 960, - "name": "ResendParams", - "kind": 4194304, - "kindString": "Type alias", + "children": [ + { + "id": 1389, + "name": "details", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 769, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L769" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 100, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L100" } ], "type": { "type": "union", "types": [ { - "type": "reflection", - "declaration": { - "id": 961, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 963, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 772, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L772" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 964, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 773, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L773" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 965, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 967, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 777, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L777" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 966, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they have signed-in." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 775, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L775" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [967, 966] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 773, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L773" - } - ] - } - } - }, - { - "id": 962, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 771, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L771" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 959, - "name": "EmailOtpType" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "email_change" - } - ] - } - ], - "name": "Extract", - "qualifiedName": "Extract", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [963, 964, 962] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 770, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L770" - } - ] - } + "type": "literal", + "value": null }, { "type": "reflection", "declaration": { - "id": 968, + "id": 1390, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 971, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 783, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L783" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 972, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 973, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 785, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L785" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [973] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 783, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L783" - } - ] - } - } - }, - { - "id": 970, - "name": "phone", + "id": 1392, + "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 782, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L782" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" } ], "type": { @@ -25939,1712 +7174,1294 @@ } }, { - "id": 969, - "name": "type", + "id": 1391, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L781" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" } ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 958, - "name": "MobileOtpType" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" - } - ] - } - ], - "name": "Extract", - "qualifiedName": "Extract", - "package": "typescript" + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [971, 970, 969] + "children": [1392, 1391] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 780, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L780" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L89" } ] } } ] - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 639, - "name": "AuthOtpResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 390, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2111, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2111" - } - ], - "signatures": [ - { - "id": 391, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends a password reset request to an email address. This method supports the PKCE flow." - } - ] - }, - "parameters": [ - { - "id": 392, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The email address of the user." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 393, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 394, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + }, + "defaultValue": "..." + }, + { + "id": 1387, + "name": "message", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 396, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2115, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2115" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "sources": [ { - "id": 395, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The URL to send the user to after they click the password reset link." - } - ] - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2114, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2114" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 98, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L98" } ], - "groups": [ + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1386, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ { - "title": "Properties", - "children": [396, 395] + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 97, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L97" } ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1388, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2113, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2113" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 99, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L99" } - ] + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." } - }, - "defaultValue": "{}" + ], + "groups": [ + { + "title": "Properties", + "children": [1389, 1387, 1386, 1388] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 96, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L96" + } + ] } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 397, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 398, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2119, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2119" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 399, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 400, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2120, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2120" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [398, 400] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2118, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2118" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 401, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 402, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2122, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2122" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 403, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2122, - "character": 20, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2122" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [402, 403] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2122, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2122" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" } } ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1372] + }, + { + "title": "Properties", + "children": [1395, 1379, 1393, 1394] }, { - "id": 313, - "name": "setSession", - "kind": 2048, - "kindString": "Method", + "title": "Methods", + "children": [1383] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 88, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L88" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1362, + "name": "AuthInvalidCredentialsError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1363, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1729, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1729" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 83, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L83" } ], "signatures": [ { - "id": 314, - "name": "setSession", - "kind": 4096, - "kindString": "Call signature", + "id": 1364, + "name": "AuthInvalidCredentialsError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 83, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L83" + } + ], "parameters": [ { - "id": 315, - "name": "currentSession", + "id": 1365, + "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The current session that minimally contains an access token and refresh token." - } - ] - }, "type": { - "type": "reflection", - "declaration": { - "id": 316, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 317, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1730, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1730" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 318, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1731, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1731" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [317, 318] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1729, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1729" - } - ] - } + "type": "intrinsic", + "name": "string" } } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1362, + "name": "AuthInvalidCredentialsError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1368, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 612, - "name": "AuthResponse" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1369, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } + }, + { + "id": 1366, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } + }, + { + "id": 1367, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" } - ] + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1363] }, { - "id": 145, - "name": "signInAnonymously", - "kind": 2048, - "kindString": "Method", + "title": "Properties", + "children": [1368, 1366, 1367] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 82, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L82" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1447, + "name": "AuthInvalidJwtError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1448, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 456, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L456" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 162, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L162" } ], "signatures": [ { - "id": 146, - "name": "signInAnonymously", - "kind": 4096, - "kindString": "Call signature", + "id": 1449, + "name": "AuthInvalidJwtError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a new anonymous user." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A session where the is_anonymous claim in the access token JWT set to true" - } - ] - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 162, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L162" + } + ], "parameters": [ { - "id": 147, - "name": "credentials", + "id": 1450, + "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "flags": {}, "type": { - "type": "reference", - "id": 810, - "name": "SignInAnonymouslyCredentials", - "dereferenced": { - "id": 810, - "name": "SignInAnonymouslyCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 490, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L490" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 811, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 812, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 491, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L491" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 813, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 815, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 499, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L499" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 814, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 497, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L497" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [815, 814] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 491, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L491" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [812] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 490, - "character": 43, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L490" - } - ] - } - } - } + "type": "intrinsic", + "name": "string" } } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1447, + "name": "AuthInvalidJwtError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1453, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 612, - "name": "AuthResponse" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1454, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } + }, + { + "id": 1451, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } + }, + { + "id": 1452, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" } - ] + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1448] }, { - "id": 213, - "name": "signInWithIdToken", - "kind": 2048, - "kindString": "Method", + "title": "Properties", + "children": [1453, 1451, 1452] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 161, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L161" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1354, + "name": "AuthInvalidTokenResponseError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1355, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1064, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1064" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L77" } ], "signatures": [ { - "id": 214, - "name": "signInWithIdToken", - "kind": 4096, - "kindString": "Call signature", + "id": 1356, + "name": "AuthInvalidTokenResponseError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured." - } - ] - }, - "parameters": [ + "sources": [ { - "id": 215, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 876, - "name": "SignInWithIdTokenCredentials", - "dereferenced": { - "id": 876, - "name": "SignInWithIdTokenCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 617, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L617" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 877, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 881, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the ID token contains an " - }, - { - "kind": "code", - "text": "`at_hash`" - }, - { - "kind": "text", - "text": " claim, then the hash of this value is compared to the value in the ID token." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 623, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L623" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 882, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the ID token contains a " - }, - { - "kind": "code", - "text": "`nonce`" - }, - { - "kind": "text", - "text": " claim, then the hash of this value is compared to the value in the ID token." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 625, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L625" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 883, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 626, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L626" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 884, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 885, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 628, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L628" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [885] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 626, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L626" - } - ] - } - } - }, - { - "id": 878, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provider name or OIDC " - }, - { - "kind": "code", - "text": "`iss`" - }, - { - "kind": "text", - "text": " value identifying which provider should be used to verify the provided token. Supported names: " - }, - { - "kind": "code", - "text": "`google`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`apple`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`azure`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`facebook`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`kakao`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`keycloak`" - }, - { - "kind": "text", - "text": " (deprecated)." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 619, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L619" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 879, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 619, - "character": 76, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L619" - } - ] - } - } - ] - } - ] - } - }, - { - "id": 880, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OIDC ID token issued by the specified provider. The " - }, - { - "kind": "code", - "text": "`iss`" - }, - { - "kind": "text", - "text": " claim in the ID token must match the supplied provider. Some ID tokens contain an " - }, - { - "kind": "code", - "text": "`at_hash`" - }, - { - "kind": "text", - "text": " which require that you provide an " - }, - { - "kind": "code", - "text": "`access_token`" - }, - { - "kind": "text", - "text": " value to be accepted properly. If the token contains a " - }, - { - "kind": "code", - "text": "`nonce`" - }, - { - "kind": "text", - "text": " claim you must supply the nonce used to obtain the ID token." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 621, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L621" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [881, 882, 883, 878, 880] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 617, - "character": 43, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L617" - } - ] - } - } - } - } + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L77" } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1354, + "name": "AuthInvalidTokenResponseError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1359, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 654, - "name": "AuthTokenResponse" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1360, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } + }, + { + "id": 1357, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } }, { - "id": 154, - "name": "signInWithOAuth", - "kind": 2048, - "kindString": "Method", + "id": 1358, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1355] + }, + { + "title": "Properties", + "children": [1359, 1357, 1358] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 76, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L76" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1398, + "name": "AuthPKCEGrantCodeExchangeError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1399, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 639, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L639" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L114" } ], "signatures": [ { - "id": 155, - "name": "signInWithOAuth", - "kind": 4096, - "kindString": "Call signature", + "id": 1400, + "name": "AuthPKCEGrantCodeExchangeError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L114" + } + ], "parameters": [ { - "id": 156, - "name": "credentials", + "id": 1401, + "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 864, - "name": "SignInWithOAuthCredentials", - "dereferenced": { - "id": 864, - "name": "SignInWithOAuthCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L602" - } - ], - "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1402, + "name": "details", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reflection", "declaration": { - "id": 865, + "id": 1403, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 867, - "name": "options", + "id": 1405, + "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L605" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 57, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L114" } ], "type": { - "type": "reflection", - "declaration": { - "id": 868, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 871, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object of query params" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L611" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 872, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L611" - } - ], - "indexSignature": { - "id": 873, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 874, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 869, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 607, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L607" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 870, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A space-separated list of scopes granted to the OAuth application." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 609, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L609" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 875, - "name": "skipBrowserRedirect", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L613" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [871, 869, 870, 875] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L605" - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 866, - "name": "provider", + "id": 1404, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "One of the providers supported by GoTrue." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 604, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L604" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L114" } ], "type": { - "type": "reference", - "id": 572, - "name": "Provider", - "dereferenced": { - "id": 572, - "name": "Provider", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "One of the providers supported by GoTrue." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L8" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - }, - { - "type": "literal", - "value": "fly" - } - ] - } - } + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [867, 866] + "children": [1405, 1404] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L602" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L114" } ] } } - } - } + ] + }, + "defaultValue": "null" } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 682, - "name": "OAuthResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + "target": 1398, + "name": "AuthPKCEGrantCodeExchangeError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" } } - ] + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } }, { - "id": 216, - "name": "signInWithOtp", - "kind": 2048, - "kindString": "Method", - "flags": {}, + "id": 1422, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1119, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1119" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" } ], - "signatures": [ - { - "id": 217, - "name": "signInWithOtp", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Log in a user using magiclink or a one-time password (OTP).\n\nIf the " - }, - { - "kind": "code", - "text": "`{{ .ConfirmationURL }}`" - }, - { - "kind": "text", - "text": " variable is specified in the email template, a magiclink will be sent.\nIf the " - }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "kind": "code", - "text": "`{{ .Token }}`" + "type": "intrinsic", + "name": "string" }, { - "kind": "text", - "text": " variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed." + "type": "reflection", + "declaration": { + "id": 1423, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } + }, + { + "id": 1406, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ + { + "type": "reflection", + "declaration": { + "id": 1407, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1409, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1408, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1409, 1408] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1420, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } + }, + { + "id": 1421, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + }, + { + "id": 1410, + "name": "toJSON", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 119, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L119" + } + ], + "signatures": [ + { + "id": 1411, + "name": "toJSON", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 218, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 119, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L119" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1412, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "reference", - "id": 846, - "name": "SignInWithPasswordlessCredentials", - "dereferenced": { - "id": 846, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", + "children": [ + { + "id": 1416, + "name": "details", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 563, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L563" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 124, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L124" } ], "type": { "type": "union", "types": [ + { + "type": "literal", + "value": null + }, { "type": "reflection", "declaration": { - "id": 847, + "id": 1417, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 848, - "name": "email", + "id": 1419, + "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L566" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" } ], "type": { @@ -27653,410 +8470,17 @@ } }, { - "id": 849, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L567" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 850, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 854, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L579" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 577, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L577" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 851, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The redirect url embedded in the email link" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L569" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 852, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to false, this method will not create a new user. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 571, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L571" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [854, 853, 851, 852] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L567" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [848, 849] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 564, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L564" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 855, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 857, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 585, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L585" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 858, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 861, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 595, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L595" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 862, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms)" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 597, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L597" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 860, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 593, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L593" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 859, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to false, this method will not create a new user. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 587, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L587" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [861, 862, 860, 859] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 585, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L585" - } - ] - } - } - }, - { - "id": 856, - "name": "phone", + "id": 1418, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 584, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L584" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" } ], "type": { @@ -28068,2877 +8492,1814 @@ "groups": [ { "title": "Properties", - "children": [857, 856] + "children": [1419, 1418] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 582, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L582" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L112" } ] } } ] - } + }, + "defaultValue": "..." + }, + { + "id": 1414, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 122, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L122" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1413, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 121, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L121" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1415, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 123, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L123" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [1416, 1414, 1413, 1415] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 120, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L120" + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1399] + }, + { + "title": "Properties", + "children": [1422, 1406, 1420, 1421] + }, + { + "title": "Methods", + "children": [1410] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 111, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L111" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1425, + "name": "AuthRetryableFetchError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1426, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L130" + } + ], + "signatures": [ + { + "id": 1427, + "name": "AuthRetryableFetchError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L130" + } + ], + "parameters": [ + { + "id": 1428, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1429, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "target": 1425, + "name": "AuthRetryableFetchError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1432, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1433, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} } } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } + }, + { + "id": 1430, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } + }, + { + "id": 1431, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1426] + }, + { + "title": "Properties", + "children": [1432, 1430, 1431] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 129, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L129" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1346, + "name": "AuthSessionMissingError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1347, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L67" + } + ], + "signatures": [ + { + "id": 1348, + "name": "AuthSessionMissingError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L67" } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1346, + "name": "AuthSessionMissingError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1351, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 639, - "name": "AuthOtpResponse" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1352, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } + }, + { + "id": 1349, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } }, { - "id": 151, - "name": "signInWithPassword", - "kind": 2048, - "kindString": "Method", + "id": 1350, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1347] + }, + { + "title": "Properties", + "children": [1351, 1349, 1350] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 66, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L66" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1324, + "name": "AuthUnknownError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1325, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 576, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L576" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L48" } ], "signatures": [ { - "id": 152, - "name": "signInWithPassword", - "kind": 4096, - "kindString": "Call signature", + "id": 1326, + "name": "AuthUnknownError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Log in an existing user with an email and password or phone and password.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L48" + } + ], "parameters": [ { - "id": 153, - "name": "credentials", + "id": 1327, + "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 833, - "name": "SignInWithPasswordCredentials", - "dereferenced": { - "id": 833, - "name": "SignInWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 541, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L541" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 834, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 835, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 544, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L544" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 837, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 547, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L547" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 838, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 839, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 549, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L549" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [839] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 547, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L547" - } - ] - } - } - }, - { - "id": 836, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 546, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L546" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [835, 837, 836] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L542" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 840, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 843, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 557, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L557" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 844, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 845, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 559, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L559" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [845] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 557, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L557" - } - ] - } - } - }, - { - "id": 842, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 556, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L556" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 841, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L554" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [843, 842, 841] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L552" - } - ] - } - } - ] - } - } + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1328, + "name": "originalError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" } } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1324, + "name": "AuthUnknownError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1306, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1305, + "name": "AuthError.constructor" + } + }, + { + "id": 1330, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ { - "type": "reference", - "id": 667, - "name": "AuthTokenResponsePassword" + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1331, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1310, + "name": "AuthError.code" + } + }, + { + "id": 1329, + "name": "originalError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 46, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L46" } - ] + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } }, { - "id": 222, - "name": "signInWithSSO", - "kind": 2048, - "kindString": "Method", + "id": 1332, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L14" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1312, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1325] + }, + { + "title": "Properties", + "children": [1330, 1329, 1332] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 45, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L45" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1435, + "name": "AuthWeakPasswordError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." + } + ] + }, + "children": [ + { + "id": 1436, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1233, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1233" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 150, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L150" } ], "signatures": [ { - "id": 223, - "name": "signInWithSSO", - "kind": 4096, - "kindString": "Call signature", + "id": 1437, + "name": "AuthWeakPasswordError", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.\n\nYou can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 150, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L150" + } + ], "parameters": [ { - "id": 224, - "name": "params", + "id": 1438, + "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 974, - "name": "SignInWithSSO", - "dereferenced": { - "id": 974, - "name": "SignInWithSSO", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1439, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1440, + "name": "reasons", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "fileName": "src/lib/types.ts", - "line": 789, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L789" + "type": "literal", + "value": "length" + }, + { + "type": "literal", + "value": "characters" + }, + { + "type": "literal", + "value": "pwned" } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 975, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 977, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 794, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L794" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 978, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 980, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 798, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L798" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 979, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they have signed-in." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 796, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L796" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [980, 979] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 794, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L794" - } - ] - } - } - }, - { - "id": 976, - "name": "providerId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "UUID of the SSO provider to invoke single-sign on to." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 792, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L792" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [977, 976] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 790, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L790" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 981, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 982, - "name": "domain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain name of the organization for which to invoke single-sign on." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 803, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L803" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 983, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 805, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L805" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 984, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 986, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 809, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L809" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 985, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they have signed-in." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 807, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L807" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [986, 985] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 805, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L805" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [982, 983] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 801, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L801" - } - ] - } - } - ] - } + ] } } } ], "type": { "type": "reference", - "typeArguments": [ + "target": 1435, + "name": "AuthWeakPasswordError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1336, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1335, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1444, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, { - "type": "reference", - "id": 695, - "name": "SSOResponse" + "type": "reflection", + "declaration": { + "id": 1445, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1343, + "name": "CustomAuthError.code" + } }, { - "id": 160, - "name": "signInWithWeb3", - "kind": 2048, - "kindString": "Method", - "flags": {}, + "id": 1442, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 666, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L666" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" } ], - "signatures": [ - { - "id": 161, - "name": "signInWithWeb3", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Signs in a user by verifying a message signed by the user's private key.\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\nboth of which derive from the EIP-4361 standard\nWith slight variation on Solana's side." - } - ], - "blockTags": [ - { - "tag": "@reference", - "content": [ - { - "kind": "text", - "text": "https://eips.ethereum.org/EIPS/eip-4361" - } - ] - } - ] - }, - "parameters": [ - { - "id": 162, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 937, - "name": "Web3Credentials", - "dereferenced": { - "id": 937, - "name": "Web3Credentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 717, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L717" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 902, - "name": "SolanaWeb3Credentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L641" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 903, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 904, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 643, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L643" - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 907, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 651, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L651" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 908, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 910, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 656, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L656" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 911, - "name": "signInWithSolana", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 658, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L658" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "SolanaSignInInput" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "version" - }, - { - "type": "literal", - "value": "chain" - }, - { - "type": "literal", - "value": "domain" - }, - { - "type": "literal", - "value": "uri" - }, - { - "type": "literal", - "value": "statement" - } - ] - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ], - "name": "Partial", - "qualifiedName": "Partial", - "package": "typescript" - } - }, - { - "id": 909, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 653, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L653" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [910, 911, 909] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 651, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L651" - } - ] - } - } - }, - { - "id": 906, - "name": "statement", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L649" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 905, - "name": "wallet", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Wallet interface to use. If not specified will default to " - }, - { - "kind": "code", - "text": "`window.solana`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 646, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L646" - } - ], - "type": { - "type": "reference", - "id": 886, - "name": "SolanaWallet" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [904, 907, 906, 905] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 642, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L642" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 912, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 913, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 664, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L664" - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 914, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sign in with Solana compatible message. Must include " - }, - { - "kind": "code", - "text": "`Issued At`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`URI`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`Version`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 667, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L667" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 916, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 672, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L672" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 917, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 918, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 674, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L674" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [918] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 672, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L672" - } - ] - } - } - }, - { - "id": 915, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Ed25519 signature of the message." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 670, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L670" - } - ], - "type": { - "type": "reference", - "name": "Uint8Array", - "qualifiedName": "Uint8Array", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [913, 914, 916, 915] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L663" - } - ] - } - } - ] - } - }, - { - "id": 920, - "name": "EthereumWeb3Credentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 680, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L680" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 921, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 922, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 682, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L682" - } - ], - "type": { - "type": "literal", - "value": "ethereum" - } - }, - { - "id": 925, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L690" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 926, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 928, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 695, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L695" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 929, - "name": "signInWithEthereum", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 697, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L697" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "EthereumSignInInput" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "version" - }, - { - "type": "literal", - "value": "domain" - }, - { - "type": "literal", - "value": "uri" - }, - { - "type": "literal", - "value": "statement" - } - ] - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ], - "name": "Partial", - "qualifiedName": "Partial", - "package": "typescript" - } - }, - { - "id": 927, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 692, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L692" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [928, 929, 927] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L690" - } - ] - } - } - }, - { - "id": 924, - "name": "statement", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional statement to include in the Sign in with Ethereum message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 688, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L688" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 923, - "name": "wallet", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Wallet interface to use. If not specified will default to " - }, - { - "kind": "code", - "text": "`window.ethereum`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 685, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L685" - } - ], - "type": { - "type": "reference", - "id": 919, - "name": "EthereumWallet" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [922, 925, 924, 923] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 681, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L681" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 930, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 931, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 703, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L703" - } - ], - "type": { - "type": "literal", - "value": "ethereum" - } - }, - { - "id": 932, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sign in with Ethereum compatible message. Must include " - }, - { - "kind": "code", - "text": "`Issued At`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`URI`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`Version`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L706" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 934, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 711, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L711" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 935, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 936, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 713, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L713" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [936] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 711, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L711" - } - ] - } - } - }, - { - "id": 933, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Ethereum curve (secp256k1) signature of the message." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 709, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L709" - } - ], - "type": { - "type": "reference", - "name": "Hex" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [931, 932, 934, 933] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L702" - } - ] - } - } - ] - } - } - ] - } - } - } + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1341, + "name": "CustomAuthError.name" + } + }, + { + "id": 1441, + "name": "reasons", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Reasons why the password is deemed weak." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 148, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L148" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "length" + }, + { + "type": "literal", + "value": "characters" + }, + { + "type": "literal", + "value": "pwned" + } + ] + } + } + }, + { + "id": 1443, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1342, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1436] + }, + { + "title": "Properties", + "children": [1444, 1442, 1441, 1443] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 144, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L144" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1334, + "name": "CustomAuthError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1335, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 59, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L59" + } + ], + "signatures": [ + { + "id": 1336, + "name": "CustomAuthError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 59, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L59" } ], - "type": { - "type": "reference", - "typeArguments": [ - { + "parameters": [ + { + "id": 1337, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1338, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1339, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1340, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { "type": "union", "types": [ { - "type": "reflection", - "declaration": { - "id": 163, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 164, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 668, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L668" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 166, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 668, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L668" - } - ], - "type": { - "type": "reference", - "id": 715, - "name": "Session" - } - }, - { - "id": 167, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 668, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L668" - } - ], - "type": { - "type": "reference", - "id": 755, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [166, 167] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 668, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L668" - } - ] - } - } - }, - { - "id": 168, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 669, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L669" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [164, 168] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 667, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L667" - } - ] - } + "type": "intrinsic", + "name": "undefined" }, { - "type": "reflection", - "declaration": { - "id": 169, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 170, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 671, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L671" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 171, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 172, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 671, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L671" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 173, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 671, - "character": 31, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L671" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [172, 173] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 671, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L671" - } - ] - } - } - }, - { - "id": 174, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 671, - "character": 45, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L671" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [170, 174] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 671, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L671" - } - ] - } + "type": "intrinsic", + "name": "string" } ] } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + } + ], + "type": { + "type": "reference", + "target": 1334, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1306, + "name": "AuthError.constructor" } } - ] + ], + "overwrites": { + "type": "reference", + "target": 1305, + "name": "AuthError.constructor" + } + }, + { + "id": 1343, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#status" + }, + { + "kind": "text", + "text": " will also be undefined." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1344, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1310, + "name": "AuthError.code" + } + }, + { + "id": 1341, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "AuthError.name" + } + }, + { + "id": 1342, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP status code that caused the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "overwrites": { + "type": "reference", + "target": 1312, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1335] + }, + { + "title": "Properties", + "children": [1343, 1341, 1342] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 55, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L55" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1346, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "target": 1354, + "name": "AuthInvalidTokenResponseError" + }, + { + "type": "reference", + "target": 1362, + "name": "AuthInvalidCredentialsError" + }, + { + "type": "reference", + "target": 1371, + "name": "AuthImplicitGrantRedirectError" + }, + { + "type": "reference", + "target": 1398, + "name": "AuthPKCEGrantCodeExchangeError" + }, + { + "type": "reference", + "target": 1425, + "name": "AuthRetryableFetchError" + }, + { + "type": "reference", + "target": 1435, + "name": "AuthWeakPasswordError" }, { - "id": 366, - "name": "signOut", - "kind": 2048, - "kindString": "Method", + "type": "reference", + "target": 1447, + "name": "AuthInvalidJwtError" + } + ] + }, + { + "id": 1, + "name": "GoTrueAdminApi", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2011, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2011" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L37" } ], "signatures": [ { - "id": 367, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", + "id": 3, + "name": "GoTrueAdminApi", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Inside a browser context, " - }, - { - "kind": "code", - "text": "`signOut()`" - }, - { - "kind": "text", - "text": " will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a " - }, - { - "kind": "code", - "text": "`\"SIGNED_OUT\"`" - }, - { - "kind": "text", - "text": " event.\n\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to " - }, - { - "kind": "code", - "text": "`auth.api.signOut(JWT: string)`" - }, - { - "kind": "text", - "text": ".\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n\nIf using " - }, - { - "kind": "code", - "text": "`others`" - }, - { - "kind": "text", - "text": " scope, no " - }, - { - "kind": "code", - "text": "`SIGNED_OUT`" - }, - { - "kind": "text", - "text": " event is fired!" - } - ] - }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L37" + } + ], "parameters": [ { - "id": 368, - "name": "options", + "id": 4, + "name": "__namedParameters", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 1188, - "name": "SignOut", - "dereferenced": { - "id": 1188, - "name": "SignOut", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1220" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1189, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1190, - "name": "scope", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1231, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1231" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "global" - }, - { - "type": "literal", - "value": "local" - }, - { - "type": "literal", - "value": "others" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 22, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1220" - } - ] - } - } - } - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { "type": "reflection", "declaration": { - "id": 369, + "id": 5, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 370, - "name": "error", + "id": 11, + "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2011, - "character": 67, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2011" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 46, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L46" } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [370] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2011, - "character": 65, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2011" - } - ] - } - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 148, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 499, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L499" - } - ], - "signatures": [ - { - "id": 149, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a new user.\n\nBe aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A logged-in session if the server has \"autoconfirm\" ON" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A user if the server has \"autoconfirm\" OFF" - } - ] - } - ] - }, - "parameters": [ - { - "id": 150, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 816, - "name": "SignUpWithPasswordCredentials", - "dereferenced": { - "id": 816, - "name": "SignUpWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 503, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L503" - } - ], - "type": { - "type": "union", - "types": [ - { "type": "reflection", "declaration": { - "id": 817, + "id": 12, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 818, - "name": "email", - "kind": 1024, - "kindString": "Property", + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "signatures": [ + { + "id": 13, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's email address." + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 506, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L506" + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + "parameters": [ { - "fileName": "src/lib/types.ts", - "line": 509, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L509" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 821, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 14, + "name": "input", + "variant": "param", + "kind": 32768, "flags": {}, - "children": [ - { - "id": 824, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 519, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L519" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 823, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 517, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L517" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 822, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The redirect url embedded in the email link" - } - ] + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 511, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L511" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [824, 823, 822] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 509, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L509" - } - ] - } - } - }, - { - "id": 819, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." + ] } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 508, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L508" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [818, 820, 819] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 504, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L504" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 825, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 828, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 527, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L527" + "id": 15, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } } ], "type": { - "type": "reflection", - "declaration": { - "id": 829, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 831, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 535, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L535" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 832, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms)" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 537, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L537" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" }, - { - "id": 830, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 533, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L533" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [831, 832, 830] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 527, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L527" - } - ] - } + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 827, - "name": "password", - "kind": 1024, - "kindString": "Property", + "id": 16, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's password." + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 526, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L526" + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 17, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 18, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + } + } + }, + { + "id": 7, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 43, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L43" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ { - "id": 826, - "name": "phone", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 43, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L43" + } + ], + "indexSignatures": [ + { + "id": 9, + "name": "__index", + "variant": "signature", + "kind": 8192, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 524, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 44, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L524" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L44" + } + ], + "parameters": [ + { + "id": 10, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "type": { @@ -30946,394 +10307,580 @@ "name": "string" } } - ], - "groups": [ - { - "title": "Properties", - "children": [828, 827, 826] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 522, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L522" - } ] } - } - ] - } + }, + "defaultValue": "{}" + }, + { + "id": 6, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 42, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L42" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "''" + } + ], + "groups": [ + { + "title": "Properties", + "children": [11, 7, 6] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 41, + "character": 5, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L41" + } + ] } } } ], "type": { "type": "reference", + "target": 1, + "name": "GoTrueAdminApi", + "package": "@supabase/auth-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 19, + "name": "mfa", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Contains all MFA administration methods." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 29, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L29" + } + ], + "type": { + "type": "reference", + "target": 1224, + "name": "GoTrueAdminMFAApi", + "package": "@supabase/auth-js" + } + }, + { + "id": 50, + "name": "createUser", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 160, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L160" + } + ], + "signatures": [ + { + "id": 51, + "name": "createUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new user.\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 160, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L160" + } + ], + "parameters": [ + { + "id": 52, + "name": "attributes", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 826, + "name": "AdminUserAttributes", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 612, - "name": "AuthResponse" + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 472, - "name": "startAutoRefresh", + "id": 74, + "name": "deleteUser", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2698, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 280, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2698" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L280" } ], "signatures": [ { - "id": 473, - "name": "startAutoRefresh", + "id": 75, + "name": "deleteUser", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.\n\nIf you set the " + "text": "Delete a user. Requires a " }, { - "kind": "inline-tag", - "tag": "@link", - "text": "GoTrueClientOptions#autoRefreshToken" + "kind": "code", + "text": "`service_role`" }, { "kind": "text", - "text": " you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n" - }, - { - "kind": "inline-tag", - "tag": "@see", - "text": "#stopAutoRefresh" + "text": " key." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 280, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L280" + } + ], + "parameters": [ + { + "id": 76, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user id you want to remove." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 77, + "name": "shouldSoftDelete", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 474, - "name": "stopAutoRefresh", + "id": 47, + "name": "generateLink", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2711, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 126, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2711" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L126" } ], "signatures": [ { - "id": 475, - "name": "stopAutoRefresh", + "id": 48, + "name": "generateLink", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Stops an active auto refresh process running in the background (if any).\n\nIf you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee " - }, + "text": "Generates email links and OTPs to be sent via a custom email provider." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 126, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L126" + } + ], + "parameters": [ + { + "id": 49, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1034, + "name": "GenerateLinkParams", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "inline-tag", - "tag": "@link", - "text": "#startAutoRefresh", - "target": 0 - }, + "type": "reference", + "target": 1035, + "name": "GenerateLinkResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 67, + "name": "getUserById", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 229, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L229" + } + ], + "signatures": [ + { + "id": 68, + "name": "getUserById", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " for more details." + "text": "Get user by id." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 229, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L229" + } + ], + "parameters": [ + { + "id": 69, + "name": "uid", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 417, - "name": "unlinkIdentity", + "id": 40, + "name": "inviteUserByEmail", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2217, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 93, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2217" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L93" } ], "signatures": [ { - "id": 418, - "name": "unlinkIdentity", + "id": 41, + "name": "inviteUserByEmail", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Unlinks an identity from a user by deleting it. The user will no longer be able to sign in with that identity once it's unlinked." + "text": "Sends an invite link to an email address." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 93, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L93" + } + ], "parameters": [ { - "id": 419, - "name": "identity", + "id": 42, + "name": "email", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "type": { - "type": "reference", - "id": 728, - "name": "UserIdentity", - "dereferenced": { - "id": 728, - "name": "UserIdentity", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 737, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 300, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L300" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 729, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 293, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L293" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 43, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Additional options to be included when inviting." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 44, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 731, - "name": "identity_data", + "id": 45, + "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 295, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L295" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 732, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 295, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L295" - } - ], - "indexSignature": { - "id": 733, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 734, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object to store additional metadata about the user. This maps to the " + }, + { + "kind": "code", + "text": "`auth.users.user_metadata`" + }, + { + "kind": "text", + "text": " column." } - } - } - }, - { - "id": 735, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L298" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 738, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 301, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L301" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 736, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L299" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 97, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L97" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } }, { - "id": 739, - "name": "updated_at", + "id": 46, + "name": "redirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 302, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L302" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 730, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 294, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L294" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 100, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L100" } ], "type": { @@ -31345,23 +10892,134 @@ "groups": [ { "title": "Properties", - "children": [737, 729, 731, 735, 738, 736, 739, 730] + "children": [45, 46] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 292, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L292" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 95, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L95" } ] } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 53, + "name": "listUsers", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 182, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L182" + } + ], + "signatures": [ + { + "id": 54, + "name": "listUsers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 182, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L182" + } + ], + "parameters": [ + { + "id": 55, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object which supports " + }, + { + "kind": "code", + "text": "`page`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`perPage`" + }, + { + "kind": "text", + "text": " as numbers, to alter the paginated results." + } + ] + }, + "type": { + "type": "reference", + "target": 1245, + "name": "PageParams", + "package": "@supabase/auth-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -31369,49 +11027,119 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 56, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 421, + "id": 57, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2219, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 185, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2219" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L185" } ], "type": { - "type": "reflection", - "declaration": { - "id": 422, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 58, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 60, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 185, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L185" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 59, + "name": "users", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 185, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L185" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [60, 59] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 185, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L185" + } + ] + } + }, + { + "type": "reference", + "target": 1238, + "name": "Pagination", + "package": "@supabase/auth-js" + } + ] } }, { - "id": 423, + "id": 61, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2220, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2220" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 185, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L185" } ], "type": { @@ -31423,15 +11151,15 @@ "groups": [ { "title": "Properties", - "children": [421, 423] + "children": [57, 61] } ], "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2218, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 185, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2218" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L185" } ] } @@ -31439,5693 +11167,5090 @@ { "type": "reflection", "declaration": { - "id": 424, + "id": 62, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 425, + "id": 63, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 2222, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 186, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2222" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 426, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2222, - "character": 20, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2222" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L186" } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [425, 426] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 2222, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L2222" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 301, - "name": "updateUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1660, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1660" - } - ], - "signatures": [ - { - "id": 302, - "name": "updateUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Updates user data for a logged in user." - } - ] - }, - "parameters": [ - { - "id": 303, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 781, - "name": "UserAttributes", - "dereferenced": { - "id": 781, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 786, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 397, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L397" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 782, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 785, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 784, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." + "type": "reflection", + "declaration": { + "id": 64, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 65, + "name": "users", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 186, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L186" + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [65] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 186, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L186" + } + ] + } } - ] - }, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" + "id": 66, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 186, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L186" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 783, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone." - } - ] - }, - "sources": [ + "groups": [ { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" + "title": "Properties", + "children": [63, 66] } ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [786, 782, 785, 784, 783] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 368, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L368" - } - ] - } - } - }, - { - "id": 304, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 305, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 306, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1663, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 186, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1663" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L186" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [306] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1662, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1662" + ] } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 704, - "name": "UserResponse" + } + ] } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 219, - "name": "verifyOtp", + "id": 33, + "name": "signOut", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueClient.ts", - "line": 1172, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 62, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L1172" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L62" } ], "signatures": [ { - "id": 220, - "name": "verifyOtp", + "id": 34, + "name": "signOut", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Log in a user given a User supplied OTP or TokenHash received through mobile or email." + "text": "Removes a logged-in session." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 62, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L62" + } + ], "parameters": [ { - "id": 221, - "name": "params", + "id": 35, + "name": "jwt", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid, logged-in JWT." + } + ] + }, "type": { - "type": "reference", - "id": 938, - "name": "VerifyOtpParams", - "dereferenced": { - "id": 938, - "name": "VerifyOtpParams", - "kind": 4194304, - "kindString": "Type alias", + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 36, + "name": "scope", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The logout sope." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 719, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L719" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 939, - "name": "VerifyMobileOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 943, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 727, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L727" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 944, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 946, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ], - "blockTags": [ - { - "tag": "@deprecated", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 736, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L736" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 945, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 729, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L729" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [946, 945] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 727, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L727" - } - ] - } - } - }, - { - "id": 940, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 722, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L722" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 941, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The otp sent to the user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 724, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L724" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 942, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 726, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L726" - } - ], - "type": { - "type": "reference", - "id": 958, - "name": "MobileOtpType", - "dereferenced": { - "id": 958, - "name": "MobileOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L766" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [943, 940, 941, 942] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 720, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L720" - } - ] - }, - { - "id": 947, - "name": "VerifyEmailOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 948, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 741, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L741" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 951, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 746, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L746" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 952, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 954, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ], - "blockTags": [ - { - "tag": "@deprecated", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 754, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L754" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 953, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 748, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L748" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [954, 953] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 746, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L746" - } - ] - } - } - }, - { - "id": 949, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The otp sent to the user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 743, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L743" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 950, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 745, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L745" - } - ], - "type": { - "type": "reference", - "id": 959, - "name": "EmailOtpType", - "dereferenced": { - "id": 959, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 767, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change" - }, - { - "type": "literal", - "value": "email" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [948, 951, 949, 950] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 739, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L739" - } - ] - }, - { - "id": 955, - "name": "VerifyTokenHashParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 956, - "name": "token_hash", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The token hash used in an email link" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 760, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L760" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 957, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 763, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L763" - } - ], - "type": { - "type": "reference", - "id": 959, - "name": "EmailOtpType", - "dereferenced": { - "id": 959, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 767, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change" - }, - { - "type": "literal", - "value": "email" - } - ] - } - } - } - } - ], - "groups": [ + "id": 38, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 65, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L65" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 39, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 65, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L65" + } + ], + "type": { + "type": "union", + "types": [ { - "title": "Properties", - "children": [956, 957] - } - ], - "sources": [ + "type": "literal", + "value": null + }, { - "fileName": "src/lib/types.ts", - "line": 758, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L758" + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" } ] } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [38, 39] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 65, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L65" + } + ] } } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 612, - "name": "AuthResponse" - } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [80] }, { - "title": "Properties", - "children": [84, 85] - }, - { - "title": "Methods", - "children": [ - 157, 523, 232, 295, 404, 141, 414, 376, 225, 325, 229, 390, 313, 145, 213, 154, 216, - 151, 222, 160, 366, 148, 472, 474, 417, 301, 219 - ] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 158, - "character": 21, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/GoTrueClient.ts#L158" - } - ] - }, - { - "id": 556, - "name": "NavigatorLockAcquireTimeoutError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 557, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", + "id": 70, + "name": "updateUserById", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/locks.ts", - "line": 26, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L26" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 253, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L253" } ], "signatures": [ { - "id": 558, - "name": "new NavigatorLockAcquireTimeoutError", - "kind": 16384, - "kindString": "Constructor signature", + "id": 71, + "name": "updateUserById", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates the user data." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 253, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L253" + } + ], "parameters": [ { - "id": 559, - "name": "message", + "id": 72, + "name": "uid", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 73, + "name": "attributes", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data you want to update.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "type": { + "type": "reference", + "target": 826, + "name": "AdminUserAttributes", + "package": "@supabase/auth-js" + } } ], "type": { "type": "reference", - "id": 556, - "name": "NavigatorLockAcquireTimeoutError" - }, - "inheritedFrom": { - "type": "reference", - "name": "LockAcquireTimeoutError.constructor" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "inheritedFrom": { - "type": "reference", - "name": "LockAcquireTimeoutError.constructor" - } - }, - { - "id": 560, - "name": "isAcquireTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true, - "isReadonly": true - }, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 24, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L24" - } - ], - "type": { - "type": "literal", - "value": true - }, - "defaultValue": "true", - "inheritedFrom": { - "type": "reference", - "name": "LockAcquireTimeoutError.isAcquireTimeout" - } + ] } ], "groups": [ { "title": "Constructors", - "children": [557] + "children": [2] }, { "title": "Properties", - "children": [560] - } - ], - "sources": [ + "children": [19] + }, { - "fileName": "src/lib/locks.ts", - "line": 31, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L31" + "title": "Methods", + "children": [50, 74, 47, 67, 40, 53, 33, 70] } ], - "extendedTypes": [ + "sources": [ { - "type": "reference", - "name": "LockAcquireTimeoutError" + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 27, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueAdminApi.ts#L27" } ] }, { - "id": 724, - "name": "AMREntry", - "kind": 256, - "kindString": "Interface", + "id": 84, + "name": "GoTrueClient", + "variant": "declaration", + "kind": 128, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An authentication methord reference (AMR) entry.\n\nAn entry designates what method was used by the user to verify their\nidentity and at what time." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "getAuthenticatorAssuranceLevel", - "target": 1130 - }, - { - "kind": "text", - "text": "." - } - ] - } - ] - }, "children": [ { - "id": 725, - "name": "method", - "kind": 1024, - "kindString": "Property", + "id": 86, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authentication method name." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 283, + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 267, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L283" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L267" } ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "password" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "signatures": [ + { + "id": 87, + "name": "GoTrueClient", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ { - "type": "reflection", - "declaration": { - "id": 726, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } + "kind": "text", + "text": "Create a new client for use in the browser." } ] }, - { - "type": "literal", - "value": "otp" - }, - { - "type": "literal", - "value": "oauth" - }, - { - "type": "literal", - "value": "mfa/totp" - } - ] - } - }, - { - "id": 727, - "name": "timestamp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 289, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L289" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [725, 727] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 281, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L281" - } - ] - }, - { - "id": 787, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 789, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's application specific metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.app_metadata`" - }, - { - "kind": "text", - "text": " column.\n\nOnly a service role can modify.\n\nThe " - }, - { - "kind": "code", - "text": "`app_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L421" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 792, - "name": "ban_duration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 447, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L447" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 799, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.email" - } - }, - { - "id": 790, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 428, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L428" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 795, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " for the user.\n\nAllows you to overwrite the default " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " set for the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L472" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 797, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 267, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L267" + } + ], + "parameters": [ + { + "id": 88, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 659, + "name": "GoTrueClientOptions", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": 84, + "name": "GoTrueClient", + "package": "@supabase/auth-js", + "qualifiedName": "default" + } } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.nonce" - } + ] }, { - "id": 796, - "name": "password", + "id": 90, + "name": "admin", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's password." + "text": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 382, + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 194, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L194" } ], "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "name": "Omit.password" + "target": 1, + "name": "GoTrueAdminApi", + "package": "@supabase/auth-js", + "qualifiedName": "default" } }, { - "id": 794, - "name": "password_hash", + "id": 91, + "name": "mfa", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`password_hash`" - }, - { - "kind": "text", - "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes." + "text": "Namespace for the MFA methods." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 465, + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 198, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L465" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L198" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 1094, + "name": "GoTrueMFAApi", + "package": "@supabase/auth-js" } }, { - "id": 798, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone." - } - ] - }, + "id": 166, + "name": "exchangeCodeForSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 679, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L679" } ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.phone" - } + "signatures": [ + { + "id": 167, + "name": "exchangeCodeForSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 679, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L679" + } + ], + "parameters": [ + { + "id": 168, + "name": "authCode", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 722, + "name": "AuthTokenResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] }, { - "id": 791, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify." - } - ] - }, + "id": 598, + "name": "getClaims", + "variant": "declaration", + "kind": 2048, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 435, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L435" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3401, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3401" } ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 793, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to " - }, - { - "kind": "code", - "text": "`authenticated`" - }, - { - "kind": "text", - "text": " by default. You should only modify the " - }, - { - "kind": "code", - "text": "`role`" - }, - { - "kind": "text", - "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to " - }, - { - "kind": "code", - "text": "`service_role`" + "signatures": [ + { + "id": 599, + "name": "getClaims", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Extracts the JWT claims present in the access token by first verifying the\nJWT against the server's JSON Web Key Set endpoint\n" + }, + { + "kind": "code", + "text": "`/.well-known/jwks.json`" + }, + { + "kind": "text", + "text": " which is often cached, resulting in significantly\nfaster responses. Prefer this method over " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#getUser" + }, + { + "kind": "text", + "text": " which always\nsends a request to the Auth server for each JWT.\n\nIf the project is not using an asymmetric JWT signing key (like ECC or\nRSA) it always sends a request to the Auth server (similar to " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#getUser" + }, + { + "kind": "text", + "text": ") to verify the JWT." + } + ] }, - { - "kind": "text", - "text": " is not recommended as it grants the user admin privileges." + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3401, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3401" + } + ], + "parameters": [ + { + "id": 600, + "name": "jwt", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An optional specific JWT you wish to verify, not the one you\n can obtain from " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#getSession" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 601, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Various additional options that allow you to customize the\n behavior of this method." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 602, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 604, + "name": "allowExpired", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " the " + }, + { + "kind": "code", + "text": "`exp`" + }, + { + "kind": "text", + "text": " claim will not be validated against the current time." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3410, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3410" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 605, + "name": "jwks", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3413, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3413" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 606, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 607, + "name": "keys", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3413, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3413" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1277, + "name": "JWK", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [607] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3413, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3413" + } + ] + } + } + }, + { + "id": 603, + "name": "keys", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Please use options.jwks instead." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3407, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3407" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1277, + "name": "JWK", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [604, 605, 603] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3403, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3403" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 608, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 609, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3417, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3417" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 610, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 611, + "name": "claims", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3417, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3417" + } + ], + "type": { + "type": "reference", + "target": 1273, + "name": "JwtPayload", + "package": "@supabase/auth-js" + } + }, + { + "id": 612, + "name": "header", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3417, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3417" + } + ], + "type": { + "type": "reference", + "target": 1258, + "name": "JwtHeader", + "package": "@supabase/auth-js" + } + }, + { + "id": 613, + "name": "signature", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3417, + "character": 55, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3417" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, + "name": "Uint8Array", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [611, 612, 613] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3417, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3417" + } + ] + } + } + }, + { + "id": 614, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3418, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3418" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [609, 614] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3416, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3416" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 615, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 616, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3420, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3420" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 617, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3420, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3420" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [616, 617] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3420, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3420" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 618, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 619, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3421, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3421" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 620, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3421, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3421" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [619, 620] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3421, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L3421" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L456" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, { - "id": 788, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\n\nThe " - }, - { - "kind": "code", - "text": "`user_metadata`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data." - } - ] - }, + "id": 241, + "name": "getSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 411, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L411" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1383, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1383" } ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 400, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L400" - } - ], - "extendedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 781, - "name": "UserAttributes" - }, + "signatures": [ { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ] - }, - { - "id": 740, - "name": "Factor", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A MFA factor." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "enroll", - "target": 1109 - }, - { - "kind": "text", - "text": "\n" - }, - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "listFactors", - "target": 1128 - }, - { - "kind": "text", - "text": "\n" - }, - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "GoTrueMFAAdminApi#listFactors" + "id": 242, + "name": "getSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns the session, refreshing it if necessary.\n\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.\n\n**IMPORTANT:** This method loads values directly from the storage attached\nto the client. If that storage is based on request cookies for example,\nthe values in it may not be authentic and therefore it's strongly advised\nagainst using this method and its results in such circumstances. A warning\nwill be emitted if this is detected. Use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#getUser()" + }, + { + "kind": "text", + "text": " instead." + } + ] }, - { - "kind": "text", - "text": "\n" + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1383, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1383" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 243, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 244, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1476, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1476" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 245, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 246, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1477, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1477" + } + ], + "type": { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [246] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1476, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1476" + } + ] + } + } + }, + { + "id": 247, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1479, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1479" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [244, 247] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1475, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1475" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 248, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 249, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1482, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1482" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 250, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 251, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1483, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1483" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [251] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1482, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1482" + } + ] + } + } + }, + { + "id": 252, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1485, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1485" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [249, 252] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1481, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1481" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 253, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 254, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1488, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1488" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 256, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1489, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1489" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [256] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1488, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1488" + } + ] + } + } + }, + { + "id": 257, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1491, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1491" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [254, 257] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1487, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1487" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - } - ] - }, - "children": [ - { - "id": 746, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 327, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L327" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, { - "id": 743, - "name": "factor_type", - "kind": 1024, - "kindString": "Property", + "id": 304, + "name": "getUser", + "variant": "declaration", + "kind": 2048, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Type of factor. " - }, - { - "kind": "code", - "text": "`totp`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`phone`" - }, - { - "kind": "text", - "text": " supported with this version" - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 322, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L322" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1627, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1627" } ], - "type": { - "type": "union", - "types": [ - { - "type": "intersection", - "types": [ + "signatures": [ + { + "id": 305, + "name": "getUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { + "kind": "text", + "text": "Gets the current user details if there is an existing session. This method\nperforms a network request to the Supabase Auth server, so the returned\nvalue is authentic and can be used to base authorization rules on." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1627, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1627" + } + ], + "parameters": [ + { + "id": 306, + "name": "jwt", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Takes in an optional access token JWT. If no JWT is provided, the JWT from the current session is used." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" - }, + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 744, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } + "type": "reference", + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" } - ] - }, - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - }, - { - "id": 742, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Friendly name of the factor, useful to disambiguate between multiple factors." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 317, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L317" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 741, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 314, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L314" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 745, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Factor's status." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 325, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L325" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - } - }, - { - "id": 747, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 328, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L328" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [746, 743, 742, 741, 745, 747] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 312, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L312" - } - ] - }, - { - "id": 1009, - "name": "GenerateLinkOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 1010, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 851, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L851" } - ], - "type": { - "type": "intrinsic", - "name": "object" - } + ] }, { - "id": 1011, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The URL which will be appended to the email link generated." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L853" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1010, 1011] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 845, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L845" - } - ] - }, - { - "id": 1157, - "name": "GoTrueAdminMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains the full multi-factor authentication administration API." - } - ], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "children": [ - { - "id": 1161, - "name": "deleteFactor", + "id": 423, + "name": "getUserIdentities", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1169, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1169" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2207, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2207" } ], "signatures": [ { - "id": 1162, - "name": "deleteFactor", + "id": 424, + "name": "getUserIdentities", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "unenroll", - "target": 1122 - } - ] - }, - { - "tag": "@expermental", - "content": [] + "text": "Gets all the identities linked to a user." } ] }, - "parameters": [ + "sources": [ { - "id": 1163, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "dereferenced": { - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2207, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2207" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 426, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2209, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2209" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 427, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 428, + "name": "identities", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2210, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2210" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 764, + "name": "UserIdentity", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [428] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2209, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2209" + } + ] + } + } + }, + { + "id": 429, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2212, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2212" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [426, 429] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2208, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2208" + } + ] } - ], - "type": { + }, + { "type": "reflection", "declaration": { - "id": 1142, + "id": 430, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1143, - "name": "id", + "id": 431, + "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the MFA factor to delete." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1122, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1122" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2214, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2214" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null } }, { - "id": 1144, - "name": "userId", + "id": 432, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user whose factor is being deleted." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1125, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1125" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2214, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2214" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1143, 1144] + "children": [431, 432] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 45, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2214, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2214" } ] } } - } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 150, + "name": "initialize", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 381, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L381" + } + ], + "signatures": [ + { + "id": 151, + "name": "initialize", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)." } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 381, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L381" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1132, - "name": "AuthMFAAdminDeleteFactorResponse" + "target": 1234, + "name": "InitializeResult", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1158, - "name": "listFactors", + "id": 433, + "name": "linkIdentity", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1159, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1159" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2232, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2232" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2237, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2237" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2239, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2239" } ], "signatures": [ { - "id": 1159, - "name": "listFactors", + "id": 434, + "name": "linkIdentity", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Lists all factors associated to a user." + "text": "Links an oauth identity to an existing user.\nThis method supports the PKCE flow." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2232, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2232" + } + ], "parameters": [ { - "id": 1160, - "name": "params", + "id": 435, + "name": "credentials", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "dereferenced": { - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", + "target": 886, + "name": "SignInWithOAuthCredentials", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 731, + "name": "OAuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 436, + "name": "linkIdentity", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Links an OIDC identity to an existing user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2237, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2237" + } + ], + "parameters": [ + { + "id": 437, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 898, + "name": "SignInWithIdTokenCredentials", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 722, + "name": "AuthTokenResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 385, + "name": "onAuthStateChange", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2085, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2085" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2101, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2101" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2105, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2105" + } + ], + "signatures": [ + { + "id": 386, + "name": "onAuthStateChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Receive a notification every time an auth event happens.\nSafe to use without an async function as callback." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2085, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2085" + } + ], + "parameters": [ + { + "id": 387, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A callback function to be invoked when an auth event happens." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 388, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2085, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2085" + } + ], + "signatures": [ + { + "id": 389, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2085, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2085" + } + ], + "parameters": [ + { + "id": 390, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 649, + "name": "AuthChangeEvent", + "package": "@supabase/auth-js" + } + }, + { + "id": 391, + "name": "session", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" } - ] - }, + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 392, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 393, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2086, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2086" } ], "type": { "type": "reflection", "declaration": { - "id": 1155, + "id": 394, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1156, - "name": "userId", + "id": 395, + "name": "subscription", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1146, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1146" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2086, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2086" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 839, + "name": "Subscription", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1156] + "children": [395] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2086, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2086" } ] } } } - } + ], + "groups": [ + { + "title": "Properties", + "children": [393] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2085, + "character": 90, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2085" + } + ] } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1145, - "name": "AuthMFAAdminListFactorsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [1161, 1158] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1154, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1154" - } - ] - }, - { - "id": 1108, - "name": "GoTrueMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains the full multi-factor authentication API." - } - ] - }, - "children": [ - { - "id": 1116, - "name": "challenge", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1058, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1058" - } - ], - "signatures": [ + }, { - "id": 1117, - "name": "challenge", + "id": 396, + "name": "onAuthStateChange", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Prepares a challenge used to verify that a user has access to a MFA\nfactor." + "text": "Avoid using an async function inside " + }, + { + "kind": "code", + "text": "`onAuthStateChange`" + }, + { + "kind": "text", + "text": " as you might end\nup with a deadlock. The callback function runs inside an exclusive lock,\nso calling other Supabase Client APIs that also try to acquire the\nexclusive lock, might cause a deadlock. This behavior is observable across\ntabs. In the next major library version, this behavior will not be supported.\n\nReceive a notification every time an auth event happens." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Due to the possibility of deadlocks with async functions as callbacks, use the version without an async function." + } + ] } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2101, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2101" + } + ], "parameters": [ { - "id": 1118, - "name": "params", + "id": 397, + "name": "callback", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A callback function to be invoked when an auth event happens." + } + ] + }, "type": { - "type": "reference", - "id": 1043, - "name": "MFAChallengeParams", - "dereferenced": { - "id": 1043, - "name": "MFAChallengeParams", - "kind": 4194304, - "kindString": "Type alias", + "type": "reflection", + "declaration": { + "id": 398, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2101, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2101" + } + ], + "signatures": [ + { + "id": 399, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2101, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2101" + } + ], + "parameters": [ + { + "id": 400, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 649, + "name": "AuthChangeEvent", + "package": "@supabase/auth-js" + } + }, + { + "id": 401, + "name": "session", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 402, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 403, + "name": "data", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 926, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L926" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2102, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2102" } ], "type": { "type": "reflection", "declaration": { - "id": 1044, + "id": 404, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1046, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 930, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L930" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 1045, - "name": "factorId", + "id": 405, + "name": "subscription", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor to be challenged. Returned in enroll()." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 928, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L928" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2102, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2102" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 839, + "name": "Subscription", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1046, 1045] + "children": [405] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 926, - "character": 33, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L926" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2102, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2102" } ] } } } + ], + "groups": [ + { + "title": "Properties", + "children": [403] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2101, + "character": 99, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2101" + } + ] + } + } + } + ] + }, + { + "id": 234, + "name": "reauthenticate", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1299, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1299" + } + ], + "signatures": [ + { + "id": 235, + "name": "reauthenticate", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in." } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1299, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1299" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1074, - "name": "AuthMFAChallengeResponse" + "target": 708, + "name": "AuthResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1125, - "name": "challengeAndVerify", + "id": 334, + "name": "refreshSession", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1076, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1076" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1832, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1832" } ], "signatures": [ { - "id": 1126, - "name": "challengeAndVerify", + "id": 335, + "name": "refreshSession", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app." + "text": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1832, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1832" + } + ], "parameters": [ { - "id": 1127, - "name": "params", + "id": 336, + "name": "currentSession", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The current session. If passed in, it must contain a refresh token." + } + ] + }, "type": { - "type": "reference", - "id": 1047, - "name": "MFAChallengeAndVerifyParams", - "dereferenced": { - "id": 1047, - "name": "MFAChallengeAndVerifyParams", - "kind": 4194304, - "kindString": "Type alias", + "type": "reflection", + "declaration": { + "id": 337, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 933, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L933" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1048, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 338, + "name": "refresh_token", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1050, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification code provided by the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 937, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L937" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1049, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being verified. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 935, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L935" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1050, 1049] - } - ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 933, + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1832, "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L933" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1832" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } + ], + "groups": [ + { + "title": "Properties", + "children": [338] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1832, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1832" + } + ] } } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1051, - "name": "AuthMFAVerifyResponse" + "target": 708, + "name": "AuthResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1109, - "name": "enroll", + "id": 238, + "name": "resend", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1050, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1050" - }, - { - "fileName": "src/lib/types.ts", - "line": 1051, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1051" - }, - { - "fileName": "src/lib/types.ts", - "line": 1052, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1052" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1334, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1334" } ], "signatures": [ { - "id": 1110, - "name": "enroll", + "id": 239, + "name": "resend", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new " - }, - { - "kind": "code", - "text": "`unverified`" - }, - { - "kind": "text", - "text": " factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.\n\nUpon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to " - }, - { - "kind": "code", - "text": "`aal2`" - }, - { - "kind": "text", - "text": "." + "text": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1334, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1334" + } + ], "parameters": [ { - "id": 1111, - "name": "params", + "id": 240, + "name": "credentials", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1191, - "name": "MFAEnrollTOTPParams", - "dereferenced": { - "id": 1191, - "name": "MFAEnrollTOTPParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1193, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1236" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 1195, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1240" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1194, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain which the user is enrolled with." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1238" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1193, 1195, 1194] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ] - } - } - } + "target": 982, + "name": "ResendParams", + "package": "@supabase/auth-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1201, - "name": "AuthMFAEnrollTOTPResponse" + "target": 717, + "name": "AuthOtpResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 409, + "name": "resetPasswordForEmail", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 1112, - "name": "enroll", + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2161, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2161" + } + ], + "signatures": [ + { + "id": 410, + "name": "resetPasswordForEmail", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends a password reset request to an email address. This method supports the PKCE flow." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2161, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2161" + } + ], "parameters": [ { - "id": 1113, - "name": "params", + "id": 411, + "name": "email", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, "type": { - "type": "reference", - "id": 1196, - "name": "MFAEnrollPhoneParams", - "dereferenced": { - "id": 1196, - "name": "MFAEnrollPhoneParams", - "kind": 4194304, - "kindString": "Type alias", + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 412, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" + "id": 415, + "name": "captchaToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification token received when the user completes the captcha on the site." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2165, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2165" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 414, + "name": "redirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL to send the user to after they click the password reset link." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2164, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2164" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "type": { + "groups": [ + { + "title": "Properties", + "children": [415, 414] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2163, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2163" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { "type": "reflection", "declaration": { - "id": 1197, + "id": 416, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1198, - "name": "factorType", + "id": 417, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2169, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2169" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 418, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + }, + { + "id": 419, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1244, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1244" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2170, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2170" } ], "type": { "type": "literal", - "value": "phone" + "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "children": [417, 419] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2168, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2168" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 420, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 1199, - "name": "friendlyName", + "id": 421, + "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1246" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2172, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2172" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null } }, { - "id": 1200, - "name": "phone", + "id": 422, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Phone number associated with a factor. Number should conform to E.164 format" - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1248" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2172, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2172" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1198, 1199, 1200] + "children": [421, 422] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2172, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2172" } ] } } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1217, - "name": "AuthMFAEnrollPhoneResponse" + ] } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 322, + "name": "setSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 1114, - "name": "enroll", + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1757, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1757" + } + ], + "signatures": [ + { + "id": 323, + "name": "setSession", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1757, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1757" + } + ], "parameters": [ { - "id": 1115, - "name": "params", + "id": 324, + "name": "currentSession", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The current session that minimally contains an access token and refresh token." + } + ] + }, "type": { - "type": "reference", - "id": 1034, - "name": "MFAEnrollParams", - "dereferenced": { - "id": 1034, - "name": "MFAEnrollParams", - "kind": 4194304, - "kindString": "Type alias", + "type": "reflection", + "declaration": { + "id": 325, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 908, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L908" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 1191, - "name": "MFAEnrollTOTPParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1193, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1236" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 1195, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1240" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1194, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain which the user is enrolled with." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1238" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1193, 1195, 1194] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ] - } + "id": 326, + "name": "access_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1758, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1758" } - }, - { - "id": 1196, - "name": "MFAEnrollPhoneParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1198, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1244, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1244" - } - ], - "type": { - "type": "literal", - "value": "phone" - } - }, - { - "id": 1199, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1246" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1200, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Phone number associated with a factor. Number should conform to E.164 format" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1248" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1198, 1199, 1200] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ] - } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "refresh_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1759, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1759" } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [326, 327] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1757, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1757" + } + ] } } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1064, - "name": "AuthMFAEnrollResponse" + "target": 708, + "name": "AuthResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1130, - "name": "getAuthenticatorAssuranceLevel", + "id": 154, + "name": "signInAnonymously", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1101, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1101" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 484, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L484" } ], "signatures": [ { - "id": 1131, - "name": "getAuthenticatorAssuranceLevel", + "id": 155, + "name": "signInAnonymously", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Returns the Authenticator Assurance Level (AAL) for the active session.\n\n- " - }, - { - "kind": "code", - "text": "`aal1`" - }, - { - "kind": "text", - "text": " (or " - }, - { - "kind": "code", - "text": "`null`" - }, + "text": "Creates a new anonymous user." + } + ], + "blockTags": [ { - "kind": "text", - "text": ") means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- " + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A session where the is_anonymous claim in the access token JWT set to true" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 484, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L484" + } + ], + "parameters": [ + { + "id": 156, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, + "type": { + "type": "reference", + "target": 849, + "name": "SignInAnonymouslyCredentials", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "code", - "text": "`aal2`" - }, + "type": "reference", + "target": 708, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 222, + "name": "signInWithIdToken", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1092, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1092" + } + ], + "signatures": [ + { + "id": 223, + "name": "signInWithIdToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors." + "text": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1092, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1092" + } + ], + "parameters": [ + { + "id": 224, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 898, + "name": "SignInWithIdTokenCredentials", + "package": "@supabase/auth-js" + } + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1097, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" + "target": 722, + "name": "AuthTokenResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1128, - "name": "listFactors", + "id": 163, + "name": "signInWithOAuth", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1086, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1086" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 667, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L667" } ], "signatures": [ { - "id": 1129, - "name": "listFactors", + "id": 164, + "name": "signInWithOAuth", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Returns the list of MFA factors enabled for this user." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "enroll", - "target": 1109 - }, - { - "kind": "text", - "text": "\n" - }, - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "getAuthenticatorAssuranceLevel", - "target": 1130 - }, - { - "kind": "text", - "text": "\n" - }, - { - "kind": "text", - "text": " - " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "getUser", - "target": 295 - }, - { - "kind": "text", - "text": "\n" - } - ] + "text": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 667, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L667" + } + ], + "parameters": [ + { + "id": 165, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 886, + "name": "SignInWithOAuthCredentials", + "package": "@supabase/auth-js" + } + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1085, - "name": "AuthMFAListFactorsResponse" + "target": 731, + "name": "OAuthResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1122, - "name": "unenroll", + "id": 225, + "name": "signInWithOtp", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1070, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1070" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1147, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1147" } ], "signatures": [ { - "id": 1123, - "name": "unenroll", + "id": 226, + "name": "signInWithOtp", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Unenroll removes a MFA factor.\nA user has to have an " + "text": "Log in a user using magiclink or a one-time password (OTP).\n\nIf the " }, { "kind": "code", - "text": "`aal2`" + "text": "`{{ .ConfirmationURL }}`" }, { "kind": "text", - "text": " authenticator level in order to unenroll a " + "text": " variable is specified in the email template, a magiclink will be sent.\nIf the " }, { "kind": "code", - "text": "`verified`" + "text": "`{{ .Token }}`" }, { "kind": "text", - "text": " factor." + "text": " variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1147, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1147" + } + ], "parameters": [ { - "id": 1124, - "name": "params", + "id": 227, + "name": "credentials", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1035, - "name": "MFAUnenrollParams", - "dereferenced": { - "id": 1035, - "name": "MFAUnenrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 910, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L910" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1036, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1037, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being unenrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 912, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L912" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1037] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 910, - "character": 32, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L910" - } - ] - } - } - } + "target": 868, + "name": "SignInWithPasswordlessCredentials", + "package": "@supabase/auth-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1065, - "name": "AuthMFAUnenrollResponse" + "target": 717, + "name": "AuthOtpResponse", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 1119, - "name": "verify", + "id": 160, + "name": "signInWithPassword", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1064, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1064" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 604, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L604" } ], "signatures": [ { - "id": 1120, - "name": "verify", + "id": 161, + "name": "signInWithPassword", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app." + "text": "Log in an existing user with an email and password or phone and password.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login." } ] }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 604, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L604" + } + ], "parameters": [ { - "id": 1121, - "name": "params", + "id": 162, + "name": "credentials", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1038, - "name": "MFAVerifyParams", - "dereferenced": { - "id": 1038, - "name": "MFAVerifyParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 915, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L915" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1039, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1041, - "name": "challengeId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the challenge being verified. Returned in challenge()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 920, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L920" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1042, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification code provided by the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 923, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L923" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1040, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being verified. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 917, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L917" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1041, 1042, 1040] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 915, - "character": 30, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L915" - } - ] - } - } - } + "target": 863, + "name": "SignInWithPasswordCredentials", + "package": "@supabase/auth-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 1051, - "name": "AuthMFAVerifyResponse" + "target": 726, + "name": "AuthTokenResponsePassword", + "package": "@supabase/auth-js" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [1116, 1125, 1109, 1130, 1128, 1122, 1119] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1039, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1039" - } - ] - }, - { - "id": 1248, - "name": "JWK", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 1251, - "name": "alg", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1332, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1332" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } }, { - "id": 1250, - "name": "key_ops", - "kind": 1024, - "kindString": "Property", + "id": 231, + "name": "signInWithSSO", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1331, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1331" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1252, - "name": "kid", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1333, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1333" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1261, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1261" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1249, - "name": "kty", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 1330, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1330" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "RSA" - }, - { - "type": "literal", - "value": "EC" + "id": 232, + "name": "signInWithSSO", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.\n\nYou can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead." + } + ] }, - { - "type": "literal", - "value": "oct" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1251, 1250, 1252, 1249] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1329, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1329" - } - ], - "indexSignature": { - "id": 1253, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 1254, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 715, - "name": "Session", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 718, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 252, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L252" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A timestamp of when the token will expire. Returned when a login is confirmed." + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1261, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1261" + } + ], + "parameters": [ + { + "id": 233, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 996, + "name": "SignInWithSSO", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 744, + "name": "SSOResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 264, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L264" } - ], - "type": { - "type": "intrinsic", - "name": "number" - } + ] }, { - "id": 720, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", + "id": 169, + "name": "signInWithWeb3", + "variant": "declaration", + "kind": 2048, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 260, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L260" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 717, - "name": "provider_refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L248" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 694, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L694" } ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 716, - "name": "provider_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - } - ] - }, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 243, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L243" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 719, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A one-time used refresh token that never expires." + "id": 170, + "name": "signInWithWeb3", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Signs in a user by verifying a message signed by the user's private key.\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\nboth of which derive from the EIP-4361 standard\nWith slight variation on Solana's side." + } + ], + "blockTags": [ + { + "tag": "@reference", + "content": [ + { + "kind": "text", + "text": "https://eips.ethereum.org/EIPS/eip-4361" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 694, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L694" + } + ], + "parameters": [ + { + "id": 171, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 959, + "name": "Web3Credentials", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 172, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 173, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 696, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L696" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 174, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 175, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 696, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L696" + } + ], + "type": { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + } + }, + { + "id": 176, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 696, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L696" + } + ], + "type": { + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [175, 176] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 696, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L696" + } + ] + } + } + }, + { + "id": 177, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 697, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L697" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [173, 177] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 695, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L695" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 178, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 179, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 699, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L699" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 180, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 181, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 699, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L699" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 182, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 699, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L699" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [181, 182] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 699, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L699" + } + ] + } + } + }, + { + "id": 183, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 699, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L699" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [179, 183] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 699, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L699" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 256, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L256" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, { - "id": 722, - "name": "token_type", - "kind": 1024, - "kindString": "Property", + "id": 375, + "name": "signOut", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 265, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L265" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2039, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2039" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 723, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When using a separate user storage, accessing properties of this object will throw an error." - } - ] - }, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 270, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L270" - } - ], - "type": { - "type": "reference", - "id": 755, - "name": "User", - "dereferenced": { - "id": 755, - "name": "User", - "kind": 256, - "kindString": "Interface", + "id": 376, + "name": "signOut", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ - { - "id": 766, - "name": "action_link", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Inside a browser context, " }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 351, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L351" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "code", + "text": "`signOut()`" + }, + { + "kind": "text", + "text": " will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a " + }, + { + "kind": "code", + "text": "`\"SIGNED_OUT\"`" + }, + { + "kind": "text", + "text": " event.\n\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to " + }, + { + "kind": "code", + "text": "`auth.api.signOut(JWT: string)`" + }, + { + "kind": "text", + "text": ".\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n\nIf using " + }, + { + "kind": "code", + "text": "`others`" + }, + { + "kind": "text", + "text": " scope, no " + }, + { + "kind": "code", + "text": "`SIGNED_OUT`" + }, + { + "kind": "text", + "text": " event is fired!" } - }, + ] + }, + "sources": [ { - "id": 757, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2039, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2039" + } + ], + "parameters": [ + { + "id": 377, + "name": "options", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L342" - } - ], "type": { "type": "reference", - "id": 748, - "name": "UserAppMetadata", - "dereferenced": { - "id": 748, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", + "target": 1249, + "name": "SignOut", + "package": "@supabase/auth-js" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 378, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, "children": [ { - "id": 749, - "name": "provider", + "id": 379, + "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L332" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2039, + "character": 67, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2039" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] } } ], "groups": [ { "title": "Properties", - "children": [749] + "children": [379] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L331" - } - ], - "indexSignature": { - "id": 750, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 751, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2039, + "character": 65, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2039" } - } - } - } - }, - { - "id": 759, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L344" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 760, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L345" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 770, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 355, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L355" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 769, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L354" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 780, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 365, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L365" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 767, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L352" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L347" + ] } - ], - "type": { - "type": "intrinsic", - "name": "string" } - }, - { - "id": 771, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L356" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 157, + "name": "signUp", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 527, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L527" + } + ], + "signatures": [ + { + "id": 158, + "name": "signUp", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new user.\n\nBe aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled." } - }, - { - "id": 779, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A logged-in session if the server has \"autoconfirm\" ON" + } + ] }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 364, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L364" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 740, - "name": "Factor" - } + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A user if the server has \"autoconfirm\" OFF" + } + ] } - }, + ] + }, + "sources": [ { - "id": 756, - "name": "id", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 527, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L527" + } + ], + "parameters": [ + { + "id": 159, + "name": "credentials", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L341" - } - ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 855, + "name": "SignUpWithPasswordCredentials", + "package": "@supabase/auth-js" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 776, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L361" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 728, - "name": "UserIdentity" - } + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "AuthResponse", + "package": "@supabase/auth-js" } - }, - { - "id": 765, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 499, + "name": "startAutoRefresh", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2814, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2814" + } + ], + "signatures": [ + { + "id": 500, + "name": "startAutoRefresh", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.\n\nIf you set the " }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L350" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 777, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueClientOptions#autoRefreshToken", + "target": 668 }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L362" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 778, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + { + "kind": "text", + "text": " you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 363, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L363" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" + { + "kind": "inline-tag", + "tag": "@see", + "text": "#stopAutoRefresh" } - }, + ] + }, + "sources": [ { - "id": 773, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 358, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L358" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2814, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2814" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 763, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L348" - } - ], - "type": { + "typeArguments": [ + { "type": "intrinsic", - "name": "string" + "name": "void" } - }, - { - "id": 764, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 501, + "name": "stopAutoRefresh", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2827, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2827" + } + ], + "signatures": [ + { + "id": 502, + "name": "stopAutoRefresh", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Stops an active auto refresh process running in the background (if any).\n\nIf you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee " }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L349" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 768, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + { + "kind": "inline-tag", + "tag": "@link", + "text": "#startAutoRefresh" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L353" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "text", + "text": " for more details." } - }, + ] + }, + "sources": [ { - "id": 772, - "name": "phone_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 357, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L357" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2827, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2827" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 761, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L346" - } - ], - "type": { + "typeArguments": [ + { "type": "intrinsic", - "name": "string" + "name": "void" } - }, - { - "id": 774, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 359, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L359" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 444, + "name": "unlinkIdentity", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2333, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2333" + } + ], + "signatures": [ + { + "id": 445, + "name": "unlinkIdentity", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unlinks an identity from a user by deleting it. The user will no longer be able to sign in with that identity once it's unlinked." } - }, + ] + }, + "sources": [ { - "id": 775, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L360" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2333, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2333" + } + ], + "parameters": [ { - "id": 758, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", + "id": 446, + "name": "identity", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L343" - } - ], "type": { "type": "reference", - "id": 752, - "name": "UserMetadata", - "dereferenced": { - "id": 752, - "name": "UserMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 336, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L336" - } - ], - "indexSignature": { - "id": 753, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 754, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "target": 764, + "name": "UserIdentity", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 447, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 448, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2335, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2335" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 449, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + }, + { + "id": 450, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2336, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2336" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [448, 450] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2334, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2334" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 451, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 452, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2338, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2338" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 453, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2338, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2338" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + ], + "groups": [ + { + "title": "Properties", + "children": [452, 453] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2338, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L2338" + } + ] } } - } + ] } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, - 778, 773, 763, 764, 768, 772, 761, 774, 775, 758 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L340" - } - ] + ], + "name": "Promise", + "package": "typescript" + } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [718, 721, 720, 717, 716, 719, 722, 723] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 239, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L239" - } - ] - }, - { - "id": 800, - "name": "Subscription", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ + ] + }, { - "id": 802, - "name": "callback", - "kind": 1024, - "kindString": "Property", + "id": 310, + "name": "updateUser", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 483, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L483" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1688, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1688" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 803, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "signatures": [ + { + "id": 311, + "name": "updateUser", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates user data for a logged in user." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 483, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L483" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1688, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1688" } ], - "signatures": [ + "parameters": [ { - "id": 804, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 312, + "name": "attributes", + "variant": "param", + "kind": 32768, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The function to call every time there is an event. eg: (eventName) => {}" - } - ] - }, - "parameters": [ - { - "id": 805, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 574, - "name": "AuthChangeEvent" - } - }, - { - "id": 806, - "name": "session", - "kind": 32768, - "kindString": "Parameter", + "type": { + "type": "reference", + "target": 820, + "name": "UserAttributes", + "package": "@supabase/auth-js" + } + }, + { + "id": 313, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 314, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "children": [ + { + "id": 315, + "name": "emailRedirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "reference", - "id": 715, - "name": "Session" + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1691, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1691" + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [315] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1690, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1690" + } + ] } - ], - "type": { - "type": "intrinsic", - "name": "void" - } + }, + "defaultValue": "{}" } - ] - } - } - }, - { - "id": 801, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The subscriber UUID. This will be set by the client." + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 747, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 479, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L479" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, { - "id": 807, - "name": "unsubscribe", - "kind": 1024, - "kindString": "Property", + "id": 228, + "name": "verifyOtp", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 487, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L487" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1200, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1200" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 808, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "signatures": [ + { + "id": 229, + "name": "verifyOtp", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Log in a user given a User supplied OTP or TokenHash received through mobile or email." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 487, - "character": 15, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L487" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1200, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L1200" } ], - "signatures": [ + "parameters": [ { - "id": 809, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 230, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Call this to remove the listener." - } - ] - }, "type": { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 960, + "name": "VerifyOtpParams", + "package": "@supabase/auth-js" } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } } - } + ] } ], "groups": [ + { + "title": "Constructors", + "children": [86] + }, { "title": "Properties", - "children": [802, 801, 807] + "children": [90, 91] + }, + { + "title": "Methods", + "children": [ + 166, 598, 241, 304, 423, 150, 433, 385, 234, 334, 238, 409, 322, 154, 222, 163, 225, + 160, 231, 169, 375, 157, 499, 501, 444, 310, 228 + ] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 475, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L475" + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 185, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/GoTrueClient.ts#L185" } ] }, { - "id": 755, - "name": "User", - "kind": 256, - "kindString": "Interface", + "id": 631, + "name": "NavigatorLockAcquireTimeoutError", + "variant": "declaration", + "kind": 128, "flags": {}, "children": [ { - "id": 766, - "name": "action_link", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 351, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L351" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 757, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L342" - } - ], - "type": { - "type": "reference", - "id": 748, - "name": "UserAppMetadata", - "dereferenced": { - "id": 748, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 749, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L332" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [749] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L331" - } - ], - "indexSignature": { - "id": 750, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 751, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 759, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L344" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 760, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L345" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 770, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 355, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L355" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 769, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L354" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 780, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 365, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L365" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 767, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L352" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "id": 632, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 347, + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 26, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L347" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L26" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 771, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L356" + "id": 633, + "name": "NavigatorLockAcquireTimeoutError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L26" + } + ], + "parameters": [ + { + "id": 634, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 631, + "name": "NavigatorLockAcquireTimeoutError", + "package": "@supabase/auth-js" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LockAcquireTimeoutError.constructor" + } } ], - "type": { - "type": "intrinsic", - "name": "string" + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LockAcquireTimeoutError.constructor" } }, { - "id": 779, - "name": "factors", + "id": 635, + "name": "isAcquireTimeout", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isOptional": true + "isPublic": true, + "isReadonly": true, + "isInherited": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 364, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L364" + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 24, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L24" } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 740, - "name": "Factor" - } + "type": "literal", + "value": true + }, + "defaultValue": "true", + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LockAcquireTimeoutError.isAcquireTimeout" } - }, + } + ], + "groups": [ { - "id": 756, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L341" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "title": "Constructors", + "children": [632] }, { - "id": 776, - "name": "identities", + "title": "Properties", + "children": [635] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 31, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L31" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError" + }, + "name": "LockAcquireTimeoutError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 826, + "name": "AdminUserAttributes", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 828, + "name": "app_metadata", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object to store the user's application specific metadata. This maps to the " + }, + { + "kind": "code", + "text": "`auth.users.app_metadata`" + }, + { + "kind": "text", + "text": " column.\n\nOnly a service role can modify.\n\nThe " + }, + { + "kind": "code", + "text": "`app_metadata`" + }, + { + "kind": "text", + "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 361, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 438, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L361" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L438" } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 728, - "name": "UserIdentity" - } + "type": "intrinsic", + "name": "object" } }, { - "id": 765, - "name": "invited_at", + "id": 831, + "name": "ban_duration", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 350, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 464, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L350" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L464" } ], "type": { @@ -37134,40 +16259,62 @@ } }, { - "id": 777, - "name": "is_anonymous", + "id": 836, + "name": "email", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isOptional": true + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 362, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 389, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L362" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L389" } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.email" } }, { - "id": 778, - "name": "is_sso_user", + "id": 829, + "name": "email_confirm", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 363, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 445, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L363" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L445" } ], "type": { @@ -37176,19 +16323,43 @@ } }, { - "id": 773, - "name": "last_sign_in_at", + "id": 834, + "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " for the user.\n\nAllows you to overwrite the default " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " set for the user." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 358, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 489, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L358" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L489" } ], "type": { @@ -37197,61 +16368,105 @@ } }, { - "id": 763, - "name": "new_email", + "id": 835, + "name": "nonce", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isOptional": true + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 348, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 406, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L348" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L406" } ], "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.nonce" } }, { - "id": 764, - "name": "new_phone", + "id": 838, + "name": "password", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isOptional": true + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's password." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 349, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 399, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L349" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L399" } ], "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.password" } }, { - "id": 768, - "name": "phone", + "id": 833, + "name": "password_hash", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`password_hash`" + }, + { + "kind": "text", + "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 353, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 482, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L353" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L482" } ], "type": { @@ -37260,61 +16475,123 @@ } }, { - "id": 772, - "name": "phone_confirmed_at", + "id": 837, + "name": "phone", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isOptional": true + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 357, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 394, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L357" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L394" } ], "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.phone" } }, { - "id": 761, - "name": "recovery_sent_at", + "id": 830, + "name": "phone_confirm", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 346, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 452, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L346" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L452" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 774, + "id": 832, "name": "role", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`role`" + }, + { + "kind": "text", + "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to " + }, + { + "kind": "code", + "text": "`authenticated`" + }, + { + "kind": "text", + "text": " by default. You should only modify the " + }, + { + "kind": "code", + "text": "`role`" + }, + { + "kind": "text", + "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " is not recommended as it grants the user admin privileges." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 359, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 473, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L359" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L473" } ], "type": { @@ -37323,285 +16600,205 @@ } }, { - "id": 775, - "name": "updated_at", + "id": 827, + "name": "user_metadata", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object to store the user's metadata. This maps to the " + }, + { + "kind": "code", + "text": "`auth.users.raw_user_meta_data`" + }, + { + "kind": "text", + "text": " column.\n\n\nThe " + }, + { + "kind": "code", + "text": "`user_metadata`" + }, + { + "kind": "text", + "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 360, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 428, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L360" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L428" } ], "type": { "type": "intrinsic", - "name": "string" - } - }, - { - "id": 758, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L343" - } - ], - "type": { - "type": "reference", - "id": 752, - "name": "UserMetadata", - "dereferenced": { - "id": 752, - "name": "UserMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 336, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L336" - } - ], - "indexSignature": { - "id": 753, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 754, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } + "name": "object" } } ], "groups": [ { "title": "Properties", - "children": [ - 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, 778, 773, - 763, 764, 768, 772, 761, 774, 775, 758 - ] + "children": [828, 831, 836, 829, 834, 835, 838, 833, 837, 830, 832, 827] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 340, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 417, "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L340" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L417" } - ] - }, - { - "id": 748, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ + ], + "extendedTypes": [ { - "id": 749, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "sources": [ + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L332" + "type": "reference", + "target": 820, + "name": "UserAttributes", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": "data" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [749] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L331" - } - ], - "indexSignature": { - "id": 750, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 751, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "name": "Omit", + "package": "typescript" } - } + ] }, { - "id": 781, - "name": "UserAttributes", + "id": 761, + "name": "AMREntry", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, - "children": [ - { - "id": 786, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An authentication methord reference (AMR) entry.\n\nAn entry designates what method was used by the user to verify their\nidentity and at what time." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ { - "kind": "code", - "text": "`data`" + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#getAuthenticatorAssuranceLevel", + "target": 1208 }, { "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." + "text": "." } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 397, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L397" - } - ], - "type": { - "type": "intrinsic", - "name": "object" } - }, + ] + }, + "children": [ { - "id": 782, - "name": "email", + "id": 762, + "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's email." + "text": "Authentication method name." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 372, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 281, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L372" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L281" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 759, + "name": "AMRMethod", + "package": "@supabase/auth-js" } }, { - "id": 785, - "name": "nonce", + "id": 763, + "name": "timestamp", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." + "text": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 389, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 287, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L389" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L287" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "number" } - }, + } + ], + "groups": [ { - "id": 784, - "name": "password", + "title": "Properties", + "children": [762, 763] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 279, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L279" + } + ] + }, + { + "id": 1031, + "name": "GenerateLinkOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1032, + "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -37609,28 +16806,44 @@ "summary": [ { "kind": "text", - "text": "The user's password." + "text": "A custom data object to store the user's metadata. This maps to the " + }, + { + "kind": "code", + "text": "`auth.users.raw_user_meta_data`" + }, + { + "kind": "text", + "text": " column.\n\nThe " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " should be a JSON object that includes user-specific info, such as their first and last name." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 382, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 829, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L382" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L829" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } }, { - "id": 783, - "name": "phone", + "id": 1033, + "name": "redirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -37638,16 +16851,16 @@ "summary": [ { "kind": "text", - "text": "The user's phone." + "text": "The URL which will be appended to the email link generated." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 377, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 831, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L377" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L831" } ], "type": { @@ -37659,1186 +16872,2160 @@ "groups": [ { "title": "Properties", - "children": [786, 782, 785, 784, 783] + "children": [1032, 1033] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 368, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 823, "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L368" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L823" } ] }, { - "id": 728, - "name": "UserIdentity", + "id": 1224, + "name": "GoTrueAdminMFAApi", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, - "children": [ - { - "id": 737, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 300, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L300" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Contains the full multi-factor authentication administration API." } - }, + ], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "children": [ { - "id": 729, - "name": "id", - "kind": 1024, - "kindString": "Property", + "id": 1228, + "name": "deleteFactor", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 293, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1272, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L293" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1272" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 731, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 295, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L295" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 732, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 1229, + "name": "deleteFactor", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#unenroll", + "target": 1197 + } + ] + }, + { + "tag": "@expermental", + "content": [] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 295, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L295" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1272, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1272" } ], - "indexSignature": { - "id": 733, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ + "parameters": [ + { + "id": 1230, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1214, + "name": "AuthMFAAdminDeleteFactorParams", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "id": 734, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 1211, + "name": "AuthMFAAdminDeleteFactorResponse", + "package": "@supabase/auth-js" } ], - "type": { - "type": "intrinsic", - "name": "any" - } + "name": "Promise", + "package": "typescript" } } - } - }, - { - "id": 735, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L298" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 738, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 301, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L301" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, { - "id": 736, - "name": "provider", - "kind": 1024, - "kindString": "Property", + "id": 1225, + "name": "listFactors", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L299" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 739, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 302, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1262, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L302" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1262" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 730, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 294, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L294" + "id": 1226, + "name": "listFactors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists all factors associated to a user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1262, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1262" + } + ], + "parameters": [ + { + "id": 1227, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1221, + "name": "AuthMFAAdminListFactorsParams", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1218, + "name": "AuthMFAAdminListFactorsResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] } ], "groups": [ { - "title": "Properties", - "children": [737, 729, 731, 735, 738, 736, 739, 730] + "title": "Methods", + "children": [1228, 1225] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 292, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1257, "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L292" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1257" } ] }, { - "id": 752, - "name": "UserMetadata", + "id": 1094, + "name": "GoTrueMFAApi", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 336, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L336" - } - ], - "indexSignature": { - "id": 753, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ + "comment": { + "summary": [ { - "id": 754, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "Contains the full multi-factor authentication API." } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 947, - "name": "VerifyEmailOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, + ] + }, "children": [ { - "id": 948, - "name": "email", + "id": 1210, + "name": "webauthn", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 741, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1215, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L741" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1215" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "src/lib/webauthn.ts", + "qualifiedName": "WebAuthnApi" + }, + "name": "WebAuthnApi", + "package": "@supabase/auth-js" } }, { - "id": 951, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "id": 1115, + "name": "challenge", + "variant": "declaration", + "kind": 2048, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 746, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1163" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1164, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L746" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1164" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1165, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1165" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1166, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1166" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 952, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "signatures": [ + { + "id": 1116, + "name": "challenge", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Prepares a challenge used to verify that a user has access to a MFA\nfactor." + } + ] + }, + "sources": [ { - "id": 954, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1163" + } + ], + "parameters": [ + { + "id": 1117, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1118, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1119, + "name": "factorId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor to be challenged. Returned in enroll()." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 937, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L937" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1119] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ], - "blockTags": [ + "type": "reflection", + "declaration": { + "id": 1120, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1121, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 142, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L142" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1122, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1121, 1122] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + }, { - "tag": "@deprecated", - "content": [] + "type": "reflection", + "declaration": { + "id": 1123, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1124, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 138, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L138" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1125, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1128, + "name": "expires_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Timestamp in UNIX seconds when this challenge will no longer be usable." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1033, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1033" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1126, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the newly created challenge." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1027, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1027" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1127, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Factor Type which generated the challenge" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1030, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1030" + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1128, 1126, 1127] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } + }, + { + "id": 1129, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 139, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L139" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1124, 1129] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 754, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L754" - } - ], - "type": { - "type": "intrinsic", - "name": "string" } - }, + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1130, + "name": "challenge", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 953, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 748, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L748" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1164, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1164" } ], - "groups": [ + "parameters": [ { - "title": "Properties", - "children": [954, 953] + "id": 1131, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1132, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1134, + "name": "channel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 947, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L947" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 1133, + "name": "factorId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor to be challenged. Returned in enroll()." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 937, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L937" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1134, 1133] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } } ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 746, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L746" - } - ] - } - } - }, - { - "id": 949, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The otp sent to the user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 743, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L743" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 950, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1135, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1136, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 142, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L142" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1137, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1136, 1137] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1138, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1139, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 138, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L138" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1140, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1143, + "name": "expires_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Timestamp in UNIX seconds when this challenge will no longer be usable." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1033, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1033" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1141, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the newly created challenge." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1027, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1027" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1142, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Factor Type which generated the challenge" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1030, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1030" + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1143, 1141, 1142] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } + }, + { + "id": 1144, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 139, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L139" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1139, 1144] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 745, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L745" - } - ], - "type": { - "type": "reference", - "id": 959, - "name": "EmailOtpType", - "dereferenced": { - "id": 959, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", + "id": 1145, + "name": "challenge", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 767, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1165, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1165" + } + ], + "parameters": [ + { + "id": 1146, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1147, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1148, + "name": "factorId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor to be challenged. Returned in enroll()." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 937, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L937" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1149, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 956, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L956" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1150, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1151, + "name": "rpId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relying party ID" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 958, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L958" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1152, + "name": "rpOrigins", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relying party origins" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 960, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L960" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1151, 1152] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 956, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L956" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1148, 1149] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change" - }, + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "type": "literal", - "value": "email" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [948, 951, 949, 950] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 739, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L739" - } - ] - }, - { - "id": 939, - "name": "VerifyMobileOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 943, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 727, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L727" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 944, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 946, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "union", + "types": [ { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ], - "blockTags": [ + "type": "reflection", + "declaration": { + "id": 1153, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1154, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 142, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L142" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1155, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1154, 1155] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + }, { - "tag": "@deprecated", - "content": [] + "type": "reflection", + "declaration": { + "id": 1156, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1157, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 138, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L138" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1158, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1161, + "name": "expires_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Timestamp in UNIX seconds when this challenge will no longer be usable." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1033, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1033" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1159, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the newly created challenge." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1027, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1027" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1160, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Factor Type which generated the challenge" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1030, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1030" + } + ], + "type": { + "type": "literal", + "value": "webauthn" + } + }, + { + "id": 1162, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1053, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1053" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1163, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1165, + "name": "credential_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1056, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1056" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1166, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1167, + "name": "publicKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1056, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1056" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/webauthn.dom.ts", + "qualifiedName": "PublicKeyCredentialCreationOptionsFuture" + }, + "name": "PublicKeyCredentialCreationOptionsFuture", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1167] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1056, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1056" + } + ] + } + } + }, + { + "id": 1164, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1055, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1055" + } + ], + "type": { + "type": "literal", + "value": "create" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1165, 1164] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1054, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1054" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1168, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1170, + "name": "credential_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1060, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1060" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1171, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1172, + "name": "publicKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1060, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1060" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/webauthn.dom.ts", + "qualifiedName": "PublicKeyCredentialRequestOptionsFuture" + }, + "name": "PublicKeyCredentialRequestOptionsFuture", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1172] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1060, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1060" + } + ] + } + } + }, + { + "id": 1169, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1059, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1059" + } + ], + "type": { + "type": "literal", + "value": "request" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1170, 1169] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1058, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1058" + } + ] + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1161, 1159, 1160, 1162] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } + }, + { + "id": 1173, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 139, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L139" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1157, 1173] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 736, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L736" - } - ], - "type": { - "type": "intrinsic", - "name": "string" } - }, + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1174, + "name": "challenge", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 945, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 729, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L729" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1166, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1166" } ], - "groups": [ + "parameters": [ { - "title": "Properties", - "children": [946, 945] + "id": 1175, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1064, + "name": "MFAChallengeParams", + "package": "@supabase/auth-js" + } } ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 727, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L727" - } - ] - } - } - }, - { - "id": 940, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1083, + "name": "AuthMFAChallengeResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 722, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L722" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + ] }, { - "id": 941, - "name": "token", - "kind": 1024, - "kindString": "Property", + "id": 1200, + "name": "challengeAndVerify", + "variant": "declaration", + "kind": 2048, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The otp sent to the user's phone number." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 724, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1187, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L724" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1187" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 942, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 726, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L726" - } - ], - "type": { - "type": "reference", - "id": 958, - "name": "MobileOtpType", - "dereferenced": { - "id": 958, - "name": "MobileOtpType", - "kind": 4194304, - "kindString": "Type alias", + "id": 1201, + "name": "challengeAndVerify", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L766" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1187, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1187" + } + ], + "parameters": [ + { + "id": 1202, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1203, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1205, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification code provided by the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 891, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L891" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1204, + "name": "factorId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor being verified. Returned in enroll()." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 884, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L884" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1205, 1204] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "type": "literal", - "value": "phone_change" + "type": "reference", + "target": 1073, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" } - ] + ], + "name": "Promise", + "package": "typescript" } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [943, 940, 941, 942] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 720, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L720" - } - ] - }, - { - "id": 955, - "name": "VerifyTokenHashParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ + ] + }, { - "id": 956, - "name": "token_hash", - "kind": 1024, - "kindString": "Property", + "id": 1095, + "name": "enroll", + "variant": "declaration", + "kind": 2048, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The token hash used in an email link" - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 760, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1154, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L760" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 957, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1154" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1155, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1155" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1156, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1156" + }, { - "fileName": "src/lib/types.ts", - "line": 763, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1157, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L763" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1157" } ], - "type": { - "type": "reference", - "id": 959, - "name": "EmailOtpType", - "dereferenced": { - "id": 959, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", + "signatures": [ + { + "id": 1096, + "name": "enroll", + "variant": "signature", + "kind": 4096, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 767, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, + "comment": { + "summary": [ { - "type": "literal", - "value": "invite" + "kind": "text", + "text": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new " }, { - "type": "literal", - "value": "magiclink" + "kind": "code", + "text": "`unverified`" }, { - "type": "literal", - "value": "recovery" + "kind": "text", + "text": " factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.\n\nUpon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to " }, { - "type": "literal", - "value": "email_change" + "kind": "code", + "text": "`aal2`" }, - { - "type": "literal", - "value": "email" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [956, 957] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 758, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L758" - } - ] - }, - { - "id": 574, - "name": "AuthChangeEvent", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L34" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "INITIAL_SESSION" - }, - { - "type": "literal", - "value": "PASSWORD_RECOVERY" - }, - { - "type": "literal", - "value": "SIGNED_IN" - }, - { - "type": "literal", - "value": "SIGNED_OUT" - }, - { - "type": "literal", - "value": "TOKEN_REFRESHED" - }, - { - "type": "literal", - "value": "USER_UPDATED" - }, - { - "id": 573, - "name": "AuthChangeEventMFA", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L32" - } - ], - "type": { - "type": "literal", - "value": "MFA_CHALLENGE_VERIFIED" - } - } - ] - } - }, - { - "id": 573, - "name": "AuthChangeEventMFA", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L32" - } - ], - "type": { - "type": "literal", - "value": "MFA_CHALLENGE_VERIFIED" - } - }, - { - "id": 863, - "name": "AuthFlowType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 601, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L601" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "implicit" - }, - { - "type": "literal", - "value": "pkce" - } - ] - } - }, - { - "id": 1141, - "name": "AuthMFAAdminDeleteFactorParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1142, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1143, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ { "kind": "text", - "text": "ID of the MFA factor to delete." + "text": "." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1122, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1154, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1122" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1154" + } + ], + "parameters": [ + { + "id": 1097, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1098, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1099, + "name": "factorType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of factor being enrolled." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1331, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1331" + } + ], + "type": { + "type": "literal", + "value": "totp" + } + }, + { + "id": 1100, + "name": "friendlyName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Human readable name assigned to the factor." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1333, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1333" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1101, + "name": "issuer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Domain which the user is enrolled with." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1338, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1338" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1099, 1100, 1101] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } + } } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1255, + "name": "AuthMFAEnrollTOTPResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 1144, - "name": "userId", - "kind": 1024, - "kindString": "Property", + "id": 1102, + "name": "enroll", + "variant": "signature", + "kind": 4096, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the user whose factor is being deleted." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1125, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1155, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1125" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1155" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1143, 1144] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1120, - "character": 45, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1120" - } - ] - } - } - }, - { - "id": 1132, - "name": "AuthMFAAdminDeleteFactorResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1107, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1107" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1133, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "parameters": [ { - "id": 1134, - "name": "data", - "kind": 1024, - "kindString": "Property", + "id": 1103, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1109, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1109" - } - ], "type": { "type": "reflection", "declaration": { - "id": 1135, + "id": 1104, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1136, - "name": "id", + "id": 1105, + "name": "factorType", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "ID of the factor that was successfully deleted." + "text": "The type of factor being enrolled." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1111, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1111" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1331, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1331" + } + ], + "type": { + "type": "literal", + "value": "phone" + } + }, + { + "id": 1106, + "name": "friendlyName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Human readable name assigned to the factor." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1333, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1333" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1107, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Phone number associated with a factor. Number should conform to E.164 format" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1345, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1345" } ], "type": { @@ -38850,508 +19037,627 @@ "groups": [ { "title": "Properties", - "children": [1136] + "children": [1105, 1106, 1107] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1109, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1109" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" } ] } } - }, - { - "id": 1137, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1113, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1113" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1134, 1137] } ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1256, + "name": "AuthMFAEnrollPhoneResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1108, + "name": "enroll", + "variant": "signature", + "kind": 4096, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1108, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1108" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1156, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1156" } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1138, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + ], + "parameters": [ { - "id": 1139, - "name": "data", - "kind": 1024, - "kindString": "Property", + "id": 1109, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1115, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1115" - } - ], "type": { - "type": "literal", - "value": null + "type": "reflection", + "declaration": { + "id": 1110, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1111, + "name": "factorType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of factor being enrolled." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1331, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1331" + } + ], + "type": { + "type": "literal", + "value": "webauthn" + } + }, + { + "id": 1112, + "name": "friendlyName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Human readable name assigned to the factor." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1333, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1333" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1111, 1112] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ] + } } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 1140, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1115, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1115" - } - ], - "type": { + "typeArguments": [ + { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 1257, + "name": "AuthMFAEnrollWebauthnResponse", + "package": "@supabase/auth-js" } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1113, + "name": "enroll", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1157, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1157" } ], - "groups": [ + "parameters": [ { - "title": "Properties", - "children": [1139, 1140] + "id": 1114, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1047, + "name": "MFAEnrollParams", + "package": "@supabase/auth-js" + } } ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1074, + "name": "AuthMFAEnrollResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1208, + "name": "getAuthenticatorAssuranceLevel", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1212, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1212" + } + ], + "signatures": [ + { + "id": 1209, + "name": "getAuthenticatorAssuranceLevel", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns the Authenticator Assurance Level (AAL) for the active session.\n\n- " + }, + { + "kind": "code", + "text": "`aal1`" + }, + { + "kind": "text", + "text": " (or " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ") means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- " + }, + { + "kind": "code", + "text": "`aal2`" + }, + { + "kind": "text", + "text": " means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1115, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1115" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1212, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1212" } - ] - } - } - ] - } - }, - { - "id": 1154, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1155, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1089, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1206, + "name": "listFactors", + "variant": "declaration", + "kind": 2048, "flags": {}, - "children": [ + "sources": [ { - "id": 1156, - "name": "userId", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1197, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1197" + } + ], + "signatures": [ + { + "id": 1207, + "name": "listFactors", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "ID of the user." + "text": "Returns the list of MFA factors enabled for this user." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#enroll", + "target": 1095 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#getAuthenticatorAssuranceLevel", + "target": 1208 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueClient#getUser", + "target": 304 + }, + { + "kind": "text", + "text": "\n" + } + ] } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1146, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1197, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1197" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1084, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + }, + { + "type": "literal", + "value": "webauthn" + } + ] + } + } + ], + "name": "AuthMFAListFactorsResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ + ] + }, + { + "id": 1197, + "name": "unenroll", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "title": "Properties", - "children": [1156] + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1181" } ], - "sources": [ + "signatures": [ { - "fileName": "src/lib/types.ts", - "line": 1144, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1144" - } - ] - } - } - }, - { - "id": 1145, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@expermental", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1131, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1131" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1146, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 1198, + "name": "unenroll", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ - { - "id": 1147, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1133, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1133" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1148, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1149, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "All factors attached to the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1135, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1135" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 740, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1149] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1133, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1133" - } - ] - } - } - }, - { - "id": 1150, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1137, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1137" - } - ], - "type": { - "type": "literal", - "value": null + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unenroll removes a MFA factor.\nA user has to have an " + }, + { + "kind": "code", + "text": "`aal2`" + }, + { + "kind": "text", + "text": " authenticator level in order to unenroll a " + }, + { + "kind": "code", + "text": "`verified`" + }, + { + "kind": "text", + "text": " factor." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1147, 1150] - } - ], + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1132, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1132" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1181" } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1151, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1152, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1139, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1139" - } - ], - "type": { - "type": "literal", - "value": null - } - }, + ], + "parameters": [ { - "id": 1153, - "name": "error", - "kind": 1024, - "kindString": "Property", + "id": 1199, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1139, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1139" - } - ], "type": { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 1048, + "name": "MFAUnenrollParams", + "package": "@supabase/auth-js" } } ], - "groups": [ - { - "title": "Properties", - "children": [1152, 1153] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1139, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1139" - } - ] + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1075, + "name": "AuthMFAUnenrollResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } } - } - ] - } - }, - { - "id": 1074, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ + ] + }, { - "fileName": "src/lib/types.ts", - "line": 977, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L977" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1075, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 1176, + "name": "verify", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1172, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1172" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1173" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1174, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1174" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1175, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1175" + } + ], + "signatures": [ + { + "id": 1177, + "name": "verify", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app." + } + ] + }, + "sources": [ { - "id": 1076, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1172, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1172" + } + ], + "parameters": [ + { + "id": 1178, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 979, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L979" - } - ], "type": { "type": "reflection", "declaration": { - "id": 1077, + "id": 1179, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, - "name": "expires_at", + "id": 1181, + "name": "challengeId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Timestamp in UNIX seconds when this challenge will no longer be usable." + "text": "ID of the challenge being verified. Returned in challenge()." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 987, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L987" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 886, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L886" } ], "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 1078, - "name": "id", + "id": 1182, + "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "ID of the newly created challenge." + "text": "Verification code provided by the user." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 981, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L981" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 891, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L891" } ], "type": { @@ -39360,234 +19666,119 @@ } }, { - "id": 1079, - "name": "type", + "id": 1180, + "name": "factorId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Factor Type which generated the challenge" + "text": "ID of the factor being verified. Returned in enroll()." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 984, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L984" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 884, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L884" } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [1080, 1078, 1079] + "children": [1181, 1182, 1180] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 979, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L979" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" } ] } } - }, - { - "id": 1081, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 989, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L989" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1076, 1081] } ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 978, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L978" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1082, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1083, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 991, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L991" - } - ], - "type": { - "type": "literal", - "value": null - } + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 1084, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 991, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L991" - } - ], - "type": { + "typeArguments": [ + { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 1073, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1083, 1084] - } - ], + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1183, + "name": "verify", + "variant": "signature", + "kind": 4096, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 991, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L991" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1173" } - ] - } - } - ] - } - }, - { - "id": 1217, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1286, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1286" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1218, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + ], + "parameters": [ { - "id": 1219, - "name": "data", - "kind": 1024, - "kindString": "Property", + "id": 1184, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1288, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1288" - } - ], "type": { "type": "reflection", "declaration": { - "id": 1220, + "id": 1185, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1223, - "name": "friendly_name", + "id": 1187, + "name": "challengeId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Friendly name of the factor, useful for distinguishing between factors *" + "text": "ID of the challenge being verified. Returned in challenge()." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1296, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1296" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 886, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L886" } ], "type": { @@ -39596,25 +19787,25 @@ } }, { - "id": 1221, - "name": "id", + "id": 1188, + "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "ID of the factor that was just enrolled (in an unverified state)." + "text": "Verification code provided by the user." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1290, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1290" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 891, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L891" } ], "type": { @@ -39623,945 +19814,119 @@ } }, { - "id": 1224, - "name": "phone", + "id": 1186, + "name": "factorId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Phone number of the MFA factor in E.164 format. Used to send messages" + "text": "ID of the factor being verified. Returned in enroll()." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1299, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1299" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 884, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L884" } ], "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 1222, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Type of MFA factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1293, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1293" - } - ], - "type": { - "type": "literal", - "value": "phone" - } } ], "groups": [ { "title": "Properties", - "children": [1223, 1221, 1224, 1222] + "children": [1187, 1188, 1186] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1288, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1288" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" } ] } } - }, - { - "id": 1225, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1301, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1301" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1219, 1225] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1287, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1287" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1226, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1227, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1304, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1304" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1228, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1305, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1305" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1227, 1228] } ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1303, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1303" - } - ] - } - } - ] - } - }, - { - "id": 1064, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 965, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L965" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 1201, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1251, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1251" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1202, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1203, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1253, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1253" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1204, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1212, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Friendly name of the factor, useful for distinguishing between factors *" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1277, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1277" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1205, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor that was just enrolled (in an unverified state)." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1255" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1207, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "TOTP enrollment information." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1261, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1261" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1208, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1209, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending " - }, - { - "kind": "code", - "text": "`data:image/svg+xml;utf-8,`" - }, - { - "kind": "text", - "text": " to\nthe value. Avoid logging this value to the console." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1265, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1265" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1210, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1270, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1270" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1211, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1274, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1274" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1209, 1210, 1211] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1261, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1261" - } - ] - } - } - }, - { - "id": 1206, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Type of MFA factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1258" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1212, 1205, 1207, 1206] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1253, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1253" - } - ] - } - } - }, - { - "id": 1213, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1279, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1279" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1203, 1213] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1252" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1214, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1215, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1282, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1282" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1216, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1283, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1283" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1215, 1216] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1281, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1281" - } - ] - } - } - ] - } - }, - { - "id": 1217, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1286, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1286" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1218, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1219, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1288, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1288" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1220, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1223, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Friendly name of the factor, useful for distinguishing between factors *" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1296, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1296" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1221, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor that was just enrolled (in an unverified state)." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1290, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1290" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1224, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Phone number of the MFA factor in E.164 format. Used to send messages" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1299, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1299" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1222, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Type of MFA factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1293, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1293" - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1223, 1221, 1224, 1222] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1288, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1288" - } - ] - } - } - }, - { - "id": 1225, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1301, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1301" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1219, 1225] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1287, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1287" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1226, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1227, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1304, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1304" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1228, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1305, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1305" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1227, 1228] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1303, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1303" - } - ] + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1073, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" } - } - ] - } - } - ] - } - }, - { - "id": 1201, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1251, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1251" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1202, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1189, + "name": "verify", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "sources": [ { - "id": 1203, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1174, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1174" + } + ], + "parameters": [ + { + "id": 1190, + "name": "params", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1253, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1253" - } - ], "type": { "type": "reflection", "declaration": { - "id": 1204, + "id": 1191, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1212, - "name": "friendly_name", + "id": 1193, + "name": "challengeId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Friendly name of the factor, useful for distinguishing between factors *" + "text": "ID of the challenge being verified. Returned in challenge()." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1277, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1277" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 886, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L886" } ], "type": { @@ -40570,25 +19935,25 @@ } }, { - "id": 1205, - "name": "id", + "id": 1192, + "name": "factorId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "ID of the factor that was just enrolled (in an unverified state)." + "text": "ID of the factor being verified. Returned in enroll()." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1255" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 884, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L884" } ], "type": { @@ -40597,3100 +19962,4858 @@ } }, { - "id": 1207, - "name": "totp", + "id": 1194, + "name": "webauthn", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "TOTP enrollment information." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1261, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1261" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 921, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L921" } ], "type": { - "type": "reflection", - "declaration": { - "id": 1208, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1209, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending " - }, - { - "kind": "code", - "text": "`data:image/svg+xml;utf-8,`" - }, - { - "kind": "text", - "text": " to\nthe value. Avoid logging this value to the console." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1265, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1265" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFieldsBase" }, - { - "id": 1210, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1270, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1270" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "MFAVerifyWebauthnParamFieldsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnCredentialParamFields" }, - { - "id": 1211, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ + "typeArguments": [ + { + "type": "union", + "types": [ { - "kind": "text", - "text": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + "type": "literal", + "value": "create" + }, + { + "type": "literal", + "value": "request" } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1274, - "character": 10, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1274" - } - ], - "type": { - "type": "intrinsic", - "name": "string" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1209, 1210, 1211] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1261, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1261" - } - ] - } - } - }, - { - "id": 1206, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Type of MFA factor." + ], + "name": "MFAVerifyWebauthnCredentialParamFields", + "package": "@supabase/auth-js" } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1258" - } - ], - "type": { - "type": "literal", - "value": "totp" } } ], "groups": [ { "title": "Properties", - "children": [1212, 1205, 1207, 1206] + "children": [1193, 1192, 1194] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1253, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1253" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" } ] } } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1073, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1195, + "name": "verify", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1175, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1175" + } + ], + "parameters": [ + { + "id": 1196, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1059, + "name": "MFAVerifyParams", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, + "typeArguments": [ + { + "type": "reference", + "target": 1073, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "children": [1210] + }, + { + "title": "Methods", + "children": [1115, 1200, 1095, 1208, 1206, 1197, 1176] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1144, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1144" + } + ] + }, + { + "id": 1277, + "name": "JWK", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1280, + "name": "alg", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1444, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1444" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1279, + "name": "key_ops", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1443, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1443" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1281, + "name": "kid", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1445, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1445" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1278, + "name": "kty", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1442, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1442" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1280, 1279, 1281, 1278] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1441, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1441" + } + ], + "indexSignatures": [ + { + "id": 1282, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1446, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1446" + } + ], + "parameters": [ + { + "id": 1283, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 750, + "name": "Session", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 753, + "name": "access_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 234, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L234" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 756, + "name": "expires_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 246, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L246" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 755, + "name": "expires_in", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 242, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L242" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 752, + "name": "provider_refresh_token", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 230, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L230" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 751, + "name": "provider_token", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 225, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L225" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 754, + "name": "refresh_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A one-time used refresh token that never expires." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L238" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 757, + "name": "token_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 247, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L247" + } + ], + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "id": 758, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using a separate user storage, accessing properties of this object will throw an error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 252, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L252" + } + ], + "type": { + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [753, 756, 755, 752, 751, 754, 757, 758] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 221, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L221" + } + ] + }, + { + "id": 839, + "name": "Subscription", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 841, + "name": "callback", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The function to call every time there is an event. eg: (eventName) => {}" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 500, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L500" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 842, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ { - "id": 1213, - "name": "error", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 500, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L500" + } + ], + "signatures": [ + { + "id": 843, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1279, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1279" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 500, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L500" + } + ], + "parameters": [ + { + "id": 844, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 649, + "name": "AuthChangeEvent", + "package": "@supabase/auth-js" + } + }, + { + "id": 845, + "name": "session", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + } + ] + } } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "void" } } - ], - "groups": [ - { - "title": "Properties", - "children": [1203, 1213] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1252" - } ] } + } + }, + { + "id": 840, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subscriber UUID. This will be set by the client." + } + ] }, - { + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 496, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L496" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 846, + "name": "unsubscribe", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Call this to remove the listener." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 504, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L504" + } + ], + "type": { "type": "reflection", "declaration": { - "id": 1214, + "id": 847, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 1215, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1282, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1282" - } - ], - "type": { - "type": "literal", - "value": null - } - }, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 504, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L504" + } + ], + "signatures": [ { - "id": 1216, - "name": "error", - "kind": 1024, - "kindString": "Property", + "id": 848, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1283, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1283" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 504, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L504" } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" + "type": "intrinsic", + "name": "void" } } - ], - "groups": [ - { - "title": "Properties", - "children": [1215, 1216] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1281, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1281" - } ] } } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [841, 840, 846] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 492, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L492" + } + ] }, { - "id": 1097, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 794, + "name": "User", + "variant": "declaration", + "kind": 256, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 1010, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1010" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1098, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1099, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "id": 805, + "name": "action_link", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 368, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L368" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 796, + "name": "app_metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 359, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L359" + } + ], + "type": { + "type": "reference", + "target": 787, + "name": "UserAppMetadata", + "package": "@supabase/auth-js" + } + }, + { + "id": 798, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 361, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L361" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 799, + "name": "confirmation_sent_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 362, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L362" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 809, + "name": "confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 372, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L372" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 808, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 371, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L371" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 819, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 382, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L382" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 806, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 369, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L369" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 801, + "name": "email_change_sent_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 364, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L364" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 810, + "name": "email_confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 373, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L373" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 818, + "name": "factors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 381, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L381" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 777, + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 1012, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1012" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1100, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "type": "union", + "types": [ { - "id": 1103, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1029, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1029" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 724, - "name": "AMREntry" - } - } + "type": "literal", + "value": "webauthn" }, { - "id": 1101, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Current AAL level of the session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1014, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1014" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1096, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } + "type": "literal", + "value": "totp" }, { - "id": 1102, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "challenge", - "target": 1116 - } - ] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1022, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1022" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1096, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1103, 1101, 1102] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1012, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1012" + "type": "literal", + "value": "phone" } ] - } - } - }, - { - "id": 1104, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1031, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1031" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1099, 1104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1011, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1011" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1106, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 1033, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1033" + "type": "literal", + "value": "verified" } ], - "type": { - "type": "literal", - "value": null - } + "name": "Factor", + "package": "@supabase/auth-js" }, { - "id": 1107, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "type": "reference", + "target": 777, + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 1033, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1033" + "type": "union", + "types": [ + { + "type": "literal", + "value": "webauthn" + }, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + { + "type": "literal", + "value": "unverified" } ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1106, 1107] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1033, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1033" + "name": "Factor", + "package": "@supabase/auth-js" } ] } } - ] - } + }, + { + "id": 795, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 358, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L358" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 815, + "name": "identities", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 378, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L378" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 764, + "name": "UserIdentity", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 804, + "name": "invited_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 367, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L367" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 816, + "name": "is_anonymous", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 379, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L379" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 817, + "name": "is_sso_user", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 380, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L380" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 812, + "name": "last_sign_in_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 375, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L375" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 802, + "name": "new_email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 365, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L365" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 803, + "name": "new_phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 366, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L366" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 807, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 370, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L370" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 811, + "name": "phone_confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 374, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L374" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 800, + "name": "recovery_sent_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 363, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L363" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 813, + "name": "role", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 376, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L376" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 814, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 377, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L377" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 797, + "name": "user_metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 360, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L360" + } + ], + "type": { + "type": "reference", + "target": 791, + "name": "UserMetadata", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 805, 796, 798, 799, 809, 808, 819, 806, 801, 810, 818, 795, 815, 804, 816, 817, 812, + 802, 803, 807, 811, 800, 813, 814, 797 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 357, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L357" + } + ] + }, + { + "id": 787, + "name": "UserAppMetadata", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 788, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 349, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L349" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [788] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 348, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L348" + } + ], + "indexSignatures": [ + { + "id": 789, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 350, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L350" + } + ], + "parameters": [ + { + "id": 790, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] }, { - "id": 1085, - "name": "AuthMFAListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 820, + "name": "UserAttributes", + "variant": "declaration", + "kind": 256, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 993, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L993" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1086, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1087, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 995, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L995" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1088, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1089, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "All available factors (verified and unverified)." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 997, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L997" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 740, - "name": "Factor" - } - } - }, - { - "id": 1091, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only verified Phone factors. (A subset of " - }, - { - "kind": "code", - "text": "`all`" - }, - { - "kind": "text", - "text": ".)" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1002, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1002" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 740, - "name": "Factor" - } - } - }, - { - "id": 1090, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only verified TOTP factors. (A subset of " - }, - { - "kind": "code", - "text": "`all`" - }, - { - "kind": "text", - "text": ".)" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1000, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1000" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 740, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1089, 1091, 1090] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 995, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L995" - } - ] - } - } - }, - { - "id": 1092, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1004, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1004" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1087, 1092] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 994, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L994" - } - ] + "id": 825, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object to store the user's metadata. This maps to the " + }, + { + "kind": "code", + "text": "`auth.users.raw_user_meta_data`" + }, + { + "kind": "text", + "text": " column.\n\nThe " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " should be a JSON object that includes user-specific info, such as their first and last name." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 414, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L414" } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 821, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "reflection", - "declaration": { - "id": 1093, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1094, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1006, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1006" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1095, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1006, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1006" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1094, 1095] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1006, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1006" - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 389, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L389" } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ] - } + }, + { + "id": 824, + "name": "nonce", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 406, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L406" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 823, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's password." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 399, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L399" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 822, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 394, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L394" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [825, 821, 824, 823, 822] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 385, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L385" + } + ] }, { - "id": 1065, - "name": "AuthMFAUnenrollResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 764, + "name": "UserIdentity", + "variant": "declaration", + "kind": 256, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 967, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L967" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1066, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1067, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L969" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1068, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1069, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor that was successfully unenrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L971" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1069] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L969" - } - ] - } - } - }, - { - "id": 1070, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 973, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L973" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1067, 1070] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 968, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L968" - } - ] + "id": 773, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 298, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L298" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 765, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 291, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L291" } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 767, + "name": "identity_data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 293, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L293" + } + ], + "type": { "type": "reflection", "declaration": { - "id": 1071, + "id": 768, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 1072, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 293, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L293" + } + ], + "indexSignatures": [ + { + "id": 769, + "name": "__index", + "variant": "signature", + "kind": 8192, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 975, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L975" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 294, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L294" } ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1073, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "parameters": [ { - "fileName": "src/lib/types.ts", - "line": 975, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L975" + "id": 770, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" + "type": "intrinsic", + "name": "any" } } - ], - "groups": [ - { - "title": "Properties", - "children": [1072, 1073] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 975, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L975" - } ] } } - ] - } + }, + { + "id": 771, + "name": "identity_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 296, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L296" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 774, + "name": "last_sign_in_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 299, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L299" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 772, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 297, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L297" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 775, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 300, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L300" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 766, + "name": "user_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 292, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L292" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [773, 765, 767, 771, 774, 772, 775, 766] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 290, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L290" + } + ] }, { - "id": 1051, - "name": "AuthMFAVerifyResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 791, + "name": "UserMetadata", + "variant": "declaration", + "kind": 256, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 940, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L940" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 353, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L353" } ], - "type": { - "type": "union", - "types": [ - { + "indexSignatures": [ + { + "id": 792, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 354, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L354" + } + ], + "parameters": [ + { + "id": 793, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 969, + "name": "VerifyEmailOtpParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 970, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email address." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 719, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L719" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 973, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 724, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L724" + } + ], + "type": { "type": "reflection", "declaration": { - "id": 1052, + "id": 974, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, - "name": "data", + "id": 976, + "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification token received when the user completes the captcha on the site." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 942, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L942" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 732, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L732" } ], "type": { - "type": "reflection", - "declaration": { - "id": 1054, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1055, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "New access token (JWT) after successful verification." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 944, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L944" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1057, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Number of seconds in which the access token will expire." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L950" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1058, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Refresh token you can use to obtain new access tokens when expired." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 953, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L953" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1056, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Type of token, typically " - }, - { - "kind": "code", - "text": "`Bearer`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 947, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L947" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1059, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Updated user profile." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 956, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L956" - } - ], - "type": { - "type": "reference", - "id": 755, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1055, 1057, 1058, 1056, 1059] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 942, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L942" - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1060, - "name": "error", + "id": 975, + "name": "redirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A URL to send the user to after they are confirmed." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 958, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L958" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 726, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L726" } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [1053, 1060] + "children": [976, 975] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 941, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L941" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 724, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L724" } ] } + } + }, + { + "id": 971, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The otp sent to the user's email address." + } + ] }, - { + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 721, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L721" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 972, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's verification type." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 723, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L723" + } + ], + "type": { + "type": "reference", + "target": 981, + "name": "EmailOtpType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [970, 973, 971, 972] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 717, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L717" + } + ] + }, + { + "id": 961, + "name": "VerifyMobileOtpParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 965, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 705, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L705" + } + ], + "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 966, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, - "name": "data", + "id": 968, + "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification token received when the user completes the captcha on the site." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 961, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L961" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 714, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L714" } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" } }, { - "id": 1063, - "name": "error", + "id": 967, + "name": "redirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A URL to send the user to after they are confirmed." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 962, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L962" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 707, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L707" } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [1062, 1063] + "children": [968, 967] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 960, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L960" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 705, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L705" } ] } } + }, + { + "id": 962, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone number." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 700, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L700" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 963, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The otp sent to the user's phone number." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 702, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L702" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 964, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's verification type." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 704, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L704" + } + ], + "type": { + "type": "reference", + "target": 980, + "name": "MobileOtpType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [965, 962, 963, 964] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 698, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L698" + } + ] + }, + { + "id": 977, + "name": "VerifyTokenHashParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 978, + "name": "token_hash", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token hash used in an email link" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 738, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L738" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 979, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's verification type." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 741, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L741" + } + ], + "type": { + "type": "reference", + "target": 981, + "name": "EmailOtpType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [978, 979] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 736, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L736" + } + ] + }, + { + "id": 759, + "name": "AMRMethod", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 269, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L269" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMRMethods" + }, + "name": "AMRMethods", + "package": "@supabase/auth-js", + "preferValues": true + } + } + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 760, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 269, + "character": 64, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L269" + } + ] + } + } + ] + } ] } }, { - "id": 639, - "name": "AuthOtpResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 649, + "name": "AuthChangeEvent", + "variant": "declaration", + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 44, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L44" + } + ], + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "AuthOtpResponse is returned when OTP is used.\n\n" + "type": "literal", + "value": "INITIAL_SESSION" }, { - "kind": "inline-tag", - "tag": "@see", - "text": "AuthResponse" + "type": "literal", + "value": "PASSWORD_RECOVERY" + }, + { + "type": "literal", + "value": "SIGNED_IN" + }, + { + "type": "literal", + "value": "SIGNED_OUT" + }, + { + "type": "literal", + "value": "TOKEN_REFRESHED" + }, + { + "type": "literal", + "value": "USER_UPDATED" + }, + { + "type": "reference", + "target": 648, + "name": "AuthChangeEventMFA", + "package": "@supabase/auth-js" } ] - }, + } + }, + { + "id": 648, + "name": "AuthChangeEventMFA", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 42, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L42" + } + ], + "type": { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED" + } + }, + { + "id": 1088, + "name": "AuthenticatorAssuranceLevels", + "variant": "declaration", + "kind": 2097152, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 146, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1118, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1118" } ], "type": { "type": "union", "types": [ { - "type": "reflection", - "declaration": { - "id": 640, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] + } + }, + { + "id": 885, + "name": "AuthFlowType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 579, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L579" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + }, + { + "id": 1214, + "name": "AuthMFAAdminDeleteFactorParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1228, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1228" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1215, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1216, + "name": "id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the MFA factor to delete." + } + ] + }, + "sources": [ { - "id": 641, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L148" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 642, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 645, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L148" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 644, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 26, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L148" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 643, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L148" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [645, 644, 643] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L148" - } - ] - } + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1230, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1230" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1217, + "name": "userId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the user whose factor is being deleted." } - }, + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1233, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1233" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1216, 1217] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1228, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1228" + } + ] + } + } + }, + { + "id": 1211, + "name": "AuthMFAAdminDeleteFactorResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1221, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1221" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1212, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 646, - "name": "error", + "id": 1213, + "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor that was successfully deleted." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L149" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1223, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1223" } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [641, 646] + "children": [1213] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L147" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1221, + "character": 61, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1221" } ] } - }, + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1221, + "name": "AuthMFAAdminListFactorsParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1247, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1247" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1222, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1223, + "name": "userId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1249, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1249" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1223] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1247, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1247" + } + ] + } + } + }, + { + "id": 1218, + "name": "AuthMFAAdminListFactorsResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1239, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1239" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 647, + "id": 1219, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, - "name": "data", + "id": 1220, + "name": "factors", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "All factors attached to the user." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 152, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L152" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1241, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1241" } ], "type": { - "type": "reflection", - "declaration": { - "id": 649, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 652, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 152, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L152" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 651, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 152, - "character": 26, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L152" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 650, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 152, - "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L152" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [652, 651, 650] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 152, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L152" - } - ] - } - } - }, - { - "id": 653, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 153, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L153" + "type": "array", + "elementType": { + "type": "reference", + "target": 777, + "name": "Factor", + "package": "@supabase/auth-js" } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" } } ], "groups": [ { "title": "Properties", - "children": [648, 653] + "children": [1220] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L151" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1239, + "character": 60, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1239" } ] } } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1079, + "name": "AuthMFAChallengePhoneResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1048, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1048" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "phone" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengePhoneResponseFields" + }, + "name": "AuthMFAChallengePhoneResponseFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1083, + "name": "AuthMFAChallengeResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1100, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1100" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1078, + "name": "AuthMFAChallengeTOTPResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1079, + "name": "AuthMFAChallengePhoneResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1080, + "name": "AuthMFAChallengeWebauthnResponse", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1078, + "name": "AuthMFAChallengeTOTPResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1040, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1040" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "totp" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeTOTPResponseFields" + }, + "name": "AuthMFAChallengeTOTPResponseFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1080, + "name": "AuthMFAChallengeWebauthnResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response type for WebAuthn MFA challenge.\nContains credential creation or request options from the server." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "W3C WebAuthn Spec - Credential Creation", + "target": "https://w3c.github.io/webauthn/#sctn-credential-creation" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1069, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1069" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponseFields" + }, + "name": "AuthMFAChallengeWebauthnResponseFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1081, + "name": "AuthMFAChallengeWebauthnResponseDataJSON", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "JSON-serializable version of WebAuthn challenge response.\nUsed for server communication with base64url-encoded binary fields." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1089, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1089" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponseFieldsJSON" + }, + "name": "AuthMFAChallengeWebauthnResponseFieldsJSON", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1082, + "name": "AuthMFAChallengeWebauthnServerResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Server response type for WebAuthn MFA challenge.\nContains JSON-formatted WebAuthn options ready for browser API." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1097, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1097" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 1081, + "name": "AuthMFAChallengeWebauthnResponseDataJSON", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1256, + "name": "AuthMFAEnrollPhoneResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1403, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1403" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "phone" + } + ], + "name": "AuthMFAEnrollResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollPhoneResponseFields" + }, + "name": "AuthMFAEnrollPhoneResponseFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1074, + "name": "AuthMFAEnrollResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1015, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1015" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1255, + "name": "AuthMFAEnrollTOTPResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1256, + "name": "AuthMFAEnrollPhoneResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1257, + "name": "AuthMFAEnrollWebauthnResponse", + "package": "@supabase/auth-js" + } ] } }, { - "id": 612, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 1255, + "name": "AuthMFAEnrollTOTPResponse", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 108, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1394, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L108" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1394" } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 691, + "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L110" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 615, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 617, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L112" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 715, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 616, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 111, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L111" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 755, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [617, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L110" - } - ] - } - } - }, - { - "id": 618, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 114, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L114" - } - ], - "type": { - "type": "literal", - "value": null + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "totp" + } + ], + "name": "AuthMFAEnrollResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollTOTPResponseFields" + }, + "name": "AuthMFAEnrollTOTPResponseFields", + "package": "@supabase/auth-js" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [614, 618] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 109, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L109" - } - ] - } - }, + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1257, + "name": "AuthMFAEnrollWebauthnResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 620, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L117" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 621, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 623, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L119" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 622, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 118, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L118" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [623, 622] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L117" - } - ] - } - } - }, - { - "id": 624, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 121, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L121" - } - ], - "type": { + "kind": "text", + "text": "Response type for WebAuthn factor enrollment.\nReturns the enrolled factor ID and metadata." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "W3C WebAuthn Spec - Registering a New Credential", + "target": "https://w3c.github.io/webauthn/#sctn-registering-a-new-credential" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1416, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1416" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "AuthMFAEnrollResponseBase", + "package": "@supabase/auth-js" + }, + { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollWebauthnFields" + }, + "name": "AuthMFAEnrollWebauthnFields", + "package": "@supabase/auth-js" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [620, 624] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 116, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L116" - } - ] - } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" } - ] + ], + "name": "RequestResult", + "package": "@supabase/auth-js" } }, { - "id": 625, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", + "id": 1089, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 124, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1120, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L124" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1120" } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 691, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 626, + "id": 1090, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 627, - "name": "data", + "id": 1093, + "name": "currentAuthenticationMethods", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 126, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L126" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1137, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1137" } ], "type": { - "type": "reflection", - "declaration": { - "id": 628, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 630, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 128, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L128" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 715, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 629, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L127" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 755, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 631, - "name": "weak_password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L129" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 608, - "name": "WeakPassword" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [630, 629, 631] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 126, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L126" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 761, + "name": "AMREntry", + "package": "@supabase/auth-js" } } }, { - "id": 632, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L131" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [627, 632] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L125" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 633, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 634, - "name": "data", + "id": 1091, + "name": "currentLevel", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Current AAL level of the session." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 134, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L134" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1122, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1122" } ], "type": { - "type": "reflection", - "declaration": { - "id": 635, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 637, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 136, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L136" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 636, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 135, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L135" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [637, 636] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 134, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L134" - } - ] - } + "type": "union", + "types": [ + { + "type": "reference", + "target": 1088, + "name": "AuthenticatorAssuranceLevels", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 638, - "name": "error", + "id": 1092, + "name": "nextLevel", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#challenge", + "target": 1115 + } + ] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 138, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L138" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1130" } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" + "type": "union", + "types": [ + { + "type": "reference", + "target": 1088, + "name": "AuthenticatorAssuranceLevels", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] } } ], "groups": [ { "title": "Properties", - "children": [634, 638] + "children": [1093, 1091, 1092] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L133" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1120, + "character": 74, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1120" } ] } } - ] + ], + "name": "RequestResult", + "package": "@supabase/auth-js" } }, { - "id": 654, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 1084, + "name": "AuthMFAListFactorsResponse", + "variant": "declaration", + "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "response of ListFactors, which should contain all the types of factors that are available, this ensures we always include all" + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 156, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1106, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L156" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1106" + } + ], + "typeParameters": [ + { + "id": 1087, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorTypes" + }, + "name": "FactorTypes", + "package": "@supabase/auth-js", + "preferValues": true + } + }, + "default": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorTypes" + }, + "name": "FactorTypes", + "package": "@supabase/auth-js", + "preferValues": true + } + } } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 691, + "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 655, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 656, - "name": "data", - "kind": 1024, - "kindString": "Property", + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1085, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 158, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L158" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 657, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 1086, + "name": "all", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 659, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 160, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L160" - } - ], - "type": { - "type": "reference", - "id": 715, - "name": "Session" + "comment": { + "summary": [ + { + "kind": "text", + "text": "All available factors (verified and unverified)." } - }, + ] + }, + "sources": [ { - "id": 658, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1110, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1110" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 686, + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 159, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L159" + "type": "reference", + "target": 777, + "name": "Factor", + "package": "@supabase/auth-js" } ], - "type": { - "type": "reference", - "id": 755, - "name": "User" - } + "name": "Prettify", + "package": "@supabase/auth-js" } - ], - "groups": [ - { - "title": "Properties", - "children": [659, 658] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 158, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L158" - } - ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1086] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1108, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1108" } + ] + } + }, + { + "type": "mapped", + "parameter": "K", + "parameterType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "reference", + "target": 1087, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } }, + "templateType": { + "type": "array", + "elementType": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "reference", + "target": 777, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "verified" + } + ], + "name": "Factor", + "package": "@supabase/auth-js" + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + } + } + ] + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1075, + "name": "AuthMFAUnenrollResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1020, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1020" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1076, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 660, - "name": "error", + "id": 1077, + "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor that was successfully unenrolled." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L162" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1022, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1022" } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [656, 660] + "children": [1077] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 157, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L157" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1020, + "character": 52, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1020" } ] } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1073, + "name": "AuthMFAVerifyResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response type for MFA verification operations.\nReturns session tokens on successful verification." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1013, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1013" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 1066, + "name": "AuthMFAVerifyResponseData", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1066, + "name": "AuthMFAVerifyResponseData", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Data returned after successful MFA verification.\nContains new session tokens and updated user information." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 992, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L992" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1067, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1068, + "name": "access_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "New access token (JWT) after successful verification." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 994, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L994" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1070, + "name": "expires_in", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Number of seconds in which the access token will expire." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1000, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1000" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1071, + "name": "refresh_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Refresh token you can use to obtain new access tokens when expired." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1003, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1003" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1069, + "name": "token_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type of token, always " + }, + { + "kind": "code", + "text": "`bearer`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 997, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L997" + } + ], + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "id": 1072, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updated user profile." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1006, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1006" + } + ], + "type": { + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1068, 1070, 1071, 1069, 1072] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 992, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L992" + } + ] + } + } + }, + { + "id": 717, + "name": "AuthOtpResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "AuthOtpResponse is returned when OTP is used.\n\n" }, + { + "kind": "inline-tag", + "tag": "@see", + "text": "AuthResponse" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 173, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L173" + } + ], + "type": { + "type": "reference", + "target": 700, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 661, + "id": 718, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, - "name": "data", + "id": 721, + "name": "messageId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 165, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L165" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 663, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 665, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L167" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 664, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 166, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L166" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [665, 664] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 165, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L165" - } - ] + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 176, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L176" } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 666, - "name": "error", + "id": 720, + "name": "session", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 169, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L169" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 175, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L175" } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" + "type": "literal", + "value": null + } + }, + { + "id": 719, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 174, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L174" + } + ], + "type": { + "type": "literal", + "value": null } } ], "groups": [ { "title": "Properties", - "children": [662, 666] + "children": [721, 720, 719] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 164, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L164" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 173, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L173" } ] } } - ] + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" } }, { - "id": 667, - "name": "AuthTokenResponsePassword", - "kind": 4194304, - "kindString": "Type alias", + "id": 708, + "name": "AuthResponse", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 172, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 157, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L172" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L157" } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 700, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 668, + "id": 709, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 669, - "name": "data", + "id": 711, + "name": "session", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 174, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L174" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 159, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L159" } ], "type": { - "type": "reflection", - "declaration": { - "id": 670, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 672, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 176, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L176" - } - ], - "type": { - "type": "reference", - "id": 715, - "name": "Session" - } - }, - { - "id": 671, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 175, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L175" - } - ], - "type": { - "type": "reference", - "id": 755, - "name": "User" - } - }, - { - "id": 673, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 177, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L177" - } - ], - "type": { - "type": "reference", - "id": 608, - "name": "WeakPassword" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [672, 671, 673] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 174, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L174" - } - ] - } + "type": "union", + "types": [ + { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 674, - "name": "error", + "id": 710, + "name": "user", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 179, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L179" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 158, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L158" } ], "type": { - "type": "literal", - "value": null + "type": "union", + "types": [ + { + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] } } ], "groups": [ { "title": "Properties", - "children": [669, 674] + "children": [711, 710] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L173" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 157, + "character": 56, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L157" } ] } - }, + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 712, + "name": "AuthResponsePassword", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 162, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L162" + } + ], + "type": { + "type": "reference", + "target": 700, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 675, + "id": 713, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 676, - "name": "data", + "id": 715, + "name": "session", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 182, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L182" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 164, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L164" } ], "type": { - "type": "reflection", - "declaration": { - "id": 677, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 679, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 184, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L184" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 678, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L183" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 680, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 185, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L185" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [679, 678, 680] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 182, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L182" - } - ] - } + "type": "union", + "types": [ + { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 681, - "name": "error", + "id": 714, + "name": "user", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 187, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L187" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L163" } ], "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" + "type": "union", + "types": [ + { + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 716, + "name": "weak_password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 165, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L165" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 682, + "name": "WeakPassword", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] } } ], "groups": [ { "title": "Properties", - "children": [676, 681] + "children": [715, 714, 716] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 181, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L181" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 162, + "character": 64, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L162" } ] } } - ] - } - }, - { - "id": 1096, - "name": "AuthenticatorAssuranceLevels", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1008, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1008" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "aal1" - }, - { - "type": "literal", - "value": "aal2" - } - ] + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" } }, { - "id": 1170, - "name": "CallRefreshTokenResult", - "kind": 4194304, - "kindString": "Type alias", + "id": 722, + "name": "AuthTokenResponse", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1196, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 179, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1196" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L179" } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 700, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 1171, + "id": 723, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1173, - "name": "error", + "id": 725, + "name": "session", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1199, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1199" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L181" } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" } }, { - "id": 1172, - "name": "session", + "id": 724, + "name": "user", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1198, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1198" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 180, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L180" } ], "type": { "type": "reference", - "id": 715, - "name": "Session" + "target": 794, + "name": "User", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1173, 1172] + "children": [725, 724] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1197, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1197" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 179, + "character": 61, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L179" } ] } - }, + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 726, + "name": "AuthTokenResponsePassword", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 184, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L184" + } + ], + "type": { + "type": "reference", + "target": 700, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 1174, + "id": 727, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1176, - "name": "error", + "id": 729, + "name": "session", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1203, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1203" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L186" } ], "type": { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" } }, { - "id": 1175, - "name": "session", + "id": 728, + "name": "user", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1202, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1202" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 185, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L185" } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" + } + }, + { + "id": 730, + "name": "weakPassword", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 187, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L187" + } + ], + "type": { + "type": "reference", + "target": 682, + "name": "WeakPassword", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1176, 1175] + "children": [729, 728, 730] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1201, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1201" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 184, + "character": 69, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L184" } ] } } - ] + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" } }, { - "id": 959, + "id": 1237, + "name": "CallRefreshTokenResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1299, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1299" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reference", + "target": 750, + "name": "Session", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 981, "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 767, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 745, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L745" } ], "type": { @@ -43724,36 +24847,41 @@ } }, { - "id": 919, + "id": 941, "name": "EthereumWallet", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 678, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 656, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L678" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L656" } ], "type": { "type": "reference", - "name": "EIP1193Provider" + "target": { + "sourceFileName": "src/lib/web3/ethereum.ts", + "qualifiedName": "EIP1193Provider" + }, + "name": "EIP1193Provider", + "package": "@supabase/auth-js" } }, { - "id": 920, + "id": 942, "name": "EthereumWeb3Credentials", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 680, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 658, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L680" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L658" } ], "type": { @@ -43762,24 +24890,24 @@ { "type": "reflection", "declaration": { - "id": 921, + "id": 943, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 922, + "id": 944, "name": "chain", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 682, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 660, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L682" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L660" } ], "type": { @@ -43788,35 +24916,35 @@ } }, { - "id": 925, + "id": 947, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 690, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 668, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L690" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L668" } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 948, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 950, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -43830,10 +24958,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 695, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 673, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L695" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L673" } ], "type": { @@ -43842,30 +24970,43 @@ } }, { - "id": 929, + "id": 951, "name": "signInWithEthereum", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 697, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 675, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L697" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L675" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "name": "EthereumSignInInput" + "target": { + "sourceFileName": "src/lib/web3/ethereum.ts", + "qualifiedName": "EthereumSignInInput" + }, + "name": "EthereumSignInInput", + "package": "@supabase/auth-js" }, { "type": "union", @@ -43890,20 +25031,18 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } ], "name": "Partial", - "qualifiedName": "Partial", "package": "typescript" } }, { - "id": 927, + "id": 949, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -43917,10 +25056,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 692, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 670, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L692" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L670" } ], "type": { @@ -43932,25 +25071,25 @@ "groups": [ { "title": "Properties", - "children": [928, 929, 927] + "children": [950, 951, 949] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 690, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 668, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L690" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L668" } ] } } }, { - "id": 924, + "id": 946, "name": "statement", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -43964,10 +25103,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 688, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 666, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L688" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L666" } ], "type": { @@ -43976,10 +25115,10 @@ } }, { - "id": 923, + "id": 945, "name": "wallet", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -44001,31 +25140,32 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 685, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 663, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L685" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L663" } ], "type": { "type": "reference", - "id": 919, - "name": "EthereumWallet" + "target": 941, + "name": "EthereumWallet", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [922, 925, 924, 923] + "children": [944, 947, 946, 945] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 681, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 659, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L681" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L659" } ] } @@ -44033,24 +25173,24 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 952, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 931, + "id": 953, "name": "chain", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 703, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 681, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L703" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L681" } ], "type": { @@ -44059,10 +25199,10 @@ } }, { - "id": 932, + "id": 954, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -44098,10 +25238,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 706, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 684, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L706" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L684" } ], "type": { @@ -44110,35 +25250,35 @@ } }, { - "id": 934, + "id": 956, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 711, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 689, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L711" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L689" } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 957, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 936, + "id": 958, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -44152,10 +25292,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 713, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 691, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L713" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L691" } ], "type": { @@ -44167,25 +25307,25 @@ "groups": [ { "title": "Properties", - "children": [936] + "children": [958] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 711, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 689, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L711" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L689" } ] } } }, { - "id": 933, + "id": 955, "name": "signature", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -44197,30 +25337,35 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 709, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 687, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L709" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L687" } ], "type": { "type": "reference", - "name": "Hex" + "target": { + "sourceFileName": "src/lib/web3/ethereum.ts", + "qualifiedName": "Hex" + }, + "name": "Hex", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [931, 932, 934, 933] + "children": [953, 954, 956, 955] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 702, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 680, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L702" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L680" } ] } @@ -44229,75 +25374,228 @@ } }, { - "id": 1003, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", + "id": 777, + "name": "Factor", + "variant": "declaration", + "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A MFA factor." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#enroll", + "target": 1095 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#listFactors", + "target": 1206 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAAdminApi#listFactors" + }, + { + "kind": "text", + "text": "\n" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 834, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 324, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L324" + } + ], + "typeParameters": [ + { + "id": 785, + "name": "Type", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 776, + "name": "FactorType", + "package": "@supabase/auth-js" + }, + "default": { + "type": "reference", + "target": 776, + "name": "FactorType", + "package": "@supabase/auth-js" + } + }, + { + "id": 786, + "name": "Status", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorVerificationStatus" + }, + "name": "FactorVerificationStatus", + "package": "@supabase/auth-js" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorVerificationStatuses" + }, + "name": "FactorVerificationStatuses", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } } ], "type": { "type": "reflection", "declaration": { - "id": 1004, + "id": 778, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1006, - "name": "email", + "id": 783, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 344, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L344" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 781, + "name": "factor_type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's email" + "text": "Type of factor. " + }, + { + "kind": "code", + "text": "`totp`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`phone`" + }, + { + "kind": "text", + "text": " supported with this version" } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 837, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 337, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L837" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L337" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 785, + "name": "Type", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } }, { - "id": 1007, - "name": "newEmail", + "id": 780, + "name": "friendly_name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + "text": "Friendly name of the factor, useful to disambiguate between multiple factors." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 841, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 332, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L841" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L332" } ], "type": { @@ -44306,113 +25604,214 @@ } }, { - "id": 1008, - "name": "options", + "id": 779, + "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 842, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 329, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L842" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L329" } ], "type": { - "type": "reference", - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 782, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" + "kind": "text", + "text": "The verification status of the factor, default is " }, { - "type": "literal", - "value": "redirectTo" + "kind": "code", + "text": "`unverified`" + }, + { + "kind": "text", + "text": " after " + }, + { + "kind": "code", + "text": "`.enroll()`" + }, + { + "kind": "text", + "text": ", then " + }, + { + "kind": "code", + "text": "`verified`" + }, + { + "kind": "text", + "text": " after the user verifies it with " + }, + { + "kind": "code", + "text": "`.verify()`" } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 342, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L342" + } + ], + "type": { + "type": "reference", + "target": 786, + "name": "Status", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } }, { - "id": 1005, - "name": "type", + "id": 784, + "name": "updated_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 835, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 345, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L835" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L345" } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [1006, 1007, 1008, 1005] + "children": [783, 781, 780, 779, 782, 784] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 327, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L327" } ] } } }, { - "id": 993, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", + "id": 776, + "name": "FactorType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type of factor. " + }, + { + "kind": "code", + "text": "`totp`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`phone`" + }, + { + "kind": "text", + "text": " supported with this version" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 308, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L308" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorTypes" + }, + "name": "FactorTypes", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } + }, + { + "id": 1025, + "name": "GenerateEmailChangeLinkParams", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 820, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 812, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L812" } ], "type": { "type": "reflection", "declaration": { - "id": 994, + "id": 1026, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 996, + "id": 1028, "name": "email", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -44424,10 +25823,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 823, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 815, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L823" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L815" } ], "type": { @@ -44436,677 +25835,308 @@ } }, { - "id": 997, - "name": "options", + "id": 1029, + "name": "newEmail", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 824, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 819, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L824" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L819" } ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 995, - "name": "type", + "id": 1030, + "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 821, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 820, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L821" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [996, 997, 995] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 46, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ] - } - } - }, - { - "id": 1012, - "name": "GenerateLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 856, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L856" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 987, - "name": "GenerateSignupLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 813, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 988, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 990, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 815, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L815" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 992, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 817, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L817" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 991, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 816, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L816" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 989, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 814, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L814" - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [990, 992, 991, 989] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 813, - "character": 39, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" - } - ] - } - } - }, - { - "id": 993, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 994, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 996, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 823, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L823" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 997, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 824, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L824" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 995, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 821, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L821" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [996, 997, 995] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 820, - "character": 46, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L820" - } - ] - } - } - }, - { - "id": 998, - "name": "GenerateRecoveryLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 827, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 999, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1001, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 830, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L830" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L820" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ { - "id": 1002, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 831, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L831" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } + "type": "reference", + "target": 1031, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" }, { - "id": 1000, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 828, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L828" - } - ], - "type": { - "type": "literal", - "value": "recovery" - } + "type": "literal", + "value": "redirectTo" } ], - "groups": [ + "name": "Pick", + "package": "typescript" + } + }, + { + "id": 1027, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 813, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L813" + } + ], + "type": { + "type": "union", + "types": [ { - "title": "Properties", - "children": [1001, 1002, 1000] - } - ], - "sources": [ + "type": "literal", + "value": "email_change_current" + }, { - "fileName": "src/lib/types.ts", - "line": 827, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" + "type": "literal", + "value": "email_change_new" } ] } } - }, - { - "id": 1003, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1004, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + ], + "groups": [ + { + "title": "Properties", + "children": [1028, 1029, 1030, 1027] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 812, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L812" + } + ] + } + } + }, + { + "id": 1015, + "name": "GenerateInviteOrMagiclinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 798, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L798" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1016, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1018, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "id": 1006, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 837, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L837" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "kind": "text", + "text": "The user's email" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 801, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L801" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1019, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 802, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L802" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ { - "id": 1007, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 841, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L841" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 1031, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" }, { - "id": 1008, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + "type": "union", + "types": [ { - "fileName": "src/lib/types.ts", - "line": 842, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L842" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 1005, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "type": "literal", + "value": "data" + }, { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L835" + "type": "literal", + "value": "redirectTo" } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } + ] } ], - "groups": [ + "name": "Pick", + "package": "typescript" + } + }, + { + "id": 1017, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 799, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L799" + } + ], + "type": { + "type": "union", + "types": [ { - "title": "Properties", - "children": [1006, 1007, 1008, 1005] - } - ], - "sources": [ + "type": "literal", + "value": "invite" + }, { - "fileName": "src/lib/types.ts", - "line": 834, - "character": 44, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L834" + "type": "literal", + "value": "magiclink" } ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [1018, 1019, 1017] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 798, + "character": 46, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L798" + } + ] + } + } + }, + { + "id": 1034, + "name": "GenerateLinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 834, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L834" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1009, + "name": "GenerateSignupLinkParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1015, + "name": "GenerateInviteOrMagiclinkParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1020, + "name": "GenerateRecoveryLinkParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1025, + "name": "GenerateEmailChangeLinkParams", + "package": "@supabase/auth-js" } ] } }, { - "id": 1026, + "id": 1039, "name": "GenerateLinkProperties", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "comment": { "summary": [ @@ -45118,26 +26148,26 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 879, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 846, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L879" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L846" } ], "type": { "type": "reflection", "declaration": { - "id": 1027, + "id": 1040, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1028, + "id": 1041, "name": "action_link", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -45149,10 +26179,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 884, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 851, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L884" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L851" } ], "type": { @@ -45161,10 +26191,10 @@ } }, { - "id": 1029, + "id": 1042, "name": "email_otp", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -45176,10 +26206,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 889, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 856, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L889" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L856" } ], "type": { @@ -45188,10 +26218,10 @@ } }, { - "id": 1030, + "id": 1043, "name": "hashed_token", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -45203,10 +26233,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 893, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 860, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L893" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L860" } ], "type": { @@ -45215,10 +26245,10 @@ } }, { - "id": 1031, + "id": 1044, "name": "redirect_to", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -45230,10 +26260,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 895, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 862, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L895" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L862" } ], "type": { @@ -45242,10 +26272,10 @@ } }, { - "id": 1032, + "id": 1045, "name": "verification_type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -45257,363 +26287,140 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 897, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 864, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L897" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L864" } ], "type": { "type": "reference", - "id": 1033, + "target": 1046, "name": "GenerateLinkType", - "dereferenced": { - "id": 1033, - "name": "GenerateLinkType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 900, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L900" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - } + "package": "@supabase/auth-js" } } ], "groups": [ - { - "title": "Properties", - "children": [1028, 1029, 1030, 1031, 1032] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 879, - "character": 37, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L879" - } - ] - } - } - }, - { - "id": 1013, - "name": "GenerateLinkResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 862, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L862" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1014, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1015, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L864" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1016, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1017, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 865, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L865" - } - ], - "type": { - "type": "reference", - "id": 1026, - "name": "GenerateLinkProperties" - } - }, - { - "id": 1018, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 866, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L866" - } - ], - "type": { - "type": "reference", - "id": 755, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1017, 1018] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L864" - } - ] - } - } - }, - { - "id": 1019, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 868, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L868" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1015, 1019] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 863, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L863" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1020, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1021, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 871, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L871" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1022, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1023, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 872, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L872" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1024, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 873, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L873" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1023, 1024] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 871, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L871" - } - ] + { + "title": "Properties", + "children": [1041, 1042, 1043, 1044, 1045] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 846, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L846" + } + ] + } + } + }, + { + "id": 1035, + "name": "GenerateLinkResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 840, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L840" + } + ], + "type": { + "type": "reference", + "target": 700, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1036, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1037, + "name": "properties", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 841, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L841" } + ], + "type": { + "type": "reference", + "target": 1039, + "name": "GenerateLinkProperties", + "package": "@supabase/auth-js" } }, { - "id": 1025, - "name": "error", + "id": 1038, + "name": "user", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L875" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 842, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L842" } ], "type": { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 794, + "name": "User", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [1021, 1025] + "children": [1037, 1038] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 870, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L870" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 840, + "character": 64, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L840" } ] } } - ] + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" } }, { - "id": 1033, + "id": 1046, "name": "GenerateLinkType", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 900, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 867, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L900" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L867" } ], "type": { @@ -45647,33 +26454,33 @@ } }, { - "id": 998, + "id": 1020, "name": "GenerateRecoveryLinkParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 827, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 805, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L805" } ], "type": { "type": "reflection", "declaration": { - "id": 999, + "id": 1021, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1001, + "id": 1023, "name": "email", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -45685,10 +26492,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 830, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 808, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L830" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L808" } ], "type": { @@ -45697,28 +26504,33 @@ } }, { - "id": 1002, + "id": 1024, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 831, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 809, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L831" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L809" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, "typeArguments": [ { "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" + "target": 1031, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" }, { "type": "literal", @@ -45726,22 +26538,21 @@ } ], "name": "Pick", - "qualifiedName": "Pick", "package": "typescript" } }, { - "id": 1000, + "id": 1022, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 828, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 806, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L828" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L806" } ], "type": { @@ -45753,55 +26564,55 @@ "groups": [ { "title": "Properties", - "children": [1001, 1002, 1000] + "children": [1023, 1024, 1022] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 827, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 805, "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L827" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L805" } ] } } }, { - "id": 987, + "id": 1009, "name": "GenerateSignupLinkParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 813, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 791, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L791" } ], "type": { "type": "reflection", "declaration": { - "id": 988, + "id": 1010, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1012, "name": "email", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 815, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 793, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L815" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L793" } ], "type": { @@ -45810,28 +26621,33 @@ } }, { - "id": 992, + "id": 1014, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 817, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 795, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L817" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L795" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, "typeArguments": [ { "type": "reference", - "id": 1009, - "name": "GenerateLinkOptions" + "target": 1031, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" }, { "type": "union", @@ -45848,22 +26664,21 @@ } ], "name": "Pick", - "qualifiedName": "Pick", "package": "typescript" } }, { - "id": 991, + "id": 1013, "name": "password", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 816, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 794, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L816" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L794" } ], "type": { @@ -45872,17 +26687,17 @@ } }, { - "id": 989, + "id": 1011, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 814, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 792, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L814" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L792" } ], "type": { @@ -45894,57 +26709,57 @@ "groups": [ { "title": "Properties", - "children": [990, 992, 991, 989] + "children": [1012, 1014, 1013, 1011] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 813, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 791, "character": 39, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L813" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L791" } ] } } }, { - "id": 584, + "id": 659, "name": "GoTrueClientOptions", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 60, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 70, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L60" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L70" } ], "type": { "type": "reflection", "declaration": { - "id": 585, + "id": 660, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 668, "name": "autoRefreshToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 70, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 80, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L70" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L80" } ], "type": { @@ -45953,19 +26768,19 @@ } }, { - "id": 599, + "id": 674, "name": "debug", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 88, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 98, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L88" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L98" } ], "type": { @@ -45978,32 +26793,32 @@ { "type": "reflection", "declaration": { - "id": 600, + "id": 675, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 88, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 98, "character": 21, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L88" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L98" } ], "signatures": [ { - "id": 601, + "id": 676, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 602, + "id": 677, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -46011,10 +26826,10 @@ } }, { - "id": 603, + "id": 678, "name": "args", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isRest": true }, @@ -46039,19 +26854,19 @@ } }, { - "id": 592, + "id": 667, "name": "detectSessionInUrl", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 68, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 78, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L68" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L78" } ], "type": { @@ -46060,81 +26875,59 @@ } }, { - "id": 597, + "id": 672, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 84, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 94, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L84" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L94" } ], "type": { "type": "reference", - "name": "Fetch" + "target": { + "sourceFileName": "src/lib/fetch.ts", + "qualifiedName": "Fetch" + }, + "name": "Fetch", + "package": "@supabase/auth-js" } }, { - "id": 598, + "id": 673, "name": "flowType", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 86, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 96, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L86" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L96" } ], "type": { "type": "reference", - "id": 863, + "target": 885, "name": "AuthFlowType", - "dereferenced": { - "id": 863, - "name": "AuthFlowType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 601, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L601" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "implicit" - }, - { - "type": "literal", - "value": "pkce" - } - ] - } - } + "package": "@supabase/auth-js" } }, { - "id": 605, + "id": 680, "name": "hasCustomAuthorizationHeader", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -46149,10 +26942,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 99, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 109, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L99" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L109" } ], "type": { @@ -46161,68 +26954,79 @@ } }, { - "id": 587, + "id": 662, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 64, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 74, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L64" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L74" } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 663, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 64, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 74, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L64" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L74" } ], - "indexSignature": { - "id": 589, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 590, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "indexSignatures": [ + { + "id": 664, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 74, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L74" + } + ], + "parameters": [ + { + "id": 665, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ], - "type": { - "type": "intrinsic", - "name": "string" } - } + ] } } }, { - "id": 604, + "id": 679, "name": "lock", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -46237,216 +27041,33 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 94, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 104, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L94" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L104" } ], "type": { "type": "reference", - "id": 575, + "target": 650, "name": "LockFunc", - "dereferenced": { - "id": 575, - "name": "LockFunc", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 576, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 23, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" - } - ], - "signatures": [ - { - "id": 577, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n" - }, - { - "kind": "code", - "text": "`fn`" - }, - { - "kind": "text", - "text": " async function, such that no other client instances will be able to\nhold it at the same time." - } - ], - "modifierTags": ["@experimental"] - }, - "typeParameter": [ - { - "id": 583, - "name": "R", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 578, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the lock to be acquired." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 579, - "name": "acquireTimeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If negative, no timeout should occur. If positive it\n should throw an Error with an " - }, - { - "kind": "code", - "text": "`isAcquireTimeout`" - }, - { - "kind": "text", - "text": "\n property set to true if the operation fails to be\n acquired after this much time (ms)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 580, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operation to execute when the lock is acquired." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 581, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 69, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" - } - ], - "signatures": [ - { - "id": 582, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 583, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 583, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } + "package": "@supabase/auth-js" } }, { - "id": 594, + "id": 669, "name": "persistSession", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 72, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 82, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L82" } ], "type": { @@ -46455,161 +27076,42 @@ } }, { - "id": 595, + "id": 670, "name": "storage", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 74, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 84, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L74" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L84" } ], "type": { "type": "reference", - "id": 1164, + "target": 1231, "name": "SupportedStorage", - "dereferenced": { - "id": 1164, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1181, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1181" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Storage", - "qualifiedName": "Storage", - "package": "typescript" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "getItem" - }, - { - "type": "literal", - "value": "setItem" - }, - { - "type": "literal", - "value": "removeItem" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - ], - "name": "PromisifyMethods" - }, - { - "type": "reflection", - "declaration": { - "id": 1165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1166, - "name": "isServer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1191, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1191" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1166] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1183, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1183" - } - ] - } - } - ] - } - } + "package": "@supabase/auth-js" } }, { - "id": 591, + "id": 666, "name": "storageKey", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 66, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 76, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L66" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L76" } ], "type": { @@ -46618,19 +27120,19 @@ } }, { - "id": 586, + "id": 661, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 62, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 72, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L62" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L72" } ], "type": { @@ -46639,10 +27141,10 @@ } }, { - "id": 596, + "id": 671, "name": "userStorage", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -46697,191 +27199,72 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L82" - } - ], - "type": { - "type": "reference", - "id": 1164, - "name": "SupportedStorage", - "dereferenced": { - "id": 1164, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1181, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1181" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Storage", - "qualifiedName": "Storage", - "package": "typescript" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "getItem" - }, - { - "type": "literal", - "value": "setItem" - }, - { - "type": "literal", - "value": "removeItem" - } - ] - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - ], - "name": "PromisifyMethods" - }, - { - "type": "reflection", - "declaration": { - "id": 1165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1166, - "name": "isServer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1191, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1191" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1166] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1183, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1183" - } - ] - } - } - ] - } + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 92, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L92" } + ], + "type": { + "type": "reference", + "target": 1231, + "name": "SupportedStorage", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596] + "children": [668, 674, 667, 672, 673, 680, 662, 679, 669, 670, 666, 661, 671] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 60, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 70, "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L60" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L70" } ] } } }, { - "id": 1167, + "id": 1234, "name": "InitializeResult", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1194, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1297, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1194" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1297" } ], "type": { "type": "reflection", "declaration": { - "id": 1168, + "id": 1235, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1169, + "id": 1236, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1194, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1297, "character": 33, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1194" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1297" } ], "type": { @@ -46889,8 +27272,9 @@ "types": [ { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" }, { "type": "literal", @@ -46903,55 +27287,55 @@ "groups": [ { "title": "Properties", - "children": [1169] + "children": [1236] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1194, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1297, "character": 31, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1194" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1297" } ] } } }, { - "id": 1229, + "id": 1258, "name": "JwtHeader", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1308, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1420, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1308" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1420" } ], "type": { "type": "reflection", "declaration": { - "id": 1230, + "id": 1259, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1231, + "id": 1260, "name": "alg", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1309, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1421, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1309" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1421" } ], "type": { @@ -46973,17 +27357,17 @@ } }, { - "id": 1232, + "id": 1261, "name": "kid", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1310, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1422, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1310" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1422" } ], "type": { @@ -46992,17 +27376,17 @@ } }, { - "id": 1233, + "id": 1262, "name": "typ", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1311, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1423, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1311" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1423" } ], "type": { @@ -47014,32 +27398,32 @@ "groups": [ { "title": "Properties", - "children": [1231, 1232, 1233] + "children": [1260, 1261, 1262] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1308, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1420, "character": 24, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1308" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1420" } ] } } }, { - "id": 1244, + "id": 1273, "name": "JwtPayload", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1325, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1437, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1325" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1437" } ], "type": { @@ -47047,122 +27431,134 @@ "types": [ { "type": "reference", - "id": 1234, - "name": "RequiredClaims" + "target": 1263, + "name": "RequiredClaims", + "package": "@supabase/auth-js" }, { "type": "reflection", "declaration": { - "id": 1245, + "id": 1274, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1325, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1437, "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1325" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1437" } ], - "indexSignature": { - "id": 1246, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 1247, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "indexSignatures": [ + { + "id": 1275, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1438, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1438" + } + ], + "parameters": [ + { + "id": 1276, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } + ], + "type": { + "type": "intrinsic", + "name": "any" } - ], - "type": { - "type": "intrinsic", - "name": "any" } - } + ] } } ] } }, { - "id": 575, + "id": 650, "name": "LockFunc", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n" + }, + { + "kind": "code", + "text": "`fn`" + }, + { + "kind": "text", + "text": " async function, such that no other client instances will be able to\nhold it at the same time." + } + ], + "modifierTags": ["@experimental"] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 58, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 68, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L68" } ], "type": { "type": "reflection", "declaration": { - "id": 576, + "id": 651, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 58, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 68, "character": 23, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L68" } ], "signatures": [ { - "id": 577, + "id": 652, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n" - }, - { - "kind": "code", - "text": "`fn`" - }, - { - "kind": "text", - "text": " async function, such that no other client instances will be able to\nhold it at the same time." - } - ], - "modifierTags": ["@experimental"] - }, - "typeParameter": [ + "typeParameters": [ { - "id": 583, + "id": 658, "name": "R", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} } ], "parameters": [ { - "id": 578, + "id": 653, "name": "name", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -47178,10 +27574,10 @@ } }, { - "id": 579, + "id": 654, "name": "acquireTimeout", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -47205,10 +27601,10 @@ } }, { - "id": 580, + "id": 655, "name": "fn", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -47221,37 +27617,42 @@ "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 656, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 58, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 68, "character": 69, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L58" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L68" } ], "signatures": [ { - "id": 582, + "id": 657, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 583, - "name": "R" + "target": 658, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -47262,15 +27663,20 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 583, - "name": "R" + "target": 658, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -47279,701 +27685,505 @@ } }, { - "id": 1047, + "id": 1065, "name": "MFAChallengeAndVerifyParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 933, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 986, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L933" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L986" } ], "type": { - "type": "reflection", - "declaration": { - "id": 1048, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1050, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification code provided by the user." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 937, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L937" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1049, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being verified. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 935, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L935" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1050, 1049] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 933, - "character": 42, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L933" - } - ] - } + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeAndVerifyTOTPParams" + }, + "name": "MFAChallengeAndVerifyTOTPParams", + "package": "@supabase/auth-js" } }, { - "id": 1043, + "id": 1064, "name": "MFAChallengeParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 926, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 973, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L926" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L973" } ], "type": { - "type": "reflection", - "declaration": { - "id": 1044, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1046, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors" - } - ] + "type": "union", + "types": [ + { + "type": "reference", + "target": 1061, + "name": "MFAChallengeTOTPParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1062, + "name": "MFAChallengePhoneParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1063, + "name": "MFAChallengeWebauthnParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1062, + "name": "MFAChallengePhoneParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 950, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L950" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParamsBase" + }, + "name": "MFAChallengeParamsBase", + "package": "@supabase/auth-js" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 930, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L930" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengePhoneParamFields" + }, + "name": "MFAChallengePhoneParamFields", + "package": "@supabase/auth-js" } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1061, + "name": "MFAChallengeTOTPParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 943, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L943" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParamsBase" }, - { - "id": 1045, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor to be challenged. Returned in enroll()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 928, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L928" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "name": "MFAChallengeParamsBase", + "package": "@supabase/auth-js" + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1063, + "name": "MFAChallengeWebauthnParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters for initiating a WebAuthn MFA challenge.\nIncludes Relying Party information needed for WebAuthn ceremonies." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "W3C WebAuthn Spec - Relying Party Operations", + "target": "https://w3c.github.io/webauthn/#sctn-rp-operations" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1046, 1045] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 926, - "character": 33, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L926" - } - ] + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 969, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L969" } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParamsBase" + }, + "name": "MFAChallengeParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeWebauthnParamFields" + }, + "name": "MFAChallengeWebauthnParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" } }, { - "id": 1034, + "id": 1047, "name": "MFAEnrollParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 908, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 875, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L908" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L875" } ], "type": { "type": "union", "types": [ { - "id": 1191, + "type": "reference", + "target": 1252, "name": "MFAEnrollTOTPParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1193, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1236" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 1195, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1240" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1194, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain which the user is enrolled with." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1238" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1193, 1195, 1194] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" - } - ] - } - } + "package": "@supabase/auth-js" }, { - "id": 1196, - "name": "MFAEnrollPhoneParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1198, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1244, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1244" - } - ], - "type": { - "type": "literal", - "value": "phone" - } - }, - { - "id": 1199, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1246" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1200, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Phone number associated with a factor. Number should conform to E.164 format" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1248" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1198, 1199, 1200] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ] - } - } + "type": "reference", + "target": 1253, + "name": "MFAEnrollPhoneParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1254, + "name": "MFAEnrollWebauthnParams", + "package": "@supabase/auth-js" } ] } }, { - "id": 1196, + "id": 1253, "name": "MFAEnrollPhoneParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1242, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1347, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1347" } ], "type": { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1198, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParamsBase" + }, + "typeArguments": [ { - "kind": "text", - "text": "The type of factor being enrolled." + "type": "literal", + "value": "phone" } - ] + ], + "name": "MFAEnrollParamsBase", + "package": "@supabase/auth-js" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1244, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1244" - } - ], - "type": { - "type": "literal", - "value": "phone" + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollPhoneParamFields" + }, + "name": "MFAEnrollPhoneParamFields", + "package": "@supabase/auth-js" } - }, - { - "id": 1199, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1252, + "name": "MFAEnrollTOTPParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1341, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1341" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParamsBase" + }, + "typeArguments": [ { - "kind": "text", - "text": "Human readable name assigned to the factor." + "type": "literal", + "value": "totp" } - ] + ], + "name": "MFAEnrollParamsBase", + "package": "@supabase/auth-js" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1246" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollTOTPParamFields" + }, + "name": "MFAEnrollTOTPParamFields", + "package": "@supabase/auth-js" } - }, - { - "id": 1200, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1254, + "name": "MFAEnrollWebauthnParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters for enrolling a WebAuthn factor.\nCreates an unverified WebAuthn factor that must be verified with a credential." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "W3C WebAuthn Spec - Registering a New Credential", + "target": "https://w3c.github.io/webauthn/#sctn-registering-a-new-credential" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1360, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1360" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParamsBase" + }, + "typeArguments": [ { - "kind": "text", - "text": "Phone number associated with a factor. Number should conform to E.164 format" + "type": "literal", + "value": "webauthn" } - ] + ], + "name": "MFAEnrollParamsBase", + "package": "@supabase/auth-js" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1248, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1248" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollWebauthnFields" + }, + "name": "MFAEnrollWebauthnFields", + "package": "@supabase/auth-js" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1198, 1199, 1200] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 35, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1242" - } - ] + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1060, + "name": "MFATOTPChannel", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 941, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L941" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFATOTPChannels" + }, + "name": "MFATOTPChannels", + "package": "@supabase/auth-js", + "preferValues": true + } } } }, { - "id": 1191, - "name": "MFAEnrollTOTPParams", - "kind": 4194304, - "kindString": "Type alias", + "id": 1048, + "name": "MFAUnenrollParams", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1234, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 877, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L877" } ], "type": { "type": "reflection", "declaration": { - "id": 1192, + "id": 1049, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1193, - "name": "factorType", + "id": 1050, + "name": "factorId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The type of factor being enrolled." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1236" - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 1195, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Human readable name assigned to the factor." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1240" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1194, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain which the user is enrolled with." + "text": "ID of the factor being unenrolled." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1238, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 879, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1238" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L879" } ], "type": { @@ -47985,222 +28195,417 @@ "groups": [ { "title": "Properties", - "children": [1193, 1195, 1194] + "children": [1050] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1234, - "character": 34, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1234" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 877, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L877" } ] } } }, { - "id": 1035, - "name": "MFAUnenrollParams", - "kind": 4194304, - "kindString": "Type alias", + "id": 1059, + "name": "MFAVerifyParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 933, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L933" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1051, + "name": "MFAVerifyTOTPParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1052, + "name": "MFAVerifyPhoneParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1057, + "name": "MFAVerifyWebauthnParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1052, + "name": "MFAVerifyPhoneParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 898, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L898" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParamsBase" + }, + "name": "MFAVerifyParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyPhoneParamFields" + }, + "name": "MFAVerifyPhoneParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1051, + "name": "MFAVerifyTOTPParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 894, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L894" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParamsBase" + }, + "name": "MFAVerifyParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyTOTPParamFields" + }, + "name": "MFAVerifyTOTPParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1053, + "name": "MFAVerifyWebauthnParamFields", + "variant": "declaration", + "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "WebAuthn-specific fields for MFA verification.\nSupports both credential creation (registration) and request (authentication) flows." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 910, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 920, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L910" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L920" + } + ], + "typeParameters": [ + { + "id": 1056, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type of WebAuthn operation: 'create' for registration, 'request' for authentication" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "create" + }, + { + "type": "literal", + "value": "request" + } + ] + }, + "default": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "create" + }, + { + "type": "literal", + "value": "request" + } + ] + } } ], "type": { "type": "reflection", "declaration": { - "id": 1036, + "id": 1054, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1037, - "name": "factorId", + "id": 1055, + "name": "webauthn", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the factor being unenrolled." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 912, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 921, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L912" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L921" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFieldsBase" + }, + "name": "MFAVerifyWebauthnParamFieldsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnCredentialParamFields" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1056, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "MFAVerifyWebauthnCredentialParamFields", + "package": "@supabase/auth-js" + } + ] } } ], "groups": [ { "title": "Properties", - "children": [1037] + "children": [1055] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 910, - "character": 32, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L910" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 920, + "character": 98, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L920" } ] } } }, { - "id": 1038, - "name": "MFAVerifyParams", - "kind": 4194304, - "kindString": "Type alias", + "id": 1057, + "name": "MFAVerifyWebauthnParams", + "variant": "declaration", + "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters for WebAuthn MFA verification.\nUsed to verify WebAuthn credentials after challenge." + } + ], + "blockTags": [ + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "W3C WebAuthn Spec - Verifying an Authentication Assertion", + "target": "https://w3c.github.io/webauthn/#sctn-verifying-assertion" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 915, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 930, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L915" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L930" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 1039, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "typeParameters": [ + { + "id": 1058, + "name": "T", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "children": [ - { - "id": 1041, - "name": "challengeId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the challenge being verified. Returned in challenge()." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 920, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L920" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type of WebAuthn operation: 'create' for registration, 'request' for authentication" } - }, - { - "id": 1042, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification code provided by the user." - } - ] + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "create" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 923, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L923" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "literal", + "value": "request" + } + ] + }, + "default": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "create" + }, + { + "type": "literal", + "value": "request" } - }, - { - "id": 1040, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ + ] + } + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParamsBase" + }, + "name": "MFAVerifyParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1053, + "typeArguments": [ { - "kind": "text", - "text": "ID of the factor being verified. Returned in enroll()." + "type": "reference", + "target": 1058, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 917, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L917" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "MFAVerifyWebauthnParamFields", + "package": "@supabase/auth-js" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1041, 1042, 1040] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 915, - "character": 30, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L915" - } - ] - } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" } }, { - "id": 958, + "id": 980, "name": "MobileOtpType", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 766, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 744, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L766" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L744" } ], "type": { @@ -48218,17 +28623,17 @@ } }, { - "id": 682, + "id": 731, "name": "OAuthResponse", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 190, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L190" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L190" } ], "type": { @@ -48237,67 +28642,68 @@ { "type": "reflection", "declaration": { - "id": 683, + "id": 732, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 684, + "id": 733, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 192, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L192" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L192" } ], "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 734, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 686, + "id": 735, "name": "provider", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 193, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L193" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L193" } ], "type": { "type": "reference", - "id": 572, - "name": "Provider" + "target": 647, + "name": "Provider", + "package": "@supabase/auth-js" } }, { - "id": 687, + "id": 736, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 194, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L194" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L194" } ], "type": { @@ -48309,32 +28715,32 @@ "groups": [ { "title": "Properties", - "children": [686, 687] + "children": [735, 736] } ], "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 192, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L192" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L192" } ] } } }, { - "id": 688, + "id": 737, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 196, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L196" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L196" } ], "type": { @@ -48346,15 +28752,15 @@ "groups": [ { "title": "Properties", - "children": [684, 688] + "children": [733, 737] } ], "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 191, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L191" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L191" } ] } @@ -48362,67 +28768,68 @@ { "type": "reflection", "declaration": { - "id": 689, + "id": 738, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 690, + "id": 739, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 199, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L199" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L199" } ], "type": { "type": "reflection", "declaration": { - "id": 691, + "id": 740, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 692, + "id": 741, "name": "provider", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 200, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L200" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L200" } ], "type": { "type": "reference", - "id": 572, - "name": "Provider" + "target": 647, + "name": "Provider", + "package": "@supabase/auth-js" } }, { - "id": 693, + "id": 742, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 201, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L201" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L201" } ], "type": { @@ -48434,53 +28841,54 @@ "groups": [ { "title": "Properties", - "children": [692, 693] + "children": [741, 742] } ], "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 199, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L199" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L199" } ] } } }, { - "id": 694, + "id": 743, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 203, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L203" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L203" } ], "type": { "type": "reference", - "id": 1275, - "name": "AuthError" + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [690, 694] + "children": [739, 743] } ], "sources": [ { - "fileName": "src/lib/types.ts", + "fileName": "packages/core/auth-js/src/lib/types.ts", "line": 198, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L198" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L198" } ] } @@ -48489,33 +28897,33 @@ } }, { - "id": 1184, + "id": 1245, "name": "PageParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1213, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1308, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1213" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1308" } ], "type": { "type": "reflection", "declaration": { - "id": 1185, + "id": 1246, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1186, + "id": 1247, "name": "page", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -48529,10 +28937,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1215, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1310, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1215" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1310" } ], "type": { @@ -48541,10 +28949,10 @@ } }, { - "id": 1187, + "id": 1248, "name": "perPage", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -48558,10 +28966,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1217, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1312, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1217" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1312" } ], "type": { @@ -48573,55 +28981,55 @@ "groups": [ { "title": "Properties", - "children": [1186, 1187] + "children": [1247, 1248] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1213, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1308, "character": 25, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1213" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1308" } ] } } }, { - "id": 1177, + "id": 1238, "name": "Pagination", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1206, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1301, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1206" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1301" } ], "type": { "type": "reflection", "declaration": { - "id": 1178, + "id": 1239, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1180, + "id": 1241, "name": "lastPage", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1209, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1304, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1209" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1304" } ], "type": { @@ -48630,17 +29038,17 @@ } }, { - "id": 1179, + "id": 1240, "name": "nextPage", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1208, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1303, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1208" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1303" } ], "type": { @@ -48658,17 +29066,17 @@ } }, { - "id": 1181, + "id": 1242, "name": "total", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1210, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1305, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1210" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1305" } ], "type": { @@ -48680,48 +29088,152 @@ "groups": [ { "title": "Properties", - "children": [1180, 1179, 1181] + "children": [1241, 1240, 1242] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1206, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1301, "character": 25, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1206" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1301" } ], - "indexSignature": { - "id": 1182, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 1183, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "indexSignatures": [ + { + "id": 1243, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1302, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1302" + } + ], + "parameters": [ + { + "id": 1244, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } + ], + "type": { + "type": "intrinsic", + "name": "any" } - ], - "type": { - "type": "intrinsic", - "name": "any" + } + ] + } + } + }, + { + "id": 686, + "name": "Prettify", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Resolve mapped types and show the derived keys and their types when hovering in\nVS Code, instead of just showing the names those mapped types are defined with." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 124, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L124" + } + ], + "typeParameters": [ + { + "id": 687, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 687, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + }, + "trueType": { + "type": "reference", + "target": 687, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "mapped", + "parameter": "K", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 687, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 687, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } } } } }, { - "id": 572, + "id": 647, "name": "Provider", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "comment": { "summary": [ @@ -48733,10 +29245,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 8, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 18, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L18" } ], "type": { @@ -48834,88 +29346,486 @@ } }, { - "id": 1234, + "id": 691, + "name": "RequestResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "a shared result type that encapsulates errors instead of throwing them, allows you to optionally specify the ErrorType" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 136, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L136" + } + ], + "typeParameters": [ + { + "id": 698, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 699, + "name": "ErrorType", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + }, + "default": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 692, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 693, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 138, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L138" + } + ], + "type": { + "type": "reference", + "target": 698, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + { + "id": 694, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 139, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L139" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [693, 694] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 137, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L137" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 695, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 696, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 142, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L142" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 697, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + }, + "extendsType": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + "trueType": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + "falseType": { + "type": "reference", + "target": 699, + "name": "ErrorType", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [696, 697] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 141, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L141" + } + ] + } + } + ] + } + }, + { + "id": 700, + "name": "RequestResultSafeDestructure", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "similar to RequestResult except it allows you to destructure the possible shape of the success response\n " + }, + { + "kind": "inline-tag", + "tag": "@see", + "text": "RequestResult" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 150, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L150" + } + ], + "typeParameters": [ + { + "id": 707, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 701, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 702, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 151, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L151" + } + ], + "type": { + "type": "reference", + "target": 707, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + { + "id": 703, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 151, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L151" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [702, 703] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 151, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L151" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 704, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 705, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 153, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L153" + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 707, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "K", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 707, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "literal", + "value": null + } + }, + "falseType": { + "type": "literal", + "value": null + } + } + }, + { + "id": 706, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 154, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L154" + } + ], + "type": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [705, 706] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 152, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L152" + } + ] + } + } + ] + } + }, + { + "id": 1263, "name": "RequiredClaims", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1314, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1426, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1314" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1426" } ], "type": { "type": "reflection", "declaration": { - "id": 1235, + "id": 1264, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1242, + "id": 1271, "name": "aal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1321, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1433, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1321" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1433" } ], "type": { "type": "reference", - "id": 1096, + "target": 1088, "name": "AuthenticatorAssuranceLevels", - "dereferenced": { - "id": 1096, - "name": "AuthenticatorAssuranceLevels", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1008, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1008" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "aal1" - }, - { - "type": "literal", - "value": "aal2" - } - ] - } - } + "package": "@supabase/auth-js" } }, { - "id": 1238, + "id": 1267, "name": "aud", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1317, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1429, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1317" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1429" } ], "type": { @@ -48936,17 +29846,17 @@ } }, { - "id": 1239, + "id": 1268, "name": "exp", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1318, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1430, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1318" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1430" } ], "type": { @@ -48955,17 +29865,17 @@ } }, { - "id": 1240, + "id": 1269, "name": "iat", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1319, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1431, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1319" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1431" } ], "type": { @@ -48974,17 +29884,17 @@ } }, { - "id": 1236, + "id": 1265, "name": "iss", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1315, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1427, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1315" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1427" } ], "type": { @@ -48993,17 +29903,17 @@ } }, { - "id": 1241, + "id": 1270, "name": "role", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1320, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1432, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1320" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1432" } ], "type": { @@ -49012,17 +29922,17 @@ } }, { - "id": 1243, + "id": 1272, "name": "session_id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1322, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1434, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1322" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1434" } ], "type": { @@ -49031,17 +29941,17 @@ } }, { - "id": 1237, + "id": 1266, "name": "sub", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1316, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1428, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1316" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1428" } ], "type": { @@ -49053,32 +29963,32 @@ "groups": [ { "title": "Properties", - "children": [1242, 1238, 1239, 1240, 1236, 1241, 1243, 1237] + "children": [1271, 1267, 1268, 1269, 1265, 1270, 1272, 1266] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1314, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1426, "character": 29, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1314" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1426" } ] } } }, { - "id": 960, + "id": 982, "name": "ResendParams", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 769, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 747, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L769" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L747" } ], "type": { @@ -49087,24 +29997,24 @@ { "type": "reflection", "declaration": { - "id": 961, + "id": 983, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 985, "name": "email", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 772, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 750, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L772" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L750" } ], "type": { @@ -49113,35 +30023,35 @@ } }, { - "id": 964, + "id": 986, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 773, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 751, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L773" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L751" } ], "type": { "type": "reflection", "declaration": { - "id": 965, + "id": 987, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 967, + "id": 989, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -49155,10 +30065,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 777, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 755, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L777" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L755" } ], "type": { @@ -49167,10 +30077,10 @@ } }, { - "id": 966, + "id": 988, "name": "emailRedirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -49184,10 +30094,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 775, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 753, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L775" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L753" } ], "type": { @@ -49199,41 +30109,46 @@ "groups": [ { "title": "Properties", - "children": [967, 966] + "children": [989, 988] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 773, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 751, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L773" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L751" } ] } } }, { - "id": 962, + "id": 984, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 771, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 749, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L771" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L749" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Extract" + }, "typeArguments": [ { "type": "reference", - "id": 959, - "name": "EmailOtpType" + "target": 981, + "name": "EmailOtpType", + "package": "@supabase/auth-js" }, { "type": "union", @@ -49250,7 +30165,6 @@ } ], "name": "Extract", - "qualifiedName": "Extract", "package": "typescript" } } @@ -49258,15 +30172,15 @@ "groups": [ { "title": "Properties", - "children": [963, 964, 962] + "children": [985, 986, 984] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 770, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 748, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L770" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L748" } ] } @@ -49274,42 +30188,42 @@ { "type": "reflection", "declaration": { - "id": 968, + "id": 990, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 971, + "id": 993, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 783, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 761, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L783" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L761" } ], "type": { "type": "reflection", "declaration": { - "id": 972, + "id": 994, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 973, + "id": 995, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -49323,10 +30237,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 785, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 763, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L785" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L763" } ], "type": { @@ -49338,32 +30252,32 @@ "groups": [ { "title": "Properties", - "children": [973] + "children": [995] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 783, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 761, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L783" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L761" } ] } } }, { - "id": 970, + "id": 992, "name": "phone", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 782, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 760, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L782" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L760" } ], "type": { @@ -49372,26 +30286,31 @@ } }, { - "id": 969, + "id": 991, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 781, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 759, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L781" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L759" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Extract" + }, "typeArguments": [ { "type": "reference", - "id": 958, - "name": "MobileOtpType" + "target": 980, + "name": "MobileOtpType", + "package": "@supabase/auth-js" }, { "type": "union", @@ -49408,7 +30327,6 @@ } ], "name": "Extract", - "qualifiedName": "Extract", "package": "typescript" } } @@ -49416,221 +30334,15 @@ "groups": [ { "title": "Properties", - "children": [971, 970, 969] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 780, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L780" - } - ] - } - } - ] - } - }, - { - "id": 695, - "name": "SSOResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 206, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L206" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 696, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 697, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 208, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L208" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 698, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 699, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.\n\nOn browsers you can set the URL to " - }, - { - "kind": "code", - "text": "`window.location.href`" - }, - { - "kind": "text", - "text": " to take\nthe user to the authentication flow." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 216, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L216" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [699] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 208, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L208" - } - ] - } - } - }, - { - "id": 700, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L218" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [697, 700] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 207, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L207" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 701, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 702, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 221, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L221" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 703, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L222" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [702, 703] + "children": [993, 992, 991] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 220, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 758, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L758" } ] } @@ -49639,58 +30351,58 @@ } }, { - "id": 810, + "id": 849, "name": "SignInAnonymouslyCredentials", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 490, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 507, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L490" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L507" } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 850, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 812, + "id": 851, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 491, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 508, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L491" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L508" } ], "type": { "type": "reflection", "declaration": { - "id": 813, + "id": 852, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 815, + "id": 854, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -49704,10 +30416,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 499, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 516, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L499" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L516" } ], "type": { @@ -49716,10 +30428,10 @@ } }, { - "id": 814, + "id": 853, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -49749,10 +30461,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 497, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 514, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L497" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L514" } ], "type": { @@ -49764,15 +30476,15 @@ "groups": [ { "title": "Properties", - "children": [815, 814] + "children": [854, 853] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 491, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 508, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L491" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L508" } ] } @@ -49782,339 +30494,56 @@ "groups": [ { "title": "Properties", - "children": [812] + "children": [851] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 490, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 507, "character": 43, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L490" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L507" } ] } } }, { - "id": 876, + "id": 898, "name": "SignInWithIdTokenCredentials", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 617, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 595, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L617" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L595" } ], "type": { "type": "reflection", "declaration": { - "id": 877, + "id": 899, "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 881, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the ID token contains an " - }, - { - "kind": "code", - "text": "`at_hash`" - }, - { - "kind": "text", - "text": " claim, then the hash of this value is compared to the value in the ID token." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 623, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L623" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 882, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the ID token contains a " - }, - { - "kind": "code", - "text": "`nonce`" - }, - { - "kind": "text", - "text": " claim, then the hash of this value is compared to the value in the ID token." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 625, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L625" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 883, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 626, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L626" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 884, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 885, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 628, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L628" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [885] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 626, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L626" - } - ] - } - } - }, - { - "id": 878, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provider name or OIDC " - }, - { - "kind": "code", - "text": "`iss`" - }, - { - "kind": "text", - "text": " value identifying which provider should be used to verify the provided token. Supported names: " - }, - { - "kind": "code", - "text": "`google`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`apple`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`azure`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`facebook`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`kakao`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`keycloak`" - }, - { - "kind": "text", - "text": " (deprecated)." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 619, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L619" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 879, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 619, - "character": 76, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L619" - } - ] - } - } - ] - } - ] - } - }, + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 880, - "name": "token", + "id": 903, + "name": "access_token", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "OIDC ID token issued by the specified provider. The " - }, - { - "kind": "code", - "text": "`iss`" - }, - { - "kind": "text", - "text": " claim in the ID token must match the supplied provider. Some ID tokens contain an " + "text": "If the ID token contains an " }, { "kind": "code", @@ -50122,15 +30551,36 @@ }, { "kind": "text", - "text": " which require that you provide an " - }, - { - "kind": "code", - "text": "`access_token`" - }, + "text": " claim, then the hash of this value is compared to the value in the ID token." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 601, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L601" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 904, + "name": "nonce", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": " value to be accepted properly. If the token contains a " + "text": "If the ID token contains a " }, { "kind": "code", @@ -50138,189 +30588,53 @@ }, { "kind": "text", - "text": " claim you must supply the nonce used to obtain the ID token." + "text": " claim, then the hash of this value is compared to the value in the ID token." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 621, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 603, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L621" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L603" } ], "type": { "type": "intrinsic", "name": "string" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [881, 882, 883, 878, 880] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 617, - "character": 43, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L617" - } - ] - } - } - }, - { - "id": 864, - "name": "SignInWithOAuthCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L602" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 865, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + }, { - "id": 867, + "id": 905, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 605, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 604, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L605" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L604" } ], "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 906, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 871, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object of query params" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L611" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 872, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 18, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L611" - } - ], - "indexSignature": { - "id": 873, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 874, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 869, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 607, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L607" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 870, - "name": "scopes", + "id": 907, + "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -50328,1034 +30642,638 @@ "summary": [ { "kind": "text", - "text": "A space-separated list of scopes granted to the OAuth application." + "text": "Verification token received when the user completes the captcha on the site." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 609, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 606, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L609" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L606" } ], "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 875, - "name": "skipBrowserRedirect", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L613" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", - "children": [871, 869, 870, 875] + "children": [907] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 605, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 604, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L605" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L604" } ] } } }, { - "id": 866, + "id": 900, "name": "provider", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "One of the providers supported by GoTrue." + "text": "Provider name or OIDC " + }, + { + "kind": "code", + "text": "`iss`" + }, + { + "kind": "text", + "text": " value identifying which provider should be used to verify the provided token. Supported names: " + }, + { + "kind": "code", + "text": "`google`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`apple`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`azure`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`facebook`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`kakao`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`keycloak`" + }, + { + "kind": "text", + "text": " (deprecated)." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 604, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 597, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L604" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L597" } ], "type": { - "type": "reference", - "id": 572, - "name": "Provider", - "dereferenced": { - "id": 572, - "name": "Provider", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "One of the providers supported by GoTrue." - } - ] + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L8" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "figma" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "kakao" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "linkedin_oidc" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "slack_oidc" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - }, - { - "type": "literal", - "value": "fly" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [867, 866] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 41, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L602" - } - ] - } - } - }, - { - "id": 833, - "name": "SignInWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 541, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L541" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 834, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 835, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] + { + "type": "literal", + "value": "apple" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 544, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L544" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 837, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + { + "type": "literal", + "value": "azure" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 547, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L547" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 838, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 839, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 549, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L549" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [839] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 547, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L547" - } - ] - } - } - }, - { - "id": 836, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." - } - ] + { + "type": "literal", + "value": "facebook" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 546, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L546" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [835, 837, 836] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L542" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 840, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 843, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + { + "type": "literal", + "value": "kakao" }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 557, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L557" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 844, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 845, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 901, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 559, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L559" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 597, + "character": 76, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L597" } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [845] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 557, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L557" + ] } - ] - } - } - }, - { - "id": 842, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's password." } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 556, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L556" - } - ], - "type": { - "type": "intrinsic", - "name": "string" } - }, - { - "id": 841, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] + ] + } + }, + { + "id": 902, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "OIDC ID token issued by the specified provider. The " }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L554" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "code", + "text": "`iss`" + }, + { + "kind": "text", + "text": " claim in the ID token must match the supplied provider. Some ID tokens contain an " + }, + { + "kind": "code", + "text": "`at_hash`" + }, + { + "kind": "text", + "text": " which require that you provide an " + }, + { + "kind": "code", + "text": "`access_token`" + }, + { + "kind": "text", + "text": " value to be accepted properly. If the token contains a " + }, + { + "kind": "code", + "text": "`nonce`" + }, + { + "kind": "text", + "text": " claim you must supply the nonce used to obtain the ID token." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [843, 842, 841] - } - ], + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L552" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 599, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L599" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "children": [903, 904, 905, 900, 902] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 595, + "character": 43, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L595" + } + ] + } } }, { - "id": 846, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", + "id": 886, + "name": "SignInWithOAuthCredentials", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 563, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 580, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L563" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L580" } ], "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 847, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "type": "reflection", + "declaration": { + "id": 887, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 889, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ { - "id": 848, - "name": "email", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 583, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L583" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 890, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L566" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 849, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + "children": [ { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L567" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 850, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 854, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L579" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "id": 893, + "name": "queryParams", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object of query params" } - }, + ] + }, + "sources": [ { - "id": 853, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 589, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L589" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 894, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 577, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L577" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 589, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L589" } ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 851, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The redirect url embedded in the email link" - } - ] - }, - "sources": [ + "indexSignatures": [ { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L569" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 852, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to false, this method will not create a new user. Defaults to true." + "id": 895, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 589, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L589" + } + ], + "parameters": [ + { + "id": 896, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 571, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L571" } - ], - "type": { - "type": "intrinsic", - "name": "boolean" + ] + } + } + }, + { + "id": 891, + "name": "redirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A URL to send the user to after they are confirmed." } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 585, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L585" } ], - "groups": [ + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 892, + "name": "scopes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A space-separated list of scopes granted to the OAuth application." + } + ] + }, + "sources": [ { - "title": "Properties", - "children": [854, 853, 851, 852] + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 587, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L587" } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 897, + "name": "skipBrowserRedirect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L567" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 591, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L591" } - ] + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [848, 849] + ], + "groups": [ + { + "title": "Properties", + "children": [893, 891, 892, 897] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 583, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L583" + } + ] } - ], + } + }, + { + "id": 888, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "One of the providers supported by GoTrue." + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 564, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L564" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 582, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L582" } - ] + ], + "type": { + "type": "reference", + "target": 647, + "name": "Provider", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [889, 888] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 580, + "character": 41, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L580" } + ] + } + } + }, + { + "id": 863, + "name": "SignInWithPasswordCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 535, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L535" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PasswordCredentialsBase" + }, + "name": "PasswordCredentialsBase", + "package": "@supabase/auth-js" }, { "type": "reflection", "declaration": { - "id": 855, + "id": 864, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 857, + "id": 865, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 585, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L585" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 536, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L536" } ], "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 866, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 861, + "id": 867, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 595, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L595" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 537, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L537" } ], "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 862, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms)" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 597, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L597" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 860, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 593, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L593" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 859, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to false, this method will not create a new user. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 587, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L587" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", - "children": [861, 862, 860, 859] + "children": [867] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 585, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L585" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 536, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L536" } ] } } - }, - { - "id": 856, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 584, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L584" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", - "children": [857, 856] + "children": [865] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 582, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L582" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 535, + "character": 70, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L535" } ] } @@ -51364,17 +31282,17 @@ } }, { - "id": 974, - "name": "SignInWithSSO", - "kind": 4194304, - "kindString": "Type alias", + "id": 868, + "name": "SignInWithPasswordlessCredentials", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 789, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 541, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L789" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L541" } ], "type": { @@ -51383,42 +31301,69 @@ { "type": "reflection", "declaration": { - "id": 975, + "id": 869, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 977, + "id": 870, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email address." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 544, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L544" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 871, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 794, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 545, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L794" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L545" } ], "type": { "type": "reflection", "declaration": { - "id": 978, + "id": 872, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 980, + "id": 876, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51432,10 +31377,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 798, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 557, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L798" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L557" } ], "type": { @@ -51444,10 +31389,10 @@ } }, { - "id": 979, - "name": "redirectTo", + "id": 875, + "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51455,151 +31400,44 @@ "summary": [ { "kind": "text", - "text": "A URL to send the user to after they have signed-in." + "text": "A custom data object to store the user's metadata. This maps to the " + }, + { + "kind": "code", + "text": "`auth.users.raw_user_meta_data`" + }, + { + "kind": "text", + "text": " column.\n\nThe " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " should be a JSON object that includes user-specific info, such as their first and last name." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 796, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 555, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L796" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L555" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [980, 979] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 794, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L794" - } - ] - } - } - }, - { - "id": 976, - "name": "providerId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "UUID of the SSO provider to invoke single-sign on to." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 792, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L792" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [977, 976] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 790, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L790" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 981, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 982, - "name": "domain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Domain name of the organization for which to invoke single-sign on." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 803, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L803" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 983, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 805, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L805" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 984, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + }, { - "id": 986, - "name": "captchaToken", + "id": 873, + "name": "emailRedirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51607,16 +31445,16 @@ "summary": [ { "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." + "text": "The redirect url embedded in the email link" } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 809, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 547, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L809" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L547" } ], "type": { @@ -51625,10 +31463,10 @@ } }, { - "id": 985, - "name": "redirectTo", + "id": 874, + "name": "shouldCreateUser", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51636,36 +31474,36 @@ "summary": [ { "kind": "text", - "text": "A URL to send the user to after they have signed-in." + "text": "If set to false, this method will not create a new user. Defaults to true." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 807, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 549, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L807" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L549" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } } ], "groups": [ { "title": "Properties", - "children": [986, 985] + "children": [876, 875, 873, 874] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 805, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 545, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L805" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L545" } ] } @@ -51675,218 +31513,58 @@ "groups": [ { "title": "Properties", - "children": [982, 983] + "children": [870, 871] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 801, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 542, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L801" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L542" } ] } - } - ] - } - }, - { - "id": 1188, - "name": "SignOut", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1220" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1189, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1190, - "name": "scope", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1231, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1231" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "global" - }, - { - "type": "literal", - "value": "local" - }, - { - "type": "literal", - "value": "others" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 22, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1220" - } - ] - } - } - }, - { - "id": 1256, - "name": "SignOutScope", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1338, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1338" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "query", - "queryType": { - "type": "reference", - "id": 1255, - "name": "SIGN_OUT_SCOPES" - } - } - } - }, - { - "id": 816, - "name": "SignUpWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 503, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L503" - } - ], - "type": { - "type": "union", - "types": [ + }, { "type": "reflection", "declaration": { - "id": 817, + "id": 877, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 506, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L506" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, + "id": 879, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 509, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 563, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L509" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L563" } ], "type": { "type": "reflection", "declaration": { - "id": 821, + "id": 880, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 824, + "id": 883, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51900,10 +31578,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 519, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 573, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L519" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L573" } ], "type": { @@ -51912,10 +31590,48 @@ } }, { - "id": 823, + "id": 884, + "name": "channel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Messaging channel to use (e.g. whatsapp or sms)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 575, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L575" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 882, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51945,10 +31661,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 517, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 571, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L517" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L571" } ], "type": { @@ -51957,10 +31673,10 @@ } }, { - "id": 822, - "name": "emailRedirectTo", + "id": 881, + "name": "shouldCreateUser", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -51968,61 +31684,61 @@ "summary": [ { "kind": "text", - "text": "The redirect url embedded in the email link" + "text": "If set to false, this method will not create a new user. Defaults to true." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 511, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 565, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L511" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L565" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } } ], "groups": [ { "title": "Properties", - "children": [824, 823, 822] + "children": [883, 884, 882, 881] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 509, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 563, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L509" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L563" } ] } } }, { - "id": 819, - "name": "password", + "id": 878, + "name": "phone", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's password." + "text": "The user's phone number." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 508, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 562, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L508" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L562" } ], "type": { @@ -52034,58 +31750,78 @@ "groups": [ { "title": "Properties", - "children": [818, 820, 819] + "children": [879, 878] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 504, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 560, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L504" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L560" } ] } - }, + } + ] + } + }, + { + "id": 996, + "name": "SignInWithSSO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 767, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L767" + } + ], + "type": { + "type": "union", + "types": [ { "type": "reflection", "declaration": { - "id": 825, + "id": 997, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 828, + "id": 999, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 527, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 772, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L527" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L772" } ], "type": { "type": "reflection", "declaration": { - "id": 829, + "id": 1000, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 1002, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -52093,16 +31829,16 @@ "summary": [ { "kind": "text", - "text": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio" + "text": "Verification token received when the user completes the captcha on the site." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 535, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 776, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L535" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L776" } ], "type": { @@ -52111,48 +31847,10 @@ } }, { - "id": 832, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Messaging channel to use (e.g. whatsapp or sms)" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 537, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L537" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 830, - "name": "data", + "id": 1001, + "name": "redirectTo", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -52160,124 +31858,235 @@ "summary": [ { "kind": "text", - "text": "A custom data object to store the user's metadata. This maps to the " - }, - { - "kind": "code", - "text": "`auth.users.raw_user_meta_data`" - }, - { - "kind": "text", - "text": " column.\n\nThe " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " should be a JSON object that includes user-specific info, such as their first and last name." + "text": "A URL to send the user to after they have signed-in." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 533, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 774, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L533" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L774" } ], "type": { "type": "intrinsic", - "name": "object" + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [831, 832, 830] + "children": [1002, 1001] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 527, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 772, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L527" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L772" } ] } } }, { - "id": 827, - "name": "password", + "id": 998, + "name": "providerId", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's password." + "text": "UUID of the SSO provider to invoke single-sign on to." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 526, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 770, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L526" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L770" } ], "type": { "type": "intrinsic", "name": "string" } - }, + } + ], + "groups": [ { - "id": 826, - "name": "phone", + "title": "Properties", + "children": [999, 998] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 768, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L768" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1003, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1004, + "name": "domain", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The user's phone number." + "text": "Domain name of the organization for which to invoke single-sign on." } ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 524, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 781, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L524" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L781" } ], "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 1005, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 783, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L783" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1006, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1008, + "name": "captchaToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification token received when the user completes the captcha on the site." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 787, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L787" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1007, + "name": "redirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A URL to send the user to after they have signed-in." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 785, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L785" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1008, 1007] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 783, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L783" + } + ] + } + } } ], "groups": [ { "title": "Properties", - "children": [828, 827, 826] + "children": [1004, 1005] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 522, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 779, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L522" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L779" } ] } @@ -52286,42 +32095,355 @@ } }, { - "id": 886, + "id": 1249, + "name": "SignOut", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1315, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1315" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1250, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1251, + "name": "scope", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1326, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1326" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1251] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1315, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1315" + } + ] + } + } + }, + { + "id": 1285, + "name": "SignOutScope", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1450, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1450" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": 1284, + "name": "SIGN_OUT_SCOPES", + "package": "@supabase/auth-js" + } + } + } + }, + { + "id": 855, + "name": "SignUpWithPasswordCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 520, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L520" + } + ], + "type": { + "type": "reference", + "target": 686, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PasswordCredentialsBase" + }, + "name": "PasswordCredentialsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reflection", + "declaration": { + "id": 856, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 857, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 522, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L522" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 858, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 861, + "name": "captchaToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 525, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L525" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 862, + "name": "channel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 526, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L526" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 860, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 524, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L524" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 859, + "name": "emailRedirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 523, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L523" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [861, 862, 860, 859] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 522, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L522" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [857] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 521, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L521" + } + ] + } + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 908, "name": "SolanaWallet", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 632, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 610, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L632" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L610" } ], "type": { "type": "reflection", "declaration": { - "id": 887, + "id": 909, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 892, + "id": 914, "name": "publicKey", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 634, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 612, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L634" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L612" } ], "type": { @@ -52330,48 +32452,48 @@ { "type": "reflection", "declaration": { - "id": 893, + "id": 915, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 894, + "id": 916, "name": "toBase58", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 635, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 613, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L635" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L613" } ], "type": { "type": "reflection", "declaration": { - "id": 895, + "id": 917, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 635, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 613, "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L635" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L613" } ], "signatures": [ { - "id": 896, + "id": 918, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "type": { "type": "intrinsic", @@ -52386,15 +32508,15 @@ "groups": [ { "title": "Properties", - "children": [894] + "children": [916] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 634, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 612, "character": 14, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L634" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L612" } ] } @@ -52407,50 +32529,50 @@ } }, { - "id": 888, + "id": 910, "name": "signIn", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 633, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 611, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L633" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L611" } ], "type": { "type": "reflection", "declaration": { - "id": 889, + "id": 911, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 633, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 611, "character": 11, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L633" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L611" } ], "signatures": [ { - "id": 890, + "id": 912, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 891, + "id": 913, "name": "inputs", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isRest": true }, @@ -52458,33 +32580,51 @@ "type": "array", "elementType": { "type": "reference", - "name": "SolanaSignInInput" + "target": { + "sourceFileName": "src/lib/web3/solana.ts", + "qualifiedName": "SolanaSignInInput" + }, + "name": "SolanaSignInInput", + "package": "@supabase/auth-js" } } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "name": "SolanaSignInOutput" + "target": { + "sourceFileName": "src/lib/web3/solana.ts", + "qualifiedName": "SolanaSignInOutput" + }, + "name": "SolanaSignInOutput", + "package": "@supabase/auth-js" }, { "type": "array", "elementType": { "type": "reference", - "name": "SolanaSignInOutput" + "target": { + "sourceFileName": "src/lib/web3/solana.ts", + "qualifiedName": "SolanaSignInOutput" + }, + "name": "SolanaSignInOutput", + "package": "@supabase/auth-js" } } ] } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -52493,63 +32633,66 @@ } }, { - "id": 897, + "id": 919, "name": "signMessage", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 638, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 616, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L638" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L616" } ], "type": { "type": "reflection", "declaration": { - "id": 898, + "id": 920, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 638, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 616, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L638" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L616" } ], "signatures": [ { - "id": 899, + "id": 921, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 900, + "id": 922, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, "name": "Uint8Array", - "qualifiedName": "Uint8Array", "package": "typescript" } }, { - "id": 901, + "id": 923, "name": "encoding", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -52573,16 +32716,22 @@ "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, "name": "Uint8Array", - "qualifiedName": "Uint8Array", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, { @@ -52600,32 +32749,32 @@ "groups": [ { "title": "Properties", - "children": [892, 888, 897] + "children": [914, 910, 919] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 632, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 610, "character": 27, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L632" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L610" } ] } } }, { - "id": 902, + "id": 924, "name": "SolanaWeb3Credentials", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 641, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 619, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L641" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L619" } ], "type": { @@ -52634,24 +32783,24 @@ { "type": "reflection", "declaration": { - "id": 903, + "id": 925, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 904, + "id": 926, "name": "chain", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 643, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 621, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L643" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L621" } ], "type": { @@ -52660,35 +32809,35 @@ } }, { - "id": 907, + "id": 929, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 651, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 629, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L651" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L629" } ], "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 930, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 932, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -52702,10 +32851,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 656, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 634, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L656" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L634" } ], "type": { @@ -52714,30 +32863,43 @@ } }, { - "id": 911, + "id": 933, "name": "signInWithSolana", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 658, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 636, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L658" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L636" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "name": "SolanaSignInInput" + "target": { + "sourceFileName": "src/lib/web3/solana.ts", + "qualifiedName": "SolanaSignInInput" + }, + "name": "SolanaSignInInput", + "package": "@supabase/auth-js" }, { "type": "union", @@ -52766,20 +32928,18 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } ], "name": "Partial", - "qualifiedName": "Partial", "package": "typescript" } }, { - "id": 909, + "id": 931, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -52793,10 +32953,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 653, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 631, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L653" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L631" } ], "type": { @@ -52808,25 +32968,25 @@ "groups": [ { "title": "Properties", - "children": [910, 911, 909] + "children": [932, 933, 931] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 651, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 629, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L651" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L629" } ] } } }, { - "id": 906, + "id": 928, "name": "statement", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -52840,10 +33000,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 649, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 627, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L649" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L627" } ], "type": { @@ -52852,10 +33012,10 @@ } }, { - "id": 905, + "id": 927, "name": "wallet", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -52877,31 +33037,32 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 646, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 624, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L646" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L624" } ], "type": { "type": "reference", - "id": 886, - "name": "SolanaWallet" + "target": 908, + "name": "SolanaWallet", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [904, 907, 906, 905] + "children": [926, 929, 928, 927] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 642, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 620, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L642" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L620" } ] } @@ -52909,24 +33070,24 @@ { "type": "reflection", "declaration": { - "id": 912, + "id": 934, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 913, + "id": 935, "name": "chain", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 664, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 642, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L664" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L642" } ], "type": { @@ -52935,10 +33096,10 @@ } }, { - "id": 914, + "id": 936, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -52974,10 +33135,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 667, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 645, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L667" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L645" } ], "type": { @@ -52986,35 +33147,35 @@ } }, { - "id": 916, + "id": 938, "name": "options", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 672, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 650, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L672" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L650" } ], "type": { "type": "reflection", "declaration": { - "id": 917, + "id": 939, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 918, + "id": 940, "name": "captchaToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -53028,10 +33189,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 674, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 652, "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L674" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L652" } ], "type": { @@ -53043,25 +33204,25 @@ "groups": [ { "title": "Properties", - "children": [918] + "children": [940] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 672, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 650, "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L672" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L650" } ] } } }, { - "id": 915, + "id": 937, "name": "signature", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -53073,16 +33234,19 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 670, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 648, "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L670" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L648" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, "name": "Uint8Array", - "qualifiedName": "Uint8Array", "package": "typescript" } } @@ -53090,15 +33254,15 @@ "groups": [ { "title": "Properties", - "children": [913, 914, 916, 915] + "children": [935, 936, 938, 937] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 663, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 641, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L663" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L641" } ] } @@ -53107,17 +33271,176 @@ } }, { - "id": 1164, + "id": 744, + "name": "SSOResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 206, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L206" + } + ], + "type": { + "type": "reference", + "target": 691, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 745, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 746, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.\n\nOn browsers you can set the URL to " + }, + { + "kind": "code", + "text": "`window.location.href`" + }, + { + "kind": "text", + "text": " to take\nthe user to the authentication flow." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 214, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L214" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [746] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 206, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L206" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 688, + "name": "StrictOmit", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A stricter version of TypeScript's Omit that only allows omitting keys that actually exist.\nThis prevents typos and ensures type safety at compile time.\nUnlike regular Omit, this will error if you try to omit a non-existent key." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 131, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L131" + } + ], + "typeParameters": [ + { + "id": 689, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 690, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 689, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 689, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 690, + "name": "K", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 1231, "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1181, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1284, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1181" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1284" } ], "type": { @@ -53125,14 +33448,25 @@ "types": [ { "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PromisifyMethods" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Storage" + }, "name": "Storage", - "qualifiedName": "Storage", "package": "typescript" }, { @@ -53154,26 +33488,26 @@ } ], "name": "Pick", - "qualifiedName": "Pick", "package": "typescript" } ], - "name": "PromisifyMethods" + "name": "PromisifyMethods", + "package": "@supabase/auth-js" }, { "type": "reflection", "declaration": { - "id": 1165, + "id": 1232, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1166, + "id": 1233, "name": "isServer", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -53195,10 +33529,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1191, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1294, "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1191" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1294" } ], "type": { @@ -53210,15 +33544,15 @@ "groups": [ { "title": "Properties", - "children": [1166] + "children": [1233] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1183, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1286, "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1183" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1286" } ] } @@ -53227,2931 +33561,5735 @@ } }, { - "id": 704, + "id": 747, "name": "UserResponse", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 225, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 217, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L225" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L217" } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 700, + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 705, + "id": 748, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 706, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 227, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L227" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 707, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 708, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 228, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L228" - } - ], - "type": { - "type": "reference", - "id": 755, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [708] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 227, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L227" - } - ] - } - } - }, - { - "id": 709, - "name": "error", + "id": 749, + "name": "user", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L230" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 218, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L218" } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "target": 794, + "name": "User", + "package": "@supabase/auth-js" } } ], "groups": [ { "title": "Properties", - "children": [706, 709] + "children": [749] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L226" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 217, + "character": 56, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L217" } ] } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 960, + "name": "VerifyOtpParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 697, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L697" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 961, + "name": "VerifyMobileOtpParams", + "package": "@supabase/auth-js" }, { - "type": "reflection", - "declaration": { - "id": 710, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 711, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 233, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L233" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 712, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 713, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 234, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L234" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [713] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 233, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L233" - } - ] - } - } - }, - { - "id": 714, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 236, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L236" - } - ], - "type": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - ], - "groups": [ + "type": "reference", + "target": 969, + "name": "VerifyEmailOtpParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 977, + "name": "VerifyTokenHashParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 682, + "name": "WeakPassword", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 115, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L115" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 683, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 685, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ { - "title": "Properties", - "children": [711, 714] + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 117, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L117" } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 684, + "name": "reasons", + "variant": "declaration", + "kind": 1024, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 232, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L232" + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 116, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L116" } - ] + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 681, + "name": "WeakPasswordReasons", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [685, 684] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 115, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L115" } + ] + } + } + }, + { + "id": 681, + "name": "WeakPasswordReasons", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 114, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L114" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "WeakPasswordReasons" + }, + "name": "WeakPasswordReasons", + "package": "@supabase/auth-js", + "preferValues": true } - ] + } } }, { - "id": 938, - "name": "VerifyOtpParams", - "kind": 4194304, - "kindString": "Type alias", + "id": 959, + "name": "Web3Credentials", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 719, + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 695, "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L719" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L695" } ], "type": { "type": "union", "types": [ { - "id": 939, - "name": "VerifyMobileOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 943, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 727, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L727" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 944, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 946, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ], - "blockTags": [ - { - "tag": "@deprecated", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 736, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L736" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 945, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 729, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L729" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [946, 945] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 727, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L727" - } - ] - } - } - }, - { - "id": 940, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 722, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L722" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 941, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The otp sent to the user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 724, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L724" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 942, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 726, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L726" - } - ], - "type": { - "type": "reference", - "id": 958, - "name": "MobileOtpType", - "dereferenced": { - "id": 958, - "name": "MobileOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L766" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [943, 940, 941, 942] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 720, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L720" - } - ] + "type": "reference", + "target": 924, + "name": "SolanaWeb3Credentials", + "package": "@supabase/auth-js" }, { - "id": 947, - "name": "VerifyEmailOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 948, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 741, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L741" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 951, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 746, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L746" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 952, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 954, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ], - "blockTags": [ - { - "tag": "@deprecated", - "content": [] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 754, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L754" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 953, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A URL to send the user to after they are confirmed." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 748, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L748" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [954, 953] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 746, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L746" - } - ] - } - } - }, - { - "id": 949, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The otp sent to the user's email address." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 743, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L743" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 942, + "name": "EthereumWeb3Credentials", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 621, + "name": "AuthAdminApi", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/AuthAdminApi.ts", + "line": 3, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/AuthAdminApi.ts#L3" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 1, + "name": "default", + "package": "@supabase/auth-js" + } + }, + "defaultValue": "GoTrueAdminApi" + }, + { + "id": 622, + "name": "AuthClient", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/AuthClient.ts", + "line": 3, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/AuthClient.ts#L3" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 84, + "name": "default", + "package": "@supabase/auth-js" + } + }, + "defaultValue": "GoTrueClient" + }, + { + "id": 636, + "name": "lockInternals", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "comment": { + "summary": [], + "modifierTags": ["@experimental"] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 6, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L6" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 637, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 638, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": ["@experimental"] }, - { - "id": 950, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 745, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L745" - } - ], - "type": { - "type": "reference", - "id": 959, - "name": "EmailOtpType", - "dereferenced": { - "id": 959, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 767, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change" - }, - { - "type": "literal", - "value": "email" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [948, 951, 949, 950] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 739, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L739" - } - ] - }, - { - "id": 955, - "name": "VerifyTokenHashParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 956, - "name": "token_hash", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The token hash used in an email link" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 760, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L760" - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L10" } + ], + "type": { + "type": "intrinsic", + "name": "boolean" }, - { - "id": 957, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's verification type." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 763, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L763" - } - ], - "type": { - "type": "reference", - "id": 959, - "name": "EmailOtpType", - "dereferenced": { - "id": 959, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 767, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L767" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change" - }, - { - "type": "literal", - "value": "email" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [956, 957] + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [638] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 6, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L6" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 1284, + "name": "SIGN_OUT_SCOPES", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1449, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/types.ts#L1449" + } + ], + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 1289, + "name": "isAuthApiError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 41, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L41" + } + ], + "signatures": [ + { + "id": 1290, + "name": "isAuthApiError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 41, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L41" + } + ], + "parameters": [ + { + "id": 1291, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 758, - "character": 17, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L758" + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1314, + "name": "AuthApiError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1286, + "name": "isAuthError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 26, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L26" + } + ], + "signatures": [ + { + "id": 1287, + "name": "isAuthError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 26, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L26" + } + ], + "parameters": [ + { + "id": 1288, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" } - ] + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1304, + "name": "AuthError", + "package": "@supabase/auth-js" + } } - ] - } + } + ] }, { - "id": 608, - "name": "WeakPassword", - "kind": 4194304, - "kindString": "Type alias", + "id": 1295, + "name": "isAuthImplicitGrantRedirectError", + "variant": "declaration", + "kind": 64, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 103, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L103" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 105, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L105" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 609, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "signatures": [ + { + "id": 1296, + "name": "isAuthImplicitGrantRedirectError", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "sources": [ { - "id": 611, - "name": "message", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 105, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L105" + } + ], + "parameters": [ + { + "id": 1297, + "name": "error", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L105" - } - ], "type": { "type": "intrinsic", - "name": "string" + "name": "any" } - }, + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1371, + "name": "AuthImplicitGrantRedirectError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1298, + "name": "isAuthRetryableFetchError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 135, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L135" + } + ], + "signatures": [ + { + "id": 1299, + "name": "isAuthRetryableFetchError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 610, - "name": "reasons", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 135, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L135" + } + ], + "parameters": [ + { + "id": 1300, + "name": "error", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 104, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L104" - } - ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 606, - "name": "WeakPasswordReasons" - } + "type": "intrinsic", + "name": "unknown" } } ], - "groups": [ + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1425, + "name": "AuthRetryableFetchError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1292, + "name": "isAuthSessionMissingError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 72, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L72" + } + ], + "signatures": [ + { + "id": 1293, + "name": "isAuthSessionMissingError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "title": "Properties", - "children": [611, 610] + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 72, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L72" + } + ], + "parameters": [ + { + "id": 1294, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } } ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1346, + "name": "AuthSessionMissingError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1301, + "name": "isAuthWeakPasswordError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 157, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L157" + } + ], + "signatures": [ + { + "id": 1302, + "name": "isAuthWeakPasswordError", + "variant": "signature", + "kind": 4096, + "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 103, - "character": 27, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L103" + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 157, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/errors.ts#L157" } - ] + ], + "parameters": [ + { + "id": 1303, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1435, + "name": "AuthWeakPasswordError", + "package": "@supabase/auth-js" + } + } } - } + ] }, { - "id": 606, - "name": "WeakPasswordReasons", - "kind": 4194304, - "kindString": "Type alias", + "id": 623, + "name": "navigatorLock", + "variant": "declaration", + "kind": 64, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 102, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L102" + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 59, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L59" } ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "length" - }, - { - "type": "literal", - "value": "characters" - }, - { - "type": "literal", - "value": "pwned" - }, - { - "type": "intersection", - "types": [ + "signatures": [ + { + "id": 624, + "name": "navigatorLock", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Implements a global exclusive lock using the Navigator LockManager API. It\nis available on all browsers released after 2022-03-15 with Safari being the\nlast one to release support. If the API is not available, this function will\nthrow. Make sure you check availablility before configuring " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueClient", + "target": 84 + }, + { + "kind": "text", + "text": ".\n\nYou can turn on debugging by setting the " + }, + { + "kind": "code", + "text": "`supabase.gotrue-js.locks.debug`" + }, + { + "kind": "text", + "text": "\nlocal storage item to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ".\n\nInternals:\n\nSince the LockManager API does not preserve stack traces for the async\nfunction passed in the " + }, + { + "kind": "code", + "text": "`request`" + }, + { + "kind": "text", + "text": " method, a trick is used where acquiring the\nlock releases a previously started promise to run the operation in the " + }, + { + "kind": "code", + "text": "`fn`" + }, { + "kind": "text", + "text": "\nfunction. The lock waits for that promise to finish (with or without error),\nwhile the function will finally wait for the result anyway." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 59, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L59" + } + ], + "typeParameters": [ + { + "id": 625, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 626, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the lock to be acquired." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 627, + "name": "acquireTimeout", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has " + }, + { + "kind": "code", + "text": "`isAcquireTimeout`" + }, + { + "kind": "text", + "text": " set to true." + } + ] }, - { + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 628, + "name": "fn", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operation to run once the lock is acquired." + } + ] + }, + "type": { "type": "reflection", "declaration": { - "id": 607, + "id": 629, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 102, - "character": 80, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L102" + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 62, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L62" + } + ], + "signatures": [ + { + "id": 630, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 62, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L62" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 625, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } } ] } } - ] + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 625, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" } - ] - } + } + ] }, { - "id": 937, - "name": "Web3Credentials", - "kind": 4194304, - "kindString": "Type alias", + "id": 639, + "name": "processLock", + "variant": "declaration", + "kind": 64, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 717, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L717" + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 171, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L171" } ], - "type": { - "type": "union", - "types": [ - { - "id": 902, - "name": "SolanaWeb3Credentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ + "signatures": [ + { + "id": 640, + "name": "processLock", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Implements a global exclusive lock that works only in the current process.\nUseful for environments like React Native or other non-browser\nsingle-process (i.e. no concept of \"tabs\") environments.\n\nUse " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "#navigatorLock" + }, { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L641" + "kind": "text", + "text": " in browser environments." } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 903, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 904, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 643, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L643" - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 907, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 651, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L651" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 908, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 910, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 656, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L656" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 911, - "name": "signInWithSolana", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 658, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L658" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "SolanaSignInInput" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "version" - }, - { - "type": "literal", - "value": "chain" - }, - { - "type": "literal", - "value": "domain" - }, - { - "type": "literal", - "value": "uri" - }, - { - "type": "literal", - "value": "statement" - } - ] - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ], - "name": "Partial", - "qualifiedName": "Partial", - "package": "typescript" - } - }, - { - "id": 909, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 653, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L653" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [910, 911, 909] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 651, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L651" - } - ] - } - } - }, - { - "id": 906, - "name": "statement", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L649" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 905, - "name": "wallet", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Wallet interface to use. If not specified will default to " - }, - { - "kind": "code", - "text": "`window.solana`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 646, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L646" - } - ], - "type": { - "type": "reference", - "id": 886, - "name": "SolanaWallet" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [904, 907, 906, 905] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 642, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L642" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 912, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 913, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 664, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L664" - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 914, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sign in with Solana compatible message. Must include " - }, - { - "kind": "code", - "text": "`Issued At`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`URI`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`Version`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 667, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L667" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 916, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 672, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L672" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 917, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 918, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 674, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L674" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [918] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 672, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L672" - } - ] - } - } - }, - { - "id": 915, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Ed25519 signature of the message." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 670, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L670" - } - ], - "type": { - "type": "reference", - "name": "Uint8Array", - "qualifiedName": "Uint8Array", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [913, 914, 916, 915] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L663" - } - ] - } - } - ] - } + ] }, - { - "id": 920, - "name": "EthereumWeb3Credentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 680, - "character": 12, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L680" + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 171, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L171" + } + ], + "typeParameters": [ + { + "id": 641, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 642, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the lock to be acquired." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 921, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 922, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 682, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L682" - } - ], - "type": { - "type": "literal", - "value": "ethereum" - } - }, - { - "id": 925, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L690" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 926, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 928, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 695, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L695" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 929, - "name": "signInWithEthereum", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 697, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L697" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "EthereumSignInInput" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "version" - }, - { - "type": "literal", - "value": "domain" - }, - { - "type": "literal", - "value": "uri" - }, - { - "type": "literal", - "value": "statement" - } - ] - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - ], - "name": "Partial", - "qualifiedName": "Partial", - "package": "typescript" - } - }, - { - "id": 927, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 692, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L692" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [928, 929, 927] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L690" - } - ] - } - } - }, - { - "id": 924, - "name": "statement", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional statement to include in the Sign in with Ethereum message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 688, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L688" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 923, - "name": "wallet", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Wallet interface to use. If not specified will default to " - }, - { - "kind": "code", - "text": "`window.ethereum`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 685, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L685" - } - ], - "type": { - "type": "reference", - "id": 919, - "name": "EthereumWallet" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [922, 925, 924, 923] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 681, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L681" - } - ] + }, + { + "id": 643, + "name": "acquireTimeout", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has " + }, + { + "kind": "code", + "text": "`isAcquireTimeout`" + }, + { + "kind": "text", + "text": " set to true." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 644, + "name": "fn", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operation to run once the lock is acquired." } - }, - { - "type": "reflection", - "declaration": { - "id": 930, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 931, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 703, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L703" - } - ], - "type": { - "type": "literal", - "value": "ethereum" - } - }, - { - "id": 932, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sign in with Ethereum compatible message. Must include " - }, - { - "kind": "code", - "text": "`Issued At`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`URI`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`Version`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L706" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 934, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 711, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L711" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 935, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 936, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Verification token received when the user completes the captcha on the site." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 713, - "character": 8, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L713" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [936] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 711, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L711" - } - ] - } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 645, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L174" + } + ], + "signatures": [ + { + "id": 646, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/auth-js/src/lib/locks.ts#L174" } - }, - { - "id": 933, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Ethereum curve (secp256k1) signature of the message." - } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - "sources": [ + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 709, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L709" + "type": "reference", + "target": 641, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true } ], - "type": { - "type": "reference", - "name": "Hex" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [931, 932, 934, 933] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 4, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L702" + "name": "Promise", + "package": "typescript" } - ] - } + } + ] } - ] + } } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 641, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" } - ] - } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [ + 1314, 1304, 1371, 1362, 1447, 1354, 1398, 1425, 1346, 1324, 1435, 1334, 1, 84, 631 + ] + }, + { + "title": "Interfaces", + "children": [ + 826, 761, 1031, 1224, 1094, 1277, 750, 839, 794, 787, 820, 764, 791, 969, 961, 977 + ] + }, + { + "title": "Type Aliases", + "children": [ + 759, 649, 648, 1088, 885, 1214, 1211, 1221, 1218, 1079, 1083, 1078, 1080, 1081, 1082, + 1256, 1074, 1255, 1257, 1089, 1084, 1075, 1073, 1066, 717, 708, 712, 722, 726, 1237, + 981, 941, 942, 777, 776, 1025, 1015, 1034, 1039, 1035, 1046, 1020, 1009, 659, 1234, + 1258, 1273, 650, 1065, 1064, 1062, 1061, 1063, 1047, 1253, 1252, 1254, 1060, 1048, 1059, + 1052, 1051, 1053, 1057, 980, 731, 1245, 1238, 686, 647, 691, 700, 1263, 982, 849, 898, + 886, 863, 868, 996, 1249, 1285, 855, 908, 924, 744, 688, 1231, 747, 960, 682, 681, 959 + ] + }, + { + "title": "Variables", + "children": [621, 622, 636, 1284] + }, + { + "title": "Functions", + "children": [1289, 1286, 1295, 1298, 1292, 1301, 623, 639] + } + ], + "packageName": "@supabase/auth-js", + "readme": [ + { + "kind": "text", + "text": "# " + }, + { + "kind": "code", + "text": "`auth-js`" + }, + { + "kind": "text", + "text": "\n\nAn isomorphic JavaScript client library for the [Supabase Auth](https://github.com/supabase/auth) API.\n\n
\n\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/auth-js)](https://pkg.pr.new/~/supabase/auth-js)\n\n
\n\n## Docs\n\n- Using " + }, + { + "kind": "code", + "text": "`auth-js`" + }, + { + "kind": "text", + "text": ": https://supabase.com/docs/reference/javascript/auth-signup\n- TypeDoc: https://supabase.github.io/supabase-js/auth-js/v2/spec.json\n\n## Quick start\n\nInstall\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install --save @supabase/auth-js\n```" + }, + { + "kind": "text", + "text": "\n\nUsage\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { AuthClient } from '@supabase/auth-js'\n\nconst GOTRUE_URL = 'http://localhost:9999'\n\nconst auth = new AuthClient({ url: GOTRUE_URL })\n```" + }, + { + "kind": "text", + "text": "\n\n- " + }, + { + "kind": "code", + "text": "`signUp()`" + }, + { + "kind": "text", + "text": ": https://supabase.io/docs/reference/javascript/auth-signup\n- " + }, + { + "kind": "code", + "text": "`signIn()`" + }, + { + "kind": "text", + "text": ": https://supabase.io/docs/reference/javascript/auth-signin\n- " + }, + { + "kind": "code", + "text": "`signOut()`" + }, + { + "kind": "text", + "text": ": https://supabase.io/docs/reference/javascript/auth-signout\n\n### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`auth-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { AuthClient } from '@supabase/auth-js'\n\nconst AUTH_URL = 'http://localhost:9999'\n\nconst auth = new AuthClient({ url: AUTH_URL, fetch: fetch })\n```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Complete build (from monorepo root)\nnpx nx build auth-js\n\n# Build with watch mode for development\nnpx nx build auth-js --watch\n\n# Individual build targets\nnpx nx build:main auth-js # CommonJS build (dist/main/)\nnpx nx build:module auth-js # ES Modules build (dist/module/)\n\n# Other useful commands\nnpx nx clean auth-js # Clean build artifacts\nnpx nx format auth-js # Format code with Prettier\nnpx nx lint auth-js # Run ESLint\nnpx nx typecheck auth-js # TypeScript type checking\nnpx nx docs auth-js # Generate documentation\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs\n\n- **CommonJS (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")** - For Node.js environments\n- **ES Modules (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")** - For modern bundlers (Webpack, Vite, Rollup)\n- **TypeScript definitions (" + }, + { + "kind": "code", + "text": "`dist/module/index.d.ts`" + }, + { + "kind": "text", + "text": ")** - Type definitions for TypeScript projects\n\n### Testing\n\n**Docker Required!** The auth-js tests require a local Supabase Auth server (GoTrue) running in Docker.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run complete test suite (from monorepo root)\nnpx nx test:auth auth-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis command automatically:\n\n1. Stops any existing test containers\n2. Starts a Supabase Auth server (GoTrue) and PostgreSQL database in Docker\n3. Waits for services to be ready (30 seconds)\n4. Runs the test suite\n5. Cleans up Docker containers after tests complete\n\n#### Individual Test Commands\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run just the test suite (requires infrastructure to be running)\nnpx nx test:suite auth-js\n\n# Manually manage test infrastructure\nnpx nx test:infra auth-js # Start Docker containers\nnpx nx test:clean auth-js # Stop and remove containers\n```" + }, + { + "kind": "text", + "text": "\n\n#### Development Testing\n\nFor actively developing and debugging tests:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Start infrastructure once\nnpx nx test:infra auth-js\n\n# Run tests multiple times (faster since containers stay up)\nnpx nx test:suite auth-js\n\n# Clean up when done\nnpx nx test:clean auth-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Infrastructure\n\nThe Docker setup includes:\n\n- **Supabase Auth (GoTrue)** - The authentication server\n- **PostgreSQL** - Database for auth data\n- Pre-configured with test users and settings\n\n#### Prerequisites\n\n- **Docker** must be installed and running\n- Ports used by test infrastructure (check " + }, + { + "kind": "code", + "text": "`infra/docker-compose.yml`" + }, + { + "kind": "text", + "text": ")\n- No full Supabase instance needed - just the Auth server\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## Sponsors\n\nWe are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don't exist we build them and open source them ourselves.\n\n[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase)" + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default" + }, + "2": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.__constructor" + }, + "3": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default" + }, + "4": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__0" + }, + "5": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "6": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.url" + }, + "7": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.headers" + }, + "8": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "9": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.__index" + }, + "11": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.fetch" + }, + "12": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "13": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "14": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "15": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "16": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "17": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "18": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "19": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.mfa" + }, + "33": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.signOut" + }, + "34": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.signOut" + }, + "35": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "jwt" + }, + "36": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "scope" + }, + "37": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "38": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "39": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "40": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.inviteUserByEmail" + }, + "41": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.inviteUserByEmail" + }, + "42": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "email" + }, + "43": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "options" + }, + "44": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "45": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "46": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.redirectTo" + }, + "47": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.generateLink" + }, + "48": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.generateLink" + }, + "49": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "params" + }, + "50": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.createUser" + }, + "51": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.createUser" + }, + "52": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "attributes" + }, + "53": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.listUsers" + }, + "54": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.listUsers" + }, + "55": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "params" + }, + "56": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "57": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "58": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "59": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.users" + }, + "60": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.aud" + }, + "61": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "62": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "63": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "64": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "65": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.users" + }, + "66": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "67": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.getUserById" + }, + "68": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.getUserById" + }, + "69": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "uid" + }, + "70": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.updateUserById" + }, + "71": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.updateUserById" + }, + "72": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "uid" + }, + "73": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "attributes" + }, + "74": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.deleteUser" + }, + "75": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.deleteUser" + }, + "76": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "id" + }, + "77": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "shouldSoftDelete" + }, + "84": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default" + }, + "86": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.__constructor" + }, + "87": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default" + }, + "88": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "90": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.admin" + }, + "91": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.mfa" + }, + "150": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.initialize" + }, + "151": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.initialize" + }, + "154": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInAnonymously" + }, + "155": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInAnonymously" + }, + "156": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "157": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signUp" + }, + "158": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signUp" + }, + "159": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "160": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithPassword" + }, + "161": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithPassword" + }, + "162": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "163": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOAuth" + }, + "164": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOAuth" + }, + "165": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "166": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.exchangeCodeForSession" + }, + "167": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.exchangeCodeForSession" + }, + "168": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "authCode" + }, + "169": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithWeb3" + }, + "170": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithWeb3" + }, + "171": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "172": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "173": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "174": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "175": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "176": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.user" + }, + "177": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "178": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "179": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "180": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "181": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "182": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.user" + }, + "183": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "222": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithIdToken" + }, + "223": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithIdToken" + }, + "224": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "225": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOtp" + }, + "226": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOtp" + }, + "227": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "228": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.verifyOtp" + }, + "229": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.verifyOtp" + }, + "230": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "params" + }, + "231": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithSSO" + }, + "232": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithSSO" + }, + "233": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "params" + }, + "234": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.reauthenticate" + }, + "235": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.reauthenticate" + }, + "238": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resend" + }, + "239": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resend" + }, + "240": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "241": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getSession" + }, + "242": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getSession" + }, + "243": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "244": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "245": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "246": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "247": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "248": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "249": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "250": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "251": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "252": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "253": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "254": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "255": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "256": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "257": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "304": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUser" + }, + "305": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUser" + }, + "306": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "jwt" + }, + "310": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.updateUser" + }, + "311": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.updateUser" + }, + "312": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "attributes" + }, + "313": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "314": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "315": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "322": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.setSession" + }, + "323": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.setSession" + }, + "324": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "325": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "326": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.access_token" + }, + "327": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "334": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.refreshSession" + }, + "335": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.refreshSession" + }, + "336": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "337": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "338": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "375": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signOut" + }, + "376": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signOut" + }, + "377": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "378": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "379": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "385": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "386": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "387": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "callback" + }, + "388": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "389": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "390": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "event" + }, + "391": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "session" + }, + "392": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "393": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "394": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "395": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.subscription" + }, + "396": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "397": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "callback" + }, + "398": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "399": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "400": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "event" + }, + "401": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "session" + }, + "402": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "403": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "404": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "405": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.subscription" + }, + "409": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resetPasswordForEmail" + }, + "410": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resetPasswordForEmail" + }, + "411": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "email" + }, + "412": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "413": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "414": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.redirectTo" + }, + "415": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.captchaToken" + }, + "416": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "417": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "418": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "419": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "420": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "421": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "422": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "423": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUserIdentities" + }, + "424": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUserIdentities" + }, + "425": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "426": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "427": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "428": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.identities" + }, + "429": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "430": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "431": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "432": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "433": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "434": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "435": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "436": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "437": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "444": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.unlinkIdentity" + }, + "445": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.unlinkIdentity" + }, + "446": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "identity" + }, + "447": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "448": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "449": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "450": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "451": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "452": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "453": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "499": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.startAutoRefresh" + }, + "500": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.startAutoRefresh" + }, + "501": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.stopAutoRefresh" + }, + "502": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.stopAutoRefresh" + }, + "598": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getClaims" + }, + "599": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getClaims" + }, + "600": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "jwt" + }, + "601": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "602": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "603": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "604": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.allowExpired" + }, + "605": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.jwks" + }, + "606": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "607": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "608": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "609": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "610": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "611": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.claims" + }, + "612": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.header" + }, + "613": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.signature" + }, + "614": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "615": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "616": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "617": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "618": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "619": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "620": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "621": { + "sourceFileName": "src/AuthAdminApi.ts", + "qualifiedName": "AuthAdminApi" + }, + "622": { + "sourceFileName": "src/AuthClient.ts", + "qualifiedName": "AuthClient" + }, + "623": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "navigatorLock" + }, + "624": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "navigatorLock" + }, + "625": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "R" + }, + "626": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "name" + }, + "627": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "acquireTimeout" + }, + "628": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "fn" + }, + "629": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "630": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "631": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "NavigatorLockAcquireTimeoutError" + }, + "632": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError.__constructor" + }, + "633": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "NavigatorLockAcquireTimeoutError" + }, + "634": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "message" + }, + "635": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError.isAcquireTimeout" + }, + "636": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "internals" + }, + "637": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__object" + }, + "638": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__object.debug" + }, + "639": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "processLock" + }, + "640": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "processLock" + }, + "641": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "R" + }, + "642": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "name" + }, + "643": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "acquireTimeout" + }, + "644": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "fn" + }, + "645": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "646": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "647": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Provider" + }, + "648": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthChangeEventMFA" + }, + "649": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthChangeEvent" + }, + "650": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "LockFunc" + }, + "651": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "652": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "653": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "name" + }, + "654": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "acquireTimeout" + }, + "655": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "fn" + }, + "656": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "657": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "658": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "R" + }, + "659": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueClientOptions" + }, + "660": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "661": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "662": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "663": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "664": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "666": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "667": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "668": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "669": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "670": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "671": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "672": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "673": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "674": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "675": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "676": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "677": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "message" + }, + "678": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "args" + }, + "679": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "680": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.hasCustomAuthorizationHeader" + }, + "681": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "WeakPasswordReasons" + }, + "682": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "WeakPassword" + }, + "683": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "684": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.reasons" + }, + "685": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "686": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Prettify" + }, + "687": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "688": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "StrictOmit" + }, + "689": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "690": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "691": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "RequestResult" + }, + "692": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "693": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "694": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "695": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "696": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "697": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "698": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "699": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "ErrorType" + }, + "700": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "RequestResultSafeDestructure" + }, + "701": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "702": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "703": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "704": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "705": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "706": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "707": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "708": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthResponse" + }, + "709": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "710": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "711": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "712": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthResponsePassword" + }, + "713": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "714": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "715": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "716": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.weak_password" + }, + "717": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOtpResponse" + }, + "718": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "719": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "720": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "721": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.messageId" + }, + "722": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthTokenResponse" + }, + "723": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "724": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "725": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "726": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthTokenResponsePassword" + }, + "727": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "728": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "729": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "730": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.weakPassword" + }, + "731": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthResponse" + }, + "732": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "733": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "734": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "735": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "736": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "737": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "738": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "739": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "740": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "741": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "742": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "743": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "744": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SSOResponse" + }, + "745": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "746": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "747": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserResponse" + }, + "748": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "749": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "750": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session" + }, + "751": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.provider_token" + }, + "752": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.provider_refresh_token" + }, + "753": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.access_token" + }, + "754": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.refresh_token" + }, + "755": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.expires_in" + }, + "756": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.expires_at" + }, + "757": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.token_type" + }, + "758": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.user" + }, + "759": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMRMethod" + }, + "760": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "761": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMREntry" + }, + "762": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMREntry.method" + }, + "763": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMREntry.timestamp" + }, + "764": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity" + }, + "765": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.id" + }, + "766": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.user_id" + }, + "767": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.identity_data" + }, + "768": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "769": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "771": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.identity_id" + }, + "772": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.provider" + }, + "773": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.created_at" + }, + "774": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.last_sign_in_at" + }, + "775": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.updated_at" + }, + "776": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorType" + }, + "777": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Factor" + }, + "778": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "779": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "780": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.friendly_name" + }, + "781": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.factor_type" + }, + "782": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.status" + }, + "783": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.created_at" + }, + "784": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.updated_at" + }, + "785": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Type" + }, + "786": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Status" + }, + "787": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata" + }, + "788": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata.provider" + }, + "789": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata.__index" + }, + "791": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserMetadata" + }, + "792": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserMetadata.__index" + }, + "794": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User" + }, + "795": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.id" + }, + "796": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.app_metadata" + }, + "797": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.user_metadata" + }, + "798": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.aud" + }, + "799": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.confirmation_sent_at" + }, + "800": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.recovery_sent_at" + }, + "801": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.email_change_sent_at" + }, + "802": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.new_email" + }, + "803": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.new_phone" + }, + "804": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.invited_at" + }, + "805": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.action_link" + }, + "806": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.email" + }, + "807": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.phone" + }, + "808": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.created_at" + }, + "809": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.confirmed_at" + }, + "810": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.email_confirmed_at" + }, + "811": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.phone_confirmed_at" + }, + "812": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.last_sign_in_at" + }, + "813": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.role" + }, + "814": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.updated_at" + }, + "815": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.identities" + }, + "816": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.is_anonymous" + }, + "817": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.is_sso_user" + }, + "818": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.factors" + }, + "819": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.deleted_at" + }, + "820": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes" + }, + "821": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.email" + }, + "822": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.phone" + }, + "823": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.password" + }, + "824": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.nonce" + }, + "825": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.data" + }, + "826": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes" + }, + "827": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.user_metadata" + }, + "828": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.app_metadata" + }, + "829": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.email_confirm" + }, + "830": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.phone_confirm" + }, + "831": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.ban_duration" + }, + "832": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.role" + }, + "833": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.password_hash" + }, + "834": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.id" + }, + "835": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "nonce" + }, + "836": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "email" + }, + "837": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "phone" + }, + "838": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "password" + }, + "839": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription" + }, + "840": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription.id" + }, + "841": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription.callback" + }, + "842": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "843": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "844": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "event" + }, + "845": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "session" + }, + "846": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription.unsubscribe" + }, + "847": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "848": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "849": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInAnonymouslyCredentials" + }, + "850": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "851": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "852": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "853": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "854": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "855": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignUpWithPasswordCredentials" + }, + "856": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "857": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "858": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "859": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "860": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "861": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "862": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.channel" + }, + "863": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithPasswordCredentials" + }, + "864": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "865": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "866": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "867": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "868": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithPasswordlessCredentials" + }, + "869": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "870": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "871": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "872": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "873": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "874": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.shouldCreateUser" + }, + "875": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "876": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "877": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "878": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.phone" + }, + "879": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "880": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "881": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.shouldCreateUser" + }, + "882": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "883": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "884": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.channel" + }, + "885": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthFlowType" + }, + "886": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithOAuthCredentials" + }, + "887": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "888": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "889": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "890": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "891": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "892": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scopes" + }, + "893": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.queryParams" + }, + "894": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "895": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "897": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "898": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithIdTokenCredentials" + }, + "899": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "900": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "901": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "902": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.token" + }, + "903": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.access_token" + }, + "904": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.nonce" + }, + "905": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "906": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "907": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "908": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SolanaWallet" + }, + "909": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "910": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signIn" + }, + "911": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "912": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "913": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "inputs" + }, + "914": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "915": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "916": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.toBase58" + }, + "917": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "918": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "919": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signMessage" + }, + "920": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "921": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "922": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "message" + }, + "923": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "encoding" + }, + "924": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SolanaWeb3Credentials" + }, + "925": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "926": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "927": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.wallet" + }, + "928": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.statement" + }, + "929": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "930": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "931": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "932": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "933": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signInWithSolana" + }, + "934": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "935": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "936": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "937": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signature" + }, + "938": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "939": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "940": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "941": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "EthereumWallet" + }, + "942": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "EthereumWeb3Credentials" + }, + "943": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "944": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "945": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.wallet" + }, + "946": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.statement" + }, + "947": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "948": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "949": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "950": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "951": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signInWithEthereum" + }, + "952": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "953": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "954": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "955": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signature" + }, + "956": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "957": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "958": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "959": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Web3Credentials" + }, + "960": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyOtpParams" + }, + "961": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams" + }, + "962": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.phone" + }, + "963": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.token" + }, + "964": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.type" + }, + "965": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.options" + }, + "966": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "967": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "968": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "969": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams" + }, + "970": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.email" + }, + "971": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.token" + }, + "972": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.type" + }, + "973": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.options" + }, + "974": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "975": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "976": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "977": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams" + }, + "978": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams.token_hash" + }, + "979": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams.type" + }, + "980": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MobileOtpType" + }, + "981": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "EmailOtpType" + }, + "982": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "ResendParams" + }, + "983": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "984": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "985": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "986": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "987": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "988": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "989": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "990": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "991": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "992": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.phone" + }, + "993": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "994": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "995": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "996": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithSSO" + }, + "997": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "998": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.providerId" + }, + "999": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1000": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1001": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1002": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1003": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1004": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.domain" + }, + "1005": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1006": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1007": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1008": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1009": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateSignupLinkParams" + }, + "1010": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1011": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1012": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1013": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.password" + }, + "1014": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1015": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateInviteOrMagiclinkParams" + }, + "1016": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1017": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1018": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1019": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1020": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateRecoveryLinkParams" + }, + "1021": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1022": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1023": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1024": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1025": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateEmailChangeLinkParams" + }, + "1026": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1027": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1028": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1029": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.newEmail" + }, + "1030": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1031": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions" + }, + "1032": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions.data" + }, + "1033": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions.redirectTo" + }, + "1034": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkParams" + }, + "1035": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkResponse" + }, + "1036": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1037": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.properties" + }, + "1038": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1039": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkProperties" + }, + "1040": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1041": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.action_link" + }, + "1042": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email_otp" + }, + "1043": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.hashed_token" + }, + "1044": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_to" + }, + "1045": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.verification_type" + }, + "1046": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkType" + }, + "1047": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParams" + }, + "1048": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAUnenrollParams" + }, + "1049": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1050": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.factorId" + }, + "1051": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyTOTPParams" + }, + "1052": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyPhoneParams" + }, + "1053": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFields" + }, + "1054": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1055": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.webauthn" + }, + "1056": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "1057": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParams" + }, + "1058": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "1059": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParams" + }, + "1060": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFATOTPChannel" + }, + "1061": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeTOTPParams" + }, + "1062": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengePhoneParams" + }, + "1063": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeWebauthnParams" + }, + "1064": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParams" }, - { - "id": 546, - "name": "AuthAdminApi", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/AuthAdminApi.ts", - "line": 3, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/AuthAdminApi.ts#L3" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 1, - "name": "default" - } - }, - "defaultValue": "GoTrueAdminApi" + "1065": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeAndVerifyParams" }, - { - "id": 547, - "name": "AuthClient", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/AuthClient.ts", - "line": 3, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/AuthClient.ts#L3" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 78, - "name": "default" - } - }, - "defaultValue": "GoTrueClient" + "1066": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAVerifyResponseData" }, - { - "id": 1255, - "name": "SIGN_OUT_SCOPES", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1337, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/types.ts#L1337" - } - ], - "type": { - "type": "typeOperator", - "operator": "readonly", - "target": { - "type": "tuple", - "elements": [ - { - "type": "literal", - "value": "global" - }, - { - "type": "literal", - "value": "local" - }, - { - "type": "literal", - "value": "others" - } - ] - } - }, - "defaultValue": "..." + "1067": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" }, - { - "id": 561, - "name": "lockInternals", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "comment": { - "summary": [], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 6, - "character": 13, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L6" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 562, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 563, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 10, - "character": 2, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L10" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "!!(\n globalThis &&\n supportsLocalStorage() &&\n globalThis.localStorage &&\n globalThis.localStorage.getItem('supabase.gotrue-js.locks.debug') === 'true'\n )" - } - ], - "groups": [ - { - "title": "Properties", - "children": [563] - } - ], - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 6, - "character": 25, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L6" - } - ] - } - }, - "defaultValue": "..." + "1068": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.access_token" }, - { - "id": 1260, - "name": "isAuthApiError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 41, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L41" - } - ], - "signatures": [ - { - "id": 1261, - "name": "isAuthApiError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1262, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 1285, - "name": "AuthApiError" - } - } - } - ] + "1069": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.token_type" }, - { - "id": 1257, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 26, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L26" - } - ], - "signatures": [ - { - "id": 1258, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1259, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 1275, - "name": "AuthError" - } - } - } - ] + "1070": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.expires_in" + }, + "1071": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.refresh_token" + }, + "1072": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1073": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAVerifyResponse" + }, + "1074": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponse" + }, + "1075": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAUnenrollResponse" + }, + "1076": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1077": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1078": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeTOTPResponse" + }, + "1079": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengePhoneResponse" + }, + "1080": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponse" + }, + "1081": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponseDataJSON" + }, + "1082": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnServerResponse" + }, + "1083": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponse" + }, + "1084": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAListFactorsResponse" + }, + "1085": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1086": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.all" + }, + "1087": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "1088": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthenticatorAssuranceLevels" + }, + "1089": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAGetAuthenticatorAssuranceLevelResponse" + }, + "1090": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1091": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.currentLevel" + }, + "1092": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.nextLevel" + }, + "1093": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.currentAuthenticationMethods" + }, + "1094": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi" + }, + "1095": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1096": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1097": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1098": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1099": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1100": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1101": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "issuer" + }, + "1102": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1103": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1104": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1105": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1106": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1107": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "phone" + }, + "1108": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1109": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1110": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1111": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1112": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1113": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1114": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1115": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1116": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1117": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1118": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1119": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1120": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1121": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1122": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1123": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1124": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1125": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1126": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "id" + }, + "1127": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "type" + }, + "1128": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1129": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1130": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1131": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1132": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1133": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1134": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "channel" + }, + "1135": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1136": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1137": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1138": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1139": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1140": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1141": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "id" + }, + "1142": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "type" + }, + "1143": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1144": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1145": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1146": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1147": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1148": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1149": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1150": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1151": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.rpId" + }, + "1152": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.rpOrigins" + }, + "1153": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1154": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1155": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1156": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1157": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1158": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1159": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "id" + }, + "1160": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "type" + }, + "1161": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1162": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1163": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1164": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1165": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.credential_options" + }, + "1166": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1167": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "1168": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1169": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1170": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.credential_options" + }, + "1171": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1172": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "1173": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1174": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1175": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1176": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1177": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1178": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1179": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1180": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1181": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1182": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "code" + }, + "1183": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1184": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1185": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1186": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1187": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1188": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "code" + }, + "1189": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1190": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1191": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1192": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1193": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1194": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1195": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1196": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1197": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.unenroll" + }, + "1198": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.unenroll" + }, + "1199": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1200": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challengeAndVerify" + }, + "1201": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challengeAndVerify" + }, + "1202": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1203": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1204": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1205": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "code" + }, + "1206": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.listFactors" + }, + "1207": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.listFactors" + }, + "1208": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.getAuthenticatorAssuranceLevel" + }, + "1209": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.getAuthenticatorAssuranceLevel" + }, + "1210": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.webauthn" + }, + "1211": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminDeleteFactorResponse" + }, + "1212": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1213": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1214": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminDeleteFactorParams" + }, + "1215": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1216": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1217": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userId" + }, + "1218": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminListFactorsResponse" + }, + "1219": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1220": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.factors" + }, + "1221": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminListFactorsParams" + }, + "1222": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1223": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userId" + }, + "1224": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi" + }, + "1225": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.listFactors" + }, + "1226": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.listFactors" + }, + "1227": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1228": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.deleteFactor" + }, + "1229": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.deleteFactor" + }, + "1230": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1231": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupportedStorage" + }, + "1232": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1233": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.isServer" + }, + "1234": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "InitializeResult" + }, + "1235": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1236": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1237": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "CallRefreshTokenResult" + }, + "1238": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Pagination" + }, + "1239": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1240": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.nextPage" + }, + "1241": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lastPage" + }, + "1242": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.total" + }, + "1243": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "1245": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PageParams" + }, + "1246": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1247": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.page" + }, + "1248": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.perPage" + }, + "1249": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignOut" + }, + "1250": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1251": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1252": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollTOTPParams" + }, + "1253": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollPhoneParams" + }, + "1254": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollWebauthnParams" + }, + "1255": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollTOTPResponse" + }, + "1256": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollPhoneResponse" + }, + "1257": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollWebauthnResponse" + }, + "1258": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtHeader" + }, + "1259": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1260": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.alg" + }, + "1261": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.kid" + }, + "1262": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.typ" + }, + "1263": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "RequiredClaims" + }, + "1264": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1265": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.iss" + }, + "1266": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.sub" + }, + "1267": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1268": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.exp" + }, + "1269": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.iat" + }, + "1270": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.role" + }, + "1271": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aal" + }, + "1272": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session_id" + }, + "1273": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload" + }, + "1274": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1275": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "1277": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK" + }, + "1278": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.kty" + }, + "1279": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.key_ops" + }, + "1280": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.alg" + }, + "1281": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.kid" + }, + "1282": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.__index" + }, + "1284": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SIGN_OUT_SCOPES" + }, + "1285": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignOutScope" + }, + "1286": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthError" + }, + "1287": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthError" + }, + "1288": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1289": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthApiError" + }, + "1290": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthApiError" + }, + "1291": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1292": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthSessionMissingError" + }, + "1293": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthSessionMissingError" + }, + "1294": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1295": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthImplicitGrantRedirectError" + }, + "1296": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthImplicitGrantRedirectError" + }, + "1297": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1298": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthRetryableFetchError" + }, + "1299": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthRetryableFetchError" + }, + "1300": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1301": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthWeakPasswordError" + }, + "1302": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthWeakPasswordError" }, - { - "id": 1266, - "name": "isAuthImplicitGrantRedirectError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 105, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L105" - } - ], - "signatures": [ - { - "id": 1267, - "name": "isAuthImplicitGrantRedirectError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1268, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 1342, - "name": "AuthImplicitGrantRedirectError" - } - } - } - ] + "1303": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" }, - { - "id": 1269, - "name": "isAuthRetryableFetchError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 135, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L135" - } - ], - "signatures": [ - { - "id": 1270, - "name": "isAuthRetryableFetchError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1271, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 1396, - "name": "AuthRetryableFetchError" - } - } - } - ] + "1304": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError" }, - { - "id": 1263, - "name": "isAuthSessionMissingError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 72, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L72" - } - ], - "signatures": [ - { - "id": 1264, - "name": "isAuthSessionMissingError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1265, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 1317, - "name": "AuthSessionMissingError" - } - } - } - ] + "1305": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.__constructor" }, - { - "id": 1272, - "name": "isAuthWeakPasswordError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 157, - "character": 16, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/errors.ts#L157" - } - ], - "signatures": [ - { - "id": 1273, - "name": "isAuthWeakPasswordError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 1274, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 1406, - "name": "AuthWeakPasswordError" - } - } - } - ] + "1306": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError" }, - { - "id": 548, - "name": "navigatorLock", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 59, - "character": 22, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L59" - } - ], - "signatures": [ - { - "id": 549, - "name": "navigatorLock", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Implements a global exclusive lock using the Navigator LockManager API. It\nis available on all browsers released after 2022-03-15 with Safari being the\nlast one to release support. If the API is not available, this function will\nthrow. Make sure you check availablility before configuring " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "GoTrueClient", - "target": 78 - }, - { - "kind": "text", - "text": ".\n\nYou can turn on debugging by setting the " - }, - { - "kind": "code", - "text": "`supabase.gotrue-js.locks.debug`" - }, - { - "kind": "text", - "text": "\nlocal storage item to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ".\n\nInternals:\n\nSince the LockManager API does not preserve stack traces for the async\nfunction passed in the " - }, - { - "kind": "code", - "text": "`request`" - }, - { - "kind": "text", - "text": " method, a trick is used where acquiring the\nlock releases a previously started promise to run the operation in the " - }, - { - "kind": "code", - "text": "`fn`" - }, - { - "kind": "text", - "text": "\nfunction. The lock waits for that promise to finish (with or without error),\nwhile the function will finally wait for the result anyway." - } - ] - }, - "typeParameter": [ - { - "id": 550, - "name": "R", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 551, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the lock to be acquired." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 552, - "name": "acquireTimeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has " - }, - { - "kind": "code", - "text": "`isAcquireTimeout`" - }, - { - "kind": "text", - "text": " set to true." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 553, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operation to run once the lock is acquired." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 554, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 62, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L62" - } - ], - "signatures": [ - { - "id": 555, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 550, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 550, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] + "1307": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" }, - { - "id": 564, - "name": "processLock", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 171, - "character": 22, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L171" - } - ], - "signatures": [ - { - "id": 565, - "name": "processLock", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Implements a global exclusive lock that works only in the current process.\nUseful for environments like React Native or other non-browser\nsingle-process (i.e. no concept of \"tabs\") environments.\n\nUse " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "#navigatorLock", - "target": 0 - }, - { - "kind": "text", - "text": " in browser environments." - } - ] - }, - "typeParameter": [ - { - "id": 566, - "name": "R", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 567, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the lock to be acquired." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 568, - "name": "acquireTimeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has " - }, - { - "kind": "code", - "text": "`isAcquireTimeout`" - }, - { - "kind": "text", - "text": " set to true." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 569, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operation to run once the lock is acquired." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 570, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/locks.ts", - "line": 174, - "character": 6, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/lib/locks.ts#L174" - } - ], - "signatures": [ - { - "id": 571, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 566, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 566, - "name": "R" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "children": [ - 1285, 1275, 1342, 1333, 1418, 1325, 1369, 1396, 1317, 1295, 1406, 1305, 1, 78, 556 - ] + "1308": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1309": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "code" + }, + "1310": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1311": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1312": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.status" + }, + "1314": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError" + }, + "1315": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError.__constructor" + }, + "1316": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError" + }, + "1317": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1318": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1319": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "code" + }, + "1320": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError.status" + }, + "1321": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1322": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1324": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError" + }, + "1325": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError.__constructor" + }, + "1326": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError" + }, + "1327": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1328": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "originalError" + }, + "1329": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError.originalError" + }, + "1330": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1331": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1332": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.status" + }, + "1334": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError" + }, + "1335": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.__constructor" + }, + "1336": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError" }, - { - "title": "Interfaces", - "children": [ - 724, 787, 740, 1009, 1157, 1108, 1248, 715, 800, 755, 748, 781, 728, 752, 947, 939, 955 - ] + "1337": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" }, - { - "title": "Type Aliases", - "children": [ - 574, 573, 863, 1141, 1132, 1154, 1145, 1074, 1217, 1064, 1201, 1097, 1085, 1065, 1051, - 639, 612, 625, 654, 667, 1096, 1170, 959, 919, 920, 1003, 993, 1012, 1026, 1013, 1033, - 998, 987, 584, 1167, 1229, 1244, 575, 1047, 1043, 1034, 1196, 1191, 1035, 1038, 958, - 682, 1184, 1177, 572, 1234, 960, 695, 810, 876, 864, 833, 846, 974, 1188, 1256, 816, - 886, 902, 1164, 704, 938, 608, 606, 937 - ] + "1338": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "name" }, - { - "title": "Variables", - "children": [546, 547, 1255, 561] + "1339": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" }, - { - "title": "Functions", - "children": [1260, 1257, 1266, 1269, 1263, 1272, 548, 564] + "1340": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "code" + }, + "1341": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1342": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1343": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1344": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1346": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError" + }, + "1347": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError.__constructor" + }, + "1348": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError" + }, + "1349": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1350": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1351": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1352": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1354": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError" + }, + "1355": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError.__constructor" + }, + "1356": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError" + }, + "1357": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1358": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1359": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1360": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1362": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError" + }, + "1363": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError.__constructor" + }, + "1364": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError" + }, + "1365": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1366": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1367": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1368": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1369": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1371": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError" + }, + "1372": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.__constructor" + }, + "1373": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError" + }, + "1374": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1375": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "details" + }, + "1376": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1377": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1378": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1379": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.details" + }, + "1380": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1381": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1382": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1383": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.toJSON" + }, + "1384": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.toJSON" + }, + "1385": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object" + }, + "1386": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.name" + }, + "1387": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.message" + }, + "1388": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.status" + }, + "1389": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.details" + }, + "1390": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1391": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1392": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1393": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1394": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1395": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1396": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1398": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError" + }, + "1399": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.__constructor" + }, + "1400": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError" + }, + "1401": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1402": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "details" + }, + "1403": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1404": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1405": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1406": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.details" + }, + "1407": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1408": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1409": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1410": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.toJSON" + }, + "1411": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.toJSON" + }, + "1412": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object" + }, + "1413": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.name" + }, + "1414": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.message" + }, + "1415": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.status" + }, + "1416": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.details" + }, + "1417": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1418": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1419": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1420": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1421": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1422": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1423": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1425": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError" + }, + "1426": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError.__constructor" + }, + "1427": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError" + }, + "1428": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1429": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1430": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1431": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1432": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1433": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1435": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError" + }, + "1436": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError.__constructor" + }, + "1437": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError" + }, + "1438": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1439": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1440": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "reasons" + }, + "1441": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError.reasons" + }, + "1442": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1443": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1444": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1445": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1447": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError" + }, + "1448": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError.__constructor" + }, + "1449": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError" + }, + "1450": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1451": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1452": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1453": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1454": { + "sourceFileName": "", + "qualifiedName": "__type" } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/auth-js/blob/aadf02e/src/index.ts#L1" + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 } - ] + } }, { "id": 0, "name": "@supabase/postgrest-js", + "variant": "project", "kind": 1, - "kindString": "Project", "flags": {}, - "originalName": "", "children": [ { - "id": 683, + "id": 704, "name": "PostgrestBuilder", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": { "isAbstract": true }, "children": [ { - "id": 684, + "id": 705, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 35, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" } ], "signatures": [ { - "id": 685, - "name": "new PostgrestBuilder", + "id": 706, + "name": "PostgrestBuilder", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 35, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" + } + ], + "typeParameters": [ { - "id": 686, + "id": 707, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 687, + "id": 708, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} }, { - "id": 688, + "id": 709, "name": "ThrowOnError", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -56165,34 +39303,34 @@ ], "parameters": [ { - "id": 689, + "id": 710, "name": "builder", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 690, + "id": 711, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 695, + "id": 716, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 40, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L40" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L40" } ], "type": { @@ -56201,96 +39339,227 @@ } }, { - "id": 698, + "id": 719, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 43, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L43" } ], "type": { "type": "reflection", "declaration": { - "id": 699, + "id": 720, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 700, + "id": 721, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 701, + "id": 722, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 723, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 724, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 725, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 702, + "id": 726, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -56299,40 +39568,43 @@ } }, { - "id": 693, + "id": 714, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 38, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L38" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, "name": "HeadersInit", - "qualifiedName": "HeadersInit", "package": "typescript" } }, { - "id": 703, + "id": 727, "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 44, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L44" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L44" } ], "type": { @@ -56341,17 +39613,17 @@ } }, { - "id": 691, + "id": 712, "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 36, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L36" } ], "type": { @@ -56381,19 +39653,19 @@ } }, { - "id": 694, + "id": 715, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 39, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L39" } ], "type": { @@ -56402,19 +39674,19 @@ } }, { - "id": 696, + "id": 717, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 41, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L41" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L41" } ], "type": { @@ -56423,46 +39695,52 @@ } }, { - "id": 697, + "id": 718, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 42, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L42" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L42" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } }, { - "id": 692, + "id": 713, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 37, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L37" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L37" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } } @@ -56470,15 +39748,15 @@ "groups": [ { "title": "Properties", - "children": [695, 698, 693, 703, 691, 694, 696, 697, 692] + "children": [716, 719, 714, 727, 712, 715, 717, 718, 713] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 35, "character": 23, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" } ] } @@ -56487,44 +39765,55 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 686, - "name": "ClientOptions" + "target": 707, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 708, + "id": 732, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 29, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L29" } ], "type": { @@ -56533,96 +39822,227 @@ } }, { - "id": 711, + "id": 735, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 32, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L32" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L32" } ], "type": { "type": "reflection", "declaration": { - "id": 712, + "id": 736, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 713, + "id": 737, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 714, + "id": 738, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 739, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 740, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 741, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 715, + "id": 742, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -56631,42 +40051,45 @@ } }, { - "id": 706, + "id": 730, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 27, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L27" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L27" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, "name": "Headers", - "qualifiedName": "Headers", "package": "typescript" } }, { - "id": 716, + "id": 743, "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 33, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L33" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L33" } ], "type": { @@ -56675,19 +40098,19 @@ } }, { - "id": 704, + "id": 728, "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 25, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L25" } ], "type": { @@ -56717,20 +40140,20 @@ } }, { - "id": 707, + "id": 731, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 28, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L28" } ], "type": { @@ -56739,19 +40162,19 @@ } }, { - "id": 709, + "id": 733, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 30, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L30" } ], "type": { @@ -56761,72 +40184,78 @@ "defaultValue": "false" }, { - "id": 710, + "id": 734, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 31, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } }, { - "id": 705, + "id": 729, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 26, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L26" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } }, { - "id": 738, + "id": 765, "name": "overrideTypes", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 276, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L276" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L276" } ], "signatures": [ { - "id": 739, + "id": 766, "name": "overrideTypes", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -56864,12 +40293,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 740, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 276, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L276" + } + ], + "typeParameters": [ + { + "id": 767, "name": "NewResult", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -56881,10 +40318,10 @@ } }, { - "id": 745, + "id": 768, "name": "Options", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -56897,26 +40334,26 @@ "type": { "type": "reflection", "declaration": { - "id": 741, + "id": 769, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 742, + "id": 770, "name": "merge", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 22, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ], "type": { @@ -56928,15 +40365,15 @@ "groups": [ { "title": "Properties", - "children": [742] + "children": [770] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 20, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ] } @@ -56944,24 +40381,24 @@ "default": { "type": "reflection", "declaration": { - "id": 743, + "id": 771, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 772, "name": "merge", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 44, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ], "type": { @@ -56973,15 +40410,15 @@ "groups": [ { "title": "Properties", - "children": [744] + "children": [772] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ] } @@ -56990,27 +40427,39 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 686, - "name": "ClientOptions" + "target": 707, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "IsValidResultOverride" + }, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "literal", @@ -57021,7 +40470,8 @@ "value": false } ], - "name": "IsValidResultOverride" + "name": "IsValidResultOverride", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "literal", @@ -57031,14 +40481,22 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/types.ts", + "qualifiedName": "ContainsNull" + }, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "ContainsNull" + "name": "ContainsNull", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "literal", @@ -57053,105 +40511,147 @@ }, { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MergePartialResult" + }, "typeArguments": [ { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], "name": "NonNullable", - "qualifiedName": "NonNullable", "package": "typescript" }, { "type": "reference", - "id": 522, - "name": "Options" + "target": 533, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "MergePartialResult" + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" } ] }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MergePartialResult" + }, "typeArguments": [ { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 522, - "name": "Options" + "target": 533, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "MergePartialResult" + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" } }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "CheckMatchingArrayTypes" + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" } }, { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 735, + "id": 762, "name": "returns", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 241, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L241" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L241" } ], "signatures": [ { - "id": 736, + "id": 763, "name": "returns", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -57180,12 +40680,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 737, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 241, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L241" + } + ], + "typeParameters": [ + { + "id": 764, "name": "NewResult", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -57199,60 +40707,78 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 686, - "name": "ClientOptions" + "target": 707, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 737, - "name": "NewResult" + "target": 764, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "CheckMatchingArrayTypes" + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" }, { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 719, + "id": 746, "name": "setHeader", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 78, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L78" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" } ], "signatures": [ { - "id": 720, + "id": 747, "name": "setHeader", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -57262,12 +40788,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], "parameters": [ { - "id": 721, + "id": 748, "name": "name", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -57275,10 +40809,10 @@ } }, { - "id": 722, + "id": 749, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -57287,64 +40821,76 @@ } ], "type": { - "type": "reference", - "id": 683, - "typeArguments": [ - { - "type": "reference", - "id": 686, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 687, - "name": "Result" - }, - { - "type": "reference", - "id": 688, - "name": "ThrowOnError" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 723, + "id": 750, "name": "then", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 84, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L84" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L84" } ], "signatures": [ { - "id": 724, + "id": 751, "name": "then", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "typeParameter": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ { - "id": 725, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L84" + } + ], + "typeParameters": [ + { + "id": 752, "name": "TResult1", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true }, "extendsType": { "type": "literal", @@ -57352,35 +40898,43 @@ }, "trueType": { "type": "reference", - "id": 769, + "target": 796, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponseSuccess" + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" }, "falseType": { "type": "reference", - "id": 776, + "target": 803, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestSingleResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } } }, { - "id": 726, + "id": 753, "name": "TResult2", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -57390,13 +40944,21 @@ ], "parameters": [ { - "id": 727, + "id": 754, "name": "onfulfilled", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, "type": { "type": "union", "types": [ @@ -57407,39 +40969,50 @@ { "type": "reflection", "declaration": { - "id": 728, + "id": 755, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 91, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L91" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L91" } ], "signatures": [ { - "id": 729, + "id": 756, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 91, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L91" + } + ], "parameters": [ { - "id": 730, + "id": 757, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "conditional", "checkType": { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true }, "extendsType": { "type": "literal", @@ -57447,27 +41020,35 @@ }, "trueType": { "type": "reference", - "id": 769, + "target": 796, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponseSuccess" + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" }, "falseType": { "type": "reference", - "id": 776, + "target": 803, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestSingleResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } } } @@ -57477,20 +41058,27 @@ "types": [ { "type": "reference", - "id": 505, - "name": "TResult1" + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 505, - "name": "TResult1" + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -57503,13 +41091,21 @@ } }, { - "id": 731, + "id": 758, "name": "onrejected", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, "type": { "type": "union", "types": [ @@ -57520,32 +41116,40 @@ { "type": "reflection", "declaration": { - "id": 732, + "id": 759, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 98, "character": 18, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L98" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L98" } ], "signatures": [ { - "id": 733, + "id": 760, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 98, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L98" + } + ], "parameters": [ { - "id": 734, + "id": 761, "name": "reason", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -57558,20 +41162,27 @@ "types": [ { "type": "reference", - "id": 506, - "name": "TResult2" + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 506, - "name": "TResult2" + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -57586,58 +41197,67 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 505, - "name": "TResult1" + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 506, - "name": "TResult2" + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ] } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" }, "implementationOf": { "type": "reference", + "target": -1, "name": "PromiseLike.then" } } ], "implementationOf": { "type": "reference", + "target": -1, "name": "PromiseLike.then" } }, { - "id": 717, + "id": 744, "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 70, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L70" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L70" } ], "signatures": [ { - "id": 718, + "id": 745, "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -57653,51 +41273,78 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L70" + } + ], "type": { "type": "intersection", "types": [ { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 686, - "name": "ClientOptions" + "target": 707, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 686, - "name": "ClientOptions" + "target": 707, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "literal", "value": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } ] } @@ -57708,50 +41355,51 @@ "groups": [ { "title": "Constructors", - "children": [684] + "children": [705] }, { "title": "Properties", - "children": [708, 711, 706, 716, 704, 707, 709, 710, 705] + "children": [732, 735, 730, 743, 728, 731, 733, 734, 729] }, { "title": "Methods", - "children": [738, 735, 719, 723, 717] + "children": [765, 762, 746, 750, 744] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 16, "character": 30, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L16" } ], "typeParameters": [ { - "id": 746, + "id": 773, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 747, + "id": 774, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} }, { - "id": 748, + "id": 775, "name": "ThrowOnError", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -57766,20 +41414,27 @@ "extendedBy": [ { "type": "reference", - "id": 530, + "target": 545, "name": "PostgrestTransformBuilder" } ], "implementedTypes": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "conditional", "checkType": { "type": "reference", - "id": 688, - "name": "ThrowOnError" + "target": 709, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true }, "extendsType": { "type": "literal", @@ -57787,32 +41442,39 @@ }, "trueType": { "type": "reference", - "id": 769, + "target": 796, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponseSuccess" + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" }, "falseType": { "type": "reference", - "id": 776, + "target": 803, "typeArguments": [ { "type": "reference", - "id": 687, - "name": "Result" + "target": 708, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestSingleResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -57820,8 +41482,8 @@ { "id": 9, "name": "PostgrestClient", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "comment": { "summary": [ @@ -57835,23 +41497,23 @@ { "id": 10, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 51, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L51" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L51" } ], "signatures": [ { "id": 11, - "name": "new PostgrestClient", + "name": "PostgrestClient", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, "comment": { "summary": [ @@ -57861,12 +41523,20 @@ } ] }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 51, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L51" + } + ], + "typeParameters": [ { "id": 12, "name": "Database", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -57874,79 +41544,95 @@ } }, { - "id": 16, + "id": 13, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" }, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, "extendsType": { "type": "reflection", "declaration": { - "id": 13, + "id": 14, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 14, + "id": 15, "name": "__InternalSupabase", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 18, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L18" } ], "type": { "type": "reference", - "name": "I" + "target": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "I" + }, + "name": "I", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "groups": [ { "title": "Properties", - "children": [14] + "children": [15] } ], "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 17, "character": 63, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L17" } ] } }, "trueType": { "type": "reference", - "name": "I" + "target": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "I" + }, + "name": "I", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "reflection", "declaration": { - "id": 15, + "id": 16, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {} } } @@ -57955,8 +41641,8 @@ { "id": 17, "name": "SchemaName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -57970,14 +41656,21 @@ }, "extendsType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ { "type": "typeOperator", "operator": "keyof", "target": { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } }, { @@ -57986,7 +41679,6 @@ } ], "name": "Exclude", - "qualifiedName": "Exclude", "package": "typescript" }, "trueType": { @@ -58002,14 +41694,21 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ { "type": "typeOperator", "operator": "keyof", "target": { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } }, { @@ -58018,7 +41717,6 @@ } ], "name": "Exclude", - "qualifiedName": "Exclude", "package": "typescript" } ] @@ -58028,12 +41726,17 @@ { "id": 18, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "default": { "type": "conditional", @@ -58041,16 +41744,26 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 17, - "name": "SchemaName" + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true }, "objectType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", @@ -58058,13 +41771,17 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } }, "extendsType": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "trueType": { "type": "indexedAccess", @@ -58088,8 +41805,8 @@ { "id": 19, "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -58107,8 +41824,8 @@ { "id": 20, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -58118,30 +41835,37 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { "id": 21, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { "id": 24, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom fetch" + } + ] + }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 60, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L60" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L60" } ], "type": { @@ -58149,51 +41873,69 @@ "declaration": { "id": 25, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { "id": 26, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Custom fetch" + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" } ] }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { "id": 27, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] @@ -58202,31 +41944,136 @@ { "id": 28, "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 29, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 30, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 31, + "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -58237,8 +42084,8 @@ { "id": 22, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -58252,24 +42099,28 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 58, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L58" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L58" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, "name": "HeadersInit", - "qualifiedName": "HeadersInit", "package": "typescript" - } + }, + "defaultValue": "{}" }, { "id": 23, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -58283,17 +42134,19 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 59, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L59" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L59" } ], "type": { "type": "reference", - "id": 17, + "target": 17, "name": "SchemaName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true } } ], @@ -58305,10 +42158,10 @@ ], "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 57, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L57" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L57" } ] } @@ -58318,125 +42171,270 @@ ], "type": { "type": "reference", - "id": 9, + "target": 9, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "reference", - "id": 16, - "name": "ClientOptions" + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 17, - "name": "SchemaName" + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 18, - "name": "Schema" + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 32, + "id": 35, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 39, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L39" } ], "type": { "type": "reflection", "declaration": { - "id": 33, + "id": 36, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 34, + "id": 37, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 35, + "id": 38, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 36, + "id": 39, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 40, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 41, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 42, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -58445,61 +42443,66 @@ } }, { - "id": 30, + "id": 33, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 37, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L37" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L37" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, "name": "Headers", - "qualifiedName": "Headers", "package": "typescript" } }, { - "id": 31, + "id": 34, "name": "schemaName", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 38, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L38" } ], "type": { "type": "reference", - "id": 17, + "target": 17, "name": "SchemaName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true } }, { - "id": 29, + "id": 32, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 36, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L36" } ], "type": { @@ -58508,52 +42511,72 @@ } }, { - "id": 37, + "id": 43, "name": "from", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform a query on a table or a view." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "relation", + "content": [ + { + "kind": "text", + "text": "The table or view name to query" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 68, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L68" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L68" }, { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 72, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L72" }, { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 80, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L80" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L80" } ], "signatures": [ { - "id": 38, + "id": 44, "name": "from", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform a query on a table or a view." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 39, + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 68, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L68" + } + ], + "typeParameters": [ + { + "id": 45, "name": "TableName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -58561,149 +42584,98 @@ } }, { - "id": 40, + "id": 46, "name": "Table", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericTable" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 41, + "id": 47, "name": "relation", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The table or view name to query" - } - ] - }, "type": { "type": "reference", - "id": 39, + "target": 45, "name": "TableName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "type": { "type": "reference", - "id": 72, + "target": 74, "typeArguments": [ { "type": "reference", - "id": 16, - "name": "ClientOptions" + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 18, - "name": "Schema" + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 40, - "name": "Table" + "target": 46, + "name": "Table", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 39, - "name": "TableName" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 40, - "name": "Table" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 42, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 43, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, - "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" - } - ], - "type": { - "type": "reference", - "name": "R" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [43] - } - ], - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, - "character": 35, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "R" - }, - "falseType": { - "type": "intrinsic", - "name": "unknown" - } + "target": 45, + "name": "TableName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } }, { - "id": 44, + "id": 48, "name": "from", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform a query on a table or a view." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 45, + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L72" + } + ], + "typeParameters": [ + { + "id": 49, "name": "ViewName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -58711,151 +42683,100 @@ } }, { - "id": 46, + "id": 50, "name": "View", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericView" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 47, + "id": 51, "name": "relation", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The table or view name to query" - } - ] - }, "type": { "type": "reference", - "id": 45, + "target": 49, "name": "ViewName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "type": { "type": "reference", - "id": 72, + "target": 74, "typeArguments": [ { "type": "reference", - "id": 16, - "name": "ClientOptions" + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 18, - "name": "Schema" + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 46, - "name": "View" + "target": 50, + "name": "View", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 45, - "name": "ViewName" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 46, - "name": "View" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 48, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 49, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, - "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" - } - ], - "type": { - "type": "reference", - "name": "R" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [49] - } - ], - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, - "character": 35, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "R" - }, - "falseType": { - "type": "intrinsic", - "name": "unknown" - } + "target": 49, + "name": "ViewName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 54, + "id": 56, "name": "rpc", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 134, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L134" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L134" } ], "signatures": [ { - "id": 55, + "id": 57, "name": "rpc", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -58865,12 +42786,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 56, + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 134, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L134" + } + ], + "typeParameters": [ + { + "id": 58, "name": "FnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -58878,23 +42807,28 @@ } }, { - "id": 57, + "id": 59, "name": "Fn", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericFunction" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericFunction" + }, + "name": "GenericFunction", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 58, + "id": 60, "name": "fn", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -58906,16 +42840,17 @@ }, "type": { "type": "reference", - "id": 56, + "target": 58, "name": "FnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 59, + "id": 61, "name": "args", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -58933,17 +42868,19 @@ }, "objectType": { "type": "reference", - "id": 57, - "name": "Fn" + "target": 59, + "name": "Fn", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, "defaultValue": "{}" }, { - "id": 60, + "id": 62, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -58953,21 +42890,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 61, + "id": 63, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 64, + "id": 66, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -59013,10 +42949,10 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 144, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L144" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L144" } ], "type": { @@ -59038,10 +42974,10 @@ } }, { - "id": 63, + "id": 65, "name": "get", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -59063,22 +42999,23 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 143, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L143" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L143" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 62, + "id": 64, "name": "head", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -59108,30 +43045,31 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 142, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L142" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L142" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" } ], "groups": [ { "title": "Properties", - "children": [64, 63, 62] + "children": [66, 65, 64] } ], "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 141, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L141" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L141" } ] } @@ -59141,17 +43079,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 16, - "name": "ClientOptions" + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 18, - "name": "Schema" + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "conditional", @@ -59163,8 +43107,10 @@ }, "objectType": { "type": "reference", - "id": 57, - "name": "Fn" + "target": 59, + "name": "Fn", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, "extendsType": { @@ -59196,6 +43142,10 @@ }, "extendsType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -59207,7 +43157,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" }, "trueType": { @@ -59239,14 +43188,18 @@ }, "objectType": { "type": "reference", - "id": 57, - "name": "Fn" + "target": 59, + "name": "Fn", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { "type": "reference", - "id": 56, - "name": "FnName" + "target": 58, + "name": "FnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "literal", @@ -59257,31 +43210,33 @@ "value": "RPC" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 50, + "id": 52, "name": "schema", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 96, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L96" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L96" } ], "signatures": [ { - "id": 51, + "id": 53, "name": "schema", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -59291,12 +43246,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 52, + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 96, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L96" + } + ], + "typeParameters": [ + { + "id": 54, "name": "DynamicSchema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -59306,10 +43269,10 @@ ], "parameters": [ { - "id": 53, + "id": 55, "name": "schema", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -59321,30 +43284,39 @@ }, "type": { "type": "reference", - "id": 52, + "target": 54, "name": "DynamicSchema", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "type": { "type": "reference", - "id": 9, + "target": 9, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "reference", - "id": 16, - "name": "ClientOptions" + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 52, - "name": "DynamicSchema" + "target": 54, + "name": "DynamicSchema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "conditional", @@ -59352,18 +43324,28 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 52, - "name": "DynamicSchema" + "target": 54, + "name": "DynamicSchema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } }, "extendsType": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "trueType": { "type": "indexedAccess", @@ -59382,7 +43364,9 @@ } } ], - "name": "default" + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] @@ -59395,27 +43379,27 @@ }, { "title": "Properties", - "children": [32, 30, 31, 29] + "children": [35, 33, 34, 32] }, { "title": "Methods", - "children": [37, 54, 50] + "children": [43, 56, 52] } ], "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 15, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L15" } ], "typeParameters": [ { - "id": 65, + "id": 67, "name": "Database", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -59431,44 +43415,48 @@ } }, { - "id": 69, + "id": 68, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" }, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, "extendsType": { "type": "reflection", "declaration": { - "id": 66, + "id": 69, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 67, + "id": 70, "name": "__InternalSupabase", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 18, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L18" } ], "type": { @@ -59476,8 +43464,9 @@ "name": "I", "constraint": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } } } @@ -59485,37 +43474,43 @@ "groups": [ { "title": "Properties", - "children": [67] + "children": [70] } ], "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 17, "character": 63, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L17" } ] } }, "trueType": { "type": "reference", - "name": "I" + "target": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "I" + }, + "name": "I", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "reflection", "declaration": { - "id": 68, + "id": 71, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", "line": 21, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestClient.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestClient.ts#L21" } ] } @@ -59523,10 +43518,10 @@ } }, { - "id": 70, + "id": 72, "name": "SchemaName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -59556,11 +43551,18 @@ "operator": "keyof", "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", @@ -59568,7 +43570,6 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } } @@ -59585,11 +43586,18 @@ "operator": "keyof", "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", @@ -59597,7 +43605,6 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } }, @@ -59617,11 +43624,18 @@ "operator": "keyof", "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", @@ -59629,7 +43643,6 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } } @@ -59638,14 +43651,19 @@ } }, { - "id": 71, + "id": 73, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "default": { "type": "conditional", @@ -59653,16 +43671,26 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 17, - "name": "SchemaName" + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true }, "objectType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", @@ -59670,28 +43698,42 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } }, "extendsType": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "trueType": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 17, - "name": "SchemaName" + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true }, "objectType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { "type": "literal", @@ -59699,7 +43741,6 @@ } ], "name": "Omit", - "qualifiedName": "Omit", "package": "typescript" } }, @@ -59712,10 +43753,10 @@ ] }, { - "id": 749, + "id": 776, "name": "PostgrestError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "comment": { "summary": [ @@ -59733,54 +43774,62 @@ }, "children": [ { - "id": 750, + "id": 777, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 11, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ], "signatures": [ { - "id": 751, - "name": "new PostgrestError", + "id": 778, + "name": "PostgrestError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ], "parameters": [ { - "id": 752, + "id": 779, "name": "context", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 753, + "id": 780, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 784, "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 11, "character": 73, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ], "type": { @@ -59789,17 +43838,17 @@ } }, { - "id": 755, + "id": 782, "name": "details", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 11, "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ], "type": { @@ -59808,17 +43857,17 @@ } }, { - "id": 756, + "id": 783, "name": "hint", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 11, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ], "type": { @@ -59827,17 +43876,17 @@ } }, { - "id": 754, + "id": 781, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 11, "character": 25, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ], "type": { @@ -59849,15 +43898,15 @@ "groups": [ { "title": "Properties", - "children": [757, 755, 756, 754] + "children": [784, 782, 783, 781] } ], "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 11, "character": 23, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ] } @@ -59866,32 +43915,36 @@ ], "type": { "type": "reference", - "id": 749, - "name": "default" + "target": 776, + "name": "PostgrestError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "overwrites": { "type": "reference", + "target": -1, "name": "Error.constructor" } } ], "overwrites": { "type": "reference", + "target": -1, "name": "Error.constructor" } }, { - "id": 760, + "id": 787, "name": "code", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 9, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L9" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L9" } ], "type": { @@ -59900,17 +43953,17 @@ } }, { - "id": 758, + "id": 785, "name": "details", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 7, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L7" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L7" } ], "type": { @@ -59919,17 +43972,17 @@ } }, { - "id": 759, + "id": 786, "name": "hint", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 8, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L8" } ], "type": { @@ -59941,90 +43994,111 @@ "groups": [ { "title": "Constructors", - "children": [750] + "children": [777] }, { "title": "Properties", - "children": [760, 758, 759] + "children": [787, 785, 786] } ], "sources": [ { - "fileName": "src/PostgrestError.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", "line": 6, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L6" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestError.ts#L6" } ], "extendedTypes": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, "name": "Error", - "qualifiedName": "Error", "package": "typescript" } ] }, { - "id": 161, + "id": 169, "name": "PostgrestFilterBuilder", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 162, + "id": 170, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 35, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" } ], "signatures": [ { - "id": 163, - "name": "new PostgrestFilterBuilder", + "id": 171, + "name": "PostgrestFilterBuilder", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 35, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" + } + ], + "typeParameters": [ { - "id": 164, + "id": 172, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 165, + "id": 173, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" } }, { - "id": 166, + "id": 174, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -60036,22 +44110,21 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 167, + "id": 175, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} }, { - "id": 168, + "id": 176, "name": "RelationName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -60059,10 +44132,10 @@ } }, { - "id": 169, + "id": 177, "name": "Relationships", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -60070,10 +44143,10 @@ } }, { - "id": 170, + "id": 178, "name": "Method", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -60083,34 +44156,34 @@ ], "parameters": [ { - "id": 171, + "id": 179, "name": "builder", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 172, + "id": 180, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 177, + "id": 185, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 40, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L40" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L40" } ], "type": { @@ -60119,96 +44192,227 @@ } }, { - "id": 180, + "id": 188, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 43, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L43" } ], "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 189, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 182, + "id": 190, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 183, + "id": 191, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 184, + "id": 192, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 193, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 194, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 195, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -60217,40 +44421,43 @@ } }, { - "id": 175, + "id": 183, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 38, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L38" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, "name": "HeadersInit", - "qualifiedName": "HeadersInit", "package": "typescript" } }, { - "id": 185, + "id": 196, "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 44, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L44" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L44" } ], "type": { @@ -60259,17 +44466,17 @@ } }, { - "id": 173, + "id": 181, "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 36, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L36" } ], "type": { @@ -60299,19 +44506,19 @@ } }, { - "id": 176, + "id": 184, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 39, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L39" } ], "type": { @@ -60320,19 +44527,19 @@ } }, { - "id": 178, + "id": 186, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 41, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L41" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L41" } ], "type": { @@ -60341,46 +44548,52 @@ } }, { - "id": 179, + "id": 187, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 42, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L42" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L42" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } }, { - "id": 174, + "id": 182, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 37, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L37" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L37" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } } @@ -60388,15 +44601,15 @@ "groups": [ { "title": "Properties", - "children": [177, 180, 175, 185, 173, 176, 178, 179, 174] + "children": [185, 188, 183, 196, 181, 184, 186, 187, 182] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 35, "character": 23, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" } ] } @@ -60405,74 +44618,98 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 532, + "target": 547, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 531, + "target": 546, "name": "default.constructor" } }, { - "id": 488, + "id": 500, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 29, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L29" } ], "type": { @@ -60481,101 +44718,233 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "target": 659, "name": "default.body" } }, { - "id": 491, + "id": 503, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 32, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L32" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L32" } ], "type": { "type": "reflection", "declaration": { - "id": 492, + "id": 504, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 493, + "id": 505, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], + "parameters": [ + { + "id": 506, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 507, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 508, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], "parameters": [ { - "id": 494, + "id": 509, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ + { + "type": "intrinsic", + "name": "string" + }, { "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 495, + "id": 510, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -60584,52 +44953,57 @@ }, "inheritedFrom": { "type": "reference", - "id": 644, + "target": 662, "name": "default.fetch" } }, { - "id": 486, + "id": 498, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 27, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L27" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L27" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, "name": "Headers", - "qualifiedName": "Headers", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 639, + "target": 657, "name": "default.headers" } }, { - "id": 496, + "id": 511, "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 33, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L33" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L33" } ], "type": { @@ -60638,24 +45012,25 @@ }, "inheritedFrom": { "type": "reference", - "id": 649, + "target": 670, "name": "default.isMaybeSingle" } }, { - "id": 484, + "id": 496, "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 25, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L25" } ], "type": { @@ -60685,25 +45060,26 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "target": 655, "name": "default.method" } }, { - "id": 487, + "id": 499, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 28, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L28" } ], "type": { @@ -60712,24 +45088,25 @@ }, "inheritedFrom": { "type": "reference", - "id": 640, + "target": 658, "name": "default.schema" } }, { - "id": 489, + "id": 501, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 30, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L30" } ], "type": { @@ -60739,88 +45116,100 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 642, + "target": 660, "name": "default.shouldThrowOnError" } }, { - "id": 490, + "id": 502, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 31, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 643, + "target": 661, "name": "default.signal" } }, { - "id": 485, + "id": 497, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 26, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L26" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 638, + "target": 656, "name": "default.url" } }, { - "id": 453, + "id": 465, "name": "abortSignal", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 195, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L195" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L195" } ], "signatures": [ { - "id": 454, + "id": 466, "name": "abortSignal", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -60829,12 +45218,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 195, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L195" + } + ], "parameters": [ { - "id": 455, + "id": 467, "name": "signal", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -60846,130 +45243,125 @@ }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 607, + "target": 625, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 606, + "target": 624, "name": "default.abortSignal" } }, { - "id": 297, + "id": 309, "name": "containedBy", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is contained by " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 354, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L354" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L354" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 358, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L358" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L358" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 366, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L366" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L366" } ], "signatures": [ { - "id": 298, + "id": 310, "name": "containedBy", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is contained by " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 299, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 354, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L354" + } + ], + "typeParameters": [ + { + "id": 311, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -60979,40 +45371,25 @@ ], "parameters": [ { - "id": 300, + "id": 312, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 299, + "target": 311, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 301, + "id": 313, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -61022,6 +45399,10 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -61033,7 +45414,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" }, { @@ -61045,13 +45425,18 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 299, - "name": "ColumnName" + "target": 311, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } @@ -61061,112 +45446,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 302, + "id": 314, "name": "containedBy", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is contained by " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 358, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L358" + } + ], "parameters": [ { - "id": 303, + "id": 315, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 304, + "id": 316, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -61187,6 +45502,10 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -61198,7 +45517,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } ] @@ -61206,113 +45524,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 289, + "id": 301, "name": "contains", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " contains every element appearing in " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 327, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L327" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L327" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 331, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L331" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L331" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 339, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L339" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L339" } ], "signatures": [ { - "id": 290, + "id": 302, "name": "contains", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " contains every element appearing in " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 291, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 327, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L327" + } + ], + "typeParameters": [ + { + "id": 303, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -61322,40 +45632,25 @@ ], "parameters": [ { - "id": 292, + "id": 304, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 291, + "target": 303, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 293, + "id": 305, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -61365,6 +45660,10 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -61376,7 +45675,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" }, { @@ -61388,13 +45686,18 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 291, - "name": "ColumnName" + "target": 303, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } @@ -61404,112 +45707,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 294, + "id": 306, "name": "contains", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " contains every element appearing in " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 331, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L331" + } + ], "parameters": [ { - "id": 295, + "id": 307, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 296, + "id": 308, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -61530,6 +45763,10 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -61541,7 +45778,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } ] @@ -61549,71 +45785,37 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 462, + "id": 474, "name": "csv", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 237, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L237" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L237" } ], "signatures": [ { - "id": 463, + "id": 475, "name": "csv", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -61630,59 +45832,68 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 237, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L237" + } + ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "intrinsic", "name": "string" - }, - { - "type": "literal", - "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 616, + "target": 634, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 615, + "target": 633, "name": "default.csv" } }, { - "id": 186, + "id": 197, "name": "eq", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 99, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L99" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L99" } ], "signatures": [ { - "id": 187, + "id": 198, "name": "eq", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -61724,12 +45935,20 @@ } ] }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 99, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L99" + } + ], + "typeParameters": [ { - "id": 188, + "id": 199, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -61739,10 +45958,10 @@ ], "parameters": [ { - "id": 189, + "id": 200, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -61754,16 +45973,17 @@ }, "type": { "type": "reference", - "id": 188, + "target": 199, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 190, + "id": 201, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -61777,70 +45997,117 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 188, - "name": "ColumnName" + "target": 199, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "ResolveFilterValue" + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "intrinsic", "name": "never" }, "trueType": { - "type": "intrinsic", - "name": "unknown" + "type": "reflection", + "declaration": { + "id": 202, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } }, "falseType": { "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 188, - "name": "ColumnName" + "target": 199, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "ResolveFilterValue" + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "reference", - "name": "ResolvedFilterValue" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "trueType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, "typeArguments": [ { "type": "reference", - "name": "ResolvedFilterValue" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "NonNullable", - "qualifiedName": "NonNullable", "package": "typescript" }, "falseType": { @@ -61852,71 +46119,37 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 466, + "id": 478, "name": "explain", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 275, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L275" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L275" } ], "signatures": [ { - "id": 467, + "id": 479, "name": "explain", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -61933,12 +46166,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 275, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L275" + } + ], "parameters": [ { - "id": 468, + "id": 480, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -61948,21 +46189,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 469, + "id": 481, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 470, + "id": 482, "name": "analyze", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -61984,22 +46224,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 283, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L283" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L283" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 473, + "id": 485, "name": "buffers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -62021,22 +46262,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 286, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L286" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L286" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 475, + "id": 487, "name": "format", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -62062,10 +46304,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 288, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L288" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L288" } ], "type": { @@ -62080,13 +46322,14 @@ "value": "json" } ] - } + }, + "defaultValue": "'text'" }, { - "id": 472, + "id": 484, "name": "settings", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -62108,22 +46351,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 285, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L285" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L285" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 471, + "id": 483, "name": "verbose", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -62153,22 +46397,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 284, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L284" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L284" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 474, + "id": 486, "name": "wal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -62190,30 +46435,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 287, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L287" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L287" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" } ], "groups": [ { "title": "Properties", - "children": [470, 473, 475, 472, 471, 474] + "children": [482, 485, 487, 484, 483, 486] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 282, "character": 5, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L282" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L282" } ] } @@ -62226,12 +46472,15 @@ "types": [ { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "intrinsic", @@ -62242,21 +46491,30 @@ "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "array", "elementType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -62268,7 +46526,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, @@ -62277,86 +46534,128 @@ "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } ] }, "inheritedFrom": { "type": "reference", - "id": 620, + "target": 638, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 619, + "target": 637, "name": "default.explain" } }, { - "id": 392, + "id": 404, "name": "filter", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, " + }, + { + "kind": "code", + "text": "`opearator`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "operator", + "content": [ + { + "kind": "text", + "text": "The operator to filter with, following PostgREST syntax" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with, following PostgREST syntax" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 581, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L581" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L581" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 586, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L586" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L586" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 600, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L600" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L600" } ], "signatures": [ { - "id": 393, + "id": 405, "name": "filter", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, " - }, - { - "kind": "code", - "text": "`opearator`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 394, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 581, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L581" + } + ], + "typeParameters": [ + { + "id": 406, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -62366,46 +46665,36 @@ ], "parameters": [ { - "id": 395, + "id": 407, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 394, + "target": 406, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 396, + "id": 408, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operator to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "union", "types": [ { "type": "reference", - "name": "FilterOperator" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "FilterOperator" + }, + "name": "FilterOperator", + "package": "@supabase/postgrest-js" }, { "type": "literal", @@ -62499,19 +46788,11 @@ } }, { - "id": 397, + "id": 409, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -62519,131 +46800,53 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 398, + "id": 410, "name": "filter", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, " - }, - { - "kind": "code", - "text": "`opearator`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." - } - ] - }, - "parameters": [ + "sources": [ { - "id": 399, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 586, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L586" + } + ], + "parameters": [ + { + "id": 411, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 400, + "id": 412, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operator to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 401, + "id": 413, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -62651,71 +46854,37 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 464, + "id": 476, "name": "geojson", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 245, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L245" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L245" } ], "signatures": [ { - "id": 465, + "id": 477, "name": "geojson", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -62732,17 +46901,32 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 245, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L245" + } + ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -62754,92 +46938,119 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" - }, - { - "type": "literal", - "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 618, + "target": 636, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 617, + "target": 635, "name": "default.geojson" } }, { - "id": 196, + "id": 208, "name": "gt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is greater than " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 132, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L132" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 133, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L133" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L133" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 140, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L140" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L140" } ], "signatures": [ { - "id": 197, + "id": 209, "name": "gt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 132, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L132" + } + ], + "typeParameters": [ { - "id": 198, + "id": 210, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -62849,162 +47060,82 @@ ], "parameters": [ { - "id": 199, + "id": 211, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 198, + "target": 210, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 200, + "id": 212, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 198, - "name": "ColumnName" + "target": 210, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 201, + "id": 213, "name": "gt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 133, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L133" + } + ], "parameters": [ { - "id": 202, + "id": 214, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 203, + "id": 215, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -63012,113 +47143,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 204, + "id": 216, "name": "gte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is greater than or equal to " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 145, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L145" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L145" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 146, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L146" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 153, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L153" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L153" } ], "signatures": [ { - "id": 205, + "id": 217, "name": "gte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than or equal to " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 206, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 145, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L145" + } + ], + "typeParameters": [ + { + "id": 218, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -63128,162 +47251,82 @@ ], "parameters": [ { - "id": 207, + "id": 219, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 206, + "target": 218, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 208, + "id": 220, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 206, - "name": "ColumnName" + "target": 218, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 209, + "id": 221, "name": "gte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than or equal to " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 146, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L146" + } + ], "parameters": [ { - "id": 210, + "id": 222, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 211, + "id": 223, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -63291,113 +47334,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 264, + "name": "ilike", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches " + }, + { + "kind": "code", + "text": "`pattern`" + }, + { + "kind": "text", + "text": " case-insensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ { - "type": "reference", - "id": 169, - "name": "Relationships" - }, + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "pattern", + "content": [ { - "type": "reference", - "id": 170, - "name": "Method" + "kind": "text", + "text": "The pattern to match with" } - ], - "name": "default" + ] } - } - ] - }, - { - "id": 252, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": {}, + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 229, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L229" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L229" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 230, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L230" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L230" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 237, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L237" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L237" } ], "signatures": [ { - "id": 253, + "id": 265, "name": "ilike", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`pattern`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 254, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 229, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L229" + } + ], + "typeParameters": [ + { + "id": 266, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -63407,40 +47442,25 @@ ], "parameters": [ { - "id": 255, + "id": 267, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 254, + "target": 266, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 256, + "id": 268, "name": "pattern", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The pattern to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -63448,112 +47468,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 257, + "id": 269, "name": "ilike", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`pattern`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 230, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L230" + } + ], "parameters": [ { - "id": 258, + "id": 270, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 259, + "id": 271, "name": "pattern", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The pattern to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -63561,113 +47511,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 260, + "id": 272, "name": "ilikeAllOf", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches all of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-insensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 242, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L242" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L242" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 246, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L246" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L246" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 253, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L253" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L253" } ], "signatures": [ { - "id": 261, + "id": 273, "name": "ilikeAllOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches all of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 262, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 242, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L242" + } + ], + "typeParameters": [ + { + "id": 274, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -63677,40 +47619,25 @@ ], "parameters": [ { - "id": 263, + "id": 275, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 262, + "target": 274, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 264, + "id": 276, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -63725,112 +47652,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 265, + "id": 277, "name": "ilikeAllOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches all of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 246, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L246" + } + ], "parameters": [ { - "id": 266, + "id": 278, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 267, + "id": 279, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -63845,113 +47702,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 268, + "id": 280, "name": "ilikeAnyOf", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches any of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-insensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 258, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L258" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L258" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 262, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L262" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L262" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 269, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L269" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L269" } ], "signatures": [ { - "id": 269, + "id": 281, "name": "ilikeAnyOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches any of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 270, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 258, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L258" + } + ], + "typeParameters": [ + { + "id": 282, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -63961,40 +47810,25 @@ ], "parameters": [ { - "id": 271, + "id": 283, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 270, + "target": 282, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 272, + "id": 284, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -64007,114 +47841,44 @@ } } } - ], - "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" - } - }, - { - "id": 273, - "name": "ilikeAnyOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches any of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 285, + "name": "ilikeAnyOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 262, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L262" + } + ], "parameters": [ { - "id": 274, + "id": 286, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 275, + "id": 287, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -64129,70 +47893,32 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 284, + "id": 296, "name": "in", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 302, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L302" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L302" } ], "signatures": [ { - "id": 285, + "id": 297, "name": "in", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -64218,12 +47944,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 286, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 302, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L302" + } + ], + "typeParameters": [ + { + "id": 298, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -64233,10 +47967,10 @@ ], "parameters": [ { - "id": 287, + "id": 299, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -64248,16 +47982,17 @@ }, "type": { "type": "reference", - "id": 286, + "target": 298, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 288, + "id": 300, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -64276,24 +48011,37 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 286, - "name": "ColumnName" + "target": 298, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "ResolveFilterValue" + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "intrinsic", @@ -64307,32 +48055,57 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 286, - "name": "ColumnName" + "target": 298, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "ResolveFilterValue" + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "reference", - "name": "ResolvedFilterValue" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "trueType": { "type": "reference", - "name": "ResolvedFilterValue" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -64345,169 +48118,161 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 276, + "id": 288, "name": "is", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " IS " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is NULL by setting " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ".\n\nFor boolean columns, you can also set " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " and it\nwill behave the same way as " + }, + { + "kind": "code", + "text": "`.eq()`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 274, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L274" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L274" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 278, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L278" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 291, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L291" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L291" } ], "signatures": [ { - "id": 277, + "id": 289, "name": "is", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " IS " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is NULL by setting " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ".\n\nFor boolean columns, you can also set " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " and it\nwill behave the same way as " - }, - { - "kind": "code", - "text": "`.eq()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 278, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 274, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L274" + } + ], + "typeParameters": [ + { + "id": 290, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -64517,209 +48282,100 @@ ], "parameters": [ { - "id": 279, + "id": 291, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 278, + "target": 290, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 280, + "id": 292, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ + "type": { + "type": "intersection", + "types": [ { - "kind": "text", - "text": "The value to filter with" + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 290, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] } ] - }, - "type": { - "type": "intrinsic", - "name": "Object" } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 281, + "id": 293, "name": "is", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " IS " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is NULL by setting " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ".\n\nFor boolean columns, you can also set " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " and it\nwill behave the same way as " - }, - { - "kind": "code", - "text": "`.eq()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 278, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L278" + } + ], "parameters": [ { - "id": 282, + "id": 294, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 283, + "id": 295, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -64736,113 +48392,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 228, + "id": 240, "name": "like", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches " + }, + { + "kind": "code", + "text": "`pattern`" + }, + { + "kind": "text", + "text": " case-sensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "pattern", + "content": [ + { + "kind": "text", + "text": "The pattern to match with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 184, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L184" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L184" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 185, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L185" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L185" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 192, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L192" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L192" } ], "signatures": [ { - "id": 229, + "id": 241, "name": "like", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`pattern`" - }, - { - "kind": "text", - "text": " case-sensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 230, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 184, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L184" + } + ], + "typeParameters": [ + { + "id": 242, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -64852,40 +48500,25 @@ ], "parameters": [ { - "id": 231, + "id": 243, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 230, + "target": 242, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 232, + "id": 244, "name": "pattern", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The pattern to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -64893,112 +48526,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 233, + "id": 245, "name": "like", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`pattern`" - }, - { - "kind": "text", - "text": " case-sensitively." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 185, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L185" + } + ], "parameters": [ { - "id": 234, + "id": 246, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 235, + "id": 247, "name": "pattern", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The pattern to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -65006,113 +48569,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 236, + "id": 248, "name": "likeAllOf", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches all of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-sensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 197, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L197" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L197" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 201, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L201" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L201" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 208, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L208" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L208" } ], "signatures": [ { - "id": 237, + "id": 249, "name": "likeAllOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches all of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-sensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 238, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 197, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L197" + } + ], + "typeParameters": [ + { + "id": 250, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -65122,40 +48677,25 @@ ], "parameters": [ { - "id": 239, + "id": 251, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 238, + "target": 250, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 240, + "id": 252, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -65170,112 +48710,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 241, + "id": 253, "name": "likeAllOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches all of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-sensitively." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 201, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L201" + } + ], "parameters": [ { - "id": 242, + "id": 254, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 243, + "id": 255, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -65290,113 +48760,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 244, + "id": 256, "name": "likeAnyOf", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches any of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-sensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L213" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L213" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 217, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L217" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L217" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 224, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L224" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L224" } ], "signatures": [ { - "id": 245, + "id": 257, "name": "likeAnyOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches any of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-sensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 246, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 213, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L213" + } + ], + "typeParameters": [ + { + "id": 258, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -65406,40 +48868,25 @@ ], "parameters": [ { - "id": 247, + "id": 259, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 246, + "target": 258, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 248, + "id": 260, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -65454,112 +48901,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 249, + "id": 261, "name": "likeAnyOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches any of " - }, - { - "kind": "code", - "text": "`patterns`" - }, - { - "kind": "text", - "text": " case-sensitively." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 217, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L217" + } + ], "parameters": [ { - "id": 250, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, + "id": 262, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 251, + "id": 263, "name": "patterns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The patterns to match with" - } - ] - }, "type": { "type": "typeOperator", "operator": "readonly", @@ -65574,71 +48951,37 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 438, + "id": 450, "name": "limit", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 146, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L146" } ], "signatures": [ { - "id": 439, + "id": 451, "name": "limit", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -65655,12 +48998,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L146" + } + ], "parameters": [ { - "id": 440, + "id": 452, "name": "count", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -65676,10 +49027,10 @@ } }, { - "id": 441, + "id": 453, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -65689,21 +49040,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 442, + "id": 454, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 443, + "id": 455, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -65725,10 +49075,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 151, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ], "type": { @@ -65737,10 +49087,10 @@ } }, { - "id": 444, + "id": 456, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -65754,30 +49104,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 151, "character": 32, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ], "type": { "type": "intrinsic", "name": "string" - } + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [443, 444] + "children": [455, 456] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 151, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ] } @@ -65786,123 +49137,115 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 592, + "target": 610, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 591, + "target": 609, "name": "default.limit" } }, { - "id": 212, + "id": 224, "name": "lt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is less than " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 158, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L158" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L158" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 159, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L159" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L159" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 166, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L166" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L166" } ], "signatures": [ { - "id": 213, + "id": 225, "name": "lt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 214, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 158, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L158" + } + ], + "typeParameters": [ + { + "id": 226, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -65912,162 +49255,82 @@ ], "parameters": [ { - "id": 215, + "id": 227, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 214, + "target": 226, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 216, + "id": 228, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 214, - "name": "ColumnName" + "target": 226, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 217, + "id": 229, "name": "lt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 159, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L159" + } + ], "parameters": [ { - "id": 218, + "id": 230, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 219, + "id": 231, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -66075,113 +49338,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 220, + "id": 232, "name": "lte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is less than or equal to " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 171, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L171" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L171" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 172, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L172" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L172" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 179, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L179" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L179" } ], "signatures": [ { - "id": 221, + "id": 233, "name": "lte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than or equal to " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 222, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 171, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L171" + } + ], + "typeParameters": [ + { + "id": 234, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -66191,162 +49446,82 @@ ], "parameters": [ { - "id": 223, + "id": 235, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 222, + "target": 234, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 224, + "id": 236, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 222, - "name": "ColumnName" + "target": 234, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 225, + "id": 237, "name": "lte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than or equal to " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 172, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L172" + } + ], "parameters": [ { - "id": 226, + "id": 238, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 227, + "id": 239, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -66354,113 +49529,95 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 381, + "name": "match", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where each column in " + }, + { + "kind": "code", + "text": "`query`" + }, + { + "kind": "text", + "text": " keys is equal to its\nassociated value. Shorthand for multiple " + }, + { + "kind": "code", + "text": "`.eq()`" + }, + { + "kind": "text", + "text": "s." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "query", + "content": [ { - "type": "reference", - "id": 170, - "name": "Method" + "kind": "text", + "text": "The object to filter with, with column names as keys mapped\nto their filter values" } - ], - "name": "default" + ] } - } - ] - }, - { - "id": 369, - "name": "match", - "kind": 2048, - "kindString": "Method", - "flags": {}, + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 514, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L514" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L514" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 515, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L515" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L515" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 523, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L523" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L523" } ], "signatures": [ { - "id": 370, + "id": 382, "name": "match", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where each column in " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": " keys is equal to its\nassociated value. Shorthand for multiple " - }, - { - "kind": "code", - "text": "`.eq()`" - }, - { - "kind": "text", - "text": "s." - } - ] - }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 514, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L514" + } + ], + "typeParameters": [ { - "id": 371, + "id": 383, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -66470,137 +49627,81 @@ ], "parameters": [ { - "id": 372, + "id": 384, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The object to filter with, with column names as keys mapped\nto their filter values" - } - ] - }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "reference", - "id": 371, - "name": "ColumnName" + "target": 383, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 371, - "name": "ColumnName" + "target": 383, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 373, + "id": 385, "name": "match", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where each column in " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": " keys is equal to its\nassociated value. Shorthand for multiple " - }, - { - "kind": "code", - "text": "`.eq()`" - }, - { - "kind": "text", - "text": "s." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 515, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L515" + } + ], "parameters": [ { - "id": 374, + "id": 386, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The object to filter with, with column names as keys mapped\nto their filter values" - } - ] - }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -66612,77 +49713,42 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 481, + "id": 493, "name": "maxAffected", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 354, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L354" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L354" } ], "signatures": [ { - "id": 482, + "id": 494, "name": "maxAffected", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -66691,12 +49757,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L354" + } + ], "parameters": [ { - "id": 483, + "id": 495, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -66716,6 +49790,10 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MaxAffectedEnabled" + }, "typeArguments": [ { "type": "indexedAccess", @@ -66725,12 +49803,16 @@ }, "objectType": { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } } ], - "name": "MaxAffectedEnabled" + "name": "MaxAffectedEnabled", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "literal", @@ -66740,8 +49822,11 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true }, "extendsType": { "type": "union", @@ -66762,102 +49847,139 @@ }, "trueType": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, "typeArguments": [ { "type": "literal", "value": "maxAffected method only available on update or delete" } ], - "name": "InvalidMethodError" + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" } }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, "typeArguments": [ { "type": "literal", "value": "maxAffected method only available on postgrest 13+" } ], - "name": "InvalidMethodError" + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" } }, "inheritedFrom": { "type": "reference", - "id": 635, + "target": 653, "name": "default.maxAffected" } } ], "inheritedFrom": { "type": "reference", - "id": 634, + "target": 652, "name": "default.maxAffected" } }, { - "id": 459, + "id": 471, "name": "maybeSingle", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 220, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L220" } ], "signatures": [ { - "id": 460, + "id": 472, "name": "maybeSingle", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -66882,30 +50004,53 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 461, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 220, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L220" + } + ], + "typeParameters": [ + { + "id": 473, "name": "ResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, "extendsType": { "type": "array", "elementType": { "type": "reference", - "name": "ResultOne" + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, "trueType": { "type": "reference", - "name": "ResultOne" + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -66916,12 +50061,15 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "union", @@ -66932,51 +50080,51 @@ }, { "type": "reference", - "id": 461, - "name": "ResultOne" + "target": 473, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ] - }, - { - "type": "literal", - "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 613, + "target": 631, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 612, + "target": 630, "name": "default.maybeSingle" } }, { - "id": 191, + "id": 203, "name": "neq", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 120, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L120" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L120" } ], "signatures": [ { - "id": 192, + "id": 204, "name": "neq", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -67002,12 +50150,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 193, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 120, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L120" + } + ], + "typeParameters": [ + { + "id": 205, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -67017,10 +50173,10 @@ ], "parameters": [ { - "id": 194, + "id": 206, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -67032,16 +50188,17 @@ }, "type": { "type": "reference", - "id": 193, + "target": 205, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 195, + "id": 207, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -67055,24 +50212,37 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 193, - "name": "ColumnName" + "target": 205, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "ResolveFilterValue" + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "intrinsic", @@ -67086,32 +50256,57 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 193, - "name": "ColumnName" + "target": 205, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "ResolveFilterValue" + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "reference", - "name": "ResolvedFilterValue" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "trueType": { "type": "reference", - "name": "ResolvedFilterValue" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -67122,113 +50317,115 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 375, + "id": 387, "name": "not", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, " + }, + { + "kind": "code", + "text": "`opearator`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "operator", + "content": [ + { + "kind": "text", + "text": "The operator to be negated to filter with, following\nPostgREST syntax" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with, following PostgREST syntax" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 530, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L530" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L530" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 535, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L535" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L535" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 549, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L549" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L549" } ], "signatures": [ { - "id": 376, + "id": 388, "name": "not", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, " - }, - { - "kind": "code", - "text": "`opearator`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 377, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 530, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L530" + } + ], + "typeParameters": [ + { + "id": 389, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -67238,271 +50435,142 @@ ], "parameters": [ { - "id": 378, + "id": 390, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 377, + "target": 389, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 379, + "id": 391, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operator to be negated to filter with, following\nPostgREST syntax" - } - ] - }, "type": { "type": "reference", - "name": "FilterOperator" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "FilterOperator" + }, + "name": "FilterOperator", + "package": "@supabase/postgrest-js" } }, { - "id": 380, + "id": 392, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 377, - "name": "ColumnName" + "target": 389, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 381, + "id": 393, "name": "not", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, " - }, - { - "kind": "code", - "text": "`opearator`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 535, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L535" + } + ], "parameters": [ { - "id": 382, + "id": 394, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 383, + "id": 395, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operator to be negated to filter with, following\nPostgREST syntax" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 384, - "name": "value", - "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with, following PostgREST syntax" - } - ] - }, "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" + "type": "intrinsic", + "name": "string" } - ], - "name": "default" + }, + { + "id": 396, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 385, + "id": 397, "name": "or", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 569, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L569" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L569" } ], "signatures": [ { - "id": 386, + "id": 398, "name": "or", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -67528,12 +50596,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 569, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L569" + } + ], "parameters": [ { - "id": 387, + "id": 399, "name": "filters", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -67549,10 +50625,10 @@ } }, { - "id": 388, + "id": 400, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -67562,21 +50638,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 389, + "id": 401, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 390, + "id": 402, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -67598,10 +50673,10 @@ }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 574, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L574" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L574" } ], "type": { @@ -67610,10 +50685,10 @@ } }, { - "id": 391, + "id": 403, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -67627,30 +50702,31 @@ }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 574, "character": 32, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L574" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L574" } ], "type": { "type": "intrinsic", "name": "string" - } + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [390, 391] + "children": [402, 403] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 574, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L574" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L574" } ] } @@ -67659,125 +50735,209 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 419, + "name": "order", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Order the query result by " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " + }, + { + "kind": "code", + "text": "`!inner`" + }, + { + "kind": "text", + "text": " in the query." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ { - "type": "reference", - "id": 164, - "name": "ClientOptions" + "kind": "text", + "text": "The column to order by" + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.ascending", + "content": [ + { + "kind": "text", + "text": "If " }, { - "type": "reference", - "id": 165, - "name": "Schema" + "kind": "code", + "text": "`true`" }, { - "type": "reference", - "id": 166, - "name": "Row" + "kind": "text", + "text": ", the result will be in ascending order" + } + ] + }, + { + "tag": "@param", + "name": "options.nullsFirst", + "content": [ + { + "kind": "text", + "text": "If " }, { - "type": "reference", - "id": 167, - "name": "Result" + "kind": "code", + "text": "`true`" }, { - "type": "reference", - "id": 168, - "name": "RelationName" + "kind": "text", + "text": ", " }, { - "type": "reference", - "id": 169, - "name": "Relationships" + "kind": "code", + "text": "`null`" }, { - "type": "reference", - "id": 170, - "name": "Method" + "kind": "text", + "text": "s appear first. If " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ",\n" + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear last." } - ], - "name": "default" + ] + }, + { + "tag": "@param", + "name": "options.referencedTable", + "content": [ + { + "kind": "text", + "text": "Set this to order a referenced table by\nits columns" + } + ] + }, + { + "tag": "@param", + "name": "options.foreignTable", + "content": [ + { + "kind": "text", + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" + } + ] } - } - ] - }, - { - "id": 407, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, + ] + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 70, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L70" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L70" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 74, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L74" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L74" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 81, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L81" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 88, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L88" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 110, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L110" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L110" } ], "signatures": [ { - "id": 408, + "id": 420, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Order the query result by " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " - }, - { - "kind": "code", - "text": "`!inner`" - }, - { - "kind": "text", - "text": " in the query." - } - ] + "flags": { + "isInherited": true }, - "typeParameter": [ + "sources": [ { - "id": 409, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L70" + } + ], + "typeParameters": [ + { + "id": 421, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -67787,81 +50947,50 @@ ], "parameters": [ { - "id": 410, + "id": 422, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to order by" - } - ] - }, "type": { "type": "reference", - "id": 409, + "target": 421, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 411, + "id": 423, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 412, + "id": 424, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 413, + "id": 425, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the result will be in ascending order" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ], "type": { @@ -67870,59 +50999,19 @@ } }, { - "id": 414, + "id": 426, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear first. If " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ",\n" - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear last." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ], "type": { @@ -67931,27 +51020,19 @@ } }, { - "id": 415, + "id": 427, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to order a referenced table by\nits columns" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ], "type": { @@ -67963,15 +51044,15 @@ "groups": [ { "title": "Properties", - "children": [413, 414, 415] + "children": [425, 426, 427] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ] } @@ -67979,158 +51060,74 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 561, + "target": 579, "name": "default.order" } }, { - "id": 416, + "id": 428, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Order the query result by " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " - }, - { - "kind": "code", - "text": "`!inner`" - }, - { - "kind": "text", - "text": " in the query." - } - ] + "flags": { + "isInherited": true }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 74, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L74" + } + ], "parameters": [ { - "id": 417, + "id": 429, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to order by" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 418, + "id": 430, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 419, + "id": 431, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 420, + "id": 432, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the result will be in ascending order" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 76, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" } ], "type": { @@ -68139,59 +51136,19 @@ } }, { - "id": 421, + "id": 433, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear first. If " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ",\n" - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear last." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 76, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" } ], "type": { @@ -68200,27 +51157,19 @@ } }, { - "id": 422, + "id": 434, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to order a referenced table by\nits columns" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 76, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" } ], "type": { @@ -68232,15 +51181,15 @@ "groups": [ { "title": "Properties", - "children": [420, 421, 422] + "children": [432, 433, 434] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 76, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" } ] } @@ -68248,59 +51197,23 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 569, + "target": 587, "name": "default.order" } }, { - "id": 423, + "id": 435, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [], "blockTags": [ @@ -68327,12 +51240,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 424, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "typeParameters": [ + { + "id": 436, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -68342,49 +51263,50 @@ ], "parameters": [ { - "id": 425, + "id": 437, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 424, + "target": 436, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 426, + "id": 438, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 439, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 428, + "id": 440, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 83, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ], "type": { @@ -68393,19 +51315,19 @@ } }, { - "id": 430, + "id": 442, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 83, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ], "type": { @@ -68414,19 +51336,19 @@ } }, { - "id": 429, + "id": 441, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 83, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ], "type": { @@ -68438,15 +51360,15 @@ "groups": [ { "title": "Properties", - "children": [428, 430, 429] + "children": [440, 442, 441] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 83, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ] } @@ -68454,59 +51376,23 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 576, + "target": 594, "name": "default.order" } }, { - "id": 431, + "id": 443, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [], "blockTags": [ @@ -68533,12 +51419,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" + } + ], "parameters": [ { - "id": 432, + "id": 444, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -68546,36 +51440,36 @@ } }, { - "id": 433, + "id": 445, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 434, + "id": 446, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 435, + "id": 447, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 90, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ], "type": { @@ -68584,19 +51478,19 @@ } }, { - "id": 437, + "id": 449, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 90, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ], "type": { @@ -68605,19 +51499,19 @@ } }, { - "id": 436, + "id": 448, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 90, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ], "type": { @@ -68629,15 +51523,15 @@ "groups": [ { "title": "Properties", - "children": [435, 437, 436] + "children": [447, 449, 448] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 90, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ] } @@ -68645,123 +51539,115 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 584, + "target": 602, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 560, + "target": 578, "name": "default.order" } }, { - "id": 345, + "id": 357, "name": "overlaps", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for array and range columns. Match only rows where\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " have an element in common." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The array or range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The array or range value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 453, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L453" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L453" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 457, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L457" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L457" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 465, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L465" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L465" } ], "signatures": [ { - "id": 346, + "id": 358, "name": "overlaps", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for array and range columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " have an element in common." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 347, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 453, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L453" + } + ], + "typeParameters": [ + { + "id": 359, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -68771,40 +51657,25 @@ ], "parameters": [ { - "id": 348, + "id": 360, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The array or range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 347, + "target": 359, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 349, + "id": 361, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The array or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -68821,13 +51692,18 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 347, - "name": "ColumnName" + "target": 359, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } @@ -68837,112 +51713,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 350, + "id": 362, "name": "overlaps", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for array and range columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " have an element in common." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 457, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L457" + } + ], "parameters": [ { - "id": 351, + "id": 363, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The array or range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 352, + "id": 364, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The array or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -68966,71 +51772,37 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 515, + "id": 530, "name": "overrideTypes", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 276, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L276" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L276" } ], "signatures": [ { - "id": 516, + "id": 531, "name": "overrideTypes", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -69067,12 +51839,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 517, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 276, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L276" + } + ], + "typeParameters": [ + { + "id": 532, "name": "NewResult", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -69084,10 +51864,10 @@ } }, { - "id": 522, + "id": 533, "name": "Options", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -69100,26 +51880,26 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 534, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 535, "name": "merge", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 22, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ], "type": { @@ -69131,15 +51911,15 @@ "groups": [ { "title": "Properties", - "children": [519] + "children": [535] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 20, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ] } @@ -69147,24 +51927,24 @@ "default": { "type": "reflection", "declaration": { - "id": 520, + "id": 536, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 521, + "id": 537, "name": "merge", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 44, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ], "type": { @@ -69176,15 +51956,15 @@ "groups": [ { "title": "Properties", - "children": [521] + "children": [537] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 278, "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" } ] } @@ -69193,27 +51973,39 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "IsValidResultOverride" + }, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "literal", @@ -69224,7 +52016,8 @@ "value": false } ], - "name": "IsValidResultOverride" + "name": "IsValidResultOverride", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "literal", @@ -69234,14 +52027,22 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/types.ts", + "qualifiedName": "ContainsNull" + }, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "ContainsNull" + "name": "ContainsNull", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "literal", @@ -69256,72 +52057,109 @@ }, { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MergePartialResult" + }, "typeArguments": [ { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], "name": "NonNullable", - "qualifiedName": "NonNullable", "package": "typescript" }, { "type": "reference", - "id": 522, - "name": "Options" + "target": 533, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "MergePartialResult" + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" } ] }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MergePartialResult" + }, "typeArguments": [ { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 522, - "name": "Options" + "target": 533, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "MergePartialResult" + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" } }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 517, - "name": "NewResult" + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "CheckMatchingArrayTypes" + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" } }, { @@ -69329,42 +52167,48 @@ "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 669, + "target": 690, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 668, + "target": 689, "name": "default.overrideTypes" } }, { - "id": 445, + "id": 457, "name": "range", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 173, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L173" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L173" } ], "signatures": [ { - "id": 446, + "id": 458, "name": "range", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -69413,12 +52257,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L173" + } + ], "parameters": [ { - "id": 447, + "id": 459, "name": "from", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -69434,10 +52286,10 @@ } }, { - "id": 448, + "id": 460, "name": "to", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -69453,10 +52305,10 @@ } }, { - "id": 449, + "id": 461, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -69466,21 +52318,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 450, + "id": 462, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 451, + "id": 463, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -69502,10 +52353,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 179, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L179" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L179" } ], "type": { @@ -69514,10 +52365,10 @@ } }, { - "id": 452, + "id": 464, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -69531,30 +52382,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 179, "character": 32, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L179" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L179" } ], "type": { "type": "intrinsic", "name": "string" - } + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [451, 452] + "children": [463, 464] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 179, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L179" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L179" } ] } @@ -69563,123 +52415,115 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 599, + "target": 617, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 598, + "target": 616, "name": "default.range" } }, { - "id": 337, + "id": 349, "name": "rangeAdjacent", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is\nmutually exclusive to " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": " and there can be no element between the two\nranges." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 438, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L438" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L438" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 439, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L439" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L439" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 448, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L448" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L448" } ], "signatures": [ { - "id": 338, + "id": 350, "name": "rangeAdjacent", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is\nmutually exclusive to " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " and there can be no element between the two\nranges." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 339, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 438, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L438" + } + ], + "typeParameters": [ + { + "id": 351, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -69689,40 +52533,25 @@ ], "parameters": [ { - "id": 340, + "id": 352, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 339, + "target": 351, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 341, + "id": 353, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -69730,112 +52559,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 342, + "id": 354, "name": "rangeAdjacent", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is\nmutually exclusive to " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " and there can be no element between the two\nranges." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 439, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L439" + } + ], "parameters": [ { - "id": 343, + "id": 355, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 344, + "id": 356, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -69843,113 +52602,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 305, + "id": 317, "name": "rangeGt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is greater than any element in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 380, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L380" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L380" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 381, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L381" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L381" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 389, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L389" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L389" } ], "signatures": [ { - "id": 306, + "id": 318, "name": "rangeGt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than any element in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 307, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 380, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L380" + } + ], + "typeParameters": [ + { + "id": 319, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -69959,40 +52710,25 @@ ], "parameters": [ { - "id": 308, + "id": 320, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 307, + "target": 319, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 309, + "id": 321, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70000,112 +52736,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 310, + "id": 322, "name": "rangeGt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than any element in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 381, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L381" + } + ], "parameters": [ { - "id": 311, + "id": 323, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 312, + "id": 324, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70113,121 +52779,113 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 313, + "id": 325, "name": "rangeGte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is either contained in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": " or greater than any element in\n" + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 394, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L394" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L394" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 395, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L395" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L395" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 404, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L404" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L404" } ], - "signatures": [ - { - "id": 314, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is either contained in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " or greater than any element in\n" - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "signatures": [ + { + "id": 326, + "name": "rangeGte", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 315, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 394, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L394" + } + ], + "typeParameters": [ + { + "id": 327, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -70237,40 +52895,25 @@ ], "parameters": [ { - "id": 316, + "id": 328, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 315, + "target": 327, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 317, + "id": 329, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70278,120 +52921,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 318, + "id": 330, "name": "rangeGte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is either contained in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " or greater than any element in\n" - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 395, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L395" + } + ], "parameters": [ { - "id": 319, + "id": 331, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 320, + "id": 332, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70399,113 +52964,105 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 321, + "id": 333, "name": "rangeLt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is less than any element in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 409, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L409" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L409" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 410, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L410" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L410" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 418, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L418" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L418" } ], "signatures": [ { - "id": 322, + "id": 334, "name": "rangeLt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than any element in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 323, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 409, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L409" + } + ], + "typeParameters": [ + { + "id": 335, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -70515,40 +53072,25 @@ ], "parameters": [ { - "id": 324, + "id": 336, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 323, + "target": 335, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 325, + "id": 337, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70556,112 +53098,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 326, + "id": 338, "name": "rangeLt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than any element in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 410, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L410" + } + ], "parameters": [ { - "id": 327, + "id": 339, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 328, + "id": 340, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70669,121 +53141,113 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 329, + "id": 341, "name": "rangeLte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is either contained in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": " or less than any element in\n" + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 423, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L423" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L423" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 424, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L424" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L424" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 433, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L433" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L433" } ], "signatures": [ { - "id": 330, + "id": 342, "name": "rangeLte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is either contained in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " or less than any element in\n" - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 331, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 423, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L423" + } + ], + "typeParameters": [ + { + "id": 343, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -70793,40 +53257,25 @@ ], "parameters": [ { - "id": 332, + "id": 344, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 331, + "target": 343, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 333, + "id": 345, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70834,120 +53283,42 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 334, + "id": 346, "name": "rangeLte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is either contained in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " or less than any element in\n" - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 424, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L424" + } + ], "parameters": [ { - "id": 335, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, + "id": 347, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 336, + "id": 348, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -70955,71 +53326,37 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 478, + "id": 490, "name": "returns", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 328, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L328" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L328" } ], "signatures": [ { - "id": 479, + "id": 491, "name": "returns", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -71047,12 +53384,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 480, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 328, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L328" + } + ], + "typeParameters": [ + { + "id": 492, "name": "NewResult", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -71066,91 +53411,125 @@ ], "type": { "type": "reference", - "id": 530, + "target": 545, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 480, - "name": "NewResult" + "target": 492, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "CheckMatchingArrayTypes" + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 632, + "target": 650, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 631, + "target": 649, "name": "default.returns" } }, { - "id": 476, + "id": 488, "name": "rollback", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 317, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L317" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L317" } ], "signatures": [ { - "id": 477, + "id": 489, "name": "rollback", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -71167,82 +53546,56 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 317, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L317" + } + ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 630, + "target": 648, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 629, + "target": 647, "name": "default.rollback" } }, { - "id": 402, + "id": 414, "name": "select", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 29, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L29" } ], "signatures": [ { - "id": 403, + "id": 415, "name": "select", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -71291,12 +53644,20 @@ } ] }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 29, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L29" + } + ], + "typeParameters": [ { - "id": 404, + "id": 416, "name": "Query", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -71308,56 +53669,74 @@ } }, { - "id": 405, + "id": 417, "name": "NewResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 783, + "target": 810, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 404, - "name": "Query" + "target": 416, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } ], - "name": "GetResult" + "name": "GetResult", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 406, + "id": 418, "name": "columns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -71371,91 +53750,118 @@ }, "type": { "type": "reference", - "id": 404, + "target": 416, "name": "Query", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "type": { "type": "reference", - "id": 530, + "target": 545, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "array", "elementType": { "type": "reference", - "id": 405, - "name": "NewResultOne" + "target": 417, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 556, + "target": 574, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 555, + "target": 573, "name": "default.select" } }, { - "id": 499, + "id": 514, "name": "setHeader", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 78, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L78" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" } ], "signatures": [ { - "id": 500, + "id": 515, "name": "setHeader", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -71464,12 +53870,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], "parameters": [ { - "id": 501, + "id": 516, "name": "name", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -71477,10 +53891,10 @@ } }, { - "id": 502, + "id": 517, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -71489,81 +53903,47 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 653, + "target": 674, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 652, + "target": 673, "name": "default.setHeader" } }, { - "id": 456, + "id": 468, "name": "single", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 206, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L206" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L206" } ], "signatures": [ { - "id": 457, + "id": 469, "name": "single", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -71588,30 +53968,53 @@ } ] }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 206, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L206" + } + ], + "typeParameters": [ { - "id": 458, + "id": 470, "name": "ResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, "extendsType": { "type": "array", "elementType": { "type": "reference", - "name": "ResultOne" + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, "trueType": { "type": "reference", - "name": "ResultOne" + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -71622,101 +54025,172 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 458, - "name": "ResultOne" - }, - { - "type": "literal", - "value": false + "target": 470, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 610, + "target": 628, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 609, + "target": 627, "name": "default.single" } }, { - "id": 353, + "id": 365, "name": "textSearch", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for text and tsvector columns. Match only rows where\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches the query string in " + }, + { + "kind": "code", + "text": "`query`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The text or tsvector column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "query", + "content": [ + { + "kind": "text", + "text": "The query text to match with" + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.config", + "content": [ + { + "kind": "text", + "text": "The text search configuration to use" + } + ] + }, + { + "tag": "@param", + "name": "options.type", + "content": [ + { + "kind": "text", + "text": "Change how the " + }, + { + "kind": "code", + "text": "`query`" + }, + { + "kind": "text", + "text": " text is interpreted" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 476, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L476" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L476" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 481, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L481" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L481" }, { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 496, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L496" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L496" } ], "signatures": [ { - "id": 354, + "id": 366, "name": "textSearch", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for text and tsvector columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches the query string in " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 355, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 476, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L476" + } + ], + "typeParameters": [ + { + "id": 367, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -71726,92 +54200,61 @@ ], "parameters": [ { - "id": 356, + "id": 368, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The text or tsvector column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 355, + "target": 367, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 357, + "id": 369, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The query text to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 358, + "id": 370, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 359, + "id": 371, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 372, "name": "config", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The text search configuration to use" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 479, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L479" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L479" } ], "type": { @@ -71820,35 +54263,19 @@ } }, { - "id": 361, + "id": 373, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Change how the " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": " text is interpreted" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 479, "character": 33, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L479" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L479" } ], "type": { @@ -71873,15 +54300,15 @@ "groups": [ { "title": "Properties", - "children": [360, 361] + "children": [372, 373] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 479, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L479" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L479" } ] } @@ -71889,164 +54316,78 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 362, + "id": 374, "name": "textSearch", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for text and tsvector columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches the query string in " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": "." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 481, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L481" + } + ], "parameters": [ { - "id": 363, + "id": 375, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The text or tsvector column to filter on" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 364, + "id": 376, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The query text to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 365, + "id": 377, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 378, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 379, "name": "config", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The text search configuration to use" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 484, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L484" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L484" } ], "type": { @@ -72055,35 +54396,19 @@ } }, { - "id": 368, + "id": 380, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Change how the " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": " text is interpreted" - } - ] + "flags": { + "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 484, "character": 33, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L484" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L484" } ], "type": { @@ -72108,15 +54433,15 @@ "groups": [ { "title": "Properties", - "children": [367, 368] + "children": [379, 380] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 484, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L484" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L484" } ] } @@ -72124,96 +54449,93 @@ } ], "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 165, - "name": "Schema" - }, - { - "type": "reference", - "id": 166, - "name": "Row" - }, - { - "type": "reference", - "id": 167, - "name": "Result" - }, - { - "type": "reference", - "id": 168, - "name": "RelationName" - }, - { - "type": "reference", - "id": 169, - "name": "Relationships" - }, - { - "type": "reference", - "id": 170, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 503, + "id": 518, "name": "then", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 84, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L84" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L84" } ], "signatures": [ { - "id": 504, + "id": 519, "name": "then", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ { - "id": 505, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L84" + } + ], + "typeParameters": [ + { + "id": 520, "name": "TResult1", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 776, + "target": 803, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestSingleResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } }, { - "id": 506, + "id": 521, "name": "TResult2", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -72223,13 +54545,21 @@ ], "parameters": [ { - "id": 507, + "id": 522, "name": "onfulfilled", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, "type": { "type": "union", "types": [ @@ -72240,44 +54570,56 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 523, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 91, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L91" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L91" } ], "signatures": [ { - "id": 509, + "id": 524, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 91, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L91" + } + ], "parameters": [ { - "id": 510, + "id": 525, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 776, + "target": 803, "typeArguments": [ { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestSingleResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } } ], @@ -72286,20 +54628,27 @@ "types": [ { "type": "reference", - "id": 505, - "name": "TResult1" + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 505, - "name": "TResult1" + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -72312,13 +54661,21 @@ } }, { - "id": 511, + "id": 526, "name": "onrejected", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, "type": { "type": "union", "types": [ @@ -72329,32 +54686,40 @@ { "type": "reflection", "declaration": { - "id": 512, + "id": 527, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 98, "character": 18, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L98" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L98" } ], "signatures": [ { - "id": 513, + "id": 528, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 98, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L98" + } + ], "parameters": [ { - "id": 514, + "id": 529, "name": "reason", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -72367,20 +54732,27 @@ "types": [ { "type": "reference", - "id": 506, - "name": "TResult2" + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 506, - "name": "TResult2" + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -72395,61 +54767,72 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 505, - "name": "TResult1" + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 506, - "name": "TResult2" + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ] } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 657, + "target": 678, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 656, + "target": 677, "name": "default.then" } }, { - "id": 497, + "id": 512, "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 70, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L70" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L70" } ], "signatures": [ { - "id": 498, + "id": 513, "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -72464,84 +54847,123 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L70" + } + ], "type": { "type": "intersection", "types": [ { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "literal", "value": true } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } ] }, "inheritedFrom": { "type": "reference", - "id": 651, + "target": 672, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 650, + "target": 671, "name": "default.throwOnError" } } @@ -72549,61 +54971,71 @@ "groups": [ { "title": "Constructors", - "children": [162] + "children": [170] }, { "title": "Properties", - "children": [488, 491, 486, 496, 484, 487, 489, 490, 485] + "children": [500, 503, 498, 511, 496, 499, 501, 502, 497] }, { "title": "Methods", "children": [ - 453, 297, 289, 462, 186, 466, 392, 464, 196, 204, 252, 260, 268, 284, 276, 228, 236, - 244, 438, 212, 220, 369, 481, 459, 191, 375, 385, 407, 345, 515, 445, 337, 305, 313, - 321, 329, 478, 476, 402, 499, 456, 353, 503, 497 + 465, 309, 301, 474, 197, 478, 404, 476, 208, 216, 264, 272, 280, 296, 288, 240, 248, + 256, 450, 224, 232, 381, 493, 471, 203, 387, 397, 419, 357, 530, 457, 349, 317, 325, + 333, 341, 490, 488, 414, 514, 468, 365, 518, 512 ] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 74, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestFilterBuilder.ts#L74" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L74" } ], "typeParameters": [ { - "id": 523, + "id": 538, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 524, + "id": 539, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" } }, { - "id": 525, + "id": 540, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -72615,22 +55047,21 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 526, + "id": 541, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} }, { - "id": 527, + "id": 542, "name": "RelationName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -72638,10 +55069,10 @@ } }, { - "id": 528, + "id": 543, "name": "Relationships", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -72649,10 +55080,10 @@ } }, { - "id": 529, + "id": 544, "name": "Method", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -72663,125 +55094,171 @@ "extendedTypes": [ { "type": "reference", - "id": 530, + "target": 545, "typeArguments": [ { "type": "reference", - "id": 164, - "name": "ClientOptions" + "target": 172, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 165, - "name": "Schema" + "target": 173, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 166, - "name": "Row" + "target": 174, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 167, - "name": "Result" + "target": 175, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 168, - "name": "RelationName" + "target": 176, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 169, - "name": "Relationships" + "target": 177, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 170, - "name": "Method" + "target": 178, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "default", + "package": "@supabase/postgrest-js" } ] }, { - "id": 72, + "id": 74, "name": "PostgrestQueryBuilder", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 73, + "id": 75, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L18" } ], "signatures": [ { - "id": 74, - "name": "new PostgrestQueryBuilder", + "id": 76, + "name": "PostgrestQueryBuilder", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, - "typeParameter": [ + "sources": [ { - "id": 75, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L18" + } + ], + "typeParameters": [ + { + "id": 77, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 76, + "id": 78, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" } }, { - "id": 77, + "id": 79, "name": "Relation", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "GenericTable" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/postgrest-js" }, { "type": "reference", - "name": "GenericView" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/postgrest-js" } ] } }, { - "id": 78, + "id": 80, "name": "RelationName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -72791,64 +55268,79 @@ { "id": 81, "name": "Relationships", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true }, "extendsType": { "type": "reflection", "declaration": { - "id": 79, + "id": 82, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 80, + "id": 83, "name": "Relationships", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 10, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L10" } ], "type": { "type": "reference", - "name": "R" + "target": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "R" + }, + "name": "R", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "groups": [ { "title": "Properties", - "children": [80] + "children": [83] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 10, "character": 35, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L10" } ] } }, "trueType": { "type": "reference", - "name": "R" + "target": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "R" + }, + "name": "R", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -72859,124 +55351,258 @@ ], "parameters": [ { - "id": 82, + "id": 84, "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } }, { - "id": 83, + "id": 85, "name": "__namedParameters", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 84, + "id": 86, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 87, + "id": 89, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 27, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L27" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L27" } ], "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 90, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 89, + "id": 91, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 90, + "id": 92, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 93, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 94, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 95, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 91, + "id": 96, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -72985,42 +55611,46 @@ } }, { - "id": 85, + "id": 87, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 25, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L25" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, "name": "HeadersInit", - "qualifiedName": "HeadersInit", "package": "typescript" - } + }, + "defaultValue": "{}" }, { - "id": 86, + "id": 88, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 26, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L26" } ], "type": { @@ -73032,15 +55662,15 @@ "groups": [ { "title": "Properties", - "children": [87, 85, 86] + "children": [89, 87, 88] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 24, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L24" } ] } @@ -73049,130 +55679,278 @@ ], "type": { "type": "reference", - "id": 72, + "target": 74, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 96, + "id": 101, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 16, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L16" } ], "type": { "type": "reflection", "declaration": { - "id": 97, + "id": 102, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 98, + "id": 103, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 99, + "id": 104, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 105, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 106, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 107, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 100, + "id": 108, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -73181,40 +55959,43 @@ } }, { - "id": 93, + "id": 98, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 13, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L13" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, "name": "Headers", - "qualifiedName": "Headers", "package": "typescript" } }, { - "id": 94, + "id": 99, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 14, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L14" } ], "type": { @@ -73223,69 +56004,75 @@ } }, { - "id": 95, + "id": 100, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 15, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L15" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } }, { - "id": 92, + "id": 97, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 12, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L12" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L12" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } }, { - "id": 149, + "id": 157, "name": "delete", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 411, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L411" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L411" } ], "signatures": [ { - "id": 150, + "id": 158, "name": "delete", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -73303,12 +56090,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 411, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L411" + } + ], "parameters": [ { - "id": 151, + "id": 159, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -73318,21 +56113,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 152, + "id": 160, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 153, + "id": 161, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -73378,10 +56172,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 414, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L414" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L414" } ], "type": { @@ -73406,15 +56200,15 @@ "groups": [ { "title": "Properties", - "children": [153] + "children": [161] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 413, "character": 5, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L413" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L413" } ] } @@ -73424,17 +56218,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -73444,8 +56244,11 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { @@ -73454,82 +56257,184 @@ }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "DELETE" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 110, + "id": 118, "name": "insert", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith " + }, + { + "kind": "code", + "text": "`.select()`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "values", + "content": [ + { + "kind": "text", + "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows." + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.count", + "content": [ + { + "kind": "text", + "text": "Count algorithm to use to count inserted rows.\n\n" + }, + { + "kind": "code", + "text": "`\"exact\"`" + }, + { + "kind": "text", + "text": ": Exact but slow count algorithm. Performs a " + }, + { + "kind": "code", + "text": "`COUNT(*)`" + }, + { + "kind": "text", + "text": " under the\nhood.\n\n" + }, + { + "kind": "code", + "text": "`\"planned\"`" + }, + { + "kind": "text", + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." + } + ] + }, + { + "tag": "@param", + "name": "options.defaultToNull", + "content": [ + { + "kind": "text", + "text": "Make missing fields default to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ".\nOtherwise, use the default value for the column. Only applies for bulk\ninserts." + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 116, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L116" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L116" }, { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 130, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L130" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L130" }, { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 171, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L171" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L171" } ], "signatures": [ { - "id": 111, + "id": 119, "name": "insert", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith " - }, - { - "kind": "code", - "text": "`.select()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 112, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 116, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L116" + } + ], + "typeParameters": [ + { + "id": 120, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -73541,112 +56446,56 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 113, + "id": 121, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows." - } - ] - }, "type": { "type": "reference", - "id": 112, + "target": 120, "name": "Row", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 114, + "id": 122, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 115, + "id": 123, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 116, + "id": 124, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count inserted rows.\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 119, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L119" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L119" } ], "type": { @@ -73671,15 +56520,15 @@ "groups": [ { "title": "Properties", - "children": [116] + "children": [124] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 118, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L118" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L118" } ] } @@ -73688,17 +56537,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -73708,8 +56563,11 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { @@ -73718,53 +56576,57 @@ }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } }, { - "id": 117, + "id": 125, "name": "insert", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith " - }, - { - "kind": "code", - "text": "`.select()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L130" + } + ], + "typeParameters": [ { - "id": 118, + "id": 126, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -73776,114 +56638,59 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 119, + "id": 127, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows." - } - ] - }, "type": { "type": "array", "elementType": { "type": "reference", - "id": 118, - "name": "Row" + "target": 126, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } }, { - "id": 120, + "id": 128, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 121, + "id": 129, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 122, + "id": 130, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count inserted rows.\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 133, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L133" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L133" } ], "type": { @@ -73905,35 +56712,19 @@ } }, { - "id": 123, + "id": 131, "name": "defaultToNull", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Make missing fields default to " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ".\nOtherwise, use the default value for the column. Only applies for bulk\ninserts." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 134, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L134" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L134" } ], "type": { @@ -73945,15 +56736,15 @@ "groups": [ { "title": "Properties", - "children": [122, 123] + "children": [130, 131] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 132, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L132" } ] } @@ -73962,17 +56753,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -73982,8 +56779,11 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { @@ -73992,44 +56792,52 @@ }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 101, + "id": 109, "name": "select", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 57, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L57" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L57" } ], "signatures": [ { - "id": 102, + "id": 110, "name": "select", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -74039,12 +56847,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 103, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L57" + } + ], + "typeParameters": [ + { + "id": 111, "name": "Query", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -74056,19 +56872,22 @@ } }, { - "id": 104, + "id": 112, "name": "ResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 783, + "target": 810, "typeArguments": [ { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -74078,41 +56897,56 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 103, - "name": "Query" + "target": 111, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } ], - "name": "GetResult" + "name": "GetResult", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 105, + "id": 113, "name": "columns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -74130,16 +56964,17 @@ }, "type": { "type": "reference", - "id": 103, + "target": 111, "name": "Query", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 106, + "id": 114, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -74149,21 +56984,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 107, + "id": 115, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 109, + "id": 117, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -74209,10 +57043,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 74, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L74" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L74" } ], "type": { @@ -74234,10 +57068,10 @@ } }, { - "id": 108, + "id": 116, "name": "head", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -74267,30 +57101,31 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 73, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L73" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L73" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" } ], "groups": [ { "title": "Properties", - "children": [109, 108] + "children": [117, 116] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 72, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L72" } ] } @@ -74300,17 +57135,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -74320,58 +57161,71 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { "type": "array", "elementType": { "type": "reference", - "id": 104, - "name": "ResultOne" + "target": 112, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "GET" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 142, + "id": 150, "name": "update", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 361, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L361" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L361" } ], "signatures": [ { - "id": 143, + "id": 151, "name": "update", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -74389,15 +57243,27 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 144, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 361, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L361" + } + ], + "typeParameters": [ + { + "id": 152, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -74409,17 +57275,16 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 145, + "id": 153, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -74431,16 +57296,17 @@ }, "type": { "type": "reference", - "id": 144, + "target": 152, "name": "Row", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 146, + "id": 154, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -74450,21 +57316,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 147, + "id": 155, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 148, + "id": 156, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -74510,10 +57375,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 366, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L366" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L366" } ], "type": { @@ -74538,15 +57403,15 @@ "groups": [ { "title": "Properties", - "children": [148] + "children": [156] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 365, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L365" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L365" } ] } @@ -74556,17 +57421,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -74576,8 +57447,11 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { @@ -74586,62 +57460,121 @@ }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "PATCH" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 124, + "id": 132, "name": "upsert", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 217, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L217" - }, - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 233, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L233" - }, - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 288, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L288" - } - ], - "signatures": [ - { - "id": 125, - "name": "upsert", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto " + }, + { + "kind": "code", + "text": "`onConflict`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`.upsert()`" + }, + { + "kind": "text", + "text": " allows you to perform the equivalent of\n" + }, + { + "kind": "code", + "text": "`.insert()`" + }, + { + "kind": "text", + "text": " if a row with the corresponding " + }, + { + "kind": "code", + "text": "`onConflict`" + }, + { + "kind": "text", + "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n" + }, + { + "kind": "code", + "text": "`ignoreDuplicates`" + }, + { + "kind": "text", + "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith " + }, + { + "kind": "code", + "text": "`.select()`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "values", + "content": [ { "kind": "text", - "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto " + "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows." + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.onConflict", + "content": [ + { + "kind": "text", + "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n" }, { "kind": "code", @@ -74649,59 +57582,154 @@ }, { "kind": "text", - "text": ", " + "text": " columns are equal." + } + ] + }, + { + "tag": "@param", + "name": "options.ignoreDuplicates", + "content": [ + { + "kind": "text", + "text": "If " }, { "kind": "code", - "text": "`.upsert()`" + "text": "`true`" }, { "kind": "text", - "text": " allows you to perform the equivalent of\n" + "text": ", duplicate rows are ignored. If\n" }, { "kind": "code", - "text": "`.insert()`" + "text": "`false`" }, { "kind": "text", - "text": " if a row with the corresponding " + "text": ", duplicate rows are merged with existing rows." + } + ] + }, + { + "tag": "@param", + "name": "options.count", + "content": [ + { + "kind": "text", + "text": "Count algorithm to use to count upserted rows.\n\n" }, { "kind": "code", - "text": "`onConflict`" + "text": "`\"exact\"`" }, { "kind": "text", - "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n" + "text": ": Exact but slow count algorithm. Performs a " }, { "kind": "code", - "text": "`ignoreDuplicates`" + "text": "`COUNT(*)`" }, { "kind": "text", - "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith " + "text": " under the\nhood.\n\n" }, { "kind": "code", - "text": "`.select()`" + "text": "`\"planned\"`" }, { "kind": "text", - "text": "." + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." } ] }, - "typeParameter": [ + { + "tag": "@param", + "name": "options.defaultToNull", + "content": [ + { + "kind": "text", + "text": "Make missing fields default to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ".\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n" + }, + { + "kind": "code", + "text": "`ignoreDuplicates: false`" + }, + { + "kind": "text", + "text": ". This also only applies when doing bulk upserts." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 217, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L217" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 233, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L233" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 288, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L288" + } + ], + "signatures": [ + { + "id": 133, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 126, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 217, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L217" + } + ], + "typeParameters": [ + { + "id": 134, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -74713,112 +57741,56 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 127, + "id": 135, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows." - } - ] - }, "type": { "type": "reference", - "id": 126, + "target": 134, "name": "Row", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 128, + "id": 136, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 137, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 132, + "id": 140, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count upserted rows.\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 222, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L222" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L222" } ], "type": { @@ -74840,43 +57812,19 @@ } }, { - "id": 131, + "id": 139, "name": "ignoreDuplicates", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", duplicate rows are ignored. If\n" - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ", duplicate rows are merged with existing rows." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 221, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L221" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L221" } ], "type": { @@ -74885,35 +57833,19 @@ } }, { - "id": 130, + "id": 138, "name": "onConflict", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n" - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": " columns are equal." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 220, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L220" } ], "type": { @@ -74925,15 +57857,15 @@ "groups": [ { "title": "Properties", - "children": [132, 131, 130] + "children": [140, 139, 138] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 219, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L219" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L219" } ] } @@ -74942,17 +57874,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -74962,8 +57900,11 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { @@ -74972,93 +57913,57 @@ }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } }, { - "id": 133, + "id": 141, "name": "upsert", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto " - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`.upsert()`" - }, - { - "kind": "text", - "text": " allows you to perform the equivalent of\n" - }, - { - "kind": "code", - "text": "`.insert()`" - }, - { - "kind": "text", - "text": " if a row with the corresponding " - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n" - }, - { - "kind": "code", - "text": "`ignoreDuplicates`" - }, - { - "kind": "text", - "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith " - }, - { - "kind": "code", - "text": "`.select()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 134, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 233, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L233" + } + ], + "typeParameters": [ + { + "id": 142, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -75070,114 +57975,59 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 135, + "id": 143, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows." - } - ] - }, "type": { "type": "array", "elementType": { "type": "reference", - "id": 134, - "name": "Row" + "target": 142, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } }, { - "id": 136, + "id": 144, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 137, + "id": 145, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 140, + "id": 148, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count upserted rows.\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 238, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L238" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L238" } ], "type": { @@ -75199,43 +58049,19 @@ } }, { - "id": 141, + "id": 149, "name": "defaultToNull", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Make missing fields default to " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ".\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n" - }, - { - "kind": "code", - "text": "`ignoreDuplicates: false`" - }, - { - "kind": "text", - "text": ". This also only applies when doing bulk upserts." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 239, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L239" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L239" } ], "type": { @@ -75244,43 +58070,19 @@ } }, { - "id": 139, + "id": 147, "name": "ignoreDuplicates", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", duplicate rows are ignored. If\n" - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ", duplicate rows are merged with existing rows." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 237, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L237" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L237" } ], "type": { @@ -75289,35 +58091,19 @@ } }, { - "id": 138, + "id": 146, "name": "onConflict", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n" - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": " columns are equal." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 236, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L236" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L236" } ], "type": { @@ -75329,15 +58115,15 @@ "groups": [ { "title": "Properties", - "children": [140, 141, 139, 138] + "children": [148, 149, 147, 146] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 235, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L235" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L235" } ] } @@ -75346,17 +58132,23 @@ ], "type": { "type": "reference", - "id": 161, + "target": 169, "typeArguments": [ { "type": "reference", - "id": 75, - "name": "ClientOptions" + "target": 77, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 76, - "name": "Schema" + "target": 78, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -75366,8 +58158,11 @@ }, "objectType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { @@ -75376,20 +58171,28 @@ }, { "type": "reference", - "id": 78, - "name": "RelationName" + "target": 80, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 81, - "name": "Relationships" + "target": 81, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "literal", "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] @@ -75398,74 +58201,90 @@ "groups": [ { "title": "Constructors", - "children": [73] + "children": [75] }, { "title": "Properties", - "children": [96, 93, 94, 95, 92] + "children": [101, 98, 99, 100, 97] }, { "title": "Methods", - "children": [149, 110, 101, 142, 124] + "children": [157, 118, 109, 150, 132] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 5, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L5" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L5" } ], "typeParameters": [ { - "id": 154, + "id": 162, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 155, + "id": 163, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" } }, { - "id": 156, + "id": 164, "name": "Relation", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "GenericTable" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/postgrest-js" }, { "type": "reference", - "name": "GenericView" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/postgrest-js" } ] } }, { - "id": 157, + "id": 165, "name": "RelationName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -75473,39 +58292,42 @@ } }, { - "id": 160, + "id": 166, "name": "Relationships", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 77, - "name": "Relation" + "target": 79, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true }, "extendsType": { "type": "reflection", "declaration": { - "id": 158, + "id": 167, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 168, "name": "Relationships", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 10, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L10" } ], "type": { @@ -75517,22 +58339,28 @@ "groups": [ { "title": "Properties", - "children": [159] + "children": [168] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", "line": 10, "character": 35, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestQueryBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L10" } ] } }, "trueType": { "type": "reference", - "name": "R" + "target": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "R" + }, + "name": "R", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -75543,65 +58371,83 @@ ] }, { - "id": 530, + "id": 545, "name": "PostgrestTransformBuilder", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 531, + "id": 546, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 35, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" } ], "signatures": [ { - "id": 532, - "name": "new PostgrestTransformBuilder", + "id": 547, + "name": "PostgrestTransformBuilder", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, - "typeParameter": [ + "sources": [ { - "id": 533, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 35, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" + } + ], + "typeParameters": [ + { + "id": 548, "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 780, - "name": "ClientServerOptions" + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 534, + "id": 549, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" } }, { - "id": 535, + "id": 550, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -75613,22 +58459,21 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 536, + "id": 551, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} }, { - "id": 537, + "id": 552, "name": "RelationName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -75636,10 +58481,10 @@ } }, { - "id": 538, + "id": 553, "name": "Relationships", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -75647,10 +58492,10 @@ } }, { - "id": 539, + "id": 554, "name": "Method", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -75660,34 +58505,34 @@ ], "parameters": [ { - "id": 540, + "id": 555, "name": "builder", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 556, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 561, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 40, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L40" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L40" } ], "type": { @@ -75696,96 +58541,227 @@ } }, { - "id": 549, + "id": 564, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 43, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L43" } ], "type": { "type": "reflection", "declaration": { - "id": 550, + "id": 565, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 551, + "id": 566, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 552, + "id": 567, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 568, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 569, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 570, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 553, + "id": 571, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -75794,40 +58770,43 @@ } }, { - "id": 544, + "id": 559, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 38, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L38" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, "name": "HeadersInit", - "qualifiedName": "HeadersInit", "package": "typescript" } }, { - "id": 554, + "id": 572, "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 44, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L44" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L44" } ], "type": { @@ -75836,17 +58815,17 @@ } }, { - "id": 542, + "id": 557, "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 36, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L36" } ], "type": { @@ -75876,19 +58855,19 @@ } }, { - "id": 545, + "id": 560, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 39, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L39" } ], "type": { @@ -75897,19 +58876,19 @@ } }, { - "id": 547, + "id": 562, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 41, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L41" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L41" } ], "type": { @@ -75918,46 +58897,52 @@ } }, { - "id": 548, + "id": 563, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 42, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L42" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L42" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } }, { - "id": 543, + "id": 558, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 37, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L37" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L37" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } } @@ -75965,15 +58950,15 @@ "groups": [ { "title": "Properties", - "children": [546, 549, 544, 554, 542, 545, 547, 548, 543] + "children": [561, 564, 559, 572, 557, 560, 562, 563, 558] } ], "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 35, "character": 23, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" } ] } @@ -75982,74 +58967,98 @@ ], "type": { "type": "reference", - "id": 530, + "target": 545, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 534, - "name": "Schema" + "target": 549, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 535, - "name": "Row" + "target": 550, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 536, - "name": "Result" + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 537, - "name": "RelationName" + "target": 552, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 538, - "name": "Relationships" + "target": 553, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 539, - "name": "Method" + "target": 554, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 685, + "target": 706, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 684, + "target": 705, "name": "default.constructor" } }, { - "id": 641, + "id": 659, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 29, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L29" } ], "type": { @@ -76058,101 +59067,233 @@ }, "inheritedFrom": { "type": "reference", - "id": 708, + "target": 732, "name": "default.body" } }, { - "id": 644, + "id": 662, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 32, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L32" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L32" } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 663, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 646, + "id": 664, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 647, + "id": 665, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, "name": "RequestInfo", - "qualifiedName": "RequestInfo", "package": "typescript" }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 666, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 667, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 668, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } ] } }, { - "id": 648, + "id": 669, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -76161,52 +59302,57 @@ }, "inheritedFrom": { "type": "reference", - "id": 711, + "target": 735, "name": "default.fetch" } }, { - "id": 639, + "id": 657, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 27, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L27" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L27" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, "name": "Headers", - "qualifiedName": "Headers", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 706, + "target": 730, "name": "default.headers" } }, { - "id": 649, + "id": 670, "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 33, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L33" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L33" } ], "type": { @@ -76215,24 +59361,25 @@ }, "inheritedFrom": { "type": "reference", - "id": 716, + "target": 743, "name": "default.isMaybeSingle" } }, { - "id": 637, + "id": 655, "name": "method", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 25, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L25" } ], "type": { @@ -76262,25 +59409,26 @@ }, "inheritedFrom": { "type": "reference", - "id": 704, + "target": 728, "name": "default.method" } }, { - "id": 640, + "id": 658, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 28, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L28" } ], "type": { @@ -76289,24 +59437,25 @@ }, "inheritedFrom": { "type": "reference", - "id": 707, + "target": 731, "name": "default.schema" } }, { - "id": 642, + "id": 660, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 30, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L30" } ], "type": { @@ -76316,87 +59465,95 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 709, + "target": 733, "name": "default.shouldThrowOnError" } }, { - "id": 643, + "id": 661, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 31, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 710, + "target": 734, "name": "default.signal" } }, { - "id": 638, + "id": 656, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", "line": 26, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L26" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 705, + "target": 729, "name": "default.url" } }, { - "id": 606, + "id": 624, "name": "abortSignal", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 195, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L195" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L195" } ], "signatures": [ { - "id": 607, + "id": 625, "name": "abortSignal", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -76406,12 +59563,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 195, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L195" + } + ], "parameters": [ { - "id": 608, + "id": 626, "name": "signal", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -76423,77 +59588,42 @@ }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 615, + "id": 633, "name": "csv", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 237, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L237" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L237" } ], "signatures": [ { - "id": 616, + "id": 634, "name": "csv", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -76511,49 +59641,58 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 237, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L237" + } + ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "intrinsic", "name": "string" - }, - { - "type": "literal", - "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 619, + "id": 637, "name": "explain", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 275, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L275" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L275" } ], "signatures": [ { - "id": 620, + "id": 638, "name": "explain", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -76571,12 +59710,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 275, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L275" + } + ], "parameters": [ { - "id": 621, + "id": 639, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -76586,21 +59733,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 622, + "id": 640, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 623, + "id": 641, "name": "analyze", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -76622,22 +59768,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 283, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L283" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L283" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 626, + "id": 644, "name": "buffers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -76659,22 +59806,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 286, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L286" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L286" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 628, + "id": 646, "name": "format", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -76700,10 +59848,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 288, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L288" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L288" } ], "type": { @@ -76718,13 +59866,14 @@ "value": "json" } ] - } + }, + "defaultValue": "'text'" }, { - "id": 625, + "id": 643, "name": "settings", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -76746,22 +59895,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 285, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L285" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L285" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 624, + "id": 642, "name": "verbose", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -76791,22 +59941,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 284, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L284" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L284" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 627, + "id": 645, "name": "wal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -76828,30 +59979,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 287, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L287" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L287" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" } ], "groups": [ { "title": "Properties", - "children": [623, 626, 628, 625, 624, 627] + "children": [641, 644, 646, 643, 642, 645] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 282, "character": 5, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L282" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L282" } ] } @@ -76864,12 +60016,15 @@ "types": [ { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "intrinsic", @@ -76880,21 +60035,30 @@ "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "array", "elementType": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -76906,7 +60070,6 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, @@ -76915,7 +60078,9 @@ "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } ] } @@ -76923,25 +60088,25 @@ ] }, { - "id": 617, + "id": 635, "name": "geojson", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 245, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L245" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L245" } ], "signatures": [ { - "id": 618, + "id": 636, "name": "geojson", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -76959,17 +60124,32 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 245, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L245" + } + ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -76981,39 +60161,36 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" - }, - { - "type": "literal", - "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 591, + "id": 609, "name": "limit", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 146, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L146" } ], "signatures": [ { - "id": 592, + "id": 610, "name": "limit", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -77031,12 +60208,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L146" + } + ], "parameters": [ { - "id": 593, + "id": 611, "name": "count", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -77052,10 +60237,10 @@ } }, { - "id": 594, + "id": 612, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -77065,21 +60250,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 613, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 614, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -77101,10 +60285,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 151, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ], "type": { @@ -77113,10 +60297,10 @@ } }, { - "id": 597, + "id": 615, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -77130,30 +60314,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 151, "character": 32, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ], "type": { "type": "intrinsic", "name": "string" - } + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [596, 597] + "children": [614, 615] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 151, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ] } @@ -77162,70 +60347,32 @@ } ], "type": { - "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 634, + "id": 652, "name": "maxAffected", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 354, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L354" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L354" } ], "signatures": [ { - "id": 635, + "id": 653, "name": "maxAffected", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -77235,12 +60382,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L354" + } + ], "parameters": [ { - "id": 636, + "id": 654, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -77260,6 +60415,10 @@ "type": "conditional", "checkType": { "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MaxAffectedEnabled" + }, "typeArguments": [ { "type": "indexedAccess", @@ -77269,12 +60428,16 @@ }, "objectType": { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } } ], - "name": "MaxAffectedEnabled" + "name": "MaxAffectedEnabled", + "package": "@supabase/postgrest-js" }, "extendsType": { "type": "literal", @@ -77284,8 +60447,11 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 539, - "name": "Method" + "target": 554, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true }, "extendsType": { "type": "union", @@ -77306,91 +60472,124 @@ }, "trueType": { "type": "reference", - "id": 530, + "target": 545, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 534, - "name": "Schema" + "target": 549, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 535, - "name": "Row" + "target": 550, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 536, - "name": "Result" + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, { "type": "reference", - "id": 537, - "name": "RelationName" + "target": 552, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 538, - "name": "Relationships" + "target": 553, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 539, - "name": "Method" + "target": 554, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, "typeArguments": [ { "type": "literal", "value": "maxAffected method only available on update or delete" } ], - "name": "InvalidMethodError" + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" } }, "falseType": { "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, "typeArguments": [ { "type": "literal", "value": "maxAffected method only available on postgrest 13+" } ], - "name": "InvalidMethodError" + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" } } } ] }, { - "id": 612, + "id": 630, "name": "maybeSingle", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 220, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L220" } ], "signatures": [ { - "id": 613, + "id": 631, "name": "maybeSingle", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -77416,30 +60615,53 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 614, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 220, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L220" + } + ], + "typeParameters": [ + { + "id": 632, "name": "ResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 536, - "name": "Result" + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true }, "extendsType": { "type": "array", "elementType": { "type": "reference", - "name": "ResultOne" + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, "trueType": { "type": "reference", - "name": "ResultOne" + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { "type": "intrinsic", @@ -77450,12 +60672,15 @@ ], "type": { "type": "reference", - "id": 683, + "target": 704, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "union", @@ -77466,96 +60691,214 @@ }, { "type": "reference", - "id": 461, - "name": "ResultOne" + "target": 473, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ] - }, - { - "type": "literal", - "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 560, + "id": 578, "name": "order", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Order the query result by " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " + }, + { + "kind": "code", + "text": "`!inner`" + }, + { + "kind": "text", + "text": " in the query." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to order by" + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.ascending", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the result will be in ascending order" + } + ] + }, + { + "tag": "@param", + "name": "options.nullsFirst", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear first. If " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ",\n" + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear last." + } + ] + }, + { + "tag": "@param", + "name": "options.referencedTable", + "content": [ + { + "kind": "text", + "text": "Set this to order a referenced table by\nits columns" + } + ] + }, + { + "tag": "@param", + "name": "options.foreignTable", + "content": [ + { + "kind": "text", + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 70, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L70" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L70" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 74, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L74" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L74" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 81, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L81" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 88, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L88" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" }, { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 110, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L110" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L110" } ], "signatures": [ { - "id": 561, + "id": 579, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Order the query result by " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " - }, - { - "kind": "code", - "text": "`!inner`" - }, - { - "kind": "text", - "text": " in the query." - } - ] - }, - "typeParameter": [ + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L70" + } + ], + "typeParameters": [ { - "id": 562, + "id": 580, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -77565,81 +60908,50 @@ ], "parameters": [ { - "id": 563, + "id": 581, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to order by" - } - ] - }, "type": { "type": "reference", - "id": 409, + "target": 421, "name": "ColumnName", - "dereferenced": {} + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 564, + "id": 582, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 565, + "id": 583, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 566, + "id": 584, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the result will be in ascending order" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ], "type": { @@ -77648,59 +60960,19 @@ } }, { - "id": 567, + "id": 585, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear first. If " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ",\n" - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear last." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ], "type": { @@ -77709,27 +60981,19 @@ } }, { - "id": 568, + "id": 586, "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to order a referenced table by\nits columns" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ], "type": { @@ -77741,15 +61005,15 @@ "groups": [ { "title": "Properties", - "children": [566, 567, 568] + "children": [584, 585, 586] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", "line": 72, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L72" } ] } @@ -77757,153 +61021,239 @@ } ], "type": { - "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 569, + "id": 587, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Order the query result by " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " - }, - { - "kind": "code", - "text": "`!inner`" - }, - { - "kind": "text", - "text": " in the query." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 74, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L74" + } + ], "parameters": [ { - "id": 570, + "id": 588, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to order by" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 571, + "id": 589, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 572, + "id": 590, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 573, + "id": 591, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the result will be in ascending order" - } - ] + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 592, + "name": "nullsFirst", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 593, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [591, 592, 593] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L76" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 594, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": " instead of " + }, + { + "kind": "code", + "text": "`options.foreignTable`" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "typeParameters": [ + { + "id": 595, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 596, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 436, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 597, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 598, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 599, + "name": "ascending", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 76, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 83, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ], "type": { @@ -77912,108 +61262,60 @@ } }, { - "id": 574, - "name": "nullsFirst", + "id": 601, + "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear first. If " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ",\n" - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear last." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 76, - "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "undefined" } }, { - "id": 575, - "name": "referencedTable", + "id": 600, + "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to order a referenced table by\nits columns" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 76, - "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } } ], "groups": [ { "title": "Properties", - "children": [573, 574, 575] + "children": [599, 601, 600] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 76, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 83, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L76" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L83" } ] } @@ -78021,53 +61323,15 @@ } ], "type": { - "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 576, + "id": 602, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [], @@ -78095,64 +61359,57 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 577, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" } ], "parameters": [ { - "id": 578, + "id": 603, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 424, - "name": "ColumnName", - "dereferenced": {} + "type": "intrinsic", + "name": "string" } }, { - "id": 579, + "id": 604, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 605, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 606, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 83, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 90, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ], "type": { @@ -78161,40 +61418,40 @@ } }, { - "id": 583, + "id": 608, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 83, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 90, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ], "type": { "type": "intrinsic", - "name": "undefined" + "name": "string" } }, { - "id": 582, + "id": 607, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 83, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 90, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ], "type": { @@ -78206,15 +61463,15 @@ "groups": [ { "title": "Properties", - "children": [581, 583, 582] + "children": [606, 608, 607] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 83, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 90, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L90" } ] } @@ -78222,144 +61479,587 @@ } ], "type": { - "type": "reference", - "id": 530, - "typeArguments": [ + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 689, + "name": "overrideTypes", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 276, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L276" + } + ], + "signatures": [ + { + "id": 690, + "name": "overrideTypes", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ { - "type": "reference", - "id": 533, - "name": "ClientOptions" + "kind": "text", + "text": "Override the type of the returned " }, { - "type": "reference", - "id": 534, - "name": "Schema" + "kind": "code", + "text": "`data`" }, { - "type": "reference", - "id": 535, - "name": "Row" + "kind": "text", + "text": " field in the response." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] }, { - "type": "reference", - "id": 536, - "name": "Result" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A PostgrestBuilder instance with the new type" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 276, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L276" + } + ], + "typeParameters": [ + { + "id": 691, + "name": "NewResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new type to cast the response data to" + } + ] + } + }, + { + "id": 692, + "name": "Options", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional type configuration (defaults to { merge: true })" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 693, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 694, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 278, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [694] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 278, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" + } + ] + } }, + "default": { + "type": "reflection", + "declaration": { + "id": 695, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 696, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 278, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [696] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 278, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L278" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 704, + "typeArguments": [ { "type": "reference", - "id": 537, - "name": "RelationName" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { - "type": "reference", - "id": 538, - "name": "Relationships" + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "IsValidResultOverride" + }, + "typeArguments": [ + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/types.ts", + "qualifiedName": "ContainsNull" + }, + "typeArguments": [ + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "ContainsNull", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, + "typeArguments": [ + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "NonNullable", + "package": "typescript" + }, + { + "type": "reference", + "target": 533, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + ] + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 532, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + } }, { - "type": "reference", - "id": 539, - "name": "Method" + "type": "literal", + "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "inheritedFrom": { + "type": "reference", + "target": 766, + "name": "default.overrideTypes" } - }, + } + ], + "inheritedFrom": { + "type": "reference", + "target": 765, + "name": "default.overrideTypes" + } + }, + { + "id": 616, + "name": "range", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 584, - "name": "order", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L173" + } + ], + "signatures": [ + { + "id": 617, + "name": "range", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "summary": [], - "blockTags": [ + "summary": [ { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "Use " - }, - { - "kind": "code", - "text": "`options.referencedTable`" - }, + "kind": "text", + "text": "Limit the query result by starting at an offset " + }, + { + "kind": "code", + "text": "`from`" + }, + { + "kind": "text", + "text": " and ending at the offset " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": ".\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe " + }, + { + "kind": "code", + "text": "`from`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": " values are 0-based and inclusive: " + }, + { + "kind": "code", + "text": "`range(1, 3)`" + }, + { + "kind": "text", + "text": " will include the second, third\nand fourth rows of the query." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L173" + } + ], + "parameters": [ + { + "id": 618, + "name": "from", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " instead of " - }, - { - "kind": "code", - "text": "`options.foreignTable`" + "text": "The starting index from which to limit the result" } ] + }, + "type": { + "type": "intrinsic", + "name": "number" } - ] - }, - "parameters": [ + }, { - "id": 585, - "name": "column", + "id": 619, + "name": "to", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last index to which to limit the result" + } + ] + }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" } }, { - "id": 586, + "id": 620, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Named parameters" + } + ] }, "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 621, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 588, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 590, + "id": 622, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" + } + ] + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 90, - "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 179, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L179" } ], "type": { @@ -78368,116 +62068,257 @@ } }, { - "id": 589, - "name": "nullsFirst", + "id": 623, + "name": "referencedTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set this to limit rows of referenced\ntables instead of the parent table" + } + ] + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 90, - "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 179, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L179" } ], "type": { "type": "intrinsic", - "name": "boolean" - } + "name": "string" + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [588, 590, 589] + "children": [622, 623] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 90, - "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L90" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 179, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L179" } ] } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 649, + "name": "returns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 328, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L328" + } + ], + "signatures": [ + { + "id": 650, + "name": "returns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the type of the returned " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use overrideTypes() method at the end of your call chain instead" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 328, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L328" + } + ], + "typeParameters": [ + { + "id": 651, + "name": "NewResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new result type to override with" + } + ] } } ], "type": { "type": "reference", - "id": 530, + "target": 545, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 534, - "name": "Schema" + "target": 549, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 535, - "name": "Row" + "target": 550, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 536, - "name": "Result" + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 492, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" }, { "type": "reference", - "id": 537, - "name": "RelationName" + "target": 552, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true }, { "type": "reference", - "id": 538, - "name": "Relationships" + "target": 553, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 539, - "name": "Method" + "target": 554, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "overwrites": { + "type": "reference", + "target": 763, + "name": "default.returns" } } - ] + ], + "overwrites": { + "type": "reference", + "target": 762, + "name": "default.returns" + } }, { - "id": 668, - "name": "overrideTypes", + "id": 647, + "name": "rollback", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 276, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 317, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L276" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L317" } ], "signatures": [ { - "id": 669, - "name": "overrideTypes", + "id": 648, + "name": "rollback", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Override the type of the returned " + "text": "Rollback the query.\n\n" }, { "kind": "code", @@ -78485,3602 +62326,5943 @@ }, { "kind": "text", - "text": " field in the response." + "text": " will still be returned, but the query is not committed." } - ], - "blockTags": [ + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 317, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L317" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 573, + "name": "select", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 29, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L29" + } + ], + "signatures": [ + { + "id": 574, + "name": "select", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] + "kind": "text", + "text": "Perform a SELECT on the query result.\n\nBy default, " }, { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A PostgrestBuilder instance with the new type" - } - ] + "kind": "code", + "text": "`.insert()`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`.update()`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`.upsert()`" + }, + { + "kind": "text", + "text": ", and " + }, + { + "kind": "code", + "text": "`.delete()`" + }, + { + "kind": "text", + "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n" + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": "." } ] }, - "typeParameter": [ + "sources": [ { - "id": 670, - "name": "NewResult", + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 29, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L29" + } + ], + "typeParameters": [ + { + "id": 575, + "name": "Query", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The new type to cast the response data to" - } - ] + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" } }, { - "id": 675, - "name": "Options", + "id": 576, + "name": "NewResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional type configuration (defaults to { merge: true })" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 671, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 672, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 278, - "character": 22, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [672] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 278, - "character": 20, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" - } - ] - } - }, "default": { - "type": "reflection", - "declaration": { - "id": 673, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 674, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 278, - "character": 44, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [674] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 278, - "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L278" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 683, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 517, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 536, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 517, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 536, - "name": "Result" - } - ], - "name": "NonNullable", - "qualifiedName": "NonNullable", - "package": "typescript" - }, - { - "type": "reference", - "id": 522, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] + "type": "reference", + "target": 810, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, - "falseType": { + { "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 517, - "name": "NewResult" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 522, - "name": "Options" - } - ], - "name": "MergePartialResult" + "target": 550, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 553, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 416, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } - }, - "falseType": { + ], + "name": "GetResult", + "package": "@supabase/postgrest-js" + } + } + ], + "parameters": [ + { + "id": 577, + "name": "columns", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The columns to retrieve, separated by commas" + } + ] + }, + "type": { + "type": "reference", + "target": 416, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 545, + "typeArguments": [ + { + "type": "reference", + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 549, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 550, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 517, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" + "target": 417, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "type": "literal", - "value": false + "type": "reference", + "target": 552, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 553, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 673, + "name": "setHeader", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], + "signatures": [ + { + "id": 674, + "name": "setHeader", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set an HTTP header for the request." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], + "parameters": [ + { + "id": 675, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 676, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 739, - "name": "default.overrideTypes" + "target": 747, + "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 738, - "name": "default.overrideTypes" + "target": 746, + "name": "default.setHeader" } }, { - "id": 598, - "name": "range", + "id": 627, + "name": "single", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 173, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 206, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L173" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L206" } ], "signatures": [ { - "id": 599, - "name": "range", + "id": 628, + "name": "single", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Limit the query result by starting at an offset " + "text": "Return " }, { "kind": "code", - "text": "`from`" + "text": "`data`" }, { "kind": "text", - "text": " and ending at the offset " + "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using " }, { "kind": "code", - "text": "`to`" + "text": "`.limit(1)`" }, { "kind": "text", - "text": ".\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe " - }, - { - "kind": "code", - "text": "`from`" - }, + "text": "), otherwise this\nreturns an error." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 206, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L206" + } + ], + "typeParameters": [ + { + "id": 629, + "name": "ResultOne", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "target": 704, + "typeArguments": [ { - "kind": "text", - "text": " and " + "type": "reference", + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { - "kind": "code", - "text": "`to`" - }, + "type": "reference", + "target": 470, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 677, + "name": "then", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L84" + } + ], + "signatures": [ + { + "id": 678, + "name": "then", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": " values are 0-based and inclusive: " - }, - { - "kind": "code", - "text": "`range(1, 3)`" - }, + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ { - "kind": "text", - "text": " will include the second, third\nand fourth rows of the query." + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] } ] }, - "parameters": [ + "sources": [ { - "id": 600, - "name": "from", - "kind": 32768, - "kindString": "Parameter", + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L84" + } + ], + "typeParameters": [ + { + "id": 679, + "name": "TResult1", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "comment": { - "summary": [ + "default": { + "type": "reference", + "target": 803, + "typeArguments": [ { - "kind": "text", - "text": "The starting index from which to limit the result" + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } }, { - "id": 601, - "name": "to", - "kind": 32768, - "kindString": "Parameter", + "id": 680, + "name": "TResult2", + "variant": "typeParam", + "kind": 131072, "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 681, + "name": "onfulfilled", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The last index to which to limit the result" + "text": "The callback to execute when the Promise is resolved." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 682, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 91, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L91" + } + ], + "signatures": [ + { + "id": 683, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 91, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L91" + } + ], + "parameters": [ + { + "id": 684, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 803, + "typeArguments": [ + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] } }, { - "id": 602, - "name": "options", + "id": 685, + "name": "onrejected", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Named parameters" + "text": "The callback to execute when the Promise is rejected." } ] }, - "originalName": "__namedParameters", "type": { - "type": "reflection", - "declaration": { - "id": 603, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 604, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Deprecated, use " - }, - { - "kind": "code", - "text": "`options.referencedTable`" - }, - { - "kind": "text", - "text": "\ninstead" - } - ] - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 179, - "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L179" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to limit rows of referenced\ntables instead of the parent table" - } - ] - }, + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 686, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 179, - "character": 32, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L179" + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 98, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L98" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [604, 605] - } - ], - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 179, - "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L179" + "signatures": [ + { + "id": 687, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 98, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L98" + } + ], + "parameters": [ + { + "id": 688, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] } - ] - } - }, - "defaultValue": "{}" + } + ] + } } ], "type": { "type": "reference", - "id": 530, + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" + "type": "union", + "types": [ + { + "type": "reference", + "target": 520, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 521, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ] } ], - "name": "default" + "name": "PromiseLike", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 751, + "name": "default.then" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "target": 750, + "name": "default.then" + } }, { - "id": 631, - "name": "returns", + "id": 671, + "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 328, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 70, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L328" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L70" } ], "signatures": [ { - "id": 632, - "name": "returns", + "id": 672, + "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Override the type of the returned " - }, - { - "kind": "code", - "text": "`data`" + "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n" }, { - "kind": "text", - "text": "." - } - ], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "Use overrideTypes() method at the end of your call chain instead" - } - ] + "kind": "inline-tag", + "tag": "@link", + "text": "https://github.com/supabase/supabase-js/issues/92", + "target": "https://github.com/supabase/supabase-js/issues/92" } ] }, - "typeParameter": [ + "sources": [ { - "id": 633, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The new result type to override with" - } - ] - } + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestBuilder.ts#L70" } ], "type": { - "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, + "type": "intersection", + "types": [ { "type": "reference", + "target": 545, "typeArguments": [ { "type": "reference", - "id": 536, - "name": "Result" + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 549, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 550, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 553, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true }, { "type": "reference", - "id": 480, - "name": "NewResult" + "target": 554, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 539, - "name": "Method" + "target": 704, + "typeArguments": [ + { + "type": "reference", + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } - ], - "name": "default" + ] }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "id": 736, - "name": "default.returns" + "target": 745, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 744, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [546] + }, + { + "title": "Properties", + "children": [659, 662, 657, 670, 655, 658, 660, 661, 656] + }, + { + "title": "Methods", + "children": [ + 624, 633, 637, 635, 609, 652, 630, 578, 689, 616, 649, 647, 573, 673, 627, 677, 671 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 11, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L11" + } + ], + "typeParameters": [ + { + "id": 697, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 698, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 699, + "name": "Row", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 700, + "name": "Result", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 701, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 702, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 703, + "name": "Method", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 704, + "typeArguments": [ + { + "type": "reference", + "target": 548, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "default", + "package": "@supabase/postgrest-js" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 169, + "name": "PostgrestFilterBuilder" + } + ] + }, + { + "id": 790, + "name": "PostgrestResponseFailure", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 793, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L24" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 792, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L23" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 791, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L22" + } + ], + "type": { + "type": "reference", + "target": 776, + "name": "PostgrestError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 794, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L13" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.status" + } + }, + { + "id": 795, + "name": "statusText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L14" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.statusText" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [793, 792, 791, 794, 795] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 21, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L21" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseBase" + }, + "name": "PostgrestResponseBase", + "package": "@supabase/postgrest-js" + } + ] + }, + { + "id": 796, + "name": "PostgrestResponseSuccess", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 799, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" } + ] + } + }, + { + "id": 798, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L18" } ], - "overwrites": { + "type": { "type": "reference", - "id": 735, - "name": "default.returns" + "target": 802, + "name": "T", + "package": "@supabase/postgrest-js", + "qualifiedName": "PostgrestResponseSuccess.T", + "refersToTypeParameter": true } }, { - "id": 629, - "name": "rollback", - "kind": 2048, - "kindString": "Method", + "id": 797, + "name": "error", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 317, + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 17, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L317" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L17" } ], - "signatures": [ + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 800, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ { - "id": 630, - "name": "rollback", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Rollback the query.\n\n" - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " will still be returned, but the query is not committed." - } - ] - }, - "type": { - "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" - } - ], - "name": "default" - } + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L13" } - ] + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.status" + } }, { - "id": 555, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, + "id": 801, + "name": "statusText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 29, + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 14, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L14" } ], - "signatures": [ + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.statusText" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [799, 798, 797, 800, 801] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 16, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L16" + } + ], + "typeParameters": [ + { + "id": 802, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseBase" + }, + "name": "PostgrestResponseBase", + "package": "@supabase/postgrest-js" + } + ] + }, + { + "id": 807, + "name": "PostgrestClientOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 74, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L74" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 808, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 556, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform a SELECT on the query result.\n\nBy default, " - }, - { - "kind": "code", - "text": "`.insert()`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`.update()`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`.upsert()`" - }, - { - "kind": "text", - "text": ", and " - }, - { - "kind": "code", - "text": "`.delete()`" - }, - { - "kind": "text", - "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n" - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": "." - } - ] + "id": 809, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "typeParameter": [ - { - "id": 557, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 558, - "name": "NewResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 783, - "typeArguments": [ - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 404, - "name": "Query" - }, - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ + "sources": [ { - "id": 559, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The columns to retrieve, separated by commas" - } - ] - }, - "type": { - "type": "reference", - "id": 404, - "name": "Query", - "dereferenced": {} - } + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 75, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L75" } ], "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [809] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 74, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L74" + } + ] + } + } + }, + { + "id": 805, + "name": "PostgrestMaybeSingleResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 31, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L31" + } + ], + "typeParameters": [ + { + "id": 806, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reference", + "target": 803, + "typeArguments": [ + { + "type": "union", + "types": [ + { "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 405, - "name": "NewResultOne" - } - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" - } - ], - "name": "default" + "target": 806, + "name": "T", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 788, + "name": "PostgrestResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 32, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L32" + } + ], + "typeParameters": [ + { + "id": 789, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reference", + "target": 803, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 789, + "name": "T", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 803, + "name": "PostgrestSingleResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types.ts", + "line": 30, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/types.ts#L30" + } + ], + "typeParameters": [ + { + "id": 804, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 796, + "typeArguments": [ + { + "type": "reference", + "target": 804, + "name": "T", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" + }, + { + "type": "reference", + "target": 790, + "name": "PostgrestResponseFailure", + "package": "@supabase/postgrest-js" + } + ] + } + }, + { + "id": 810, + "name": "UnstableGetResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Main entry point for constructing the result type of a PostgREST query." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/select-query-parser/result.ts", + "line": 37, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/select-query-parser/result.ts#L37" + } + ], + "typeParameters": [ + { + "id": 811, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Database schema." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 812, + "name": "Row", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of a row in the current table." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } - } - ] + ], + "name": "Record", + "package": "typescript" + } }, { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", + "id": 813, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "sources": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the current table or view." + } + ] + } + }, + { + "id": 814, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relationships of the current table." + } + ] + } + }, + { + "id": 815, + "name": "Query", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The select query string literal to parse." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 816, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 807, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/utils.ts", + "qualifiedName": "IsAny" + }, + "typeArguments": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 78, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L78" + "type": "reference", + "target": 811, + "name": "Schema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set an HTTP header for the request." - } - ] + "name": "IsAny", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "ParseQuery" + }, + "typeArguments": [ + { + "type": "reference", + "target": 815, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ParseQuery", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "inferred", + "name": "ParsedQuery" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "Ast.Node" }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { + "name": "Ast.Node", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 813, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "string" + }, + "trueType": { "type": "reference", - "id": 530, + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ProcessNodesWithoutSchema" + }, "typeArguments": [ { "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 534, - "name": "Schema" - }, - { - "type": "reference", - "id": 535, - "name": "Row" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, - { - "type": "reference", - "id": 537, - "name": "RelationName" - }, - { - "type": "reference", - "id": 538, - "name": "Relationships" - }, - { - "type": "reference", - "id": 539, - "name": "Method" + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "default" + "name": "ProcessNodesWithoutSchema", + "package": "@supabase/postgrest-js" }, - "inheritedFrom": { - "type": "reference", - "id": 720, - "name": "default.setHeader" + "falseType": { + "type": "intrinsic", + "name": "any" } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } - ], - "inheritedFrom": { - "type": "reference", - "id": 719, - "name": "default.setHeader" + }, + "falseType": { + "type": "intrinsic", + "name": "any" } }, - { - "id": 609, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L206" - } - ], - "signatures": [ - { - "id": 610, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Return " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using " + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 814, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": null + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "ParseQuery" + }, + "typeArguments": [ + { + "type": "reference", + "target": 815, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ParseQuery", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "inferred", + "name": "ParsedQuery" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "Ast.Node" }, + "name": "Ast.Node", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "RPCCallNodes" + }, + "typeArguments": [ { - "kind": "code", - "text": "`.limit(1)`" + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { - "kind": "text", - "text": "), otherwise this\nreturns an error." - } - ] - }, - "typeParameter": [ - { - "id": 611, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { "type": "conditional", "checkType": { "type": "reference", - "id": 536, - "name": "Result" + "target": 813, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } + "type": "intrinsic", + "name": "string" }, "trueType": { "type": "reference", - "name": "ResultOne" + "target": 813, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "falseType": { - "type": "intrinsic", - "name": "never" + "type": "literal", + "value": "rpc_call" } - } - } - ], - "type": { - "type": "reference", - "id": 683, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 458, - "name": "ResultOne" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 84, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L84" - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 776, - "typeArguments": [ - { - "type": "reference", - "id": 536, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 91, - "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L91" - } - ], - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 776, - "typeArguments": [ - { - "type": "reference", - "id": 536, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 505, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 505, - "name": "TResult1" - } - ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 98, - "character": 18, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L98" - } - ], - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 506, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 506, - "name": "TResult2" - } - ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reference", - "id": 505, - "name": "TResult1" - }, - { - "type": "reference", - "id": 506, - "name": "TResult2" - } - ] + "type": "reference", + "target": 812, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "RPCCallNodes", + "package": "@supabase/postgrest-js" }, - "inheritedFrom": { + "falseType": { "type": "reference", - "id": 724, - "name": "default.then" + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } + }, + "falseType": { + "type": "reference", + "target": 812, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } - ], - "inheritedFrom": { - "type": "reference", - "id": 723, - "name": "default.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestBuilder.ts#L70" - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "ParseQuery" + }, + "typeArguments": [ + { + "type": "reference", + "target": 815, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ParseQuery", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "inferred", + "name": "ParsedQuery" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "Ast.Node" }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "https://github.com/supabase/supabase-js/issues/92", - "target": "https://github.com/supabase/supabase-js/issues/92" - } - ] + "name": "Ast.Node", + "package": "@supabase/postgrest-js" + } }, - "type": { - "type": "intersection", - "types": [ - { + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 813, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "string" + }, + "trueType": { + "type": "conditional", + "checkType": { "type": "reference", - "id": 530, - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" + "target": 814, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/types.ts", + "qualifiedName": "GenericRelationship" }, + "name": "GenericRelationship", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ProcessNodes" + }, + "typeArguments": [ { "type": "reference", - "id": 534, - "name": "Schema" + "target": 816, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 535, - "name": "Row" + "target": 811, + "name": "Schema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 536, - "name": "Result" + "target": 812, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 537, - "name": "RelationName" + "target": 813, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 538, - "name": "Relationships" + "target": 814, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 539, - "name": "Method" + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "default" + "name": "ProcessNodes", + "package": "@supabase/postgrest-js" }, - { + "falseType": { "type": "reference", - "id": 683, + "target": { + "sourceFileName": "src/select-query-parser/utils.ts", + "qualifiedName": "SelectQueryError" + }, "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 536, - "name": "Result" - }, { "type": "literal", - "value": true + "value": "Invalid Relationships cannot infer result type" } ], - "name": "default" + "name": "SelectQueryError", + "package": "@supabase/postgrest-js" } - ] + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/utils.ts", + "qualifiedName": "SelectQueryError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "Invalid RelationName cannot infer result type" + } + ], + "name": "SelectQueryError", + "package": "@supabase/postgrest-js" + } }, - "inheritedFrom": { + "falseType": { "type": "reference", - "id": 718, - "name": "default.throwOnError" + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } + }, + "falseType": { + "type": "intrinsic", + "name": "never" } - ], - "inheritedFrom": { - "type": "reference", - "id": 717, - "name": "default.throwOnError" } } - ], - "groups": [ - { - "title": "Constructors", - "children": [531] - }, - { - "title": "Properties", - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "children": [ - 606, 615, 619, 617, 591, 634, 612, 560, 668, 598, 631, 629, 555, 652, 609, 656, 650 - ] - } - ], + } + }, + { + "id": 1, + "name": "default", + "variant": "declaration", + "kind": 32, + "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 11, - "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestTransformBuilder.ts#L11" + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 17, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L17" } ], - "typeParameters": [ - { - "id": 676, - "name": "ClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 780, - "name": "ClientServerOptions" - } - }, - { - "id": 677, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 678, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", + "type": { + "type": "reflection", + "declaration": { + "id": 2, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "children": [ + { + "id": 7, + "name": "PostgrestBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L22" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 704, + "name": "default", + "package": "@supabase/postgrest-js" + } } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "RelationName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 681, - "name": "Relationships", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 682, - "name": "Method", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 683, - "typeArguments": [ + }, { - "type": "reference", - "id": 533, - "name": "ClientOptions" + "id": 3, + "name": "PostgrestClient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L18" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 9, + "name": "default", + "package": "@supabase/postgrest-js" + } + } }, { - "type": "reference", - "id": 536, - "name": "Result" + "id": 8, + "name": "PostgrestError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L23" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 776, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 5, + "name": "PostgrestFilterBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L20" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 169, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 4, + "name": "PostgrestQueryBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L19" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 74, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 6, + "name": "PostgrestTransformBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L21" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 545, + "name": "default", + "package": "@supabase/postgrest-js" + } + } } ], - "name": "default" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 161, - "name": "PostgrestFilterBuilder" + "groups": [ + { + "title": "Properties", + "children": [7, 3, 8, 5, 4, 6] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 17, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/postgrest-js/src/index.ts#L17" + } + ] } - ] + } + } + ], + "groups": [ + { + "title": "Classes", + "children": [704, 9, 776, 169, 74, 545] + }, + { + "title": "Interfaces", + "children": [790, 796] + }, + { + "title": "Type Aliases", + "children": [807, 805, 788, 803, 810] + }, + { + "title": "Variables", + "children": [1] + } + ], + "packageName": "@supabase/postgrest-js", + "readme": [ + { + "kind": "text", + "text": "# " + }, + { + "kind": "code", + "text": "`postgrest-js`" + }, + { + "kind": "text", + "text": "\n\n[![Build](https://github.com/supabase/postgrest-js/workflows/CI/badge.svg)](https://github.com/supabase/postgrest-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/postgrest-js)](https://www.npmjs.com/package/@supabase/postgrest-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/postgrest-js)](#license)\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/postgrest-js)](https://pkg.pr.new/~/supabase/postgrest-js)\n\nIsomorphic JavaScript client for [PostgREST](https://postgrest.org). The goal of this library is to make an \"ORM-like\" restful interface.\n\nFull documentation can be found [here](https://supabase.github.io/supabase-js/postgrest-js/v2/spec.json).\n\n### Quick start\n\nInstall\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install @supabase/postgrest-js\n```" + }, + { + "kind": "text", + "text": "\n\nUsage\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { PostgrestClient } from '@supabase/postgrest-js'\n\nconst REST_URL = 'http://localhost:3000'\nconst postgrest = new PostgrestClient(REST_URL)\n```" + }, + { + "kind": "text", + "text": "\n\n- select(): https://supabase.com/docs/reference/javascript/select\n- insert(): https://supabase.com/docs/reference/javascript/insert\n- update(): https://supabase.com/docs/reference/javascript/update\n- delete(): https://supabase.com/docs/reference/javascript/delete\n\n#### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`postgrest-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { PostgrestClient } from '@supabase/postgrest-js'\n\nconst REST_URL = 'http://localhost:3000'\nconst postgrest = new PostgrestClient(REST_URL, {\n fetch: (...args) => fetch(...args),\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Complete build (from monorepo root)\nnpx nx build postgrest-js\n\n# Build with watch mode for development\nnpx nx build postgrest-js --watch\n\n# Individual build targets\nnpx nx build:cjs postgrest-js # CommonJS build\nnpx nx build:esm postgrest-js # ES Modules wrapper\n\n# Other useful commands\nnpx nx clean postgrest-js # Clean build artifacts\nnpx nx format postgrest-js # Format code with Prettier\nnpx nx lint postgrest-js # Run ESLint\nnpx nx type-check postgrest-js # TypeScript type checking\nnpx nx docs postgrest-js # Generate documentation\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs\n\n- **CommonJS (" + }, + { + "kind": "code", + "text": "`dist/cjs/`" + }, + { + "kind": "text", + "text": ")** - For Node.js environments\n - " + }, + { + "kind": "code", + "text": "`index.js`" + }, + { + "kind": "text", + "text": " - Main entry point\n - " + }, + { + "kind": "code", + "text": "`index.d.ts`" + }, + { + "kind": "text", + "text": " - TypeScript definitions\n- **ES Modules (" + }, + { + "kind": "code", + "text": "`dist/esm/`" + }, + { + "kind": "text", + "text": ")** - For modern bundlers\n - " + }, + { + "kind": "code", + "text": "`wrapper.mjs`" + }, + { + "kind": "text", + "text": " - ESM wrapper that imports CommonJS\n\n#### Special Build Setup\n\nUnlike other packages, postgrest-js uses a hybrid approach:\n\n- The main code is compiled to CommonJS\n- An ESM wrapper (" + }, + { + "kind": "code", + "text": "`wrapper.mjs`" + }, + { + "kind": "text", + "text": ") is provided for ES Module environments\n- This ensures maximum compatibility across different JavaScript environments\n\nThe " + }, + { + "kind": "code", + "text": "`wrapper.mjs`" + }, + { + "kind": "text", + "text": " file simply re-exports the CommonJS build, allowing the package to work seamlessly in both CommonJS and ESM contexts.\n\n### Testing\n\n**Docker Required!** The postgrest-js tests need a local PostgreSQL database and PostgREST server running in Docker containers.\n\n#### Quick Start\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run all tests (from monorepo root)\nnpx nx test postgrest-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis single command automatically:\n\n1. Cleans any existing test containers\n2. Starts PostgreSQL database and PostgREST server in Docker\n3. Waits for services to be ready\n4. Runs format checking\n5. Runs TypeScript type tests\n6. Generates and validates TypeScript types from the database schema\n7. Runs all Jest unit tests with coverage\n8. Runs CommonJS and ESM smoke tests\n9. Cleans up Docker containers\n\n#### Individual Test Commands\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run tests with coverage\nnpx nx test:run postgrest-js\n\n# Update test snapshots and regenerate types\nnpx nx test:update postgrest-js\n\n# Type checking only\nnpx nx test:types postgrest-js\n\n# Format checking\nnpx nx format:check postgrest-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Infrastructure\n\nThe tests use Docker Compose to spin up:\n\n- **PostgreSQL** - Database with test schema and dummy data\n- **PostgREST** - REST API server that the client connects to\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Manually manage test infrastructure\nnpx nx db:run postgrest-js # Start containers\nnpx nx db:clean postgrest-js # Stop and remove containers\n```" + }, + { + "kind": "text", + "text": "\n\n#### What " + }, + { + "kind": "code", + "text": "`test:update`" + }, + { + "kind": "text", + "text": " Does\n\nThe " + }, + { + "kind": "code", + "text": "`test:update`" + }, + { + "kind": "text", + "text": " command is useful when:\n\n- Database schema changes require updating TypeScript types\n- Test snapshots need to be updated after intentional changes\n\nIt performs these steps:\n\n1. Starts fresh database containers\n2. **Regenerates TypeScript types** from the actual database schema\n3. **Updates Jest snapshots** for all tests\n4. Cleans up containers\n\n#### Test Types Explained\n\n- **Format Check** - Ensures code formatting with Prettier\n- **Type Tests** - Validates TypeScript types using " + }, + { + "kind": "code", + "text": "`tstyche`" + }, + { + "kind": "text", + "text": "\n- **Generated Types Test** - Ensures generated types match database schema\n- **Unit Tests** - Jest tests covering all client functionality\n- **Smoke Tests** - Basic import/require tests for CommonJS and ESM\n\n#### Prerequisites\n\n- **Docker** must be installed and running\n- **Port 3000** - PostgREST server (API)\n- **Port 8080** - Database schema endpoint (for type generation)\n\n**Note:** Unlike a full Supabase instance, this uses a minimal PostgREST setup specifically for testing the client library.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## License\n\nThis repo is licensed under MIT License.\n\n## Sponsors\n\nWe are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves. Thanks to these sponsors who are making the OSS ecosystem better for everyone.\n\n[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase)" + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/index.ts", + "qualifiedName": "default" + }, + "2": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object" + }, + "3": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestClient" + }, + "4": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestQueryBuilder" + }, + "5": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestFilterBuilder" + }, + "6": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestTransformBuilder" + }, + "7": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestBuilder" + }, + "8": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestError" + }, + "9": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "10": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.__constructor" + }, + "11": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "12": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Database" + }, + "13": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "14": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "15": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "16": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "17": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.SchemaName" + }, + "18": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Schema" + }, + "19": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "url" + }, + "20": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__1" + }, + "21": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "22": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.headers" + }, + "23": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.schema" + }, + "24": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.fetch" + }, + "25": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "26": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "27": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "28": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "29": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "30": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "31": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "32": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.url" + }, + "33": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.headers" + }, + "34": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.schemaName" + }, + "35": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.fetch" + }, + "36": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "37": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "38": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "39": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "40": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "41": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "42": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "43": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.from" + }, + "44": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.from" + }, + "45": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "TableName" + }, + "46": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "Table" + }, + "47": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "relation" + }, + "48": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.from" + }, + "49": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "ViewName" + }, + "50": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "View" + }, + "51": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "relation" + }, + "52": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.schema" + }, + "53": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.schema" + }, + "54": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "DynamicSchema" + }, + "55": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "schema" + }, + "56": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.rpc" + }, + "57": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.rpc" + }, + "58": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "FnName" + }, + "59": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "Fn" + }, + "60": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "fn" + }, + "61": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "args" + }, + "62": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__2" + }, + "63": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "64": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.head" + }, + "65": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.get" + }, + "66": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.count" + }, + "67": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Database" + }, + "68": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "69": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "70": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "71": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "72": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.SchemaName" + }, + "73": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Schema" + }, + "74": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "75": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "76": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "77": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "78": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Schema" + }, + "79": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relation" + }, + "80": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "81": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "82": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "83": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.Relationships" + }, + "84": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "url" + }, + "85": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__1" + }, + "86": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "87": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.headers" + }, + "88": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.schema" + }, + "89": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "90": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "91": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "92": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "93": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "94": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "95": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "96": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "97": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.url" + }, + "98": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.headers" + }, + "99": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.schema" + }, + "100": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.signal" + }, + "101": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.fetch" + }, + "102": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "103": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "104": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "105": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "106": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "107": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "108": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "109": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.select" + }, + "110": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.select" + }, + "111": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Query" + }, + "112": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "ResultOne" + }, + "113": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "columns" + }, + "114": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__1" + }, + "115": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "116": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.head" + }, + "117": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "118": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.insert" + }, + "119": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.insert" + }, + "120": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "121": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "122": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "123": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "124": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "125": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.insert" + }, + "126": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "127": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "128": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "129": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "130": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "131": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.defaultToNull" + }, + "132": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.upsert" + }, + "133": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.upsert" + }, + "134": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "135": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "136": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "137": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "138": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.onConflict" + }, + "139": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.ignoreDuplicates" + }, + "140": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "141": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.upsert" + }, + "142": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "143": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "144": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "145": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "146": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.onConflict" + }, + "147": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.ignoreDuplicates" + }, + "148": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "149": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.defaultToNull" + }, + "150": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.update" + }, + "151": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.update" + }, + "152": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "153": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "154": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__1" + }, + "155": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "156": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "157": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.delete" + }, + "158": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.delete" + }, + "159": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__0" + }, + "160": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "162": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "163": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Schema" + }, + "164": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relation" + }, + "165": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "166": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "167": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "168": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.Relationships" + }, + "169": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default" + }, + "170": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "171": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "172": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "173": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Schema" + }, + "174": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Row" + }, + "175": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Result" + }, + "176": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "177": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "178": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Method" + }, + "179": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "builder" + }, + "180": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "181": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.method" + }, + "182": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.url" + }, + "183": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.headers" + }, + "184": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.schema" + }, + "185": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.body" + }, + "186": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.shouldThrowOnError" + }, + "187": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.signal" + }, + "188": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "189": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "190": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "191": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "192": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "193": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "194": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "195": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "196": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.isMaybeSingle" + }, + "197": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.eq" + }, + "198": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.eq" + }, + "199": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "200": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "201": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "202": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "203": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.neq" + }, + "204": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.neq" + }, + "205": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "206": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "207": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "208": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gt" + }, + "209": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gt" + }, + "210": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "211": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "212": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "213": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gt" + }, + "214": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "215": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "216": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gte" + }, + "217": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gte" + }, + "218": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "219": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "220": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "221": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gte" + }, + "222": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "223": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "224": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lt" + }, + "225": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lt" + }, + "226": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "227": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "228": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "229": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lt" + }, + "230": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "231": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "232": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lte" + }, + "233": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lte" + }, + "234": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "235": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "236": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "237": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lte" + }, + "238": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "239": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "240": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.like" + }, + "241": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.like" + }, + "242": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "243": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "244": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "245": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.like" + }, + "246": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "247": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "248": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAllOf" + }, + "249": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAllOf" + }, + "250": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "251": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "252": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "253": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAllOf" + }, + "254": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "255": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "256": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAnyOf" + }, + "257": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAnyOf" + }, + "258": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "259": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "260": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "261": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAnyOf" + }, + "262": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "263": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "264": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilike" + }, + "265": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilike" + }, + "266": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "267": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "268": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "269": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilike" + }, + "270": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "271": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "272": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAllOf" + }, + "273": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAllOf" + }, + "274": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "275": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "276": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "277": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAllOf" + }, + "278": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "279": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "280": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAnyOf" + }, + "281": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAnyOf" + }, + "282": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "283": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "284": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "285": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAnyOf" + }, + "286": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "287": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "288": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.is" + }, + "289": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.is" + }, + "290": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "291": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "292": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "293": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.is" + }, + "294": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "295": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "296": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.in" + }, + "297": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.in" + }, + "298": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "299": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "300": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "values" + }, + "301": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.contains" + }, + "302": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.contains" + }, + "303": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "304": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "305": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "306": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.contains" + }, + "307": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "308": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "309": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.containedBy" + }, + "310": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.containedBy" + }, + "311": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "312": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "313": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "314": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.containedBy" + }, + "315": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "316": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "317": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGt" + }, + "318": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGt" + }, + "319": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "320": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "321": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "322": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGt" + }, + "323": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "324": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "325": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGte" + }, + "326": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGte" + }, + "327": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "328": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "329": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "330": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGte" + }, + "331": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "332": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "333": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLt" + }, + "334": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLt" + }, + "335": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "336": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "337": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "338": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLt" + }, + "339": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "340": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "341": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLte" + }, + "342": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLte" + }, + "343": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "344": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "345": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "346": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLte" + }, + "347": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "348": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "349": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeAdjacent" + }, + "350": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeAdjacent" + }, + "351": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "352": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "353": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "354": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeAdjacent" + }, + "355": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "356": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "357": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.overlaps" + }, + "358": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.overlaps" + }, + "359": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "360": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "361": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "362": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.overlaps" + }, + "363": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "364": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "365": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.textSearch" + }, + "366": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.textSearch" + }, + "367": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "368": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "369": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "370": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "options" + }, + "371": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type" + }, + "372": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.config" + }, + "373": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.type" + }, + "374": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.textSearch" + }, + "375": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "376": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "377": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "options" + }, + "378": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type" + }, + "379": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.config" + }, + "380": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.type" + }, + "381": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.match" + }, + "382": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.match" + }, + "383": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "384": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "385": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.match" + }, + "386": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "387": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.not" + }, + "388": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.not" + }, + "389": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "390": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "391": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "392": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "393": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.not" + }, + "394": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "395": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "396": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "397": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.or" + }, + "398": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.or" + }, + "399": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "filters" + }, + "400": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__1" + }, + "401": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type" + }, + "402": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "403": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "404": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.filter" + }, + "405": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.filter" + }, + "406": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "407": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "408": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "409": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "410": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.filter" + }, + "411": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "412": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "413": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "414": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" + }, + "415": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" + }, + "416": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "Query" + }, + "417": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResultOne" + }, + "418": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "columns" + }, + "419": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "420": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "421": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "422": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "423": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "424": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "425": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "426": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "427": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "428": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "429": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "430": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "431": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "432": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "433": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "434": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "435": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "436": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "437": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "438": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "439": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "440": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "441": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "442": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "443": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "444": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "445": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "446": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "447": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "448": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "449": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "450": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "451": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "452": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "count" + }, + "453": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__1" + }, + "454": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "455": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "456": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "457": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "458": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "459": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "from" + }, + "460": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "to" + }, + "461": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__2" + }, + "462": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "463": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "464": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "465": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "466": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "467": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "signal" + }, + "468": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "469": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "470": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "471": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "472": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "473": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "474": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "475": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "476": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "477": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "478": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "479": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "480": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__0" + }, + "481": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "482": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.analyze" + }, + "483": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.verbose" + }, + "484": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.settings" + }, + "485": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.buffers" + }, + "486": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.wal" + }, + "487": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.format" + }, + "488": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "489": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "490": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "491": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "492": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResult" + }, + "493": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "494": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "495": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "value" + }, + "496": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.method" + }, + "497": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.url" + }, + "498": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.headers" + }, + "499": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.schema" + }, + "500": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.body" + }, + "501": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.shouldThrowOnError" + }, + "502": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.signal" }, - { - "id": 763, - "name": "PostgrestResponseFailure", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 766, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 24, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L24" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 765, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 23, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L23" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 764, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 22, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L22" - } - ], - "type": { - "type": "reference", - "id": 749, - "name": "default", - "dereferenced": { - "id": 749, - "name": "PostgrestError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error format\n\n" - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes", - "target": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes" - } - ] - }, - "children": [ - { - "id": 750, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "signatures": [ - { - "id": 751, - "name": "new PostgrestError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 752, - "name": "context", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 753, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 757, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 73, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 25, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [757, 755, 756, 754] - } - ], - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 23, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 749, - "name": "default" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 760, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 9, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L9" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 758, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 7, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 759, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 8, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L8" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [750] - }, - { - "title": "Properties", - "children": [760, 758, 759] - } - ], - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 6, - "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L6" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - } - ] - } - } - }, - { - "id": 767, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 13, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L13" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 768, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [766, 765, 764, 767, 768] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 17, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L21" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "PostgrestResponseBase" - } - ] + "503": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.fetch" }, - { - "id": 769, - "name": "PostgrestResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 772, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 19, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L19" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 771, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 18, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L18" - } - ], - "type": { - "type": "reference", - "id": 775, - "name": "T", - "dereferenced": {} - } - }, - { - "id": 770, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 17, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L17" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 773, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 13, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L13" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 774, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [772, 771, 770, 773, 774] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 16, - "character": 17, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L16" - } - ], - "typeParameters": [ - { - "id": 775, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "PostgrestResponseBase" - } - ] + "504": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "505": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "506": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "507": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "508": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "509": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "510": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "511": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.isMaybeSingle" + }, + "512": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "513": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "514": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "515": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "516": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "name" + }, + "517": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "518": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "519": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "520": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult1" + }, + "521": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult2" + }, + "522": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onfulfilled" + }, + "523": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "524": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "525": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "526": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onrejected" + }, + "527": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "528": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "529": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "reason" + }, + "530": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "531": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "532": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "533": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "Options" + }, + "534": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "535": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "536": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "537": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "538": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "539": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Schema" + }, + "540": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Row" + }, + "541": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Result" + }, + "542": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "543": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "544": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Method" + }, + "545": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default" + }, + "546": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "547": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "548": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "549": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Schema" + }, + "550": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Row" + }, + "551": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Result" + }, + "552": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "553": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "554": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Method" + }, + "555": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "builder" + }, + "556": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "557": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.method" + }, + "558": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.url" + }, + "559": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.headers" + }, + "560": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.schema" + }, + "561": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.body" + }, + "562": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.shouldThrowOnError" + }, + "563": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.signal" + }, + "564": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "565": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "566": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "567": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "568": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "569": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "570": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "571": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" }, - { - "id": 780, - "name": "PostgrestClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 74, - "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L74" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 781, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 782, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/types.ts", - "line": 75, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L75" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [782] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 74, - "character": 34, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L74" - } - ] - } - } + "572": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.isMaybeSingle" }, - { - "id": 778, - "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 31, - "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L31" - } - ], - "typeParameters": [ - { - "id": 779, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 776, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 779, - "name": "T" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "PostgrestSingleResponse" - } + "573": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" }, - { - "id": 761, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 32, - "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L32" - } - ], - "typeParameters": [ - { - "id": 762, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 776, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 762, - "name": "T" - } - } - ], - "name": "PostgrestSingleResponse" - } + "574": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" }, - { - "id": 776, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 30, - "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L30" - } - ], - "typeParameters": [ - { - "id": 777, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 769, - "name": "PostgrestResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 772, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 19, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L19" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 771, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 18, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L18" - } - ], - "type": { - "type": "reference", - "id": 775, - "name": "T", - "dereferenced": {} - } - }, - { - "id": 770, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 17, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L17" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 773, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 13, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L13" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 774, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [772, 771, 770, 773, 774] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 16, - "character": 17, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L16" - } - ], - "typeParameters": [ - { - "id": 775, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 763, - "name": "PostgrestResponseFailure", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 766, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 24, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L24" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 765, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 23, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L23" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 764, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 22, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L22" - } - ], - "type": { - "type": "reference", - "id": 749, - "name": "default", - "dereferenced": { - "id": 749, - "name": "PostgrestError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error format\n\n" - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes", - "target": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes" - } - ] - }, - "children": [ - { - "id": 750, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "signatures": [ - { - "id": 751, - "name": "new PostgrestError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 752, - "name": "context", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 753, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 757, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 73, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 25, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [757, 755, 756, 754] - } - ], - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 11, - "character": 23, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L11" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 749, - "name": "default" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 760, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 9, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L9" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 758, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 7, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 759, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 8, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L8" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [750] - }, - { - "title": "Properties", - "children": [760, 758, 759] - } - ], - "sources": [ - { - "fileName": "src/PostgrestError.ts", - "line": 6, - "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/PostgrestError.ts#L6" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - } - ] - } - } - }, - { - "id": 767, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 13, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L13" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 768, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [766, 765, 764, 767, 768] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 17, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/types.ts#L21" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "PostgrestResponseBase" - } - ] - } - ] - } + "575": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "Query" + }, + "576": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResultOne" + }, + "577": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "columns" + }, + "578": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "579": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "580": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "581": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "582": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "583": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "584": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "585": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "586": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "587": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "588": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "589": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "590": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "591": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "592": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "593": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "594": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "595": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "596": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "597": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "598": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "599": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "600": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "601": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "602": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "603": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "604": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "605": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "606": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "607": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "608": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "609": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "610": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "611": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "count" + }, + "612": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__1" + }, + "613": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "614": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" }, - { - "id": 783, - "name": "UnstableGetResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Main entry point for constructing the result type of a PostgREST query." - } - ] - }, - "sources": [ - { - "fileName": "src/select-query-parser/result.ts", - "line": 37, - "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/select-query-parser/result.ts#L37" - } - ], - "typeParameters": [ - { - "id": 784, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Database schema." - } - ] - }, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 785, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of a row in the current table." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 786, - "name": "RelationName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the current table or view." - } - ] - } - }, - { - "id": 787, - "name": "Relationships", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Relationships of the current table." - } - ] - } - }, - { - "id": 788, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The select query string literal to parse." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 789, - "name": "ClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 780, - "name": "ClientServerOptions" - } - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 784, - "name": "Schema" - } - ], - "name": "IsAny" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 788, - "name": "Query" - } - ], - "name": "ParseQuery" - }, - "extendsType": { - "type": "inferred", - "name": "ParsedQuery" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "name": "ParsedQuery" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Ast.Node" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 786, - "name": "RelationName" - }, - "extendsType": { - "type": "intrinsic", - "name": "string" - }, - "trueType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "ParsedQuery" - } - ], - "name": "ProcessNodesWithoutSchema" - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "reference", - "name": "ParsedQuery" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 787, - "name": "Relationships" - }, - "extendsType": { - "type": "literal", - "value": null - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 788, - "name": "Query" - } - ], - "name": "ParseQuery" - }, - "extendsType": { - "type": "inferred", - "name": "ParsedQuery" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "name": "ParsedQuery" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Ast.Node" - } - }, - "trueType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "ParsedQuery" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 786, - "name": "RelationName" - }, - "extendsType": { - "type": "intrinsic", - "name": "string" - }, - "trueType": { - "type": "reference", - "id": 786, - "name": "RelationName" - }, - "falseType": { - "type": "literal", - "value": "rpc_call" - } - }, - { - "type": "reference", - "id": 785, - "name": "Row" - } - ], - "name": "RPCCallNodes" - }, - "falseType": { - "type": "reference", - "name": "ParsedQuery" - } - }, - "falseType": { - "type": "reference", - "id": 785, - "name": "Row" - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 788, - "name": "Query" - } - ], - "name": "ParseQuery" - }, - "extendsType": { - "type": "inferred", - "name": "ParsedQuery" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "name": "ParsedQuery" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Ast.Node" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 786, - "name": "RelationName" - }, - "extendsType": { - "type": "intrinsic", - "name": "string" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 787, - "name": "Relationships" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "GenericRelationship" - } - }, - "trueType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 789, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 784, - "name": "Schema" - }, - { - "type": "reference", - "id": 785, - "name": "Row" - }, - { - "type": "reference", - "id": 786, - "name": "RelationName" - }, - { - "type": "reference", - "id": 787, - "name": "Relationships" - }, - { - "type": "reference", - "name": "ParsedQuery" - } - ], - "name": "ProcessNodes" - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "literal", - "value": "Invalid Relationships cannot infer result type" - } - ], - "name": "SelectQueryError" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "literal", - "value": "Invalid RelationName cannot infer result type" - } - ], - "name": "SelectQueryError" - } - }, - "falseType": { - "type": "reference", - "name": "ParsedQuery" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - } + "615": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "616": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "617": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "618": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "from" + }, + "619": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "to" + }, + "620": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__2" + }, + "621": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "622": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "623": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "624": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "625": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "626": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "signal" + }, + "627": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "628": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "629": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "630": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "631": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "632": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "633": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "634": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "635": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "636": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "637": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "638": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "639": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__0" + }, + "640": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "641": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.analyze" + }, + "642": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.verbose" + }, + "643": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.settings" + }, + "644": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.buffers" + }, + "645": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.wal" + }, + "646": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.format" + }, + "647": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "648": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "649": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "650": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "651": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResult" + }, + "652": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "653": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "654": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "value" + }, + "655": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.method" + }, + "656": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.url" + }, + "657": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.headers" + }, + "658": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.schema" + }, + "659": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.body" + }, + "660": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.shouldThrowOnError" + }, + "661": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.signal" + }, + "662": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.fetch" + }, + "663": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "664": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "665": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "666": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "667": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "668": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "669": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "670": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.isMaybeSingle" + }, + "671": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "672": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "673": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "674": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "675": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "name" + }, + "676": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "677": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "678": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "679": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult1" + }, + "680": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult2" + }, + "681": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onfulfilled" + }, + "682": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "683": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "684": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "685": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onrejected" + }, + "686": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" }, - { - "id": 1, - "name": "default", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 17, - "character": 0, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L17" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 2, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 7, - "name": "PostgrestBuilder", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L22" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 683, - "name": "default" - } - } - }, - { - "id": 3, - "name": "PostgrestClient", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 18, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L18" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 9, - "name": "default" - } - } - }, - { - "id": 8, - "name": "PostgrestError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 23, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L23" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 749, - "name": "default" - } - } - }, - { - "id": 5, - "name": "PostgrestFilterBuilder", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L20" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 161, - "name": "default" - } - } - }, - { - "id": 4, - "name": "PostgrestQueryBuilder", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 19, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L19" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 72, - "name": "default" - } - } - }, - { - "id": 6, - "name": "PostgrestTransformBuilder", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 21, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L21" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 530, - "name": "default" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [7, 3, 8, 5, 4, 6] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 17, - "character": 15, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L17" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Classes", - "children": [683, 9, 749, 161, 72, 530] + "687": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" }, - { - "title": "Interfaces", - "children": [763, 769] + "688": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "reason" }, - { - "title": "Type Aliases", - "children": [780, 778, 761, 776, 783] + "689": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" }, - { - "title": "Variables", - "children": [1] + "690": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "691": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "692": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "Options" + }, + "693": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "694": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "695": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "696": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "697": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "698": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Schema" + }, + "699": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Row" + }, + "700": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Result" + }, + "701": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "702": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "703": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Method" + }, + "704": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "705": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "706": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "707": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "708": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.Result" + }, + "709": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ThrowOnError" + }, + "710": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "builder" + }, + "711": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "712": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.method" + }, + "713": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.url" + }, + "714": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.headers" + }, + "715": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.schema" + }, + "716": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.body" + }, + "717": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.shouldThrowOnError" + }, + "718": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.signal" + }, + "719": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "720": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "721": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "722": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "723": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "724": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "725": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "726": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "727": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.isMaybeSingle" + }, + "728": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.method" + }, + "729": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.url" + }, + "730": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.headers" + }, + "731": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.schema" + }, + "732": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.body" + }, + "733": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.shouldThrowOnError" + }, + "734": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.signal" + }, + "735": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.fetch" + }, + "736": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "737": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "738": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "739": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "740": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "741": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "742": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "743": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.isMaybeSingle" + }, + "744": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "745": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "746": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "747": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "748": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "name" + }, + "749": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "750": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "751": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "752": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult1" + }, + "753": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult2" + }, + "754": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onfulfilled" + }, + "755": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "756": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "757": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "758": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onrejected" + }, + "759": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "760": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "761": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "reason" + }, + "762": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.returns" + }, + "763": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.returns" + }, + "764": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "765": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "766": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "767": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "768": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "Options" + }, + "769": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "770": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "771": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "772": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "773": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "774": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.Result" + }, + "775": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ThrowOnError" + }, + "776": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default" + }, + "777": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.__constructor" + }, + "778": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default" + }, + "779": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "context" + }, + "780": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type" + }, + "781": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.message" + }, + "782": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.details" + }, + "783": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.hint" + }, + "784": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.code" + }, + "785": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.details" + }, + "786": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.hint" + }, + "787": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.code" + }, + "788": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponse" + }, + "789": { + "sourceFileName": "src/types.ts", + "qualifiedName": "T" + }, + "790": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseFailure" + }, + "791": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseFailure.error" + }, + "792": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseFailure.data" + }, + "793": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseFailure.count" + }, + "794": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseBase.status" + }, + "795": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseBase.statusText" + }, + "796": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseSuccess" + }, + "797": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseSuccess.error" + }, + "798": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseSuccess.data" + }, + "799": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseSuccess.count" + }, + "800": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseBase.status" + }, + "801": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseBase.statusText" + }, + "802": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestResponseSuccess.T" + }, + "803": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestSingleResponse" + }, + "804": { + "sourceFileName": "src/types.ts", + "qualifiedName": "T" + }, + "805": { + "sourceFileName": "src/types.ts", + "qualifiedName": "PostgrestMaybeSingleResponse" + }, + "806": { + "sourceFileName": "src/types.ts", + "qualifiedName": "T" + }, + "807": { + "sourceFileName": "src/types.ts", + "qualifiedName": "ClientServerOptions" + }, + "808": { + "sourceFileName": "src/types.ts", + "qualifiedName": "__type" + }, + "809": { + "sourceFileName": "src/types.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "810": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "GetResult" + }, + "811": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Schema" + }, + "812": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Row" + }, + "813": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "RelationName" + }, + "814": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Relationships" + }, + "815": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Query" + }, + "816": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ClientOptions" } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/postgrest-js/blob/ede89d0/src/index.ts#L2" + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 } - ] + } }, { "id": 0, @@ -82104,10 +68286,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 102, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L102" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L94" } ], "type": { @@ -82123,10 +68305,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 104, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 96, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L104" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L96" } ], "type": { @@ -82142,10 +68324,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 103, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 95, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L103" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L95" } ], "type": { @@ -82161,10 +68343,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 105, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 97, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L105" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L97" } ], "type": { @@ -82181,10 +68363,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 101, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 93, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L101" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L93" } ] }, @@ -82203,10 +68385,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 95, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 87, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L95" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L87" } ], "type": { @@ -82222,10 +68404,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 98, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 90, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L98" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L90" } ], "type": { @@ -82241,10 +68423,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 96, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 88, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L96" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L88" } ], "type": { @@ -82260,10 +68442,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 97, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 89, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L97" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L89" } ], "type": { @@ -82280,10 +68462,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 94, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 86, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L94" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L86" } ] }, @@ -82302,10 +68484,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 37, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 33, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L37" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L33" } ], "type": { @@ -82321,10 +68503,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 38, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 34, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L34" } ], "type": { @@ -82340,10 +68522,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 36, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L32" } ], "type": { @@ -82360,10 +68542,10 @@ ], "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 35, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 31, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L31" } ] }, @@ -82382,10 +68564,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 112, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 104, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L112" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L104" } ], "type": { @@ -82401,10 +68583,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 111, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 103, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L111" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L103" } ], "type": { @@ -82420,10 +68602,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 109, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L109" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L101" } ], "type": { @@ -82439,10 +68621,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 110, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 102, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L110" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L102" } ], "type": { @@ -82459,10 +68641,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 108, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 100, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L108" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L100" } ] }, @@ -82489,10 +68671,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 151, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 143, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L143" } ], "signatures": [ @@ -82504,10 +68686,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 151, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 143, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L143" } ], "parameters": [ @@ -82577,10 +68759,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 132, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 124, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L124" } ], "type": { @@ -82593,10 +68775,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 132, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 124, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L124" } ], "indexSignatures": [ @@ -82608,10 +68790,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 133, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 125, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L133" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L125" } ], "parameters": [ @@ -82646,16 +68828,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 136, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 128, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L136" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L128" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -82670,10 +68852,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 135, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 127, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L135" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L127" } ], "type": { @@ -82686,10 +68868,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 135, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 127, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L135" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L127" } ], "indexSignatures": [ @@ -82701,10 +68883,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 135, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L135" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L127" } ], "parameters": [ @@ -82739,10 +68921,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 137, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 129, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L137" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L129" } ], "type": { @@ -82758,10 +68940,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 134, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 126, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L134" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L126" } ], "type": { @@ -82778,10 +68960,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 133, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 125, "character": 19, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L133" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L125" } ] } @@ -82801,10 +68983,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 147, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 139, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L139" } ], "type": { @@ -82820,10 +69002,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 142, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 134, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L142" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L134" } ], "type": { @@ -82840,10 +69022,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 143, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 135, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L143" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L135" } ], "type": { @@ -82867,10 +69049,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 154, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 146, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L154" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L146" } ], "type": { @@ -82889,10 +69071,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 146, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 138, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L138" } ], "type": { @@ -82911,10 +69093,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 149, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 141, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L149" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L141" } ], "type": { @@ -82930,10 +69112,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 145, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 137, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L145" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L137" } ], "type": { @@ -82959,10 +69141,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 144, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 136, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L144" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L136" } ], "type": { @@ -82986,10 +69168,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 155, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 147, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L155" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L147" } ], "type": { @@ -83008,10 +69190,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 141, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 133, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L141" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L133" } ], "type": { @@ -83033,10 +69215,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 148, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 140, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L148" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L140" } ], "type": { @@ -83052,10 +69234,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 140, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 132, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L140" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L132" } ], "type": { @@ -83081,10 +69263,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 153, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 145, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L153" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L145" } ], "type": { @@ -83100,70 +69282,70 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 370, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 342, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L342" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 375, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 347, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L347" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 380, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L352" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 385, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 357, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L385" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L357" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 390, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 362, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L390" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L362" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 395, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 367, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L367" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 400, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 372, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L372" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 411, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 383, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L411" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L383" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 420, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L420" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L392" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 429, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 401, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L429" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L401" }, { - "fileName": "src/RealtimeChannel.ts", - "line": 434, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 406, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L434" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L406" } ], "signatures": [ @@ -83183,10 +69365,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 370, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 342, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L342" } ], "parameters": [ @@ -83224,10 +69406,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 372, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 344, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L372" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L344" } ], "type": { @@ -83244,10 +69426,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 372, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 344, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L372" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L344" } ] } @@ -83269,10 +69451,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 373, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 345, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L345" } ], "signatures": [ @@ -83284,10 +69466,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 373, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 345, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L345" } ], "type": { @@ -83324,10 +69506,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 375, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 347, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L347" } ], "typeParameters": [ @@ -83347,10 +69529,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 375, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 347, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L347" } ], "indexSignatures": [ @@ -83362,10 +69544,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 375, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 347, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L347" } ], "parameters": [ @@ -83426,10 +69608,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 377, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 349, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L377" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L349" } ], "type": { @@ -83446,10 +69628,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 377, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 349, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L377" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L349" } ] } @@ -83471,10 +69653,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 378, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 350, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L350" } ], "signatures": [ @@ -83486,10 +69668,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 378, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 350, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L350" } ], "parameters": [ @@ -83550,10 +69732,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 380, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L352" } ], "typeParameters": [ @@ -83573,10 +69755,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 380, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 352, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L352" } ], "indexSignatures": [ @@ -83588,10 +69770,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 380, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 352, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L352" } ], "parameters": [ @@ -83652,10 +69834,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 382, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 354, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L382" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L354" } ], "type": { @@ -83672,10 +69854,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 382, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 354, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L382" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L354" } ] } @@ -83697,10 +69879,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 383, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 355, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L355" } ], "signatures": [ @@ -83712,10 +69894,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 383, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 355, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L355" } ], "parameters": [ @@ -83776,10 +69958,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 385, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 357, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L385" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L357" } ], "typeParameters": [ @@ -83799,10 +69981,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 385, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 357, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L385" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L357" } ], "indexSignatures": [ @@ -83814,10 +69996,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 385, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 357, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L385" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L357" } ], "parameters": [ @@ -83890,10 +70072,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 388, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 360, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L388" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L360" } ], "signatures": [ @@ -83905,10 +70087,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 388, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 360, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L388" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L360" } ], "parameters": [ @@ -83969,10 +70151,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 390, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 362, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L390" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L362" } ], "typeParameters": [ @@ -83992,10 +70174,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 390, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 362, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L390" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L362" } ], "indexSignatures": [ @@ -84007,10 +70189,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 390, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 362, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L390" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L362" } ], "parameters": [ @@ -84083,10 +70265,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 393, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 365, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L365" } ], "signatures": [ @@ -84098,10 +70280,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 393, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 365, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L365" } ], "parameters": [ @@ -84162,10 +70344,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 395, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 367, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L367" } ], "typeParameters": [ @@ -84185,10 +70367,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 395, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 367, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L367" } ], "indexSignatures": [ @@ -84200,10 +70382,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 395, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 367, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L367" } ], "parameters": [ @@ -84276,10 +70458,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 398, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 370, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L398" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L370" } ], "signatures": [ @@ -84291,10 +70473,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 398, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 370, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L398" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L370" } ], "parameters": [ @@ -84355,10 +70537,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 400, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 372, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L372" } ], "typeParameters": [ @@ -84378,10 +70560,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 400, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 372, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L372" } ], "indexSignatures": [ @@ -84393,10 +70575,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 400, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 372, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L372" } ], "parameters": [ @@ -84469,10 +70651,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 403, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 375, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L375" } ], "signatures": [ @@ -84484,10 +70666,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 403, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 375, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L375" } ], "parameters": [ @@ -84548,10 +70730,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 411, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 383, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L411" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L383" } ], "parameters": [ @@ -84605,10 +70787,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 413, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 385, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L413" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L385" } ], "type": { @@ -84625,10 +70807,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 413, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 385, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L413" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L385" } ] } @@ -84658,10 +70840,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 414, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 386, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L414" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L386" } ], "signatures": [ @@ -84673,10 +70855,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 414, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 386, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L414" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L386" } ], "parameters": [ @@ -84703,10 +70885,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 416, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 388, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L416" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L388" } ], "type": { @@ -84722,10 +70904,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 415, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 387, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L415" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L387" } ], "type": { @@ -84742,10 +70924,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 414, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 386, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L414" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L386" } ], "indexSignatures": [ @@ -84757,10 +70939,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 417, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 389, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L417" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L389" } ], "parameters": [ @@ -84820,10 +71002,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 420, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L420" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L392" } ], "typeParameters": [ @@ -84843,10 +71025,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 420, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L420" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L392" } ], "indexSignatures": [ @@ -84858,10 +71040,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 420, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L420" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L392" } ], "parameters": [ @@ -84922,10 +71104,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 422, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 394, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L422" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L394" } ], "type": { @@ -84942,10 +71124,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 422, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 394, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L422" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L394" } ] } @@ -84967,10 +71149,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 423, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 395, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L423" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L395" } ], "signatures": [ @@ -84982,10 +71164,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 423, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 395, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L423" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L395" } ], "parameters": [ @@ -85012,10 +71194,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 425, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 397, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L425" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L397" } ], "type": { @@ -85031,10 +71213,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 426, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 398, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L426" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L398" } ], "type": { @@ -85053,10 +71235,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 424, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 396, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L424" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L396" } ], "type": { @@ -85073,10 +71255,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 423, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 395, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L423" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L395" } ] } @@ -85117,10 +71299,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 429, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 401, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L429" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L401" } ], "typeParameters": [ @@ -85140,10 +71322,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 429, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 401, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L429" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L401" } ], "indexSignatures": [ @@ -85155,10 +71337,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 429, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 401, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L429" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L401" } ], "parameters": [ @@ -85229,10 +71411,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 432, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 404, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L432" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L404" } ], "signatures": [ @@ -85244,10 +71426,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 432, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 404, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L432" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L404" } ], "parameters": [ @@ -85291,10 +71473,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 335, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 311, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L311" } ], "signatures": [ @@ -85306,10 +71488,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 335, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 311, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L311" } ], "typeParameters": [ @@ -85329,10 +71511,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 336, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L336" + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 311, + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L311" } ], "indexSignatures": [ @@ -85344,10 +71526,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 336, - "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L336" + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 311, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L311" } ], "parameters": [ @@ -85409,10 +71591,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 460, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 429, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L460" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L429" } ], "signatures": [ @@ -85432,10 +71614,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 460, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 429, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L460" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L429" } ], "parameters": [ @@ -85478,10 +71660,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 463, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 432, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L463" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L432" } ], "type": { @@ -85507,10 +71689,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 464, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 433, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L464" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L433" } ], "type": { @@ -85534,10 +71716,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 462, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 431, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L462" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L431" } ], "type": { @@ -85567,10 +71749,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 461, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 430, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L461" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L430" } ], "indexSignatures": [ @@ -85582,10 +71764,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 465, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 434, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L465" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L434" } ], "parameters": [ @@ -85634,10 +71816,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 467, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 436, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L467" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L436" } ], "indexSignatures": [ @@ -85649,10 +71831,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 467, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 436, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L467" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L436" } ], "parameters": [ @@ -85682,7 +71864,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -85707,10 +71889,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 225, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 209, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L225" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L209" } ], "signatures": [ @@ -85730,10 +71912,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 225, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 209, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L225" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L209" } ], "parameters": [ @@ -85755,10 +71937,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 226, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 210, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L226" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L210" } ], "signatures": [ @@ -85770,10 +71952,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 226, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 210, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L226" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L210" } ], "parameters": [ @@ -85801,7 +71983,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Error" }, "name": "Error", @@ -85849,10 +72031,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 576, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 545, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L576" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L545" } ], "signatures": [ @@ -85872,10 +72054,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 576, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 545, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L576" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L545" } ], "type": { @@ -85893,10 +72075,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 341, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 315, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L341" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L315" } ], "signatures": [ @@ -85908,10 +72090,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 341, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 315, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L341" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L315" } ], "parameters": [ @@ -85931,10 +72113,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 342, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 316, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L342" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L316" } ], "indexSignatures": [ @@ -85946,10 +72128,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 342, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 316, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L342" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L316" } ], "parameters": [ @@ -85990,10 +72172,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 343, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 317, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L343" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L317" } ], "indexSignatures": [ @@ -86005,10 +72187,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 343, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 317, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L343" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L317" } ], "parameters": [ @@ -86038,7 +72220,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -86063,10 +72245,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 537, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 506, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L537" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L506" } ], "signatures": [ @@ -86094,10 +72276,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 537, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 506, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L537" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L506" } ], "parameters": [ @@ -86117,7 +72299,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -86153,10 +72335,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 355, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 329, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L329" } ], "signatures": [ @@ -86168,10 +72350,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 355, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 329, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L329" } ], "parameters": [ @@ -86191,10 +72373,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 356, - "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L356" + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 329, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L329" } ], "indexSignatures": [ @@ -86206,10 +72388,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 356, - "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L356" + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 329, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L329" } ], "parameters": [ @@ -86239,7 +72421,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -86264,10 +72446,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 524, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 493, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L524" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L493" } ], "signatures": [ @@ -86279,10 +72461,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 524, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 493, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L524" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L493" } ], "parameters": [ @@ -86302,10 +72484,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 524, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 493, "character": 29, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L524" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L493" } ], "indexSignatures": [ @@ -86317,10 +72499,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 524, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 493, "character": 31, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L524" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L493" } ], "parameters": [ @@ -86370,10 +72552,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 131, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 123, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L123" } ] }, @@ -86392,10 +72574,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 171, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 159, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L171" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L159" } ], "signatures": [ @@ -86415,10 +72597,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 171, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 159, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L171" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L159" } ], "parameters": [ @@ -86563,10 +72745,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 144, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 132, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L132" } ], "type": { @@ -86586,10 +72768,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 144, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 132, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L132" } ], "signatures": [ @@ -86601,16 +72783,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 144, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 132, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L132" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -86647,10 +72829,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 108, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 96, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L108" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L96" } ], "type": { @@ -86676,10 +72858,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 109, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 97, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L97" } ], "type": { @@ -86705,10 +72887,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 110, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L110" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L98" } ], "type": { @@ -86731,10 +72913,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 129, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 117, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L129" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L117" } ], "type": { @@ -86762,16 +72944,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 127, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 115, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L127" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L115" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -86786,16 +72968,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 126, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 114, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L126" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L114" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -86810,10 +72992,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 111, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L111" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L99" } ], "type": { @@ -86830,10 +73012,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 143, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 131, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L143" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L131" } ], "type": { @@ -86851,8 +73033,8 @@ "character": 17 }, { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 374, + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, "character": 13 } ], @@ -86891,7 +73073,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "RequestInfo" }, "name": "RequestInfo", @@ -86900,7 +73082,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "URL" }, "name": "URL", @@ -86920,7 +73102,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "RequestInit" }, "name": "RequestInit", @@ -86931,14 +73113,14 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Response" }, "name": "Response", @@ -86965,8 +73147,8 @@ }, "sources": [ { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 374, + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, "character": 13 } ], @@ -86987,7 +73169,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Request" }, "name": "Request", @@ -86996,7 +73178,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "URL" }, "name": "URL", @@ -87016,7 +73198,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "RequestInit" }, "name": "RequestInit", @@ -87027,14 +73209,14 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Response" }, "name": "Response", @@ -87073,10 +73255,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 114, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 102, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L114" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L102" } ], "type": { @@ -87089,10 +73271,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 114, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 102, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L114" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L102" } ], "indexSignatures": [ @@ -87104,10 +73286,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 114, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 102, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L114" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L102" } ], "parameters": [ @@ -87141,10 +73323,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 121, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 109, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L109" } ], "type": { @@ -87157,10 +73339,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 121, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 109, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L109" } ], "signatures": [ @@ -87172,10 +73354,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 121, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 109, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L109" } ], "parameters": [ @@ -87214,10 +73396,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 118, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L118" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L106" } ], "type": { @@ -87234,10 +73416,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 119, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L119" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L107" } ], "type": { @@ -87250,7 +73432,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/@types/node/timers.d.ts", + "sourceFileName": "../../../node_modules/@types/node/timers.d.ts", "qualifiedName": "__global.NodeJS.Timeout" }, "name": "Timeout", @@ -87269,10 +73451,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 112, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L112" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L100" } ], "type": { @@ -87289,16 +73471,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 124, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 112, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L124" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L112" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87316,10 +73498,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 125, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 113, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L125" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L113" } ], "type": { @@ -87342,10 +73524,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 115, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 103, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L115" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L103" } ], "type": { @@ -87358,10 +73540,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 115, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 103, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L115" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L103" } ], "indexSignatures": [ @@ -87373,10 +73555,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 115, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 103, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L115" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L103" } ], "parameters": [ @@ -87410,10 +73592,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 120, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L120" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L108" } ], "type": { @@ -87439,16 +73621,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 128, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 116, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L128" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L116" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87463,10 +73645,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 123, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 111, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L123" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L111" } ], "type": { @@ -87498,10 +73680,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 122, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 110, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L122" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L110" } ], "type": { @@ -87518,10 +73700,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 130, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 118, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L130" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L118" } ], "type": { @@ -87529,7 +73711,7 @@ "elementType": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87546,10 +73728,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 131, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 119, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L131" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L119" } ], "type": { @@ -87572,10 +73754,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 132, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 120, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L120" } ], "type": { @@ -87595,10 +73777,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 134, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 122, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L134" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L122" } ], "type": { @@ -87606,7 +73788,7 @@ "elementType": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87622,10 +73804,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 135, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 123, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L135" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L123" } ], "type": { @@ -87633,7 +73815,7 @@ "elementType": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87649,10 +73831,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 136, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 124, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L136" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L124" } ], "type": { @@ -87660,7 +73842,7 @@ "elementType": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87676,10 +73858,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 133, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 121, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L133" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L121" } ], "type": { @@ -87687,7 +73869,7 @@ "elementType": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -87704,10 +73886,10 @@ ], "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 132, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 120, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L120" } ] } @@ -87722,10 +73904,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 116, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 104, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L116" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L104" } ], "type": { @@ -87742,10 +73924,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 117, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L117" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L105" } ], "type": { @@ -87775,10 +73957,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 145, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 133, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L145" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L133" } ], "type": { @@ -87796,16 +73978,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 147, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 135, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L147" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L135" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Worker" }, "name": "Worker", @@ -87822,10 +74004,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 146, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 134, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L146" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L134" } ], "type": { @@ -87841,10 +74023,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 365, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 346, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L365" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L346" } ], "signatures": [ @@ -87856,10 +74038,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 365, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 346, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L365" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L346" } ], "parameters": [ @@ -87907,10 +74089,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 190, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 178, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L190" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L178" } ], "signatures": [ @@ -87930,10 +74112,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 190, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 178, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L190" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L178" } ], "type": { @@ -87951,10 +74133,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 331, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 312, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L312" } ], "signatures": [ @@ -87974,10 +74156,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 331, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 312, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L312" } ], "type": { @@ -88000,10 +74182,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 253, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 238, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L253" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L238" } ], "signatures": [ @@ -88023,10 +74205,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 253, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 238, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L253" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L238" } ], "parameters": [ @@ -88088,10 +74270,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 240, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 228, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L240" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L228" } ], "signatures": [ @@ -88122,10 +74304,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 240, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 228, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L240" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L228" } ], "type": { @@ -88143,10 +74325,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 482, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 455, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L482" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L455" } ], "signatures": [ @@ -88166,10 +74348,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 482, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 455, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L482" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L455" } ], "type": { @@ -88187,10 +74369,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 287, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 272, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L287" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L272" } ], "signatures": [ @@ -88210,10 +74392,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 287, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 272, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L287" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L272" } ], "type": { @@ -88237,10 +74419,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 347, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L347" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L328" } ], "signatures": [ @@ -88268,10 +74450,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 347, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L347" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L328" } ], "type": { @@ -88289,10 +74471,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 354, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 335, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L354" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L335" } ], "signatures": [ @@ -88320,10 +74502,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 354, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 335, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L354" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L335" } ], "type": { @@ -88341,10 +74523,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 361, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 342, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L361" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L342" } ], "signatures": [ @@ -88372,10 +74554,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 361, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 342, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L361" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L342" } ], "type": { @@ -88393,10 +74575,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 324, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 305, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L324" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L305" } ], "signatures": [ @@ -88424,10 +74606,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 324, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 305, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L324" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L305" } ], "parameters": [ @@ -88482,10 +74664,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 476, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 449, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L476" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L449" } ], "signatures": [ @@ -88497,10 +74679,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 476, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 449, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L476" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L449" } ], "parameters": [ @@ -88520,10 +74702,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 476, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 449, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L476" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L449" } ], "signatures": [ @@ -88535,10 +74717,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 476, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 449, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L476" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L449" } ], "parameters": [ @@ -88584,10 +74766,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 389, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L389" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L365" } ], "signatures": [ @@ -88607,10 +74789,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 389, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L389" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L365" } ], "parameters": [ @@ -88643,10 +74825,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 310, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 293, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L310" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L293" } ], "signatures": [ @@ -88666,16 +74848,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 310, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 293, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L310" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L293" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -88703,10 +74885,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 295, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 280, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L295" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L280" } ], "signatures": [ @@ -88726,10 +74908,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 295, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 280, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L295" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L280" } ], "parameters": [ @@ -88759,7 +74941,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -88784,10 +74966,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 424, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 400, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L424" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L400" } ], "signatures": [ @@ -88807,16 +74989,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 424, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 400, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L424" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L400" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -88839,10 +75021,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 413, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 389, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L413" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L389" } ], "signatures": [ @@ -88870,10 +75052,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 413, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 389, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L413" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L389" } ], "parameters": [ @@ -88910,7 +75092,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -88947,10 +75129,10 @@ ], "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 107, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 95, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L107" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L95" } ] }, @@ -88969,10 +75151,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 85, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L85" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L81" } ], "signatures": [ @@ -88992,10 +75174,10 @@ }, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 85, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L85" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L81" } ], "parameters": [ @@ -89044,7 +75226,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/@types/phoenix/index.d.ts", + "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts", "qualifiedName": "PresenceOpts" }, "name": "PresenceOpts", @@ -89070,10 +75252,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 68, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 64, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L68" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L64" } ], "type": { @@ -89093,16 +75275,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 69, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 65, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L69" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L65" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/@types/phoenix/index.d.ts", + "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts", "qualifiedName": "PresenceOnJoinCallback" }, "name": "PresenceOnJoinCallback", @@ -89117,16 +75299,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 70, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 66, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L66" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/@types/phoenix/index.d.ts", + "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts", "qualifiedName": "PresenceOnLeaveCallback" }, "name": "PresenceOnLeaveCallback", @@ -89141,10 +75323,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 71, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 67, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L67" } ], "type": { @@ -89157,10 +75339,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 71, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 67, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L67" } ], "signatures": [ @@ -89172,10 +75354,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 71, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 67, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L67" } ], "type": { @@ -89196,10 +75378,10 @@ ], "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 68, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 64, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L68" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L64" } ] } @@ -89224,10 +75406,10 @@ }, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 85, - "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L85" + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 82, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L82" } ], "type": { @@ -89246,10 +75428,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 67, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 63, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L63" } ], "type": { @@ -89266,10 +75448,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 66, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 62, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L66" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L62" } ], "type": { @@ -89295,10 +75477,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 65, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 61, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L65" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L61" } ], "type": { @@ -89323,10 +75505,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 64, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 60, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L64" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L60" } ], "type": { @@ -89350,10 +75532,10 @@ ], "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 63, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 59, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L63" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L59" } ] }, @@ -89397,10 +75579,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", - "line": 141, + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 130, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L141" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L130" } ], "signatures": [ @@ -89412,10 +75594,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", - "line": 141, + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 130, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L141" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L130" } ], "parameters": [ @@ -89435,7 +75617,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "URL" }, "name": "URL", @@ -89490,10 +75672,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", - "line": 128, + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 118, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L128" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L118" } ], "signatures": [ @@ -89505,10 +75687,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", - "line": 128, + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 118, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L128" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L118" } ], "type": { @@ -89557,7 +75739,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "URL" }, "name": "URL", @@ -89595,7 +75777,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "WebSocket" }, "name": "WebSocket", @@ -89619,10 +75801,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", - "line": 149, + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 135, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L149" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L135" } ], "signatures": [ @@ -89634,10 +75816,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", - "line": 149, + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 135, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L149" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L135" } ], "type": { @@ -89660,10 +75842,10 @@ ], "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 35, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L35" } ] }, @@ -89684,10 +75866,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 22, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L22" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L22" } ], "type": { @@ -89705,10 +75887,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 23, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L23" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L23" } ], "type": { @@ -89726,10 +75908,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 5, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L5" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L5" } ], "type": { @@ -89747,10 +75929,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 4, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L4" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L4" } ], "type": { @@ -89768,10 +75950,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 2, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L2" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L2" } ], "type": { @@ -89789,10 +75971,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 25, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L25" } ], "type": { @@ -89805,10 +75987,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 25, "character": 18, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L25" } ], "signatures": [ @@ -89820,10 +76002,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 25, "character": 18, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L25" } ], "parameters": [ @@ -89836,7 +76018,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Event" }, "name": "Event", @@ -89863,10 +76045,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 24, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L24" } ], "type": { @@ -89882,10 +76064,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 15, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L15" } ], "type": { @@ -89905,10 +76087,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 15, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L15" } ], "signatures": [ @@ -89920,10 +76102,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 15, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L15" } ], "parameters": [ @@ -89947,7 +76129,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "CloseEvent" }, "name": "CloseEvent", @@ -89974,10 +76156,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 16, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L16" } ], "type": { @@ -89997,10 +76179,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 16, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L16" } ], "signatures": [ @@ -90012,10 +76194,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 16, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L16" } ], "parameters": [ @@ -90039,7 +76221,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Event" }, "name": "Event", @@ -90066,10 +76248,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 14, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L14" } ], "type": { @@ -90089,10 +76271,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 14, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L14" } ], "signatures": [ @@ -90104,10 +76286,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 14, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L14" } ], "parameters": [ @@ -90131,7 +76313,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "MessageEvent" }, "name": "MessageEvent", @@ -90158,10 +76340,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 13, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L13" } ], "type": { @@ -90181,10 +76363,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 13, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L13" } ], "signatures": [ @@ -90196,10 +76378,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 13, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L13" } ], "parameters": [ @@ -90223,7 +76405,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Event" }, "name": "Event", @@ -90252,10 +76434,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 3, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L3" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L3" } ], "type": { @@ -90273,10 +76455,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 8, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L8" } ], "type": { @@ -90294,10 +76476,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 6, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L6" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L6" } ], "type": { @@ -90315,10 +76497,10 @@ }, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 7, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L7" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L7" } ], "type": { @@ -90334,10 +76516,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L18" } ], "signatures": [ @@ -90349,10 +76531,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L18" } ], "parameters": [ @@ -90376,7 +76558,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "EventListener" }, "name": "EventListener", @@ -90399,10 +76581,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 10, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L10" } ], "signatures": [ @@ -90414,10 +76596,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 10, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L10" } ], "parameters": [ @@ -90463,10 +76645,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 19, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L19" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L19" } ], "signatures": [ @@ -90478,10 +76660,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 19, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L19" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L19" } ], "parameters": [ @@ -90505,7 +76687,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "EventListener" }, "name": "EventListener", @@ -90528,10 +76710,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 11, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L11" } ], "signatures": [ @@ -90543,10 +76725,10 @@ "flags": {}, "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 11, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L11" } ], "parameters": [ @@ -90566,7 +76748,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "ArrayBufferLike" }, "name": "ArrayBufferLike", @@ -90575,14 +76757,14 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "ArrayBufferView" }, "typeArguments": [ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "ArrayBufferLike" }, "name": "ArrayBufferLike", @@ -90595,7 +76777,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "Blob" }, "name": "Blob", @@ -90627,10 +76809,10 @@ ], "sources": [ { - "fileName": "src/lib/websocket-factory.ts", + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", "line": 1, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/lib/websocket-factory.ts#L1" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/lib/websocket-factory.ts#L1" } ] }, @@ -90649,10 +76831,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 65, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 56, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L65" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L56" } ], "signatures": [ @@ -90664,10 +76846,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 66, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 57, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L66" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L57" } ], "parameters": [ @@ -90687,7 +76869,7 @@ { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "URL" }, "name": "URL", @@ -90740,10 +76922,10 @@ ], "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 65, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 56, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L65" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L56" } ], "indexSignatures": [ @@ -90755,10 +76937,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 71, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 59, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L59" } ], "parameters": [ @@ -90789,10 +76971,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 20, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 14, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L20" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L14" } ], "type": { @@ -90812,10 +76994,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 21, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 15, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L15" } ], "type": { @@ -90845,10 +77027,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 26, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 20, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L20" } ], "type": { @@ -90870,10 +77052,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 26, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 20, "character": 34, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L20" } ], "type": { @@ -90891,10 +77073,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 26, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 20, "character": 18, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L20" } ], "type": { @@ -90911,10 +77093,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 26, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 20, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L20" } ] } @@ -90938,10 +77120,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 30, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 24, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L24" } ], "type": { @@ -90963,10 +77145,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 30, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 24, "character": 31, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L24" } ], "type": { @@ -90984,10 +77166,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 30, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 24, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L24" } ], "type": { @@ -91004,10 +77186,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 30, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 24, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L24" } ] } @@ -91031,10 +77213,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 34, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 28, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L34" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L28" } ], "type": { @@ -91051,10 +77233,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 21, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 15, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L15" } ] } @@ -91069,10 +77251,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 20, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 14, "character": 37, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L20" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L14" } ] } @@ -91086,10 +77268,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 92, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 84, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L92" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L84" } ], "type": { @@ -91118,10 +77300,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 80, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 68, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L80" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L68" } ], "type": { @@ -91143,10 +77325,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 97, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L97" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L85" } ], "type": { @@ -91159,10 +77341,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 97, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 85, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L97" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L85" } ], "signatures": [ @@ -91175,7 +77357,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ @@ -91211,16 +77393,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 87, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 75, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L87" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L75" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -91237,16 +77419,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 86, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 74, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L86" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L74" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -91263,10 +77445,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 94, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 82, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L94" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L82" } ], "type": { @@ -91289,10 +77471,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 89, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L89" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L77" } ], "type": { @@ -91305,10 +77487,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 89, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 77, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L89" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L77" } ], "indexSignatures": [ @@ -91320,10 +77502,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 89, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 77, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L89" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L77" } ], "parameters": [ @@ -91358,10 +77540,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 84, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 72, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L84" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L72" } ], "type": { @@ -91374,10 +77556,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 84, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 72, "character": 22, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L84" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L72" } ], "signatures": [ @@ -91424,10 +77606,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 83, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 71, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L83" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L71" } ], "type": { @@ -91445,10 +77627,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 92, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 80, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L80" } ], "type": { @@ -91471,16 +77653,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 85, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L85" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L73" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -91497,10 +77679,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 93, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L81" } ], "type": { @@ -91523,10 +77705,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 90, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 78, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L78" } ], "type": { @@ -91539,10 +77721,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 90, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 78, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L78" } ], "indexSignatures": [ @@ -91554,10 +77736,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 90, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 78, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L90" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L78" } ], "parameters": [ @@ -91592,16 +77774,16 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 88, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 76, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L88" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L76" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Function" }, "name": "Function", @@ -91618,10 +77800,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 82, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 70, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L82" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L70" } ], "type": { @@ -91639,10 +77821,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 81, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 69, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L81" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L69" } ], "type": { @@ -91662,10 +77844,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 95, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 83, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L95" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L83" } ], "type": { @@ -91683,10 +77865,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 96, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 84, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L96" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L84" } ], "type": { @@ -91705,10 +77887,10 @@ ], "sources": [ { - "fileName": "src/RealtimeClient.ts", - "line": 80, + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 68, "character": 36, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L80" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L68" } ] } @@ -91722,10 +77904,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 31, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L31" } ], "type": { @@ -91745,10 +77927,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 33, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L33" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L33" } ], "type": { @@ -91766,10 +77948,10 @@ }, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L36" } ], "type": { @@ -91785,10 +77967,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 34, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L34" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L34" } ], "type": { @@ -91804,10 +77986,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 35, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L35" } ], "type": { @@ -91823,10 +78005,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L32" } ], "type": { @@ -91843,10 +78025,10 @@ ], "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 31, "character": 30, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L31" } ] } @@ -91860,10 +78042,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 71, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 65, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L65" } ], "typeParameters": [ @@ -91915,10 +78097,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 77, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 69, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L77" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L69" } ], "type": { @@ -91947,10 +78129,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 89, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L89" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L81" } ], "type": { @@ -91974,10 +78156,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 81, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L81" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L73" } ], "type": { @@ -92003,10 +78185,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 85, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L85" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L77" } ], "type": { @@ -92023,10 +78205,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L73" + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 65, + "character": 99, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L65" } ] } @@ -92040,10 +78222,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 66, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 60, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L66" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L60" } ], "typeParameters": [ @@ -92063,10 +78245,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 66, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 60, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L66" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L60" } ], "indexSignatures": [ @@ -92078,10 +78260,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 66, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 60, "character": 55, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L66" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L60" } ], "parameters": [ @@ -92166,10 +78348,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 59, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 53, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L59" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L53" } ], "typeParameters": [ @@ -92189,10 +78371,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 59, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 53, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L59" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L53" } ], "indexSignatures": [ @@ -92204,10 +78386,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 59, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 53, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L59" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L53" } ], "parameters": [ @@ -92262,10 +78444,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 61, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 55, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L61" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L55" } ], "type": { @@ -92292,10 +78474,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 62, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 56, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L56" } ], "type": { @@ -92308,10 +78490,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 62, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 56, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L56" } ] } @@ -92325,16 +78507,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 63, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 57, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L63" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L57" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Partial" }, "typeArguments": [ @@ -92359,10 +78541,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 60, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 54, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L60" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L54" } ] } @@ -92378,10 +78560,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 45, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 39, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L39" } ], "typeParameters": [ @@ -92401,10 +78583,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 45, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 39, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L39" } ], "indexSignatures": [ @@ -92416,10 +78598,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 45, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 39, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L39" } ], "parameters": [ @@ -92474,10 +78656,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 47, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 41, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L47" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L41" } ], "type": { @@ -92504,10 +78686,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 48, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 42, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L42" } ], "type": { @@ -92526,10 +78708,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 49, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 43, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L49" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L43" } ], "type": { @@ -92542,10 +78724,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 49, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 43, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L49" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L43" } ] } @@ -92560,10 +78742,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 46, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 40, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L46" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L40" } ] } @@ -92579,10 +78761,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 52, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 46, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L52" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L46" } ], "typeParameters": [ @@ -92602,10 +78784,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 52, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 46, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L52" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L46" } ], "indexSignatures": [ @@ -92617,10 +78799,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 52, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 46, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L52" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L46" } ], "parameters": [ @@ -92675,10 +78857,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 54, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 48, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L54" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L48" } ], "type": { @@ -92705,10 +78887,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 55, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 49, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L49" } ], "type": { @@ -92727,16 +78909,16 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 56, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 50, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L56" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L50" } ], "type": { "type": "reference", "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Partial" }, "typeArguments": [ @@ -92761,10 +78943,10 @@ ], "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 53, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 47, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L53" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L47" } ] } @@ -92780,10 +78962,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 21, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L17" } ], "typeParameters": [ @@ -92803,10 +78985,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 21, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, "character": 50, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ @@ -92818,10 +79000,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 21, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L17" } ], "parameters": [ @@ -92864,10 +79046,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 24, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 20, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L20" } ], "type": { @@ -92900,10 +79082,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 22, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 18, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L22" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L18" } ], "type": { @@ -92930,10 +79112,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 23, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 19, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L23" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L19" } ], "type": { @@ -92949,10 +79131,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 25, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 21, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L21" } ], "type": { @@ -92986,10 +79168,10 @@ ], "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 21, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, "character": 76, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L17" } ] } @@ -93003,10 +79185,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 28, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L24" } ], "typeParameters": [ @@ -93026,10 +79208,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 28, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, "character": 51, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L24" } ], "indexSignatures": [ @@ -93041,10 +79223,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 28, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L24" } ], "parameters": [ @@ -93087,10 +79269,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 31, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 27, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L27" } ], "type": { @@ -93123,10 +79305,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 29, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 25, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L25" } ], "type": { @@ -93153,10 +79335,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 30, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 26, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L26" } ], "type": { @@ -93172,10 +79354,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 32, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 28, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L32" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L28" } ], "type": { @@ -93209,10 +79391,10 @@ ], "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 28, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, "character": 77, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L24" } ] } @@ -93226,10 +79408,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 17, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L13" } ], "typeParameters": [ @@ -93249,10 +79431,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 17, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, "character": 44, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L13" } ], "indexSignatures": [ @@ -93264,10 +79446,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 17, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, "character": 46, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L13" } ], "parameters": [ @@ -93301,10 +79483,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 17, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, "character": 69, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L13" } ] } @@ -93321,10 +79503,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 17, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, "character": 75, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L13" } ], "indexSignatures": [ @@ -93336,10 +79518,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimePresence.ts", - "line": 18, + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 14, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimePresence.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimePresence.ts#L14" } ], "parameters": [ @@ -93389,10 +79571,10 @@ "flags": {}, "sources": [ { - "fileName": "src/RealtimeClient.ts", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", "line": 39, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeClient.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeClient.ts#L39" } ], "type": { @@ -93423,10 +79605,10 @@ }, "sources": [ { - "fileName": "src/RealtimeChannel.ts", - "line": 115, + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 107, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/1fb25b91ea51425f8a2407243d11f8412243798a/src/RealtimeChannel.ts#L115" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/realtime-js/src/RealtimeChannel.ts#L107" } ], "type": { @@ -93483,7 +79665,7 @@ }, { "kind": "code", - "text": "```js\nimport { RealtimeClient } from '@supabase/realtime-js'\n\nconst client = new RealtimeClient(REALTIME_URL, {\n params: {\n apikey: API_KEY\n },\n})\n\nconst channel = client.channel('test-channel', {})\n\nchannel.subscribe((status, err) => {\n if (status === 'SUBSCRIBED') {\n console.log('Connected!')\n }\n\n if (status === 'CHANNEL_ERROR') {\n console.log(`There was an error subscribing to channel: ${err.message}`)\n }\n\n if (status === 'TIMED_OUT') {\n console.log('Realtime server did not respond in time.')\n }\n\n if (status === 'CLOSED') {\n console.log('Realtime channel was unexpectedly closed.')\n }\n})\n```" + "text": "```js\nimport { RealtimeClient } from '@supabase/realtime-js'\n\nconst client = new RealtimeClient(REALTIME_URL, {\n params: {\n apikey: API_KEY,\n },\n})\n\nconst channel = client.channel('test-channel', {})\n\nchannel.subscribe((status, err) => {\n if (status === 'SUBSCRIBED') {\n console.log('Connected!')\n }\n\n if (status === 'CHANNEL_ERROR') {\n console.log(`There was an error subscribing to channel: ${err.message}`)\n }\n\n if (status === 'TIMED_OUT') {\n console.log('Realtime server did not respond in time.')\n }\n\n if (status === 'CLOSED') {\n console.log('Realtime channel was unexpectedly closed.')\n }\n})\n```" }, { "kind": "text", @@ -93555,7 +79737,7 @@ }, { "kind": "code", - "text": "```js\n// Setup...\n\nconst channel = client.channel('broadcast-test', { config: { broadcast: { ack: false, self: false } } })\n\nchannel.on('broadcast', { event: 'some-event' }, (payload) =>\n console.log(payload)\n)\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n // Send message to other clients listening to 'broadcast-test' channel\n await channel.send({\n type: 'broadcast',\n event: 'some-event',\n payload: { hello: 'world' },\n })\n }\n})\n```" + "text": "```js\n// Setup...\n\nconst channel = client.channel('broadcast-test', { broadcast: { ack: false, self: false } })\n\nchannel.on('broadcast', { event: 'some-event' }, (payload) => console.log(payload))\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n // Send message to other clients listening to 'broadcast-test' channel\n await channel.send({\n type: 'broadcast',\n event: 'some-event',\n payload: { hello: 'world' },\n })\n }\n})\n```" }, { "kind": "text", @@ -93619,7 +79801,7 @@ }, { "kind": "code", - "text": "```js\n// Setup...\n\nconst channel = client.channel(\n 'presence-test',\n {\n config: {\n presence: {\n key: ''\n }\n }\n }\n)\n\nchannel.on('presence', { event: 'sync' }, () => {\n console.log('Online users: ', channel.presenceState())\n})\n\nchannel.on('presence', { event: 'join' }, ({ newPresences }) => {\n console.log('New users have joined: ', newPresences)\n})\n\nchannel.on('presence', { event: 'leave' }, ({ leftPresences }) => {\n console.log('Users have left: ', leftPresences)\n})\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n const status = await channel.track({ 'user_id': 1 })\n console.log(status)\n }\n})\n```" + "text": "```js\n// Setup...\n\nconst channel = client.channel('presence-test', {\n config: {\n presence: {\n key: '',\n },\n },\n})\n\nchannel.on('presence', { event: 'sync' }, () => {\n console.log('Online users: ', channel.presenceState())\n})\n\nchannel.on('presence', { event: 'join' }, ({ newPresences }) => {\n console.log('New users have joined: ', newPresences)\n})\n\nchannel.on('presence', { event: 'leave' }, ({ leftPresences }) => {\n console.log('Users have left: ', leftPresences)\n})\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n const status = await channel.track({ user_id: 1 })\n console.log(status)\n }\n})\n```" }, { "kind": "text", @@ -93627,7 +79809,7 @@ }, { "kind": "code", - "text": "```js\n// Setup...\n\nconst channel = client.channel('db-changes')\n\nchannel.on('postgres_changes', { event: '*', schema: 'public' }, (payload) => {\n console.log('All changes in public schema: ', payload)\n})\n\nchannel.on('postgres_changes', { event: 'INSERT', schema: 'public', table: 'messages' }, (payload) => {\n console.log('All inserts in messages table: ', payload)\n})\n\nchannel.on('postgres_changes', { event: 'UPDATE', schema: 'public', table: 'users', filter: 'username=eq.Realtime' }, (payload) => {\n console.log('All updates on users table when username is Realtime: ', payload)\n})\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n console.log('Ready to receive database changes!')\n }\n})\n```" + "text": "```js\n// Setup...\n\nconst channel = client.channel('db-changes')\n\nchannel.on('postgres_changes', { event: '*', schema: 'public' }, (payload) => {\n console.log('All changes in public schema: ', payload)\n})\n\nchannel.on(\n 'postgres_changes',\n { event: 'INSERT', schema: 'public', table: 'messages' },\n (payload) => {\n console.log('All inserts in messages table: ', payload)\n }\n)\n\nchannel.on(\n 'postgres_changes',\n { event: 'UPDATE', schema: 'public', table: 'users', filter: 'username=eq.Realtime' },\n (payload) => {\n console.log('All updates on users table when username is Realtime: ', payload)\n }\n)\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n console.log('Ready to receive database changes!')\n }\n})\n```" }, { "kind": "text", @@ -93643,19 +79825,84 @@ }, { "kind": "code", - "text": "```js\n// Setup...\n\nconst channel = client.channel('some-channel-to-remove')\n\nchannel.subscribe()\n\nclient.removeChannel(channel)\n```" + "text": "```js\n// Setup...\n\nconst channel = client.channel('some-channel-to-remove')\n\nchannel.unsubscribe()\nclient.removeChannel(channel)\n```" }, { "kind": "text", - "text": "\n\n- Remove all channels\n\n" + "text": "\n\n- Remove all channels and close the connection\n\n" }, { "kind": "code", - "text": "```js\n// Setup...\n\nconst channel1 = client.channel('a-channel-to-remove')\nconst channel2 = client.channel('another-channel-to-remove')\n\nchannel1.subscribe()\nchannel2.subscribe()\n\nclient.removeAllChannels()\n```" + "text": "```js\n// Setup...\n\nclient.removeAllChannels()\nclient.disconnect()\n```" }, { "kind": "text", - "text": "\n\n## Credits\n\nThis repo draws heavily from [phoenix-js](https://github.com/phoenixframework/phoenix/tree/master/assets/js/phoenix).\n\n## License\n\nMIT." + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Complete build (from monorepo root)\nnpx nx build realtime-js\n\n# Build with watch mode for development\nnpx nx build realtime-js --watch\n\n# Individual build targets\nnpx nx build:main realtime-js # CommonJS build (dist/main/)\nnpx nx build:module realtime-js # ES Modules build (dist/module/)\n\n# Other useful commands\nnpx nx clean realtime-js # Clean build artifacts\nnpx nx format realtime-js # Format code with Prettier\nnpx nx lint realtime-js # Run ESLint\nnpx nx typecheck realtime-js # TypeScript type checking\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs\n\n- **CommonJS (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")** - For Node.js environments\n- **ES Modules (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")** - For modern bundlers (Webpack, Vite, Rollup)\n- **TypeScript definitions (" + }, + { + "kind": "code", + "text": "`dist/module/index.d.ts`" + }, + { + "kind": "text", + "text": ")** - Type definitions for TypeScript projects\n\nNote: Unlike some other packages, realtime-js doesn't include a UMD build since it's primarily used in Node.js or bundled applications.\n\n#### Validating Package Exports\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Check if package exports are correctly configured\nnpx nx check-exports realtime-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis command uses [\"Are the types wrong?\"](https://github.com/arethetypeswrong/arethetypeswrong.github.io) to verify that the package exports work correctly in different environments. Run this before publishing to ensure your package can be imported correctly by all consumers.\n\n### Testing\n\n**No Docker or Supabase instance required!** The realtime-js tests use mocked WebSocket connections, so they're completely self-contained.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run unit tests (from monorepo root)\nnpx nx test realtime-js\n\n# Run tests with coverage report\nnpx nx test:coverage realtime-js\n\n# Run tests in watch mode during development\nnpx nx test:watch realtime-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Scripts Explained\n\n- **test** - Runs all unit tests once using Vitest\n- **test:coverage** - Runs tests and generates coverage report with terminal output\n- **test:watch** - Runs tests in interactive watch mode for development\n\nThe tests mock WebSocket connections using " + }, + { + "kind": "code", + "text": "`mock-socket`" + }, + { + "kind": "text", + "text": ", so you can run them anytime without any external dependencies.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## Credits\n\nThis repo draws heavily from [phoenix-js](https://github.com/phoenixframework/phoenix/tree/master/assets/js/phoenix).\n\n## License\n\nMIT." } ], "symbolIdMap": { @@ -94716,31 +80963,31 @@ "qualifiedName": "default.fetch" }, "416": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "fetch" }, "417": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "fetch" }, "418": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "input" }, "419": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "init" }, "420": { - "sourceFileName": "node_modules/@types/node/globals.d.ts", + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", "qualifiedName": "fetch" }, "421": { - "sourceFileName": "node_modules/@types/node/globals.d.ts", + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", "qualifiedName": "input" }, "422": { - "sourceFileName": "node_modules/@types/node/globals.d.ts", + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", "qualifiedName": "init" }, "423": { @@ -95440,19 +81687,19 @@ "qualifiedName": "WebSocketFactory.getWebSocketConstructor" }, "696": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "__type" }, "697": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "__type" }, "698": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "url" }, "699": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", "qualifiedName": "protocols" }, "700": { @@ -95706,7 +81953,8 @@ }, "files": { "entries": { - "1": "src/index.ts" + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" }, "reflections": { "1": 0 @@ -95716,51 +81964,59 @@ { "id": 0, "name": "@supabase/storage-js", + "variant": "project", "kind": 1, "flags": {}, - "originalName": "", "children": [ { "id": 1, "name": "index", + "variant": "declaration", "kind": 2, - "kindString": "Module", "flags": {}, "children": [ { - "id": 534, + "id": 611, "name": "StorageApiError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 535, + "id": 612, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L18" } ], "signatures": [ { - "id": 536, - "name": "new StorageApiError", + "id": 613, + "name": "StorageApiError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L18" + } + ], "parameters": [ { - "id": 537, + "id": 614, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -95768,10 +82024,10 @@ } }, { - "id": 538, + "id": 615, "name": "status", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -95779,10 +82035,10 @@ } }, { - "id": 539, + "id": 616, "name": "statusCode", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -95792,34 +82048,35 @@ ], "type": { "type": "reference", - "id": 534, - "name": "StorageApiError" + "target": 611, + "name": "StorageApiError", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", - "id": 531, + "target": 608, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 530, + "target": 607, "name": "StorageError.constructor" } }, { - "id": 540, + "id": 617, "name": "status", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 15, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L15" } ], "type": { @@ -95828,17 +82085,17 @@ } }, { - "id": 541, + "id": 618, "name": "statusCode", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 16, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L16" } ], "type": { @@ -95847,47 +82104,55 @@ } }, { - "id": 542, + "id": 619, "name": "toJSON", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 25, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L25" } ], "signatures": [ { - "id": 543, + "id": 620, "name": "toJSON", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L25" + } + ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 621, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 623, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 28, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L28" } ], "type": { @@ -95897,17 +82162,17 @@ "defaultValue": "..." }, { - "id": 545, + "id": 622, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 27, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L27" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L27" } ], "type": { @@ -95917,17 +82182,17 @@ "defaultValue": "..." }, { - "id": 547, + "id": 624, "name": "status", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 29, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L29" } ], "type": { @@ -95937,17 +82202,17 @@ "defaultValue": "..." }, { - "id": 548, + "id": 625, "name": "statusCode", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 30, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L30" } ], "type": { @@ -95960,15 +82225,15 @@ "groups": [ { "title": "Properties", - "children": [546, 545, 547, 548] + "children": [623, 622, 624, 625] } ], "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 26, "character": 11, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L26" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L26" } ] } @@ -95980,67 +82245,76 @@ "groups": [ { "title": "Constructors", - "children": [535] + "children": [612] }, { "title": "Properties", - "children": [540, 541] + "children": [617, 618] }, { "title": "Methods", - "children": [542] + "children": [619] } ], "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 14, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L14" } ], "extendedTypes": [ { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } ] }, { - "id": 351, + "id": 412, "name": "StorageClient", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 352, + "id": 413, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/StorageClient.ts", + "fileName": "packages/core/storage-js/src/StorageClient.ts", "line": 10, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/StorageClient.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L10" } ], "signatures": [ { - "id": 353, - "name": "new StorageClient", + "id": 414, + "name": "StorageClient", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L10" + } + ], "parameters": [ { - "id": 354, + "id": 415, "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -96048,126 +82322,279 @@ } }, { - "id": 355, + "id": 416, "name": "headers", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 356, + "id": 417, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/StorageClient.ts", + "fileName": "packages/core/storage-js/src/StorageClient.ts", "line": 12, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/StorageClient.ts#L12" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L12" } ], - "indexSignature": { - "id": 357, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 358, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "indexSignatures": [ + { + "id": 418, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 12, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L12" } + ], + "parameters": [ + { + "id": 419, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ], - "type": { - "type": "intrinsic", - "name": "string" } - } + ] } }, "defaultValue": "{}" }, { - "id": 359, + "id": 420, "name": "fetch", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 360, + "id": 421, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 17731, + "line": 29329, "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], "signatures": [ { - "id": 361, + "id": 422, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], "parameters": [ { - "id": 362, + "id": 423, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 424, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", "package": "typescript" } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 425, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 426, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } }, { - "id": 363, + "id": 427, "name": "init", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, "name": "RequestInit", - "qualifiedName": "RequestInit", "package": "typescript" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, "name": "Response", - "qualifiedName": "Response", "package": "typescript" } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } @@ -96176,58 +82603,65 @@ } }, { - "id": 364, + "id": 428, "name": "opts", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", - "name": "StorageClientOptions" + "target": 518, + "name": "StorageClientOptions", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", - "id": 351, - "name": "StorageClient" + "target": 412, + "name": "StorageClient", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", - "id": 5, + "target": 33, "name": "default.constructor" } } ], "overwrites": { "type": "reference", - "id": 4, + "target": 32, "name": "default.constructor" } }, { - "id": 398, + "id": 465, "name": "createBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 119, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 117, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L119" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L117" } ], "signatures": [ { - "id": 399, + "id": 466, "name": "createBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -96247,12 +82681,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 117, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L117" + } + ], "parameters": [ { - "id": 400, + "id": 467, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -96268,25 +82710,25 @@ } }, { - "id": 401, + "id": 468, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 469, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 405, + "id": 472, "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -96300,10 +82742,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 124, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 122, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L124" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L122" } ], "type": { @@ -96324,10 +82766,10 @@ } }, { - "id": 404, + "id": 471, "name": "fileSizeLimit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -96341,10 +82783,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 123, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 121, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L123" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L121" } ], "type": { @@ -96366,10 +82808,10 @@ } }, { - "id": 403, + "id": 470, "name": "public", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -96381,10 +82823,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 122, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 120, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L122" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L120" } ], "type": { @@ -96393,10 +82835,10 @@ } }, { - "id": 406, + "id": 473, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -96422,59 +82864,32 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 125, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 123, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L125" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L123" } ], "type": { "type": "reference", - "id": 451, + "target": 520, "name": "BucketType", - "dereferenced": { - "id": 451, - "name": "BucketType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 12, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L1" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "STANDARD" - }, - { - "type": "literal", - "value": "ANALYTICS" - } - ] - } - } + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [405, 404, 403, 406] + "children": [472, 471, 470, 473] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 121, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 119, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L121" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L119" } ] } @@ -96484,6 +82899,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -96491,33 +82910,38 @@ { "type": "reflection", "declaration": { - "id": 407, + "id": 474, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 408, + "id": 475, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 131, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 129, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L131" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L129" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, "typeArguments": [ { "type": "reference", - "id": 452, - "name": "Bucket" + "target": 521, + "name": "Bucket", + "package": "@supabase/storage-js" }, { "type": "literal", @@ -96525,22 +82949,21 @@ } ], "name": "Pick", - "qualifiedName": "Pick", "package": "typescript" } }, { - "id": 409, + "id": 476, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 132, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 130, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L132" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L130" } ], "type": { @@ -96552,15 +82975,15 @@ "groups": [ { "title": "Properties", - "children": [408, 409] + "children": [475, 476] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 130, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 128, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L130" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L128" } ] } @@ -96568,24 +82991,24 @@ { "type": "reflection", "declaration": { - "id": 410, + "id": 477, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 411, + "id": 478, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 135, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 133, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L135" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L133" } ], "type": { @@ -96594,38 +83017,39 @@ } }, { - "id": 412, + "id": 479, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 136, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 134, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L136" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L134" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [411, 412] + "children": [478, 479] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 134, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 132, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L134" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L132" } ] } @@ -96634,43 +83058,46 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 48, + "target": 82, "name": "default.createBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 47, + "target": 81, "name": "default.createBucket" } }, { - "id": 440, + "id": 507, "name": "deleteBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 264, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 260, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L264" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L260" } ], "signatures": [ { - "id": 441, + "id": 508, "name": "deleteBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -96687,12 +83114,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 260, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L260" + } + ], "parameters": [ { - "id": 442, + "id": 509, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -96710,6 +83145,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -96717,47 +83156,47 @@ { "type": "reflection", "declaration": { - "id": 443, + "id": 510, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 444, + "id": 511, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 268, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 262, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L268" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L262" } ], "type": { "type": "reflection", "declaration": { - "id": 445, + "id": 512, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "id": 513, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 268, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 262, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L268" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L262" } ], "type": { @@ -96769,32 +83208,32 @@ "groups": [ { "title": "Properties", - "children": [446] + "children": [513] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 268, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 262, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L268" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L262" } ] } } }, { - "id": 447, + "id": 514, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 269, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 263, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L269" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263" } ], "type": { @@ -96806,15 +83245,15 @@ "groups": [ { "title": "Properties", - "children": [444, 447] + "children": [511, 514] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 267, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 261, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L267" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L261" } ] } @@ -96822,24 +83261,24 @@ { "type": "reflection", "declaration": { - "id": 448, + "id": 515, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 449, + "id": 516, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 272, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 266, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L272" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L266" } ], "type": { @@ -96848,38 +83287,39 @@ } }, { - "id": 450, + "id": 517, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 273, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 267, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L273" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L267" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [449, 450] + "children": [516, 517] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 271, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L271" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ] } @@ -96888,43 +83328,46 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 90, + "target": 124, "name": "default.deleteBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 89, + "target": 123, "name": "default.deleteBucket" } }, { - "id": 429, + "id": 496, "name": "emptyBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 226, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 224, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L226" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L224" } ], "signatures": [ { - "id": 430, + "id": 497, "name": "emptyBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -96933,12 +83376,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 224, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L224" + } + ], "parameters": [ { - "id": 431, + "id": 498, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -96956,6 +83407,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -96963,47 +83418,47 @@ { "type": "reflection", "declaration": { - "id": 432, + "id": 499, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 500, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 230, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 226, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L230" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L226" } ], "type": { "type": "reflection", "declaration": { - "id": 434, + "id": 501, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 435, + "id": 502, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 230, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 226, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L230" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L226" } ], "type": { @@ -97015,32 +83470,32 @@ "groups": [ { "title": "Properties", - "children": [435] + "children": [502] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 230, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 226, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L230" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L226" } ] } } }, { - "id": 436, + "id": 503, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 231, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 227, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L231" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L227" } ], "type": { @@ -97052,15 +83507,15 @@ "groups": [ { "title": "Properties", - "children": [433, 436] + "children": [500, 503] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 229, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 225, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L229" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L225" } ] } @@ -97068,24 +83523,24 @@ { "type": "reflection", "declaration": { - "id": 437, + "id": 504, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 438, + "id": 505, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 234, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 230, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L234" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L230" } ], "type": { @@ -97094,38 +83549,39 @@ } }, { - "id": 439, + "id": 506, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 235, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 231, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L235" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L231" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [438, 439] + "children": [505, 506] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 233, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L233" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" } ] } @@ -97134,42 +83590,41 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 79, + "target": 113, "name": "default.emptyBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 78, + "target": 112, "name": "default.emptyBucket" } }, { - "id": 365, + "id": 429, "name": "from", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/StorageClient.ts", + "fileName": "packages/core/storage-js/src/StorageClient.ts", "line": 24, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/StorageClient.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L24" } ], "signatures": [ { - "id": 366, + "id": 430, "name": "from", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -97179,12 +83634,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L24" + } + ], "parameters": [ { - "id": 367, + "id": 431, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -97202,33 +83665,39 @@ ], "type": { "type": "reference", - "id": 101, - "name": "default" + "target": 135, + "name": "StorageFileApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 389, + "id": 456, "name": "getBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 77, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L77" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L77" } ], "signatures": [ { - "id": 390, + "id": 457, "name": "getBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -97237,12 +83706,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 77, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L77" + } + ], "parameters": [ { - "id": 391, + "id": 458, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -97260,6 +83737,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -97267,44 +83748,45 @@ { "type": "reflection", "declaration": { - "id": 392, + "id": 459, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 393, + "id": 460, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 81, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 79, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L81" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L79" } ], "type": { "type": "reference", - "id": 452, - "name": "Bucket" + "target": 521, + "name": "Bucket", + "package": "@supabase/storage-js" } }, { - "id": 394, + "id": 461, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 82, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 80, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L82" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L80" } ], "type": { @@ -97316,15 +83798,15 @@ "groups": [ { "title": "Properties", - "children": [393, 394] + "children": [460, 461] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 80, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 78, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L80" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L78" } ] } @@ -97332,24 +83814,24 @@ { "type": "reflection", "declaration": { - "id": 395, + "id": 462, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 396, + "id": 463, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 83, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L85" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L83" } ], "type": { @@ -97358,38 +83840,39 @@ } }, { - "id": 397, + "id": 464, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 86, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 84, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L86" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L84" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [396, 397] + "children": [463, 464] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 84, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 82, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L84" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L82" } ] } @@ -97398,43 +83881,46 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 39, + "target": 73, "name": "default.getBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 38, + "target": 72, "name": "default.getBucket" } }, { - "id": 381, + "id": 448, "name": "listBuckets", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 47, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L47" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" } ], "signatures": [ { - "id": 382, + "id": 449, "name": "listBuckets", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -97443,8 +83929,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -97452,47 +83950,48 @@ { "type": "reflection", "declaration": { - "id": 383, + "id": 450, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 384, + "id": 451, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 49, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L49" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L49" } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 452, - "name": "Bucket" + "target": 521, + "name": "Bucket", + "package": "@supabase/storage-js" } } }, { - "id": 385, + "id": 452, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 50, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L50" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L50" } ], "type": { @@ -97504,15 +84003,15 @@ "groups": [ { "title": "Properties", - "children": [384, 385] + "children": [451, 452] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 48, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L48" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L48" } ] } @@ -97520,24 +84019,24 @@ { "type": "reflection", "declaration": { - "id": 386, + "id": 453, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 387, + "id": 454, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 53, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L53" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L53" } ], "type": { @@ -97546,38 +84045,39 @@ } }, { - "id": 388, + "id": 455, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 54, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L54" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L54" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [387, 388] + "children": [454, 455] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 52, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L52" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L52" } ] } @@ -97586,45 +84086,47 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 31, + "target": 65, "name": "default.listBuckets" } } ], "inheritedFrom": { "type": "reference", - "id": 30, + "target": 64, "name": "default.listBuckets" } }, { - "id": 379, + "id": 446, "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": { - "isPublic": true + "isPublic": true, + "isInherited": true }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 39, "character": 9, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" } ], "signatures": [ { - "id": 380, + "id": 447, "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -97633,45 +84135,56 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" + } + ], "type": { - "type": "reference", - "id": 351, - "name": "StorageClient" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 29, + "target": 63, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 28, + "target": 62, "name": "default.throwOnError" } }, { - "id": 413, + "id": 480, "name": "updateBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 178, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 176, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L178" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L176" } ], "signatures": [ { - "id": 414, + "id": 481, "name": "updateBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -97680,12 +84193,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 176, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L176" + } + ], "parameters": [ { - "id": 415, + "id": 482, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -97701,25 +84222,25 @@ } }, { - "id": 416, + "id": 483, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 417, + "id": 484, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 420, + "id": 487, "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -97733,10 +84254,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 183, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 181, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L183" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L181" } ], "type": { @@ -97757,10 +84278,10 @@ } }, { - "id": 419, + "id": 486, "name": "fileSizeLimit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -97774,10 +84295,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 182, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 180, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L182" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L180" } ], "type": { @@ -97799,10 +84320,10 @@ } }, { - "id": 418, + "id": 485, "name": "public", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ @@ -97814,10 +84335,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 181, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 179, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L181" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L179" } ], "type": { @@ -97829,15 +84350,15 @@ "groups": [ { "title": "Properties", - "children": [420, 419, 418] + "children": [487, 486, 485] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 180, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 178, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L180" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L178" } ] } @@ -97846,6 +84367,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -97853,47 +84378,47 @@ { "type": "reflection", "declaration": { - "id": 421, + "id": 488, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 422, + "id": 489, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 187, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 185, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L187" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185" } ], "type": { "type": "reflection", "declaration": { - "id": 423, + "id": 490, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 424, + "id": 491, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 187, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 185, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L187" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185" } ], "type": { @@ -97905,32 +84430,32 @@ "groups": [ { "title": "Properties", - "children": [424] + "children": [491] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 187, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 185, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L187" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185" } ] } } }, { - "id": 425, + "id": 492, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 186, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L188" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L186" } ], "type": { @@ -97942,15 +84467,15 @@ "groups": [ { "title": "Properties", - "children": [422, 425] + "children": [489, 492] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 186, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 184, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L186" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L184" } ] } @@ -97958,24 +84483,24 @@ { "type": "reflection", "declaration": { - "id": 426, + "id": 493, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 427, + "id": 494, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 191, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 189, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L191" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L189" } ], "type": { @@ -97984,38 +84509,39 @@ } }, { - "id": 428, + "id": 495, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 190, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L192" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L190" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [427, 428] + "children": [494, 495] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 190, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L190" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" } ] } @@ -98024,19 +84550,18 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 63, + "target": 97, "name": "default.updateBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 62, + "target": 96, "name": "default.updateBucket" } } @@ -98044,63 +84569,72 @@ "groups": [ { "title": "Constructors", - "children": [352] + "children": [413] }, { "title": "Methods", - "children": [398, 440, 429, 365, 389, 381, 379, 413] + "children": [465, 507, 496, 429, 456, 448, 446, 480] } ], "sources": [ { - "fileName": "src/StorageClient.ts", + "fileName": "packages/core/storage-js/src/StorageClient.ts", "line": 9, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/StorageClient.ts#L9" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L9" } ], "extendedTypes": [ { "type": "reference", - "id": 3, - "name": "default" + "target": 31, + "name": "default", + "package": "@supabase/storage-js" } ] }, { - "id": 529, + "id": 606, "name": "StorageError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 530, + "id": 607, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 4, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L4" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L4" } ], "signatures": [ { - "id": 531, - "name": "new StorageError", + "id": 608, + "name": "StorageError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 4, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L4" + } + ], "parameters": [ { - "id": 532, + "id": 609, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -98110,17 +84644,20 @@ ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", + "target": -1, "name": "Error.constructor" } } ], "overwrites": { "type": "reference", + "target": -1, "name": "Error.constructor" } } @@ -98128,72 +84665,83 @@ "groups": [ { "title": "Constructors", - "children": [530] + "children": [607] } ], "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 1, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L1" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L1" } ], "extendedTypes": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, "name": "Error", - "qualifiedName": "Error", "package": "typescript" } ], "extendedBy": [ { "type": "reference", - "id": 534, + "target": 611, "name": "StorageApiError" }, { "type": "reference", - "id": 550, + "target": 627, "name": "StorageUnknownError" } ] }, { - "id": 550, + "id": 627, "name": "StorageUnknownError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 551, + "id": 628, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 38, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L38" } ], "signatures": [ { - "id": 552, - "name": "new StorageUnknownError", + "id": 629, + "name": "StorageUnknownError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L38" + } + ], "parameters": [ { - "id": 553, + "id": 630, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -98201,10 +84749,10 @@ } }, { - "id": 554, + "id": 631, "name": "originalError", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -98214,34 +84762,35 @@ ], "type": { "type": "reference", - "id": 550, - "name": "StorageUnknownError" + "target": 627, + "name": "StorageUnknownError", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", - "id": 531, + "target": 608, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 530, + "target": 607, "name": "StorageError.constructor" } }, { - "id": 555, + "id": 632, "name": "originalError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 36, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L36" } ], "type": { @@ -98253,50 +84802,51 @@ "groups": [ { "title": "Constructors", - "children": [551] + "children": [628] }, { "title": "Properties", - "children": [555] + "children": [632] } ], "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 35, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L35" } ], "extendedTypes": [ { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } ] }, { - "id": 452, + "id": 521, "name": "Bucket", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 458, + "id": 527, "name": "allowed_mime_types", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 9, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 11, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L9" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L11" } ], "type": { @@ -98308,17 +84858,17 @@ } }, { - "id": 459, + "id": 528, "name": "created_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 10, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 12, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L12" } ], "type": { @@ -98327,19 +84877,19 @@ } }, { - "id": 457, + "id": 526, "name": "file_size_limit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 8, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 10, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L10" } ], "type": { @@ -98348,17 +84898,17 @@ } }, { - "id": 453, + "id": 522, "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 4, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 6, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L4" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L6" } ], "type": { @@ -98367,17 +84917,17 @@ } }, { - "id": 455, + "id": 524, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 6, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 8, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L6" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L8" } ], "type": { @@ -98386,17 +84936,17 @@ } }, { - "id": 456, + "id": 525, "name": "owner", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 7, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 9, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L7" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L9" } ], "type": { @@ -98405,17 +84955,17 @@ } }, { - "id": 461, + "id": 530, "name": "public", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 12, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 14, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L12" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L14" } ], "type": { @@ -98424,67 +84974,40 @@ } }, { - "id": 454, + "id": 523, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 5, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 7, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L5" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L7" } ], "type": { "type": "reference", - "id": 451, + "target": 520, "name": "BucketType", - "dereferenced": { - "id": 451, - "name": "BucketType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 12, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L1" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "STANDARD" - }, - { - "type": "literal", - "value": "ANALYTICS" - } - ] - } - } + "package": "@supabase/storage-js" } }, { - "id": 460, + "id": 529, "name": "updated_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 11, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 13, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L13" } ], "type": { @@ -98496,39 +85019,39 @@ "groups": [ { "title": "Properties", - "children": [458, 459, 457, 453, 455, 456, 461, 454, 460] + "children": [527, 528, 526, 522, 524, 525, 530, 523, 529] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 3, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 5, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L3" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L5" } ] }, { - "id": 496, + "id": 565, "name": "DestinationOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 497, + "id": 566, "name": "destinationBucket", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 78, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 80, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L78" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L80" } ], "type": { @@ -98540,30 +85063,30 @@ "groups": [ { "title": "Properties", - "children": [497] + "children": [566] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 77, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 79, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L77" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L79" } ] }, { - "id": 514, + "id": 583, "name": "FetchParameters", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 515, + "id": 584, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -98577,16 +85100,19 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 121, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 123, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L121" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L123" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } } @@ -98594,37 +85120,37 @@ "groups": [ { "title": "Properties", - "children": [515] + "children": [584] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 117, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 119, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L117" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L119" } ] }, { - "id": 462, + "id": 531, "name": "FileObject", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 464, + "id": 533, "name": "bucket_id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 17, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 19, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L19" } ], "type": { @@ -98633,269 +85159,38 @@ } }, { - "id": 471, + "id": 540, "name": "buckets", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 24, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 26, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L26" } ], "type": { "type": "reference", - "id": 452, + "target": 521, "name": "Bucket", - "dereferenced": { - "id": 452, - "name": "Bucket", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 458, - "name": "allowed_mime_types", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 9, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L9" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 459, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L10" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 457, - "name": "file_size_limit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L8" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 453, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 4, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L4" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 455, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 6, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L6" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 456, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 7, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 461, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L12" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 454, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 5, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L5" - } - ], - "type": { - "type": "reference", - "id": 451, - "name": "BucketType", - "dereferenced": { - "id": 451, - "name": "BucketType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 12, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L1" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "STANDARD" - }, - { - "type": "literal", - "value": "ANALYTICS" - } - ] - } - } - } - }, - { - "id": 460, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [458, 459, 457, 453, 455, 456, 461, 454, 460] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L3" - } - ] - } + "package": "@supabase/storage-js" } }, { - "id": 468, + "id": 537, "name": "created_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 21, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 23, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L21" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L23" } ], "type": { @@ -98904,17 +85199,17 @@ } }, { - "id": 466, + "id": 535, "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 19, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 21, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L19" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L21" } ], "type": { @@ -98923,17 +85218,17 @@ } }, { - "id": 469, + "id": 538, "name": "last_accessed_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 22, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 24, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L22" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L24" } ], "type": { @@ -98942,21 +85237,25 @@ } }, { - "id": 470, + "id": 539, "name": "metadata", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 23, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 25, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L23" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L25" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -98968,22 +85267,21 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 463, + "id": 532, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 16, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 18, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L18" } ], "type": { @@ -98992,17 +85290,17 @@ } }, { - "id": 465, + "id": 534, "name": "owner", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 18, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 20, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L20" } ], "type": { @@ -99011,17 +85309,17 @@ } }, { - "id": 467, + "id": 536, "name": "updated_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 20, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 22, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L20" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L22" } ], "type": { @@ -99033,37 +85331,37 @@ "groups": [ { "title": "Properties", - "children": [464, 471, 468, 466, 469, 470, 463, 465, 467] + "children": [533, 540, 537, 535, 538, 539, 532, 534, 536] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 15, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 17, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L17" } ] }, { - "id": 472, + "id": 541, "name": "FileObjectV2", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 476, + "id": 545, "name": "bucket_id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 31, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 33, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L31" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L33" } ], "type": { @@ -99072,19 +85370,19 @@ } }, { - "id": 481, + "id": 550, "name": "cache_control", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 36, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 38, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L36" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L38" } ], "type": { @@ -99093,19 +85391,19 @@ } }, { - "id": 482, + "id": 551, "name": "content_type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 37, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 39, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L37" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L39" } ], "type": { @@ -99114,17 +85412,17 @@ } }, { - "id": 478, + "id": 547, "name": "created_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 33, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 35, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L33" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L35" } ], "type": { @@ -99133,19 +85431,19 @@ } }, { - "id": 483, + "id": 552, "name": "etag", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 38, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 40, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L38" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L40" } ], "type": { @@ -99154,17 +85452,17 @@ } }, { - "id": 473, + "id": 542, "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 28, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 30, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L30" } ], "type": { @@ -99173,17 +85471,17 @@ } }, { - "id": 479, + "id": 548, "name": "last_accessed_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 34, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 36, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L34" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L36" } ], "type": { @@ -99192,19 +85490,19 @@ } }, { - "id": 484, + "id": 553, "name": "last_modified", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 39, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 41, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L39" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L41" } ], "type": { @@ -99213,23 +85511,27 @@ } }, { - "id": 485, + "id": 554, "name": "metadata", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 40, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 42, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L40" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L42" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -99241,22 +85543,21 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 475, + "id": 544, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 30, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 32, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L30" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L32" } ], "type": { @@ -99265,19 +85566,19 @@ } }, { - "id": 480, + "id": 549, "name": "size", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 35, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 37, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L37" } ], "type": { @@ -99286,17 +85587,17 @@ } }, { - "id": 477, + "id": 546, "name": "updated_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 32, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 34, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L32" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L34" } ], "type": { @@ -99305,17 +85606,17 @@ } }, { - "id": 474, + "id": 543, "name": "version", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 29, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 31, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L29" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L31" } ], "type": { @@ -99327,30 +85628,30 @@ "groups": [ { "title": "Properties", - "children": [476, 481, 482, 478, 483, 473, 479, 484, 485, 475, 480, 477, 474] + "children": [545, 550, 551, 547, 552, 542, 548, 553, 554, 544, 549, 546, 543] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 27, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 29, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L27" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L29" } ] }, { - "id": 489, + "id": 558, "name": "FileOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 490, + "id": 559, "name": "cacheControl", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99372,10 +85673,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 52, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 54, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L52" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L54" } ], "type": { @@ -99384,10 +85685,10 @@ } }, { - "id": 491, + "id": 560, "name": "contentType", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99449,10 +85750,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 56, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 58, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L56" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L58" } ], "type": { @@ -99461,10 +85762,10 @@ } }, { - "id": 493, + "id": 562, "name": "duplex", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99478,10 +85779,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 64, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 66, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L64" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L66" } ], "type": { @@ -99490,10 +85791,10 @@ } }, { - "id": 495, + "id": 564, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99507,14 +85808,18 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 74, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 76, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L74" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L76" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -99526,15 +85831,14 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 494, + "id": 563, "name": "metadata", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99548,14 +85852,18 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 69, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 71, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L69" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L71" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -99567,15 +85875,14 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 492, + "id": 561, "name": "upsert", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99589,10 +85896,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 60, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 62, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L60" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L62" } ], "type": { @@ -99604,37 +85911,37 @@ "groups": [ { "title": "Properties", - "children": [490, 491, 493, 495, 494, 492] + "children": [559, 560, 562, 564, 563, 561] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 48, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 50, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L48" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L50" } ] }, { - "id": 516, + "id": 585, "name": "Metadata", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 517, + "id": 586, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 126, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 128, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L126" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L128" } ], "type": { @@ -99646,30 +85953,30 @@ "groups": [ { "title": "Properties", - "children": [517] + "children": [586] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 125, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 127, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L125" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L127" } ] }, { - "id": 498, + "id": 567, "name": "SearchOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 499, + "id": 568, "name": "limit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99685,8 +85992,8 @@ "tag": "@default", "content": [ { - "kind": "text", - "text": "100" + "kind": "code", + "text": "```ts\n100\n```" } ] } @@ -99694,10 +86001,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 86, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 88, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L86" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L88" } ], "type": { @@ -99706,10 +86013,10 @@ } }, { - "id": 500, + "id": 569, "name": "offset", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99723,10 +86030,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 91, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 93, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L91" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L93" } ], "type": { @@ -99735,10 +86042,10 @@ } }, { - "id": 502, + "id": 571, "name": "search", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99752,10 +86059,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 101, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 103, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L101" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L103" } ], "type": { @@ -99764,10 +86071,10 @@ } }, { - "id": 501, + "id": 570, "name": "sortBy", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -99781,120 +86088,56 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 96, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 98, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L96" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L98" } ], "type": { "type": "reference", - "id": 486, + "target": 555, "name": "SortBy", - "dereferenced": { - "id": 486, - "name": "SortBy", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 487, - "name": "column", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 44, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L44" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 488, - "name": "order", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L45" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [487, 488] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 43, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L43" - } - ] - } + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [499, 500, 502, 501] + "children": [568, 569, 571, 570] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 81, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 83, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L81" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L83" } ] }, { - "id": 503, + "id": 572, "name": "SearchV2Options", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 506, + "id": 575, "name": "cursor", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 107, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 109, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L107" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L109" } ], "type": { @@ -99903,19 +86146,19 @@ } }, { - "id": 504, + "id": 573, "name": "limit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 105, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 107, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L105" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L107" } ], "type": { @@ -99924,19 +86167,19 @@ } }, { - "id": 505, + "id": 574, "name": "prefix", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 106, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 108, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L106" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L108" } ], "type": { @@ -99945,19 +86188,19 @@ } }, { - "id": 507, + "id": 576, "name": "with_delimiter", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 108, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 110, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L108" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L110" } ], "type": { @@ -99969,37 +86212,37 @@ "groups": [ { "title": "Properties", - "children": [506, 504, 505, 507] + "children": [575, 573, 574, 576] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 104, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 106, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L104" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L106" } ] }, { - "id": 508, + "id": 577, "name": "SearchV2Result", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 510, + "id": 579, "name": "folders", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 113, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 115, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L113" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L115" } ], "type": { @@ -100007,24 +86250,24 @@ "elementType": { "type": "reflection", "declaration": { - "id": 511, + "id": 580, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 581, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 113, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 115, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L113" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L115" } ], "type": { @@ -100036,15 +86279,15 @@ "groups": [ { "title": "Properties", - "children": [512] + "children": [581] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 113, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 115, "character": 11, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L113" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L115" } ] } @@ -100052,17 +86295,17 @@ } }, { - "id": 509, + "id": 578, "name": "hasNext", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 112, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 114, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L112" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L114" } ], "type": { @@ -100071,25 +86314,26 @@ } }, { - "id": 513, + "id": 582, "name": "objects", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 114, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 116, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L114" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L116" } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 462, - "name": "FileObject" + "target": 531, + "name": "FileObject", + "package": "@supabase/storage-js" } } } @@ -100097,39 +86341,39 @@ "groups": [ { "title": "Properties", - "children": [510, 509, 513] + "children": [579, 578, 582] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 111, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 113, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L111" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L113" } ] }, { - "id": 486, + "id": 555, "name": "SortBy", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 556, "name": "column", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 44, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 46, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L44" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L46" } ], "type": { @@ -100138,19 +86382,19 @@ } }, { - "id": 488, + "id": 557, "name": "order", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 45, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 47, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L45" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L47" } ], "type": { @@ -100162,30 +86406,74 @@ "groups": [ { "title": "Properties", - "children": [487, 488] + "children": [556, 557] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 43, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 45, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L45" } ] }, { "id": 518, + "name": "StorageClientOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 519, + "name": "useNewHostname", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 6, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [519] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 5, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/StorageClient.ts#L5" + } + ] + }, + { + "id": 587, "name": "TransformOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 523, + "id": 592, "name": "format", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -100199,10 +86487,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 157, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 159, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L157" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L159" } ], "type": { @@ -100211,10 +86499,10 @@ } }, { - "id": 520, + "id": 589, "name": "height", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -100228,10 +86516,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 137, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 139, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L137" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L139" } ], "type": { @@ -100240,10 +86528,10 @@ } }, { - "id": 522, + "id": 591, "name": "quality", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -100257,10 +86545,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 150, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 152, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L150" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L152" } ], "type": { @@ -100269,10 +86557,10 @@ } }, { - "id": 521, + "id": 590, "name": "resize", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -100286,10 +86574,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 144, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 146, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L144" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L146" } ], "type": { @@ -100297,7 +86585,7 @@ "types": [ { "type": "literal", - "value": "cover" + "value": "fill" }, { "type": "literal", @@ -100305,16 +86593,16 @@ }, { "type": "literal", - "value": "fill" + "value": "cover" } ] } }, { - "id": 519, + "id": 588, "name": "width", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -100328,10 +86616,10 @@ }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 133, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 135, "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L133" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L135" } ], "type": { @@ -100343,30 +86631,30 @@ "groups": [ { "title": "Properties", - "children": [523, 520, 522, 521, 519] + "children": [592, 589, 591, 590, 588] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 129, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 131, "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L129" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L131" } ] }, { - "id": 451, + "id": 520, "name": "BucketType", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 3, "character": 12, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L1" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L3" } ], "type": { @@ -100384,25 +86672,25 @@ } }, { - "id": 524, + "id": 593, "name": "Camelize", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 164, + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 166, "character": 12, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L164" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L166" } ], "typeParameters": [ { - "id": 525, + "id": 594, "name": "T", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} } ], @@ -100414,31 +86702,55 @@ "operator": "keyof", "target": { "type": "reference", - "id": 525, - "name": "T" + "target": 594, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true } }, "templateType": { "type": "indexedAccess", "indexType": { "type": "reference", - "name": "K" + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/storage-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 525, - "name": "T" + "target": 594, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true } }, "nameType": { "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "CamelCase" + }, "typeArguments": [ { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Extract" + }, "typeArguments": [ { "type": "reference", - "name": "K" + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/storage-js", + "refersToTypeParameter": true }, { "type": "intrinsic", @@ -100446,1653 +86758,1266 @@ } ], "name": "Extract", - "qualifiedName": "Extract", "package": "typescript" } ], - "name": "CamelCase" + "name": "CamelCase", + "package": "@supabase/storage-js" } } }, { - "id": 526, - "name": "isStorageError", - "kind": 64, - "kindString": "Function", + "id": 595, + "name": "DownloadResult", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/errors.ts#L10" + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 170, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L170" } ], - "signatures": [ + "typeParameters": [ { - "id": 527, - "name": "isStorageError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 528, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 529, - "name": "StorageError" - } - } + "id": 602, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} } - ] - } - ], - "groups": [ - { - "title": "Classes", - "children": [534, 351, 529, 550] - }, - { - "title": "Interfaces", - "children": [452, 496, 514, 462, 472, 489, 516, 498, 503, 508, 486, 518] - }, - { - "title": "Type Aliases", - "children": [451, 524] - }, - { - "title": "Functions", - "children": [526] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/index.ts#L1" - } - ] - }, - { - "id": 2, - "name": "packages/StorageBucketApi", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 3, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 4, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 14, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L14" - } - ], - "signatures": [ - { - "id": 5, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 596, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "parameters": [ + "children": [ { - "id": 6, - "name": "url", - "kind": 32768, - "kindString": "Parameter", + "id": 597, + "name": "data", + "variant": "declaration", + "kind": 1024, "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 172, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L172" + } + ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 602, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true } }, { - "id": 7, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", + "id": 598, + "name": "error", + "variant": "declaration", + "kind": 1024, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 16, - "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L16" - } - ], - "indexSignature": { - "id": 9, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 10, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 173, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L173" } - }, - "defaultValue": "{}" - }, - { - "id": 11, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + ], "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 17731, - "character": 17 - } - ], - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - } - }, - { - "id": 15, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } + "type": "literal", + "value": null } - }, + } + ], + "groups": [ { - "id": 16, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "StorageClientOptions" - } + "title": "Properties", + "children": [597, 598] } ], - "type": { - "type": "reference", - "id": 3, - "name": "default" - } - } - ] - }, - { - "id": 47, - "name": "createBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 119, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L119" + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 171, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L171" + } + ] } - ], - "signatures": [ - { - "id": 48, - "name": "createBucket", - "kind": 4096, - "kindString": "Call signature", + }, + { + "type": "reflection", + "declaration": { + "id": 599, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a new Storage bucket" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "newly created bucket id" - } - ] - } - ] - }, - "parameters": [ + "children": [ { - "id": 49, - "name": "id", - "kind": 32768, - "kindString": "Parameter", + "id": 600, + "name": "data", + "variant": "declaration", + "kind": 1024, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A unique identifier for the bucket you are creating." - } - ] - }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 176, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L176" + } + ], "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null } }, { - "id": 50, - "name": "options", - "kind": 32768, - "kindString": "Parameter", + "id": 601, + "name": "error", + "variant": "declaration", + "kind": 1024, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 51, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 54, - "name": "allowedMimeTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." - } - ] - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 124, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L124" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 53, - "name": "fileSizeLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." - } - ] - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 123, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L123" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 52, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." - } - ] - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 122, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L122" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 55, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "(private-beta) specifies the bucket type. see " - }, - { - "kind": "code", - "text": "`BucketType`" - }, - { - "kind": "text", - "text": " for more details.\n - default bucket type is " - }, - { - "kind": "code", - "text": "`STANDARD`" - } - ] - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 125, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L125" - } - ], - "type": { - "type": "reference", - "id": 451, - "name": "BucketType", - "dereferenced": { - "id": 451, - "name": "BucketType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 12, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L1" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "STANDARD" - }, - { - "type": "literal", - "value": "ANALYTICS" - } - ] - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [54, 53, 52, 55] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 121, - "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L121" - } - ] + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 177, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L177" } - }, - "defaultValue": "..." + ], + "type": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" + } } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 56, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 57, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 131, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L131" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 452, - "name": "Bucket" - }, - { - "type": "literal", - "value": "name" - } - ], - "name": "Pick", - "qualifiedName": "Pick", - "package": "typescript" - } - }, - { - "id": 58, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 132, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L132" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [57, 58] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 130, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L130" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 59, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 60, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 135, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L135" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 61, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 136, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L136" - } - ], - "type": { - "type": "reference", - "id": 529, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [60, 61] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 134, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L134" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } + "groups": [ + { + "title": "Properties", + "children": [600, 601] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 175, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/types.ts#L175" + } + ] } - ] - }, + } + ] + } + }, + { + "id": 603, + "name": "isStorageError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ { - "id": 89, - "name": "deleteBucket", - "kind": 2048, - "kindString": "Method", + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 10, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L10" + } + ], + "signatures": [ + { + "id": 604, + "name": "isStorageError", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 264, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L264" + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 10, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/lib/errors.ts#L10" } ], - "signatures": [ + "parameters": [ { - "id": 90, - "name": "deleteBucket", - "kind": 4096, - "kindString": "Call signature", + "id": 605, + "name": "error", + "variant": "param", + "kind": 32768, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first " - }, - { - "kind": "code", - "text": "`empty()`" - }, - { - "kind": "text", - "text": " the bucket." - } - ] - }, - "parameters": [ - { - "id": 91, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique identifier of the bucket you would like to delete." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 92, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 93, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 268, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L268" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 94, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 95, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 268, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L268" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [95] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 268, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L268" - } - ] - } - } - }, - { - "id": 96, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 269, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L269" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [93, 96] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 267, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L267" - } - ] + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [611, 412, 606, 627] + }, + { + "title": "Interfaces", + "children": [521, 565, 583, 531, 541, 558, 585, 567, 572, 577, 555, 518, 587] + }, + { + "title": "Type Aliases", + "children": [520, 593, 595] + }, + { + "title": "Functions", + "children": [603] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/index.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/index.ts#L1" + } + ] + }, + { + "id": 2, + "name": "packages/BlobDownloadBuilder", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 3, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 4, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 6, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L6" + } + ], + "signatures": [ + { + "id": 5, + "name": "default", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 6, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L6" + } + ], + "parameters": [ + { + "id": 6, + "name": "downloadFn", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 7, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L7" } - }, - { - "type": "reflection", - "declaration": { - "id": 97, + ], + "signatures": [ + { + "id": 8, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "sources": [ { - "id": 98, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 272, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L272" - } - ], - "type": { - "type": "literal", - "value": null - } + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 7, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L7" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 99, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 273, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L273" - } - ], - "type": { + "typeArguments": [ + { "type": "reference", - "id": 529, - "name": "StorageError" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [98, 99] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 271, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L271" - } - ] + ], + "name": "Promise", + "package": "typescript" + } } - } - ] + ] + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + }, + { + "id": 9, + "name": "shouldThrowOnError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "target": 3, + "name": "BlobDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 78, - "name": "emptyBucket", + "id": 14, + "name": "asStream", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 226, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L226" + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L11" } ], "signatures": [ { - "id": 79, - "name": "emptyBucket", + "id": 15, + "name": "asStream", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Removes all objects inside a single bucket." - } - ] - }, - "parameters": [ + "sources": [ { - "id": 80, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique identifier of the bucket you would like to empty." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L11" } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 82, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 230, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L230" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 83, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 84, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 230, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L230" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [84] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 230, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L230" - } - ] - } - } - }, - { - "id": 85, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 231, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L231" - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [82, 85] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 229, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L229" - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 234, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L234" - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 88, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 235, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L235" - } - ], - "type": { - "type": "reference", - "id": 529, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87, 88] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 233, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L233" - } - ] - } - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + "target": 387, + "name": "StreamDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 38, - "name": "getBucket", + "id": 16, + "name": "then", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 77, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L77" + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L15" } ], "signatures": [ { - "id": 39, - "name": "getBucket", + "id": 17, + "name": "then", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Retrieves the details of an existing Storage bucket." + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L15" + } + ], + "typeParameters": [ + { + "id": 18, + "name": "TResult1", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "reference", + "target": 595, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + }, + { + "id": 19, + "name": "TResult2", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], "parameters": [ { - "id": 40, - "name": "id", + "id": 20, + "name": "onfulfilled", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The unique identifier of the bucket you would like to retrieve." + "text": "The callback to execute when the Promise is resolved." } ] }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { "type": "union", "types": [ + { + "type": "literal", + "value": null + }, { "type": "reflection", "declaration": { - "id": 41, + "id": 21, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 42, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 16, + "character": 19, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L16" + } + ], + "signatures": [ + { + "id": 22, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 81, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L81" + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 16, + "character": 19, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L16" } ], - "type": { - "type": "reference", - "id": 452, - "name": "Bucket" - } - }, - { - "id": 43, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "parameters": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 82, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L82" + "id": 23, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 595, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } } ], "type": { - "type": "literal", - "value": null + "type": "union", + "types": [ + { + "type": "reference", + "target": 18, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 18, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "children": [42, 43] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 80, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L80" - } ] } + } + ] + } + }, + { + "id": 24, + "name": "onrejected", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, { "type": "reflection", "declaration": { - "id": 44, + "id": 25, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 45, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L85" - } - ], - "type": { - "type": "literal", - "value": null - } - }, + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 17, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L17" + } + ], + "signatures": [ { - "id": 46, - "name": "error", - "kind": 1024, - "kindString": "Property", + "id": 26, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 86, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L86" + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 17, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L17" + } + ], + "parameters": [ + { + "id": 27, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } } ], "type": { - "type": "reference", - "id": 529, - "name": "StorageError" + "type": "union", + "types": [ + { + "type": "reference", + "target": 19, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "children": [45, 46] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 84, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L84" - } ] } } ] } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 18, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ] + } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" } } - ] + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [4] }, { - "id": 30, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", + "title": "Methods", + "children": [14, 16] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 5, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L5" + } + ], + "implementedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 595, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [3] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L1" + } + ] + }, + { + "id": 30, + "name": "packages/StorageBucketApi", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 31, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 32, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 47, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L47" + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L14" } ], "signatures": [ { - "id": 31, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", + "id": 33, + "name": "default", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Retrieves the details of all Storage buckets within an existing project." + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L14" + } + ], + "parameters": [ + { + "id": 34, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 32, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + }, + { + "id": 35, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 36, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 16, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L16" + } + ], + "indexSignatures": [ + { + "id": 37, + "name": "__index", + "variant": "signature", + "kind": 8192, "flags": {}, - "children": [ + "sources": [ { - "id": 33, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 49, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L49" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 452, - "name": "Bucket" - } - } - }, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 16, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L16" + } + ], + "parameters": [ { - "id": 34, - "name": "error", - "kind": 1024, - "kindString": "Property", + "id": 38, + "name": "key", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 50, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L50" - } - ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" } } ], - "groups": [ - { - "title": "Properties", - "children": [33, 34] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L48" - } - ] + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - { - "type": "reflection", - "declaration": { - "id": 35, + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 39, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 40, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "signatures": [ + { + "id": 41, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ { - "id": 36, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], + "parameters": [ + { + "id": 42, + "name": "input", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L53" - } - ], "type": { - "type": "literal", - "value": null + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] } }, { - "id": 37, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 54, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L54" - } - ], + "id": 43, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" } } ], - "groups": [ + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 44, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ { - "title": "Properties", - "children": [36, 37] + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], - "sources": [ + "parameters": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L52" + "id": 45, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 46, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } } - } - ] + ] + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 28, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 39, - "character": 9, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L39" - } - ], - "signatures": [ - { - "id": 29, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Enable throwing errors instead of returning them." + }, + { + "id": 47, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 518, + "name": "StorageClientOptions", + "package": "@supabase/storage-js" } - ] - }, + } + ], "type": { "type": "reference", - "id": 3, - "name": "default" + "target": 31, + "name": "StorageBucketApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 62, - "name": "updateBucket", + "id": 81, + "name": "createBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 178, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 117, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L178" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L117" } ], "signatures": [ { - "id": 63, - "name": "updateBucket", + "id": 82, + "name": "createBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Updates a Storage bucket" + "text": "Creates a new Storage bucket" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "newly created bucket id" + } + ] } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 117, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L117" + } + ], "parameters": [ { - "id": 64, + "id": 83, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "A unique identifier for the bucket you are updating." + "text": "A unique identifier for the bucket you are creating." } ] }, @@ -102102,25 +88027,25 @@ } }, { - "id": 65, + "id": 84, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 66, + "id": 85, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 69, + "id": 88, "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -102134,10 +88059,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 183, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 122, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L183" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L122" } ], "type": { @@ -102158,10 +88083,10 @@ } }, { - "id": 68, + "id": 87, "name": "fileSizeLimit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -102175,10 +88100,10 @@ }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 182, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 121, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L182" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L121" } ], "type": { @@ -102200,53 +88125,101 @@ } }, { - "id": 67, + "id": 86, "name": "public", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." + "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." } ] }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 181, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 120, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L181" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L120" } ], "type": { "type": "intrinsic", "name": "boolean" } + }, + { + "id": 89, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "(private-beta) specifies the bucket type. see " + }, + { + "kind": "code", + "text": "`BucketType`" + }, + { + "kind": "text", + "text": " for more details.\n - default bucket type is " + }, + { + "kind": "code", + "text": "`STANDARD`" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 123, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L123" + } + ], + "type": { + "type": "reference", + "target": 520, + "name": "BucketType", + "package": "@supabase/storage-js" + } } ], "groups": [ { "title": "Properties", - "children": [69, 68, 67] + "children": [88, 87, 86, 89] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 180, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 119, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L180" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L119" } ] } - } + }, + "defaultValue": "..." } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -102254,84 +88227,60 @@ { "type": "reflection", "declaration": { - "id": 70, + "id": 90, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 91, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 187, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 129, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L187" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L129" } ], "type": { - "type": "reflection", - "declaration": { - "id": 72, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 73, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 187, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L187" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [73] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 187, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L187" - } - ] - } + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 521, + "name": "Bucket", + "package": "@supabase/storage-js" + }, + { + "type": "literal", + "value": "name" + } + ], + "name": "Pick", + "package": "typescript" } }, { - "id": 74, + "id": 92, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 130, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L188" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L130" } ], "type": { @@ -102343,15 +88292,15 @@ "groups": [ { "title": "Properties", - "children": [71, 74] + "children": [91, 92] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 186, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 128, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L186" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L128" } ] } @@ -102359,24 +88308,24 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 93, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 76, + "id": 94, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 191, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 133, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L191" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L133" } ], "type": { @@ -102385,38 +88334,39 @@ } }, { - "id": 77, + "id": 95, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 134, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L192" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L134" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [76, 77] + "children": [94, 95] } ], "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 190, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 132, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L190" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L132" } ] } @@ -102425,328 +88375,316 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [4] }, { - "title": "Methods", - "children": [47, 89, 78, 38, 30, 28, 62] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 8, - "character": 21, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L8" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 351, - "name": "StorageClient" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "children": [3] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageBucketApi.ts#L1" - } - ] - }, - { - "id": 100, - "name": "packages/StorageFileApi", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 101, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 102, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", + "id": 123, + "name": "deleteBucket", + "variant": "declaration", + "kind": 2048, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 51, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L51" + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 260, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L260" } ], "signatures": [ { - "id": 103, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", + "id": 124, + "name": "deleteBucket", + "variant": "signature", + "kind": 4096, "flags": {}, - "parameters": [ - { - "id": 104, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first " + }, + { + "kind": "code", + "text": "`empty()`" + }, + { + "kind": "text", + "text": " the bucket." } - }, + ] + }, + "sources": [ { - "id": 105, - "name": "headers", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 260, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L260" + } + ], + "parameters": [ + { + "id": 125, + "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 53, - "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L53" - } - ], - "indexSignature": { - "id": 107, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 108, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to delete." } - } - }, - "defaultValue": "{}" - }, - { - "id": 109, - "name": "bucketId", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true + ] }, "type": { "type": "intrinsic", "name": "string" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 110, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 111, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 17731, - "character": 17 - } - ], - "signatures": [ - { - "id": 112, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 126, "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "variant": "declaration", + "kind": 65536, "flags": {}, - "parameters": [ + "children": [ { - "id": 113, - "name": "input", - "kind": 32768, - "kindString": "Parameter", + "id": 127, + "name": "data", + "variant": "declaration", + "kind": 1024, "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 262, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L262" + } + ], "type": { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" + "type": "reflection", + "declaration": { + "id": 128, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 129, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 262, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L262" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [129] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 262, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L262" + } + ] + } } }, { - "id": 114, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "id": 130, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 263, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263" + } + ], "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" + "type": "literal", + "value": null } } ], - "type": { - "type": "reference", - "typeArguments": [ - { + "groups": [ + { + "title": "Properties", + "children": [127, 130] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 261, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L261" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 131, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 132, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 266, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L266" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 133, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 267, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L267" + } + ], + "type": { "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [132, 133] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" + } + ] } - ] - } + } + ] } - } - ], - "type": { - "type": "reference", - "id": 101, - "name": "default" + ], + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 219, - "name": "copy", + "id": 112, + "name": "emptyBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 378, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 224, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L378" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L224" } ], "signatures": [ { - "id": 220, - "name": "copy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Copies an existing file to a new path in the same bucket." - } - ] - }, - "parameters": [ - { - "id": 221, - "name": "fromPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The original file path, including the current file name. For example " - }, - { - "kind": "code", - "text": "`folder/image.png`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + "id": 113, + "name": "emptyBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Removes all objects inside a single bucket." } - }, + ] + }, + "sources": [ { - "id": 222, - "name": "toPath", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 224, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L224" + } + ], + "parameters": [ + { + "id": 114, + "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The new file path, including the new file name. For example " - }, - { - "kind": "code", - "text": "`folder/image-copy.png`" - }, - { - "kind": "text", - "text": "." + "text": "The unique identifier of the bucket you would like to empty." } ] }, @@ -102754,76 +88692,14 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 223, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The destination options." - } - ] - }, - "type": { - "type": "reference", - "id": 496, - "name": "DestinationOptions", - "dereferenced": { - "id": 496, - "name": "DestinationOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 497, - "name": "destinationBucket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L78" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [497] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L77" - } - ] - } - } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -102831,47 +88707,47 @@ { "type": "reflection", "declaration": { - "id": 224, + "id": 115, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 225, + "id": 116, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 384, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 226, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L384" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L226" } ], "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 117, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, - "name": "path", + "id": 118, + "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 384, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 226, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L384" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L226" } ], "type": { @@ -102883,32 +88759,32 @@ "groups": [ { "title": "Properties", - "children": [227] + "children": [118] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 384, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 226, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L384" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L226" } ] } } }, { - "id": 228, + "id": 119, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 385, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 227, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L385" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L227" } ], "type": { @@ -102920,15 +88796,15 @@ "groups": [ { "title": "Properties", - "children": [225, 228] + "children": [116, 119] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 383, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 225, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L383" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L225" } ] } @@ -102936,24 +88812,24 @@ { "type": "reflection", "declaration": { - "id": 229, + "id": 120, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 121, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 388, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 230, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L388" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L230" } ], "type": { @@ -102962,38 +88838,39 @@ } }, { - "id": 231, + "id": 122, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 389, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 231, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L389" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L231" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [230, 231] + "children": [121, 122] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 387, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L387" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" } ] } @@ -103002,61 +88879,60 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 175, - "name": "createSignedUploadUrl", + "id": 72, + "name": "getBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 242, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 77, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L242" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L77" } ], "signatures": [ { - "id": 176, - "name": "createSignedUploadUrl", + "id": 73, + "name": "getBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours." + "text": "Retrieves the details of an existing Storage bucket." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 77, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L77" + } + ], "parameters": [ { - "id": 177, - "name": "path", + "id": 74, + "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The file path, including the current file name. For example " - }, - { - "kind": "code", - "text": "`folder/image.png`" - }, - { - "kind": "text", - "text": "." + "text": "The unique identifier of the bucket you would like to retrieve." } ] }, @@ -103064,72 +88940,202 @@ "type": "intrinsic", "name": "string" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 178, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 179, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 180, - "name": "upsert", - "kind": 1024, - "kindString": "Property", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 75, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to true, allows the file to be overwritten if it already exists." + "children": [ + { + "id": 76, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 79, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L79" + } + ], + "type": { + "type": "reference", + "target": 521, + "name": "Bucket", + "package": "@supabase/storage-js" } - ] - }, - "sources": [ + }, { - "fileName": "src/packages/StorageFileApi.ts", - "line": 244, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L244" + "id": 77, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 80, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L80" + } + ], + "type": { + "type": "literal", + "value": null + } } ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [180] + "groups": [ + { + "title": "Properties", + "children": [76, 77] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 78, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L78" + } + ] } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 244, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L244" + }, + { + "type": "reflection", + "declaration": { + "id": 78, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 79, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 83, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L83" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 80, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 84, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L84" + } + ], + "type": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [79, 80] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 82, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L82" + } + ] } - ] - } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 64, + "name": "listBuckets", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" + } + ], + "signatures": [ + { + "id": 65, + "name": "listBuckets", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of all Storage buckets within an existing project." } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -103137,122 +89143,48 @@ { "type": "reflection", "declaration": { - "id": 181, + "id": 66, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 182, + "id": 67, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 247, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 49, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L247" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L49" } ], "type": { - "type": "reflection", - "declaration": { - "id": 183, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 186, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 247, - "character": 50, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L247" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 184, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 247, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L247" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 185, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 247, - "character": 35, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L247" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [186, 184, 185] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 247, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L247" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 521, + "name": "Bucket", + "package": "@supabase/storage-js" } } }, { - "id": 187, + "id": 68, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 50, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L248" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L50" } ], "type": { @@ -103264,15 +89196,15 @@ "groups": [ { "title": "Properties", - "children": [182, 187] + "children": [67, 68] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 246, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 48, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L246" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L48" } ] } @@ -103280,24 +89212,24 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 69, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 70, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 251, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 53, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L251" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L53" } ], "type": { @@ -103306,38 +89238,39 @@ } }, { - "id": 190, + "id": 71, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 252, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 54, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L252" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L54" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [189, 190] + "children": [70, 71] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 250, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 52, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L250" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L52" } ] } @@ -103346,61 +89279,106 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 232, - "name": "createSignedUrl", + "id": 62, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" + } + ], + "signatures": [ + { + "id": 63, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 96, + "name": "updateBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 425, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 176, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L425" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L176" } ], "signatures": [ { - "id": 233, - "name": "createSignedUrl", + "id": 97, + "name": "updateBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time." + "text": "Updates a Storage bucket" } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 176, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L176" + } + ], "parameters": [ { - "id": 234, - "name": "path", + "id": 98, + "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The file path, including the current file name. For example " - }, - { - "kind": "code", - "text": "`folder/image.png`" - }, - { - "kind": "text", - "text": "." + "text": "A unique identifier for the bucket you are updating." } ] }, @@ -103410,54 +89388,25 @@ } }, { - "id": 235, - "name": "expiresIn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of seconds until the signed URL expires. For example, " - }, - { - "kind": "code", - "text": "`60`" - }, - { - "kind": "text", - "text": " for a URL which is valid for one minute." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 236, + "id": 99, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 237, + "id": 100, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 238, - "name": "download", + "id": 103, + "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -103465,37 +89414,40 @@ "summary": [ { "kind": "text", - "text": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + "text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." } ] }, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 428, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L428" + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 181, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L181" } ], "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } ] } }, { - "id": 239, - "name": "transform", + "id": 102, + "name": "fileSizeLimit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -103503,218 +89455,76 @@ "summary": [ { "kind": "text", - "text": "Transform the asset before serving it to the client." + "text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." } ] }, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 428, - "character": 45, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L428" + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 180, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L180" } ], "type": { - "type": "reference", - "id": 518, - "name": "TransformOptions", - "dereferenced": { - "id": 518, - "name": "TransformOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 523, - "name": "format", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Specify the format of the image requested.\n\nWhen using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 157, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L157" - } - ], - "type": { - "type": "literal", - "value": "origin" - } - }, - { - "id": 520, - "name": "height", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The height of the image in pixels." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 137, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L137" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 522, - "name": "quality", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L150" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 521, - "name": "resize", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 144, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L144" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "cover" - }, - { - "type": "literal", - "value": "contain" - }, - { - "type": "literal", - "value": "fill" - } - ] - } - }, - { - "id": 519, - "name": "width", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The width of the image in pixels." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L133" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [523, 520, 522, 521, 519] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L129" - } - ] + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 101, + "name": "public", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 179, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L179" } + ], + "type": { + "type": "intrinsic", + "name": "boolean" } } ], "groups": [ { "title": "Properties", - "children": [238, 239] + "children": [103, 102, 101] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 428, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L428" + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 178, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L178" } ] } @@ -103723,6 +89533,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -103730,47 +89544,47 @@ { "type": "reflection", "declaration": { - "id": 240, + "id": 104, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 241, + "id": 105, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 431, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 185, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L431" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185" } ], "type": { "type": "reflection", "declaration": { - "id": 242, + "id": 106, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 243, - "name": "signedUrl", + "id": 107, + "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 431, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 185, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L431" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185" } ], "type": { @@ -103782,32 +89596,32 @@ "groups": [ { "title": "Properties", - "children": [243] + "children": [107] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 431, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 185, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L431" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185" } ] } } }, { - "id": 244, + "id": 108, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 432, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 186, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L432" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L186" } ], "type": { @@ -103819,15 +89633,15 @@ "groups": [ { "title": "Properties", - "children": [241, 244] + "children": [105, 108] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 430, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 184, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L430" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L184" } ] } @@ -103835,24 +89649,24 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 109, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 246, + "id": 110, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 435, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 189, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L435" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L189" } ], "type": { @@ -103861,38 +89675,39 @@ } }, { - "id": 247, + "id": 111, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 436, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 190, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L436" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L190" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [246, 247] + "children": [110, 111] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 434, + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L434" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" } ] } @@ -103901,465 +89716,463 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [32] }, { - "id": 248, - "name": "createSignedUrls", - "kind": 2048, - "kindString": "Method", + "title": "Methods", + "children": [81, 123, 112, 72, 64, 62, 96] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 8, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L8" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 412, + "name": "StorageClient" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [31] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageBucketApi.ts#L1" + } + ] + }, + { + "id": 134, + "name": "packages/StorageFileApi", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 135, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 136, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 473, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L473" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L52" } ], "signatures": [ { - "id": 249, - "name": "createSignedUrls", - "kind": 4096, - "kindString": "Call signature", + "id": 137, + "name": "default", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time." - } - ] - }, - "parameters": [ + "sources": [ { - "id": 250, - "name": "paths", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The file paths to be downloaded, including the current file names. For example " - }, - { - "kind": "code", - "text": "`['folder/image.png', 'folder2/image2.png']`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L52" + } + ], + "parameters": [ { - "id": 251, - "name": "expiresIn", + "id": 138, + "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of seconds until the signed URLs expire. For example, " - }, - { - "kind": "code", - "text": "`60`" - }, - { - "kind": "text", - "text": " for URLs which are valid for one minute." - } - ] - }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 252, - "name": "options", + "id": 139, + "name": "headers", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 253, + "id": 140, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ - { - "id": 254, - "name": "download", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." - } - ] - }, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 476, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L476" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [254] - } - ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 476, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L476" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 54, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L54" } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 255, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 256, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 479, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L479" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 257, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 258, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 479, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L479" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 259, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 479, - "character": 38, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L479" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 260, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 479, - "character": 59, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L479" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [258, 259, 260] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 479, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L479" - } - ] - } - } - } - }, + ], + "indexSignatures": [ + { + "id": 141, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ { - "id": 261, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 480, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L480" - } - ], - "type": { - "type": "literal", - "value": null - } + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 54, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L54" } ], - "groups": [ + "parameters": [ { - "title": "Properties", - "children": [256, 261] + "id": 142, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 478, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L478" - } - ] + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - { - "type": "reflection", - "declaration": { - "id": 262, + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 143, + "name": "bucketId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 144, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 145, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "signatures": [ + { + "id": 146, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, - "children": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ { - "id": 263, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + } + ], + "parameters": [ + { + "id": 147, + "name": "input", + "variant": "param", + "kind": 32768, "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 483, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L483" - } - ], "type": { - "type": "literal", - "value": null + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] } }, { - "id": 264, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 484, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L484" - } - ], + "id": 148, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" } } ], - "groups": [ + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 149, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ { - "title": "Properties", - "children": [263, 264] + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], - "sources": [ + "parameters": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 482, - "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L482" + "id": 150, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 151, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } } - } - ] + ] + } } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + } + ], + "type": { + "type": "reference", + "target": 135, + "name": "StorageFileApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 265, - "name": "download", + "id": 259, + "name": "copy", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 525, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 379, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L525" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L379" } ], "signatures": [ { - "id": 266, - "name": "download", + "id": 260, + "name": "copy", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from " - }, - { - "kind": "code", - "text": "`getPublicUrl`" - }, - { - "kind": "text", - "text": " instead." + "text": "Copies an existing file to a new path in the same bucket." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 379, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L379" + } + ], "parameters": [ { - "id": 267, - "name": "path", + "id": 261, + "name": "fromPath", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The full path and file name of the file to be downloaded. For example " + "text": "The original file path, including the current file name. For example " }, { "kind": "code", @@ -104377,254 +90190,62 @@ } }, { - "id": 268, + "id": 262, + "name": "toPath", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new file path, including the new file name. For example " + }, + { + "kind": "code", + "text": "`folder/image-copy.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 263, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The destination options." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 269, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 270, - "name": "transform", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Transform the asset before serving it to the client." - } - ] - }, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 527, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L527" - } - ], - "type": { - "type": "reference", - "id": 518, - "name": "TransformOptions", - "dereferenced": { - "id": 518, - "name": "TransformOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 523, - "name": "format", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Specify the format of the image requested.\n\nWhen using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 157, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L157" - } - ], - "type": { - "type": "literal", - "value": "origin" - } - }, - { - "id": 520, - "name": "height", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The height of the image in pixels." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 137, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L137" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 522, - "name": "quality", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L150" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 521, - "name": "resize", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 144, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L144" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "cover" - }, - { - "type": "literal", - "value": "contain" - }, - { - "type": "literal", - "value": "fill" - } - ] - } - }, - { - "id": 519, - "name": "width", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The width of the image in pixels." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L133" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [523, 520, 522, 521, 519] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L129" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [270] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 527, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L527" - } - ] - } + "type": "reference", + "target": 565, + "name": "DestinationOptions", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -104632,45 +90253,84 @@ { "type": "reflection", "declaration": { - "id": 271, + "id": 264, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 272, + "id": 265, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 530, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 385, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L530" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L385" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 266, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 267, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 385, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L385" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [267] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 385, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L385" + } + ] } - ], - "type": { - "type": "reference", - "name": "Blob", - "qualifiedName": "Blob", - "package": "typescript" } }, { - "id": 273, + "id": 268, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 531, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 386, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L531" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L386" } ], "type": { @@ -104682,15 +90342,15 @@ "groups": [ { "title": "Properties", - "children": [272, 273] + "children": [265, 268] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 529, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 384, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L529" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L384" } ] } @@ -104698,24 +90358,24 @@ { "type": "reflection", "declaration": { - "id": 274, + "id": 269, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 275, + "id": 270, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 534, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 389, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L534" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L389" } ], "type": { @@ -104724,38 +90384,39 @@ } }, { - "id": 276, + "id": 271, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 535, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 390, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L535" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L390" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [275, 276] + "children": [270, 271] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 533, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 388, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L533" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L388" } ] } @@ -104764,56 +90425,145 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 286, - "name": "exists", + "id": 215, + "name": "createSignedUploadUrl", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 603, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 243, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L603" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L243" } ], "signatures": [ { - "id": 287, - "name": "exists", + "id": 216, + "name": "createSignedUploadUrl", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Checks the existence of a file." + "text": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 243, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L243" + } + ], "parameters": [ { - "id": 288, + "id": 217, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 218, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 219, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 220, + "name": "upsert", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to true, allows the file to be overwritten if it already exists." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 245, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L245" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [220] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 245, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L245" + } + ] + } + } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -104821,43 +90571,122 @@ { "type": "reflection", "declaration": { - "id": 289, + "id": 221, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 290, + "id": 222, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 607, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 248, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L607" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L248" } ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reflection", + "declaration": { + "id": 223, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 226, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 248, + "character": 50, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L248" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 224, + "name": "signedUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 248, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L248" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 225, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 248, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L248" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [226, 224, 225] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 248, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L248" + } + ] + } } }, { - "id": 291, + "id": 227, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 608, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 249, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L608" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L249" } ], "type": { @@ -104869,15 +90698,15 @@ "groups": [ { "title": "Properties", - "children": [290, 291] + "children": [222, 227] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 606, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 247, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L606" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L247" } ] } @@ -104885,64 +90714,65 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 228, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 293, + "id": 229, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 611, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 252, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L611" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L252" } ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "literal", + "value": null } }, { - "id": 294, + "id": 230, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 612, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 253, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L612" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L253" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [293, 294] + "children": [229, 230] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 610, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 251, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L610" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L251" } ] } @@ -104951,53 +90781,60 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 295, - "name": "getPublicUrl", + "id": 272, + "name": "createSignedUrl", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 647, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L647" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 426, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L426" } ], "signatures": [ { - "id": 296, - "name": "getPublicUrl", + "id": 273, + "name": "createSignedUrl", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset." + "text": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 426, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L426" + } + ], "parameters": [ { - "id": 297, + "id": 274, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The path and name of the file to generate the public URL for. For example " + "text": "The file path, including the current file name. For example " }, { "kind": "code", @@ -105015,27 +90852,54 @@ } }, { - "id": 298, + "id": 275, + "name": "expiresIn", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the signed URL expires. For example, " + }, + { + "kind": "code", + "text": "`60`" + }, + { + "kind": "text", + "text": " for a URL which is valid for one minute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 276, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 299, + "id": 277, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 300, + "id": 278, "name": "download", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -105043,16 +90907,16 @@ "summary": [ { "kind": "text", - "text": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + "text": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." } ] }, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 649, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 429, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L649" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L429" } ], "type": { @@ -105070,10 +90934,10 @@ } }, { - "id": 301, + "id": 279, "name": "transform", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -105087,212 +90951,32 @@ }, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 649, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 429, "character": 45, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L649" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L429" } ], "type": { "type": "reference", - "id": 518, + "target": 587, "name": "TransformOptions", - "dereferenced": { - "id": 518, - "name": "TransformOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 523, - "name": "format", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Specify the format of the image requested.\n\nWhen using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 157, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L157" - } - ], - "type": { - "type": "literal", - "value": "origin" - } - }, - { - "id": 520, - "name": "height", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The height of the image in pixels." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 137, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L137" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 522, - "name": "quality", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L150" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 521, - "name": "resize", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 144, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L144" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "cover" - }, - { - "type": "literal", - "value": "contain" - }, - { - "type": "literal", - "value": "fill" - } - ] - } - }, - { - "id": 519, - "name": "width", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The width of the image in pixels." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L133" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [523, 520, 522, 521, 519] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L129" - } - ] - } + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [300, 301] + "children": [278, 279] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 649, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 429, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L649" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L429" } ] } @@ -105300,138 +90984,368 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 303, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 650, - "character": 7, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L650" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 280, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 281, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 432, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L432" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 282, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 283, + "name": "signedUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 432, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L432" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [283] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 432, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L432" + } + ] + } + } + }, + { + "id": 284, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 433, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L433" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [281, 284] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 431, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L431" + } + ] } - ], - "type": { + }, + { "type": "reflection", "declaration": { - "id": 304, + "id": 285, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, - "name": "publicUrl", + "id": 286, + "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 650, - "character": 15, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L650" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 436, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L436" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null + } + }, + { + "id": 287, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 437, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L437" + } + ], + "type": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [305] + "children": [286, 287] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 650, - "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L650" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 435, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L435" } ] } } - } - ], - "groups": [ - { - "title": "Properties", - "children": [303] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 650, - "character": 5, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L650" - } - ] - } + ] + } + ], + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 277, - "name": "info", + "id": 288, + "name": "createSignedUrls", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 567, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 474, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L567" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L474" } ], "signatures": [ { - "id": 278, - "name": "info", + "id": 289, + "name": "createSignedUrls", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Retrieves the details of an existing file." + "text": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 474, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L474" + } + ], "parameters": [ { - "id": 279, - "name": "path", + "id": 290, + "name": "paths", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file paths to be downloaded, including the current file names. For example " + }, + { + "kind": "code", + "text": "`['folder/image.png', 'folder2/image2.png']`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 291, + "name": "expiresIn", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the signed URLs expire. For example, " + }, + { + "kind": "code", + "text": "`60`" + }, + { + "kind": "text", + "text": " for URLs which are valid for one minute." + } + ] + }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" + } + }, + { + "id": 292, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 293, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 294, + "name": "download", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 477, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L477" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [294] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 477, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L477" + } + ] + } } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -105439,51 +91353,143 @@ { "type": "reflection", "declaration": { - "id": 280, + "id": 295, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 281, + "id": 296, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 571, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 480, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L571" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L480" } ], "type": { - "type": "reference", - "id": 524, - "typeArguments": [ - { - "type": "reference", - "id": 472, - "name": "FileObjectV2" + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 297, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 298, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 480, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L480" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 299, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 480, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L480" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 300, + "name": "signedUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 480, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L480" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [298, 299, 300] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 480, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L480" + } + ] } - ], - "name": "Camelize" + } } }, { - "id": 282, + "id": 301, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 572, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 481, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L572" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L481" } ], "type": { @@ -105495,15 +91501,15 @@ "groups": [ { "title": "Properties", - "children": [281, 282] + "children": [296, 301] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 570, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 479, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L570" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L479" } ] } @@ -105511,24 +91517,24 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 302, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 284, + "id": 303, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 575, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 484, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L575" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L484" } ], "type": { @@ -105537,38 +91543,39 @@ } }, { - "id": 285, + "id": 304, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 576, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 485, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L576" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L485" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [284, 285] + "children": [303, 304] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 574, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 483, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L574" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L483" } ] } @@ -105577,372 +91584,225 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 315, - "name": "list", + "id": 305, + "name": "download", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 785, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L785" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 526, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L526" } ], "signatures": [ { - "id": 316, - "name": "list", + "id": 306, + "name": "download", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Lists all the files and folders within a path of the bucket." + "text": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from " + }, + { + "kind": "code", + "text": "`getPublicUrl`" + }, + { + "kind": "text", + "text": " instead." } ] }, - "parameters": [ + "sources": [ { - "id": 317, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The folder path." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 526, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L526" + } + ], + "typeParameters": [ { - "id": 318, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Search options including limit (defaults to 100), offset, sortBy, and search" - } - ] - }, + "id": 307, + "name": "Options", + "variant": "typeParam", + "kind": 131072, + "flags": {}, "type": { - "type": "reference", - "id": 498, - "name": "SearchOptions", - "dereferenced": { - "id": 498, - "name": "SearchOptions", - "kind": 256, - "kindString": "Interface", + "type": "reflection", + "declaration": { + "id": 308, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, "children": [ { - "id": 499, - "name": "limit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of files you want to be returned." - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "text", - "text": "100" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 86, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L86" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 500, - "name": "offset", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The starting position." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 91, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L91" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 502, - "name": "search", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The search string to filter files by." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L101" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 501, - "name": "sortBy", + "id": 309, + "name": "transform", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to sort by. Can be any column inside a FileObject." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 96, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L96" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 526, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L526" } ], "type": { "type": "reference", - "id": 486, - "name": "SortBy", - "dereferenced": { - "id": 486, - "name": "SortBy", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 487, - "name": "column", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 44, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L44" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 488, - "name": "order", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L45" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [487, 488] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 43, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L43" - } - ] - } + "target": 587, + "name": "TransformOptions", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [499, 500, 502, 501] + "children": [309] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 81, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L81" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 526, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L526" } ] } } - }, + } + ], + "parameters": [ + { + "id": 310, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The full path and file name of the file to be downloaded. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 311, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 307, + "name": "Options", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 3, + "name": "BlobDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 321, + "name": "exists", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 581, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L581" + } + ], + "signatures": [ + { + "id": 322, + "name": "exists", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Checks the existence of a file." + } + ] + }, + "sources": [ { - "id": 319, - "name": "parameters", + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 581, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L581" + } + ], + "parameters": [ + { + "id": 323, + "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "flags": {}, "type": { - "type": "reference", - "id": 514, - "name": "FetchParameters", - "dereferenced": { - "id": 514, - "name": "FetchParameters", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 515, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Pass in an AbortController's signal to cancel the request." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 121, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L121" - } - ], - "type": { - "type": "reference", - "name": "AbortSignal", - "qualifiedName": "AbortSignal", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [515] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L117" - } - ] - } + "type": "intrinsic", + "name": "string" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -105950,47 +91810,43 @@ { "type": "reflection", "declaration": { - "id": 320, + "id": 324, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 321, + "id": 325, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 791, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 583, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L791" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L583" } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 462, - "name": "FileObject" - } + "type": "intrinsic", + "name": "boolean" } }, { - "id": 322, + "id": 326, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 792, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 584, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L792" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L584" } ], "type": { @@ -106002,15 +91858,15 @@ "groups": [ { "title": "Properties", - "children": [321, 322] + "children": [325, 326] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 790, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 582, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L790" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L582" } ] } @@ -106018,64 +91874,65 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 327, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 795, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 587, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L795" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L587" } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "boolean" } }, { - "id": 325, + "id": 329, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 796, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 588, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L796" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L588" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [324, 325] + "children": [328, 329] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 794, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 586, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L794" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L586" } ] } @@ -106084,243 +91941,326 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 326, - "name": "listV2", + "id": 330, + "name": "getPublicUrl", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 826, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L826" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 623, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L623" } ], "signatures": [ { - "id": 327, - "name": "listV2", + "id": 331, + "name": "getPublicUrl", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "this method signature might change in the future" + "text": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset." } - ], - "modifierTags": ["@experimental"] + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 623, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L623" + } + ], "parameters": [ { - "id": 328, - "name": "options", + "id": 332, + "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "search options" + "text": "The path and name of the file to generate the public URL for. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." } ] }, "type": { - "type": "reference", - "id": 503, - "name": "SearchV2Options", - "dereferenced": { - "id": 503, - "name": "SearchV2Options", - "kind": 256, - "kindString": "Interface", + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 333, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, "children": [ { - "id": 506, - "name": "cursor", + "id": 335, + "name": "download", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L107" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 504, - "name": "limit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L105" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 625, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L625" } ], "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] } }, { - "id": 505, - "name": "prefix", + "id": 336, + "name": "transform", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L106" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 507, - "name": "with_delimiter", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Transform the asset before serving it to the client." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L108" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 625, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L625" } ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 587, + "name": "TransformOptions", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [506, 504, 505, 507] + "children": [335, 336] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 104, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L104" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 625, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L625" } ] } } - }, - { - "id": 329, - "name": "parameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 514, - "name": "FetchParameters", - "dereferenced": { - "id": 514, - "name": "FetchParameters", - "kind": 256, - "kindString": "Interface", + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 337, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 338, + "name": "data", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ + "sources": [ { - "id": 515, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Pass in an AbortController's signal to cancel the request." + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 626, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L626" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 339, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 340, + "name": "publicUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 626, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L626" + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "sources": [ + } + ], + "groups": [ { - "fileName": "src/lib/types.ts", - "line": 121, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L121" + "title": "Properties", + "children": [340] } ], - "type": { - "type": "reference", - "name": "AbortSignal", - "qualifiedName": "AbortSignal", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [515] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L117" + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 626, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L626" + } + ] } - ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [338] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 626, + "character": 5, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L626" } + ] + } + } + } + ] + }, + { + "id": 312, + "name": "info", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 547, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L547" + } + ], + "signatures": [ + { + "id": 313, + "name": "info", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of an existing file." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 547, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L547" + } + ], + "parameters": [ + { + "id": 314, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -106328,44 +92268,53 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 315, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 331, + "id": 316, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 831, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 549, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L831" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L549" } ], "type": { "type": "reference", - "id": 508, - "name": "SearchV2Result" + "target": 593, + "typeArguments": [ + { + "type": "reference", + "target": 541, + "name": "FileObjectV2", + "package": "@supabase/storage-js" + } + ], + "name": "Camelize", + "package": "@supabase/storage-js" } }, { - "id": 332, + "id": 317, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 832, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 550, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L832" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L550" } ], "type": { @@ -106377,15 +92326,15 @@ "groups": [ { "title": "Properties", - "children": [331, 332] + "children": [316, 317] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 830, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 548, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L830" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L548" } ] } @@ -106393,24 +92342,24 @@ { "type": "reflection", "declaration": { - "id": 333, + "id": 318, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 334, + "id": 319, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 835, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 553, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L835" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L553" } ], "type": { @@ -106419,38 +92368,39 @@ } }, { - "id": 335, + "id": 320, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 836, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 554, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L836" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L554" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [334, 335] + "children": [319, 320] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 834, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 552, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L834" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L552" } ] } @@ -106459,61 +92409,62 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 206, - "name": "move", + "id": 350, + "name": "list", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 332, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 759, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L332" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L759" } ], "signatures": [ { - "id": 207, - "name": "move", + "id": 351, + "name": "list", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Moves an existing file to a new path in the same bucket." + "text": "Lists all the files and folders within a path of the bucket." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 759, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L759" + } + ], "parameters": [ { - "id": 208, - "name": "fromPath", + "id": 352, + "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The original file path, including the current file name. For example " - }, - { - "kind": "code", - "text": "`folder/image.png`" - }, - { - "kind": "text", - "text": "." + "text": "The folder path." } ] }, @@ -106523,101 +92474,50 @@ } }, { - "id": 209, - "name": "toPath", + "id": 353, + "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The new file path, including the new file name. For example " - }, - { - "kind": "code", - "text": "`folder/image-new.png`" - }, - { - "kind": "text", - "text": "." + "text": "Search options including limit (defaults to 100), offset, sortBy, and search" } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 567, + "name": "SearchOptions", + "package": "@supabase/storage-js" } }, { - "id": 210, - "name": "options", + "id": 354, + "name": "parameters", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The destination options." - } - ] - }, "type": { "type": "reference", - "id": 496, - "name": "DestinationOptions", - "dereferenced": { - "id": 496, - "name": "DestinationOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 497, - "name": "destinationBucket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L78" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [497] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L77" - } - ] - } + "target": 583, + "name": "FetchParameters", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -106625,84 +92525,48 @@ { "type": "reflection", "declaration": { - "id": 211, + "id": 355, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 212, + "id": 356, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 338, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L338" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 213, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 214, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 338, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L338" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [214] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 338, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L338" - } - ] + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 765, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L765" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 531, + "name": "FileObject", + "package": "@supabase/storage-js" } } }, { - "id": 215, + "id": 357, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 339, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 766, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L339" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L766" } ], "type": { @@ -106714,15 +92578,15 @@ "groups": [ { "title": "Properties", - "children": [212, 215] + "children": [356, 357] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 337, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 764, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L337" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L764" } ] } @@ -106730,24 +92594,24 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 358, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 359, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 342, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 769, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L342" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L769" } ], "type": { @@ -106756,38 +92620,39 @@ } }, { - "id": 218, + "id": 360, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 343, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 770, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L343" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L770" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [217, 218] + "children": [359, 360] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 341, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 768, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L341" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L768" } ] } @@ -106796,75 +92661,95 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 306, - "name": "remove", + "id": 361, + "name": "listV2", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 685, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 800, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L685" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L800" } ], "signatures": [ { - "id": 307, - "name": "remove", + "id": 362, + "name": "listV2", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Deletes files within the same bucket" + "text": "this method signature might change in the future" } - ] + ], + "modifierTags": ["@experimental"] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 800, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L800" + } + ], "parameters": [ { - "id": 308, - "name": "paths", + "id": 363, + "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "An array of files to delete, including the path and file name. For example [" - }, - { - "kind": "code", - "text": "`'folder/image.png'`" - }, - { - "kind": "text", - "text": "]." + "text": "search options" } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 572, + "name": "SearchV2Options", + "package": "@supabase/storage-js" + } + }, + { + "id": 364, + "name": "parameters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 583, + "name": "FetchParameters", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -106872,47 +92757,45 @@ { "type": "reflection", "declaration": { - "id": 309, + "id": 365, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 310, + "id": 366, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 689, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 805, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L689" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L805" } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 462, - "name": "FileObject" - } + "type": "reference", + "target": 577, + "name": "SearchV2Result", + "package": "@supabase/storage-js" } }, { - "id": 311, + "id": 367, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 690, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 806, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L690" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L806" } ], "type": { @@ -106924,15 +92807,15 @@ "groups": [ { "title": "Properties", - "children": [310, 311] + "children": [366, 367] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 688, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 804, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L688" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L804" } ] } @@ -106940,24 +92823,24 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 368, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 313, + "id": 369, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 693, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 809, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L693" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L809" } ], "type": { @@ -106966,38 +92849,39 @@ } }, { - "id": 314, + "id": 370, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 694, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 810, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L694" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L810" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [313, 314] + "children": [369, 370] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 692, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 808, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L692" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L808" } ] } @@ -107006,141 +92890,68 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 127, - "name": "throwOnError", + "id": 246, + "name": "move", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": { - "isPublic": true - }, + "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 66, - "character": 9, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L66" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 333, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L333" } ], "signatures": [ { - "id": 128, - "name": "throwOnError", + "id": 247, + "name": "move", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Enable throwing errors instead of returning them." + "text": "Moves an existing file to a new path in the same bucket." } ] }, - "type": { - "type": "reference", - "id": 101, - "name": "default" - } - } - ] - }, - { - "id": 339, - "name": "toBase64", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 865, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L865" - } - ], - "signatures": [ - { - "id": 340, - "name": "toBase64", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ + "sources": [ { - "id": 341, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 333, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L333" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 191, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 298, - "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L298" - } - ], - "signatures": [ - { - "id": 192, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Replaces an existing file at the specified path with a new one." - } - ] - }, "parameters": [ { - "id": 193, - "name": "path", + "id": 248, + "name": "fromPath", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The relative file path. Should be of the format " + "text": "The original file path, including the current file name. For example " }, { "kind": "code", - "text": "`folder/subfolder/filename.png`" + "text": "`folder/image.png`" }, { "kind": "text", - "text": ". The bucket must already exist before attempting to update." + "text": "." } ] }, @@ -107150,385 +92961,321 @@ } }, { - "id": 194, - "name": "fileBody", + "id": 249, + "name": "toPath", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The body of the file to be stored in the bucket." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "name": "ArrayBuffer", - "qualifiedName": "ArrayBuffer", - "package": "typescript" - }, - { - "type": "reference", - "name": "ArrayBufferView", - "qualifiedName": "ArrayBufferView", - "package": "typescript" - }, - { - "type": "reference", - "name": "Blob", - "qualifiedName": "Blob", - "package": "typescript" - }, - { - "type": "reference", - "name": "Buffer", - "qualifiedName": "Buffer", - "package": "@types/node" - }, - { - "type": "reference", - "name": "File", - "qualifiedName": "File", - "package": "typescript" - }, - { - "type": "reference", - "name": "FormData", - "qualifiedName": "FormData", - "package": "typescript" - }, - { - "type": "reference", - "name": "ReadableStream", - "qualifiedName": "NodeJS.ReadableStream", - "package": "@types/node" + "text": "The new file path, including the new file name. For example " }, { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Uint8Array", - "qualifiedName": "Uint8Array", - "package": "typescript" - } - ], - "name": "ReadableStream", - "qualifiedName": "ReadableStream", - "package": "typescript" + "kind": "code", + "text": "`folder/image-new.png`" }, { - "type": "reference", - "name": "URLSearchParams", - "qualifiedName": "URLSearchParams", - "package": "typescript" + "kind": "text", + "text": "." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 195, - "name": "fileOptions", + "id": 250, + "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The destination options." + } + ] + }, "type": { "type": "reference", - "id": 489, - "name": "FileOptions", - "dereferenced": { - "id": 489, - "name": "FileOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 490, - "name": "cacheControl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the " - }, - { - "kind": "code", - "text": "`Cache-Control: max-age=`" - }, - { - "kind": "text", - "text": " header. Defaults to 3600 seconds." - } - ] - }, - "sources": [ + "target": 565, + "name": "DestinationOptions", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 251, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L52" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "contentType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "code", - "text": "`Content-Type`" - }, - { - "kind": "text", - "text": " header value. Should be specified if using a " - }, - { - "kind": "code", - "text": "`fileBody`" - }, - { - "kind": "text", - "text": " that is neither " - }, - { - "kind": "code", - "text": "`Blob`" - }, - { - "kind": "text", - "text": " nor " - }, - { - "kind": "code", - "text": "`File`" - }, - { - "kind": "text", - "text": " nor " - }, - { - "kind": "code", - "text": "`FormData`" - }, - { - "kind": "text", - "text": ", otherwise will default to " - }, - { - "kind": "code", - "text": "`text/plain;charset=UTF-8`" - }, - { - "kind": "text", - "text": "." + "id": 252, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 339, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L339" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 253, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 254, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 339, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L339" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [254] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 339, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L339" + } + ] + } } - ] - }, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L56" + "id": 255, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 340, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L340" + } + ], + "type": { + "type": "literal", + "value": null + } } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 493, - "name": "duplex", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." - } - ] - }, - "sources": [ + "groups": [ { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L64" + "title": "Properties", + "children": [252, 255] } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 495, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optionally add extra headers" - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L74" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 338, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L338" } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 256, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 257, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 343, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L343" + } + ], + "type": { + "type": "literal", + "value": null } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 494, - "name": "metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The metadata option is an object that allows you to store additional information about the file. This information can be used to filter and search for files. The metadata object can contain any key-value pairs you want to store." + }, + { + "id": 258, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 344, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L344" + } + ], + "type": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } - ] - }, - "sources": [ + } + ], + "groups": [ { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L69" + "title": "Properties", + "children": [257, 258] } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 492, - "name": "upsert", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L60" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 342, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L342" } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [490, 491, 493, 495, 494, 492] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L48" + ] } - ] + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 341, + "name": "remove", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 661, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L661" + } + ], + "signatures": [ + { + "id": 342, + "name": "remove", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes files within the same bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 661, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L661" + } + ], + "parameters": [ + { + "id": 343, + "name": "paths", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of files to delete, including the path and file name. For example [" + }, + { + "kind": "code", + "text": "`'folder/image.png'`" + }, + { + "kind": "text", + "text": "]." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -107536,122 +93283,48 @@ { "type": "reflection", "declaration": { - "id": 196, + "id": 344, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 197, + "id": 345, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 314, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 663, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L314" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L663" } ], "type": { - "type": "reflection", - "declaration": { - "id": 198, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 201, - "name": "fullPath", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 314, - "character": 42, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L314" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 199, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 314, - "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L314" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 200, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 314, - "character": 28, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L314" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [201, 199, 200] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 314, - "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L314" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 531, + "name": "FileObject", + "package": "@supabase/storage-js" } } }, { - "id": 202, + "id": 346, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 315, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 664, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L315" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L664" } ], "type": { @@ -107663,15 +93336,15 @@ "groups": [ { "title": "Properties", - "children": [197, 202] + "children": [345, 346] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 662, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L313" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L662" } ] } @@ -107679,24 +93352,24 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 347, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 348, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 318, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 667, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L318" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L667" } ], "type": { @@ -107705,38 +93378,39 @@ } }, { - "id": 205, + "id": 349, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 319, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 668, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L319" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L668" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [204, 205] + "children": [348, 349] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 666, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L317" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L666" } ] } @@ -107745,53 +93419,155 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 145, - "name": "upload", + "id": 167, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 67, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L67" + } + ], + "signatures": [ + { + "id": 168, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 67, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 374, + "name": "toBase64", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 839, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L839" + } + ], + "signatures": [ + { + "id": 375, + "name": "toBase64", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 839, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L839" + } + ], + "parameters": [ + { + "id": 376, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 231, + "name": "update", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 161, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 299, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L161" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L299" } ], "signatures": [ { - "id": 146, - "name": "upload", + "id": 232, + "name": "update", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Uploads a file to an existing bucket." + "text": "Replaces an existing file at the specified path with a new one." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 299, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L299" + } + ], "parameters": [ { - "id": 147, + "id": 233, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The file path, including the file name. Should be of the format " + "text": "The relative file path. Should be of the format " }, { "kind": "code", @@ -107799,7 +93575,7 @@ }, { "kind": "text", - "text": ". The bucket must already exist before attempting to upload." + "text": ". The bucket must already exist before attempting to update." } ] }, @@ -107809,10 +93585,10 @@ } }, { - "id": 148, + "id": 234, "name": "fileBody", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -107823,304 +93599,164 @@ ] }, "type": { - "type": "reference", - "name": "FileBody" - } - }, - { - "id": 149, - "name": "fileOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 489, - "name": "FileOptions", - "dereferenced": { - "id": 489, - "name": "FileOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 490, - "name": "cacheControl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the " - }, - { - "kind": "code", - "text": "`Cache-Control: max-age=`" - }, - { - "kind": "text", - "text": " header. Defaults to 3600 seconds." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L52" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "contentType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "code", - "text": "`Content-Type`" - }, - { - "kind": "text", - "text": " header value. Should be specified if using a " - }, - { - "kind": "code", - "text": "`fileBody`" - }, - { - "kind": "text", - "text": " that is neither " - }, - { - "kind": "code", - "text": "`Blob`" - }, - { - "kind": "text", - "text": " nor " - }, - { - "kind": "code", - "text": "`File`" - }, - { - "kind": "text", - "text": " nor " - }, - { - "kind": "code", - "text": "`FormData`" - }, - { - "kind": "text", - "text": ", otherwise will default to " - }, - { - "kind": "code", - "text": "`text/plain;charset=UTF-8`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBuffer" }, - { - "id": 493, - "name": "duplex", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L64" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } + "name": "ArrayBuffer", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferView" }, - { - "id": 495, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optionally add extra headers" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L74" - } - ], - "type": { + "typeArguments": [ + { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", "package": "typescript" } + ], + "name": "ArrayBufferView", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "FormData" + }, + "name": "FormData", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URLSearchParams" + }, + "name": "URLSearchParams", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "File" + }, + "name": "File", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" }, - { - "id": 494, - "name": "metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The metadata option is an object that allows you to store additional information about the file. This information can be used to filter and search for files. The metadata object can contain any key-value pairs you want to store." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L69" - } - ], - "type": { + "typeArguments": [ + { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" } ], - "name": "Record", - "qualifiedName": "Record", + "name": "Uint8Array", "package": "typescript" } + ], + "name": "ReadableStream", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "NodeJS.ReadableStream" }, - { - "id": 492, - "name": "upsert", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" + "name": "ReadableStream", + "package": "@types/node", + "qualifiedName": "NodeJS.ReadableStream" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/@types/node/buffer.buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [490, 491, 493, 495, 494, 492] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L48" - } - ] - } + ], + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + } + ] + } + }, + { + "id": 235, + "name": "fileOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 558, + "name": "FileOptions", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -108128,47 +93764,47 @@ { "type": "reflection", "declaration": { - "id": 150, + "id": 236, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 151, + "id": 237, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 167, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 315, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L167" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L315" } ], "type": { "type": "reflection", "declaration": { - "id": 152, + "id": 238, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 155, + "id": 241, "name": "fullPath", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 167, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 315, "character": 42, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L167" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L315" } ], "type": { @@ -108177,17 +93813,17 @@ } }, { - "id": 153, + "id": 239, "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 167, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 315, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L167" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L315" } ], "type": { @@ -108196,17 +93832,17 @@ } }, { - "id": 154, + "id": 240, "name": "path", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 167, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 315, "character": 28, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L167" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L315" } ], "type": { @@ -108218,32 +93854,32 @@ "groups": [ { "title": "Properties", - "children": [155, 153, 154] + "children": [241, 239, 240] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 167, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 315, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L167" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L315" } ] } } }, { - "id": 156, + "id": 242, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 168, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 316, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L168" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L316" } ], "type": { @@ -108255,15 +93891,15 @@ "groups": [ { "title": "Properties", - "children": [151, 156] + "children": [237, 242] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 166, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 314, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L166" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L314" } ] } @@ -108271,24 +93907,24 @@ { "type": "reflection", "declaration": { - "id": 157, + "id": 243, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 158, + "id": 244, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 171, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 319, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L171" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L319" } ], "type": { @@ -108297,38 +93933,39 @@ } }, { - "id": 159, + "id": 245, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 172, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 320, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L172" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L320" } ], "type": { "type": "reference", - "id": 529, - "name": "StorageError" + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "children": [158, 159] + "children": [244, 245] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 170, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 318, "character": 6, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L170" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L318" } ] } @@ -108337,55 +93974,54 @@ } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" } } ] }, { - "id": 160, - "name": "uploadToSignedUrl", + "id": 185, + "name": "upload", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 184, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 162, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L184" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L162" } ], "signatures": [ { - "id": 161, - "name": "uploadToSignedUrl", + "id": 186, + "name": "upload", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Upload a file with a token generated from " - }, - { - "kind": "code", - "text": "`createSignedUploadUrl`" - }, - { - "kind": "text", - "text": "." + "text": "Uploads a file to an existing bucket." } ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 162, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L162" + } + ], "parameters": [ { - "id": 162, + "id": 187, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -108409,33 +94045,10 @@ } }, { - "id": 163, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The token generated from " - }, - { - "kind": "code", - "text": "`createSignedUploadUrl`" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 164, + "id": 188, "name": "fileBody", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -108447,303 +94060,400 @@ }, "type": { "type": "reference", - "name": "FileBody" + "target": { + "sourceFileName": "src/packages/StorageFileApi.ts", + "qualifiedName": "FileBody" + }, + "name": "FileBody", + "package": "@supabase/storage-js" } }, { - "id": 165, + "id": 189, "name": "fileOptions", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", - "id": 489, + "target": 558, "name": "FileOptions", - "dereferenced": { - "id": 489, - "name": "FileOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 490, - "name": "cacheControl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the " - }, - { - "kind": "code", - "text": "`Cache-Control: max-age=`" - }, - { - "kind": "text", - "text": " header. Defaults to 3600 seconds." - } - ] - }, - "sources": [ + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 190, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L52" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "contentType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "code", - "text": "`Content-Type`" - }, - { - "kind": "text", - "text": " header value. Should be specified if using a " - }, - { - "kind": "code", - "text": "`fileBody`" - }, - { - "kind": "text", - "text": " that is neither " - }, - { - "kind": "code", - "text": "`Blob`" - }, - { - "kind": "text", - "text": " nor " - }, - { - "kind": "code", - "text": "`File`" - }, - { - "kind": "text", - "text": " nor " - }, - { - "kind": "code", - "text": "`FormData`" - }, - { - "kind": "text", - "text": ", otherwise will default to " - }, - { - "kind": "code", - "text": "`text/plain;charset=UTF-8`" - }, - { - "kind": "text", - "text": "." + "id": 191, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 168, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L168" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 192, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 195, + "name": "fullPath", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 168, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L168" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 193, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 168, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L168" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 194, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 168, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L168" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [195, 193, 194] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 168, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L168" + } + ] + } } - ] - }, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 493, - "name": "duplex", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." + "id": 196, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 169, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L169" + } + ], + "type": { + "type": "literal", + "value": null } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L64" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 495, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optionally add extra headers" - } - ] - }, - "sources": [ + "groups": [ { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L74" + "title": "Properties", + "children": [191, 196] } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 494, - "name": "metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The metadata option is an object that allows you to store additional information about the file. This information can be used to filter and search for files. The metadata object can contain any key-value pairs you want to store." - } - ] - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L69" + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 167, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L167" } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 492, - "name": "upsert", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 198, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 172, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L172" + } + ], + "type": { + "type": "literal", + "value": null } - ] - }, - "sources": [ + }, { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 2, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [490, 491, 493, 495, 494, 492] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/lib/types.ts#L48" + "id": 199, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 173, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L173" + } + ], + "type": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [198, 199] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 171, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L171" + } + ] } - ] - } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 200, + "name": "uploadToSignedUrl", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 185, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L185" + } + ], + "signatures": [ + { + "id": 201, + "name": "uploadToSignedUrl", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Upload a file with a token generated from " + }, + { + "kind": "code", + "text": "`createSignedUploadUrl`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 185, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L185" + } + ], + "parameters": [ + { + "id": 202, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path, including the file name. Should be of the format " + }, + { + "kind": "code", + "text": "`folder/subfolder/filename.png`" + }, + { + "kind": "text", + "text": ". The bucket must already exist before attempting to upload." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 203, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token generated from " + }, + { + "kind": "code", + "text": "`createSignedUploadUrl`" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 204, + "name": "fileBody", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The body of the file to be stored in the bucket." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/packages/StorageFileApi.ts", + "qualifiedName": "FileBody" + }, + "name": "FileBody", + "package": "@supabase/storage-js" + } + }, + { + "id": 205, + "name": "fileOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 558, + "name": "FileOptions", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -108751,47 +94461,47 @@ { "type": "reflection", "declaration": { - "id": 166, + "id": 206, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 167, + "id": 207, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 220, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 221, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L221" } ], "type": { "type": "reflection", "declaration": { - "id": 168, + "id": 208, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 170, + "id": 210, "name": "fullPath", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 220, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 221, "character": 33, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L221" } ], "type": { @@ -108801,17 +94511,17 @@ "defaultValue": "data.Key" }, { - "id": 169, + "id": 209, "name": "path", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 220, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 221, "character": 16, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L221" } ], "type": { @@ -108824,15 +94534,15 @@ "groups": [ { "title": "Properties", - "children": [170, 169] + "children": [210, 209] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 220, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 221, "character": 14, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L221" } ] } @@ -108840,17 +94550,17 @@ "defaultValue": "..." }, { - "id": 171, + "id": 211, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 221, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 222, "character": 8, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L221" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L222" } ], "type": { @@ -108863,115 +94573,672 @@ "groups": [ { "title": "Properties", - "children": [167, 171] + "children": [207, 211] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 219, + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 220, "character": 13, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L219" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L220" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 212, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 213, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 229, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L229" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 214, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 229, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L229" + } + ], + "type": { + "type": "reference", + "target": 606, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [213, 214] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 229, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L229" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [136] + }, + { + "title": "Methods", + "children": [ + 259, 215, 272, 288, 305, 321, 330, 312, 350, 361, 246, 341, 167, 374, 231, 185, + 200 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 45, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L45" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [135] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StorageFileApi.ts#L1" + } + ] + }, + { + "id": 386, + "name": "packages/StreamDownloadBuilder", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 387, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 388, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 5, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L5" + } + ], + "signatures": [ + { + "id": 389, + "name": "default", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 5, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L5" + } + ], + "parameters": [ + { + "id": 390, + "name": "downloadFn", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 391, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 6, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L6" + } + ], + "signatures": [ + { + "id": 392, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 6, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L6" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 393, + "name": "shouldThrowOnError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "target": 387, + "name": "StreamDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 398, + "name": "then", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L10" + } + ], + "signatures": [ + { + "id": 399, + "name": "then", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L10" + } + ], + "typeParameters": [ + { + "id": 400, + "name": "TResult1", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "reference", + "target": 595, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "ReadableStream", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + }, + { + "id": 401, + "name": "TResult2", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 402, + "name": "onfulfilled", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 403, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 12, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L12" + } + ], + "signatures": [ + { + "id": 404, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 12, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L12" + } + ], + "parameters": [ + { + "id": 405, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 595, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "ReadableStream", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 400, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 400, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } } ] } + } + ] + } + }, + { + "id": 406, + "name": "onrejected", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, { "type": "reflection", "declaration": { - "id": 172, + "id": 407, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 173, - "name": "data", - "kind": 1024, - "kindString": "Property", + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 14, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L14" + } + ], + "signatures": [ + { + "id": 408, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 228, - "character": 17, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L228" + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 14, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L14" } ], - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 174, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "parameters": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 228, - "character": 29, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L228" + "id": 409, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } } ], "type": { - "type": "reference", - "id": 529, - "name": "StorageError" + "type": "union", + "types": [ + { + "type": "reference", + "target": 401, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 401, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "children": [173, 174] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 228, - "character": 15, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L228" - } ] } } ] } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 400, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 401, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ] + } ], "name": "Promise", - "qualifiedName": "Promise", "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" } } - ] + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" + } } ], "groups": [ { "title": "Constructors", - "children": [102] + "children": [388] }, { "title": "Methods", - "children": [ - 219, 175, 232, 248, 265, 286, 295, 277, 315, 326, 206, 306, 127, 339, 191, 145, - 160 - ] + "children": [398] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 44, + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 4, "character": 21, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L44" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L4" + } + ], + "implementedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 595, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" + }, + "name": "ReadableStream", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + ], + "name": "PromiseLike", + "package": "typescript" } ] } @@ -108979,375 +95246,3162 @@ "groups": [ { "title": "Classes", - "children": [101] + "children": [387] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", "line": 1, "character": 0, - "url": "https://github.com/supabase/storage-js/blob/ae7bbb0/src/packages/StorageFileApi.ts#L1" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L1" } ] } - ], - "groups": [ - { - "title": "Modules", - "children": [1, 2, 100] + ], + "groups": [ + { + "title": "Modules", + "children": [1, 2, 30, 134, 386] + } + ], + "packageName": "@supabase/storage-js", + "readme": [ + { + "kind": "text", + "text": "# " + }, + { + "kind": "code", + "text": "`storage-js`" + }, + { + "kind": "text", + "text": "\n\n
\n\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/storage-js)](https://pkg.pr.new/~/supabase/storage-js)\n\n
\n\nJS Client library to interact with Supabase Storage.\n\n- Documentation: https://supabase.io/docs/reference/javascript/storage-createbucket\n- Typedoc: https://supabase.github.io/supabase-js/storage-js/v2/spec.json\n\n## Quick Start Guide\n\n### Installing the module\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install @supabase/storage-js\n```" + }, + { + "kind": "text", + "text": "\n\n### Connecting to the storage backend\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { StorageClient } from '@supabase/storage-js'\n\nconst STORAGE_URL = 'https://.supabase.co/storage/v1'\nconst SERVICE_KEY = '' //! service key, not anon key\n\nconst storageClient = new StorageClient(STORAGE_URL, {\n apikey: SERVICE_KEY,\n Authorization: `Bearer ${SERVICE_KEY}`,\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### Handling resources\n\n#### Handling Storage Buckets\n\n- Create a new Storage bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.createBucket(\n 'test_bucket', // Bucket name (must be unique)\n { public: false } // Bucket options\n )\n ```" + }, + { + "kind": "text", + "text": "\n\n- Retrieve the details of an existing Storage bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.getBucket('test_bucket')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Update a new Storage bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.updateBucket(\n 'test_bucket', // Bucket name\n { public: false } // Bucket options\n )\n ```" + }, + { + "kind": "text", + "text": "\n\n- Remove all objects inside a single bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.emptyBucket('test_bucket')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Delete an existing bucket (a bucket can't be deleted with existing objects inside it):\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.deleteBucket('test_bucket')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Retrieve the details of all Storage buckets within an existing project:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.listBuckets()\n ```" + }, + { + "kind": "text", + "text": "\n\n#### Handling Files\n\n- Upload a file to an existing bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const fileBody = ... // load your file here\n\n const { data, error } = await storageClient.from('bucket').upload('path/to/file', fileBody)\n ```" + }, + { + "kind": "text", + "text": "\n\n > Note: \n > The path in " + }, + { + "kind": "code", + "text": "`data.Key`" + }, + { + "kind": "text", + "text": " is prefixed by the bucket ID and is not the value which should be passed to the " + }, + { + "kind": "code", + "text": "`download`" + }, + { + "kind": "text", + "text": " method in order to fetch the file. \n > To fetch the file via the " + }, + { + "kind": "code", + "text": "`download`" + }, + { + "kind": "text", + "text": " method, use " + }, + { + "kind": "code", + "text": "`data.path`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`data.bucketId`" + }, + { + "kind": "text", + "text": " as follows:\n >\n > " + }, + { + "kind": "code", + "text": "```javascript\n > const { data, error } = await storageClient.from('bucket').upload('/folder/file.txt', fileBody)\n > // check for errors\n > const { data2, error2 } = await storageClient.from(data.bucketId).download(data.path)\n > ```" + }, + { + "kind": "text", + "text": "\n\n > Note: The " + }, + { + "kind": "code", + "text": "`upload`" + }, + { + "kind": "text", + "text": " method also accepts a map of optional parameters. For a complete list see the [Supabase API reference](https://supabase.com/docs/reference/javascript/storage-from-upload).\n\n- Download a file from an exisiting bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('bucket').download('path/to/file')\n ```" + }, + { + "kind": "text", + "text": "\n\n- List all the files within a bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('bucket').list('folder')\n ```" + }, + { + "kind": "text", + "text": "\n\n > Note: The " + }, + { + "kind": "code", + "text": "`list`" + }, + { + "kind": "text", + "text": " method also accepts a map of optional parameters. For a complete list see the [Supabase API reference](https://supabase.com/docs/reference/javascript/storage-from-list).\n\n- Replace an existing file at the specified path with a new one:\n\n " + }, + { + "kind": "code", + "text": "```js\n const fileBody = ... // load your file here\n\n const { data, error } = await storageClient\n .from('bucket')\n .update('path/to/file', fileBody)\n ```" + }, + { + "kind": "text", + "text": "\n\n > Note: The " + }, + { + "kind": "code", + "text": "`upload`" + }, + { + "kind": "text", + "text": " method also accepts a map of optional parameters. For a complete list see the [Supabase API reference](https://supabase.com/docs/reference/javascript/storage-from-upload).\n\n- Move an existing file:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient\n .from('bucket')\n .move('old/path/to/file', 'new/path/to/file')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Delete files within the same bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('bucket').remove(['path/to/file'])\n ```" + }, + { + "kind": "text", + "text": "\n\n- Create signed URL to download file without requiring permissions:\n\n " + }, + { + "kind": "code", + "text": "```js\n const expireIn = 60\n\n const { data, error } = await storageClient\n .from('bucket')\n .createSignedUrl('path/to/file', expireIn)\n ```" + }, + { + "kind": "text", + "text": "\n\n- Retrieve URLs for assets in public buckets:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('public-bucket').getPublicUrl('path/to/file')\n ```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n#### Build Scripts Overview\n\nThe storage-js package uses multiple build scripts to generate different module formats for various JavaScript environments:\n\n| Script | Description | Output |\n| -------------- | --------------------------- | --------------------------------------------------------------- |\n| " + }, + { + "kind": "code", + "text": "`build`" + }, + { + "kind": "text", + "text": " | **Complete build pipeline** | Runs all build steps in sequence |\n| " + }, + { + "kind": "code", + "text": "`build:main`" + }, + { + "kind": "text", + "text": " | **CommonJS build** | " + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": " - Node.js compatible CommonJS modules |\n| " + }, + { + "kind": "code", + "text": "`build:module`" + }, + { + "kind": "text", + "text": " | **ES Modules build** | " + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": " - Modern ES6 modules with TypeScript definitions |\n| " + }, + { + "kind": "code", + "text": "`build:umd`" + }, + { + "kind": "text", + "text": " | **UMD build** | " + }, + { + "kind": "code", + "text": "`dist/umd/`" + }, + { + "kind": "text", + "text": " - Universal Module Definition for browsers/CDN |\n| " + }, + { + "kind": "code", + "text": "`clean`" + }, + { + "kind": "text", + "text": " | **Clean build artifacts** | Removes " + }, + { + "kind": "code", + "text": "`dist/`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`docs/v2/`" + }, + { + "kind": "text", + "text": " directories |\n| " + }, + { + "kind": "code", + "text": "`format`" + }, + { + "kind": "text", + "text": " | **Format code** | Runs Prettier on all TypeScript files |\n\n#### Running Builds\n\n##### Complete Build (Recommended)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# From the monorepo root\nnpx nx build storage-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis command executes the full build pipeline:\n\n1. **Cleans** - Removes any existing build artifacts\n2. **Formats** - Ensures consistent code formatting\n3. **Builds CommonJS** - For Node.js environments (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")\n4. **Builds ES Modules** - For modern bundlers (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")\n5. **Builds UMD** - For browser script tags (" + }, + { + "kind": "code", + "text": "`dist/umd/`" + }, + { + "kind": "text", + "text": ")\n\n##### Development Build with Watch Mode\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Continuously rebuild on file changes (from monorepo root)\nnpx nx build storage-js --watch\n```" + }, + { + "kind": "text", + "text": "\n\n##### Individual Build Targets\n\nFor specific build outputs during development:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Build CommonJS only (Node.js)\nnpx nx build:main storage-js\n\n# Build ES Modules only (Modern bundlers)\nnpx nx build:module storage-js\n\n# Build UMD only (Browser/CDN)\nnpx nx build:umd storage-js\n```" + }, + { + "kind": "text", + "text": "\n\n##### Other Useful Commands\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Clean build artifacts\nnpx nx clean storage-js\n\n# Format code\nnpx nx format storage-js\n\n# Type checking\nnpx nx typecheck storage-js\n\n# Generate documentation\nnpx nx docs storage-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs Explained\n\n##### CommonJS (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")\n\n- **Used by:** Node.js applications, older build tools\n- **Entry point:** " + }, + { + "kind": "code", + "text": "`dist/main/index.js`" + }, + { + "kind": "text", + "text": "\n- **Module format:** " + }, + { + "kind": "code", + "text": "`require()`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`module.exports`" + }, + { + "kind": "text", + "text": "\n- **TypeScript definitions:** Included\n\n##### ES Modules (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")\n\n- **Used by:** Modern bundlers (Webpack, Rollup, Vite)\n- **Entry point:** " + }, + { + "kind": "code", + "text": "`dist/module/index.js`" + }, + { + "kind": "text", + "text": "\n- **Module format:** " + }, + { + "kind": "code", + "text": "`import`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`export`" + }, + { + "kind": "text", + "text": "\n- **TypeScript definitions:** " + }, + { + "kind": "code", + "text": "`dist/module/index.d.ts`" + }, + { + "kind": "text", + "text": "\n- **Benefits:** Tree-shaking, better static analysis\n\n##### UMD (" + }, + { + "kind": "code", + "text": "`dist/umd/`" + }, + { + "kind": "text", + "text": ")\n\n- **Used by:** Browser " + }, + { + "kind": "code", + "text": "`\n \n ```" + }, + { + "kind": "text", + "text": "\n\n#### Package Exports\n\nThe package.json exports are configured to provide the right format for each environment:\n\n" + }, + { + "kind": "code", + "text": "```json\n{\n \"main\": \"dist/main/index.js\",\n \"module\": \"dist/module/index.js\",\n \"types\": \"dist/module/index.d.ts\",\n \"jsdelivr\": \"dist/umd/supabase.js\",\n \"unpkg\": \"dist/umd/supabase.js\"\n}\n```" + }, + { + "kind": "text", + "text": "\n\n- **main** → Node.js environments (CommonJS format)\n- **module** → Modern bundlers like Webpack, Vite, Rollup (ES Modules)\n- **types** → TypeScript type definitions\n- **jsdelivr/unpkg** → CDN usage via " + }, + { + "kind": "code", + "text": "`\n \n ```" + }, + { + "kind": "text", + "text": "\n\n#### Package Exports\n\nThe package.json exports are configured to provide the right format for each environment:\n\n" + }, + { + "kind": "code", + "text": "```json\n{\n \"main\": \"dist/main/index.js\",\n \"module\": \"dist/module/index.js\",\n \"types\": \"dist/module/index.d.ts\",\n \"jsdelivr\": \"dist/umd/supabase.js\",\n \"unpkg\": \"dist/umd/supabase.js\"\n}\n```" + }, + { + "kind": "text", + "text": "\n\n- **main** → Node.js environments (CommonJS format)\n- **module** → Modern bundlers like Webpack, Vite, Rollup (ES Modules)\n- **types** → TypeScript type definitions\n- **jsdelivr/unpkg** → CDN usage via " + }, + { + "kind": "code", + "text": "`\n \n ```" + }, + { + "kind": "text", + "text": "\n\n#### Package Exports\n\nThe package.json exports are configured to provide the right format for each environment:\n\n" + }, + { + "kind": "code", + "text": "```json\n{\n \"main\": \"dist/main/index.js\",\n \"module\": \"dist/module/index.js\",\n \"types\": \"dist/module/index.d.ts\",\n \"jsdelivr\": \"dist/umd/supabase.js\",\n \"unpkg\": \"dist/umd/supabase.js\"\n}\n```" + }, + { + "kind": "text", + "text": "\n\n- **main** → Node.js environments (CommonJS format)\n- **module** → Modern bundlers like Webpack, Vite, Rollup (ES Modules)\n- **types** → TypeScript type definitions\n- **jsdelivr/unpkg** → CDN usage via " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\nor even:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\nThen you can use it from a global " + }, + { + "kind": "code", + "text": "`supabase`" + }, + { + "kind": "text", + "text": " variable:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\n### ESM\n\nYou can use " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\n### Deno\n\nYou can use supabase-js in the Deno runtime via [JSR](https://jsr.io/@supabase/supabase-js):\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from 'jsr:@supabase/supabase-js@2'\n```" + }, + { + "kind": "text", + "text": "\n\n### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Provide a custom `fetch` implementation as an option\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {\n global: {\n fetch: (...args) => fetch(...args),\n },\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Support Policy\n\nThis section outlines the scope of support for various runtime environments in Supabase JavaScript client.\n\n### Node.js\n\nWe only support Node.js versions that are in **Active LTS** or **Maintenance** status as defined by the [official Node.js release schedule](https://nodejs.org/en/about/previous-releases#release-schedule). This means we support versions that are currently receiving long-term support and critical bug fixes.\n\nWhen a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Deno\n\nWe support Deno versions that are currently receiving active development and security updates. We follow the [official Deno release schedule](https://docs.deno.com/runtime/fundamentals/stability_and_releases/) and only support versions from the " + }, + { + "kind": "code", + "text": "`stable`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`lts`" + }, + { + "kind": "text", + "text": " release channels.\n\nWhen a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Important Notes\n\n- **Experimental features**: Features marked as experimental may be removed or changed without notice\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# From the monorepo root\nnpx nx build supabase-js\n\n# Or with watch mode for development\nnpx nx build supabase-js --watch\n```" + }, + { + "kind": "text", + "text": "\n\n### Testing\n\n**Important:** The test suite includes tests for multiple runtime environments (Node.js, Deno, Bun, Expo, Next.js). Each environment has its own test runner and specific requirements.\n\n#### Prerequisites for All Integration Tests\n\n1. **Docker** must be installed and running\n2. **Supabase CLI** must be installed (" + }, + { + "kind": "code", + "text": "`npm install -g supabase`" + }, + { + "kind": "text", + "text": " or via package manager)\n3. **Local Supabase instance** must be started:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Navigate to the supabase-js package directory\ncd packages/core/supabase-js\n\n# Start Supabase (downloads and starts all required containers)\nnpx supabase start\n\n# The output will show:\n# - API URL: http://127.0.0.1:54321\n# - Database URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres\n# - Studio URL: http://127.0.0.1:54323\n# - Anon key: [your-anon-key]\n# - Service role key: [your-service-role-key] # Important for some tests!\n\n# Return to monorepo root for running tests\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Scripts Overview\n\n| Script | Description | Requirements |\n| -------------------------- | ----------------------------------------- | --------------------------------------- |\n| " + }, + { + "kind": "code", + "text": "`test`" + }, + { + "kind": "text", + "text": " | Runs unit tests + type checking | None |\n| " + }, + { + "kind": "code", + "text": "`test:all`" + }, + { + "kind": "text", + "text": " | Unit + integration + browser tests | Supabase running |\n| " + }, + { + "kind": "code", + "text": "`test:run`" + }, + { + "kind": "text", + "text": " | Jest unit tests only | None |\n| " + }, + { + "kind": "code", + "text": "`test:unit`" + }, + { + "kind": "text", + "text": " | Jest unit tests in test/unit directory | None |\n| " + }, + { + "kind": "code", + "text": "`test:coverage`" + }, + { + "kind": "text", + "text": " | Unit tests with coverage report | None |\n| " + }, + { + "kind": "code", + "text": "`test:integration`" + }, + { + "kind": "text", + "text": " | Node.js integration tests | Supabase running + SERVICE_ROLE_KEY |\n| " + }, + { + "kind": "code", + "text": "`test:integration:browser`" + }, + { + "kind": "text", + "text": " | Browser tests using Deno + Puppeteer | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:edge-functions`" + }, + { + "kind": "text", + "text": " | Edge Functions tests | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:types`" + }, + { + "kind": "text", + "text": " | TypeScript type checking + JSR validation | None |\n| " + }, + { + "kind": "code", + "text": "`test:deno`" + }, + { + "kind": "text", + "text": " | Deno runtime compatibility tests | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:bun`" + }, + { + "kind": "text", + "text": " | Bun runtime compatibility tests | Supabase running + Bun installed |\n| Expo (see section below) | React Native/Expo tests | Supabase running + dependencies updated |\n| Next.js (see below) | Next.js SSR tests | Supabase running + dependencies updated |\n| " + }, + { + "kind": "code", + "text": "`test:node:playwright`" + }, + { + "kind": "text", + "text": " | WebSocket browser tests | Supabase running + Playwright |\n\n#### Unit Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run all unit tests (Jest)\nnpx nx test supabase-js\n\n# Run only unit tests in test/unit directory\nnpx nx test:unit supabase-js\n\n# Run tests in watch mode during development\nnpx nx test supabase-js --watch\n\n# Run tests with coverage report\nnpx nx test:coverage supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Integration Testing\n\n" }, { - "id": 144, - "name": "lib/version", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 145, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/version.ts#L1" - } - ], - "type": { - "type": "literal", - "value": "0.0.0-automated" - }, - "defaultValue": "'0.0.0-automated'" - } - ], - "groups": [ - { - "title": "Variables", - "children": [145] - } - ], - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/version.ts#L1" - } - ] + "kind": "code", + "text": "```bash\n# Prerequisites: Start Supabase first (see above)\n\n# Run Node.js integration tests\n# IMPORTANT: Requires SUPABASE_SERVICE_ROLE_KEY environment variable\ncd packages/core/supabase-js\nexport SUPABASE_SERVICE_ROLE_KEY=\"$(npx supabase status --output json | jq -r '.SERVICE_ROLE_KEY')\"\ncd ../../..\nnpx nx test:integration supabase-js\n\n# Run browser-based integration tests (requires Deno)\nnpx nx test:integration:browser supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Running All Tests\n\n" + }, + { + "kind": "code", + "text": "```bash\n# This runs type checking, unit tests, and integration tests sequentially\n# NOTE: Will fail if Supabase is not running or dependencies not updated\nnpx nx test:all supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n**Common Issues and Solutions:**\n\n| Issue | Solution |\n| -------------------------------------------- | --------------------------------------------------------------- |\n| \"Cannot find module 'https://deno.land/...'\" | Deno tests incorrectly run by Jest - check " + }, + { + "kind": "code", + "text": "`jest.config.ts`" + }, + { + "kind": "text", + "text": " |\n| \"Port 54322 already allocated\" | Stop existing Supabase: " + }, + { + "kind": "code", + "text": "`npx supabase stop --project-id `" + }, + { + "kind": "text", + "text": " |\n| \"503 Service Unavailable\" for Edge Functions | Supabase not running - start with " + }, + { + "kind": "code", + "text": "`npx supabase start`" + }, + { + "kind": "text", + "text": " |\n| \"Uncommitted changes\" during type check | Commit changes or add " + }, + { + "kind": "code", + "text": "`--allow-dirty`" + }, + { + "kind": "text", + "text": " to JSR publish |\n| Integration tests fail with auth errors | Export " + }, + { + "kind": "code", + "text": "`SUPABASE_SERVICE_ROLE_KEY`" + }, + { + "kind": "text", + "text": " (see Integration Testing) |\n\n### Platform-Specific Testing\n\n#### Expo Testing (React Native)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Update test dependencies and pack current build\nnpx nx update:test-deps:expo supabase-js\n\n# Run Expo tests from the Expo test project\ncd packages/core/supabase-js/test/integration/expo\nnpm install\nnpm test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Next.js Testing (SSR)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Update test dependencies and pack current build\nnpx nx update:test-deps:next supabase-js\n\n# 3. Install Playwright browsers and dependencies\nnpx playwright install --with-deps\n\n# Run Next.js tests from the Next test project\ncd packages/core/supabase-js/test/integration/next\nnpm install --legacy-peer-deps\nnpm run test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Deno Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Deno must be installed (https://deno.land)\n# 2. Supabase must be running (see Prerequisites)\n# 3. Update test dependencies:\nnpx nx update:test-deps:deno supabase-js\n\n# Run Deno tests\nnpx nx test:deno supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n### Edge Functions Testing\n\nThe project includes Edge Functions integration tests that require a local Supabase instance to be running.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Ensure Docker is installed and running\n# 2. Navigate to the supabase-js package directory\ncd packages/core/supabase-js\n\n# 3. Start Supabase locally (this will download and start all required containers)\nnpx supabase start\n\n# Wait for the output showing all services are ready, including:\n# - API URL: http://127.0.0.1:54321\n# - Database URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres\n# - Edge Runtime container\n\n# 4. Run the Edge Functions tests from the monorepo root\ncd ../../../ # Back to monorepo root\nnpx nx test:edge-functions supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n**Important Notes:**\n\n- The Edge Functions tests will fail with 503 errors if Supabase is not running\n- If you encounter port conflicts (e.g., \"port 54322 already allocated\"), stop any existing Supabase instances:\n\n " + }, + { + "kind": "code", + "text": "```bash\n npx supabase stop --project-id \n # Or stop all Docker containers if unsure:\n docker ps | grep supabase # List all Supabase containers\n ```" + }, + { + "kind": "text", + "text": "\n\n- The tests use the default local development credentials (anon key)\n- Edge Functions are automatically served when " + }, + { + "kind": "code", + "text": "`supabase start`" + }, + { + "kind": "text", + "text": " is run\n\n#### Bun Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Bun must be installed (https://bun.sh)\n# 2. Supabase must be running (see Prerequisites)\n# 3. Update test dependencies:\nnpx nx update:test-deps:bun supabase-js\n\n# Run Bun tests\nnpx nx test:bun supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### WebSocket Browser Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Build the UMD bundle first:\nnpx nx build supabase-js\n\n# Run WebSocket browser tests with Playwright\ncd packages/core/supabase-js/test/integration/node-browser\nnpm install\ncp ../../../dist/umd/supabase.js .\nnpm run test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### CI/CD Testing\n\nWhen running on CI, the tests automatically use the latest dependencies from the root project. The CI pipeline:\n\n1. Builds the main project with current dependencies\n2. Creates a package archive (" + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": ") with the latest versions\n3. Uses this archive in Expo, Next.js, Deno, and Bun tests to ensure consistency\n\n### Updating Test Dependencies\n\nThe platform-specific tests (Expo, Next.js, Deno, Bun) use a packaged version of supabase-js rather than directly importing from source. This ensures they test the actual built package as it would be consumed by users.\n\n#### How It Works\n\n1. **Build** the current supabase-js package\n2. **Pack** it into a " + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": " file (like " + }, + { + "kind": "code", + "text": "`npm pack`" + }, + { + "kind": "text", + "text": " does)\n3. **Copy** the " + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": " to the test directory\n4. **Install** it in the test project\n\nThis mimics how real users would install and use the package.\n\n#### Update Scripts\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Update ALL test environment dependencies at once\n# This builds, packs, and installs in all test directories\nnpx nx update:test-deps supabase-js\n\n# Or update specific test environments:\nnpx nx update:test-deps:expo supabase-js # Expo/React Native only\nnpx nx update:test-deps:next supabase-js # Next.js only\nnpx nx update:test-deps:deno supabase-js # Deno only\nnpx nx update:test-deps:bun supabase-js # Bun only\n```" + }, + { + "kind": "text", + "text": "\n\n**When to Update:**\n\n- After making changes to the source code\n- Before running platform-specific tests locally\n- When debugging test failures that might be due to stale dependencies\n\n**Note:** CI automatically handles this, so manual updates are only needed for local development.\n\n### Test Coverage\n\n#### Viewing Coverage Reports\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Generate coverage report\nnpx nx test:coverage supabase-js\n\n# Serve coverage report locally (opens interactive HTML report)\nnpx nx serve:coverage supabase-js\n# This starts a local server at http://localhost:3000 with the coverage report\n```" + }, + { + "kind": "text", + "text": "\n\nThe coverage report shows:\n\n- Line coverage\n- Branch coverage\n- Function coverage\n- Uncovered lines with highlights\n\nCoverage results are also automatically uploaded to Coveralls in CI for tracking over time.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## Badges\n\n[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-js/badge.svg?branch=master)](https://coveralls.io/github/supabase/supabase-js?branch=master)" } ], - "groups": [ - { - "title": "Modules", - "children": [1, 20, 34, 63, 80, 144] + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "2": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "3": { + "sourceFileName": "src/index.ts", + "qualifiedName": "Database" + }, + "4": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaNameOrClientOptions" + }, + "5": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type" + }, + "6": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "7": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaName" + }, + "8": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseUrl" + }, + "9": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseKey" + }, + "10": { + "sourceFileName": "src/index.ts", + "qualifiedName": "options" + }, + "11": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "12": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.__constructor" + }, + "13": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "14": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "15": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "16": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "17": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "18": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "19": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "20": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "21": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "22": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "23": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "24": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "25": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "26": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "27": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "28": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "29": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "30": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "31": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseUrl" + }, + "32": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseKey" + }, + "33": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "34": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.auth" + }, + "35": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtime" + }, + "36": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storage" + }, + "37": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtimeUrl" + }, + "38": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.authUrl" + }, + "39": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageUrl" + }, + "40": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functionsUrl" + }, + "41": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rest" + }, + "42": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageKey" + }, + "43": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.fetch" + }, + "44": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "45": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "46": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "47": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "48": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "49": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "50": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "51": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.changedAccessToken" + }, + "52": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.accessToken" + }, + "53": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "54": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "55": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.headers" + }, + "56": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseUrl" + }, + "57": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseKey" + }, + "58": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "59": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "60": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "61": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "62": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "TableName" + }, + "63": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Table" + }, + "64": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "65": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "66": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "ViewName" + }, + "67": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "View" + }, + "68": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "69": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "70": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "71": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "DynamicSchema" + }, + "72": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "schema" + }, + "73": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "74": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "75": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "FnName" + }, + "76": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Fn" + }, + "77": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "fn" + }, + "78": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "args" + }, + "79": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "80": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "81": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.head" + }, + "82": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.get" + }, + "83": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.count" + }, + "84": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "85": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "86": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "name" + }, + "87": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "opts" + }, + "88": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "89": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "90": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "91": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "92": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "channel" + }, + "93": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "94": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "120": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "121": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "122": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "124": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "125": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "126": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "127": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "128": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "129": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "130": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "131": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "132": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "133": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "134": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "135": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "137": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseClientOptions" + }, + "138": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "139": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.db" + }, + "140": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "141": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.schema" + }, + "142": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.auth" + }, + "143": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "144": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "145": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "146": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "147": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "148": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "149": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "150": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "151": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "152": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "153": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.realtime" + }, + "154": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "155": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.global" + }, + "156": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "157": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "158": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "159": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.accessToken" + }, + "160": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "162": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SchemaName" + }, + "163": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryResult" + }, + "164": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "165": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryData" + }, + "166": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "167": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "168": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "169": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryError" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 } - ] + } } diff --git a/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json index 9f0639733286a..4a0320337366c 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json @@ -1,213 +1,195 @@ { "id": 0, "name": "@supabase/supabase-js", + "variant": "project", "kind": 1, "flags": {}, - "originalName": "", "children": [ { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", + "id": 11, + "name": "SupabaseClient", + "variant": "declaration", + "kind": 128, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Client.\n\nAn isomorphic Javascript client for interacting with Postgres." + } + ] + }, "children": [ { - "id": 270, - "name": "QueryData", - "kind": 8388608, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 50, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" - } - ], - "target": 139 - }, - { - "id": 271, - "name": "QueryError", - "kind": 8388608, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 61, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" - } - ], - "target": 143 - }, - { - "id": 269, - "name": "QueryResult", - "kind": 8388608, - "kindString": "Reference", + "id": 12, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, "sources": [ { - "fileName": "src/index.ts", - "line": 22, - "character": 37, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 99, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L99" } ], - "target": 137 - }, - { - "id": 268, - "name": "SupabaseClientOptions", - "kind": 8388608, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 22, - "character": 14, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L22" - } - ], - "target": 83 - }, - { - "id": 146, - "name": "SupabaseClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Client.\n\nAn isomorphic Javascript client for interacting with Postgres." - } - ] - }, - "children": [ + "signatures": [ { - "id": 147, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", + "id": 13, + "name": "SupabaseClient", + "variant": "signature", + "kind": 16384, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a new client for use in the browser." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 99, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L99" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L99" } ], - "signatures": [ + "typeParameters": [ { - "id": 148, - "name": "new SupabaseClient", - "kind": 16384, - "kindString": "Constructor signature", + "id": 14, + "name": "Database", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "comment": { - "summary": [ + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 15, + "name": "SchemaNameOrClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "Create a new client for use in the browser." - } - ] - }, - "typeParameter": [ - { - "id": 149, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { "type": "intrinsic", - "name": "any" - } - }, - { - "id": 152, - "name": "SchemaNameOrClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 150, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 17, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 151, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 38, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [151] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 38, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "children": [17] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 38, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" + } + ] + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" }, - "default": { - "type": "conditional", - "checkType": { + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + { "type": "literal", - "value": "public" + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "extendsType": { + { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ { "type": "typeOperator", "operator": "keyof", "target": { "type": "reference", - "id": 149, - "name": "Database" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } }, { @@ -216,157 +198,155 @@ } ], "name": "Exclude", - "qualifiedName": "Exclude", "package": "typescript" + } + ] + } + } + }, + { + "id": 18, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } }, { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "type": "literal", + "value": "__InternalSupabase" } - ] + ], + "name": "Exclude", + "package": "typescript" } - } + ] }, - { - "id": 153, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { + "trueType": { + "type": "reference", + "target": 15, + "typeArguments": [ + { "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + } + ], + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } - ] - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "conditional", - "checkType": { + }, + { "type": "literal", - "value": "public" + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "extendsType": { + { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } }, { "type": "literal", @@ -374,3500 +354,3715 @@ } ], "name": "Exclude", - "qualifiedName": "Exclude", "package": "typescript" - } - ] - } - } - } - }, - { - "id": 154, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" }, { "type": "literal", "value": "__InternalSupabase" } ], - "name": "Omit", - "qualifiedName": "Omit", + "name": "Exclude", "package": "typescript" } + ] + } + } + } + }, + { + "id": 19, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, - "objectType": { + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 20, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 22, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" + } + ], + "type": { "type": "intrinsic", - "name": "any" + "name": "string" } - }, - "falseType": { + } + ], + "groups": [ + { + "title": "Properties", + "children": [22] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" + } + ] + } + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { "type": "intrinsic", - "name": "never" + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" } - } + ] }, - { - "id": 165, - "name": "ClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + "extendsType": { "type": "reflection", "declaration": { - "id": 155, + "id": 23, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 156, - "name": "PostgrestVersion", + "id": 24, + "name": "__InternalSupabase", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 26, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } ], "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [156] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 24, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" - } - ] - } - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 149, - "name": "Database" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 157, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 158, - "name": "__InternalSupabase", - "kind": 1024, - "kindString": "Property", + "type": "reflection", + "declaration": { + "id": 25, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 25, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 159, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 26, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 160, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 47, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [160] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 56, - "character": 45, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" + "character": 47, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [158] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 23, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" + ], + "groups": [ + { + "title": "Properties", + "children": [26] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ] } - ] + } } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "__InternalSupabase" - }, - "objectType": { + ], + "groups": [ + { + "title": "Properties", + "children": [24] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ] + } + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "__InternalSupabase" + }, + "objectType": { + "type": "reference", + "target": 14, + "typeArguments": [ + { "type": "reference", - "name": "Database" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 27, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 28, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 162, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ], - "type": { - "type": "literal", - "value": "12" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [162] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 59, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" } - ] + ], + "type": { + "type": "literal", + "value": "12" + } } - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 163, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "groups": [ + { + "title": "Properties", + "children": [28] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 59, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" + } + ] + } + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 29, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 30, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, "flags": {}, - "children": [ - { - "id": 164, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 42, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [164] - } - ], "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 60, - "character": 40, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } + ], + "groups": [ + { + "title": "Properties", + "children": [30] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 60, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" + } + ] } - } - } - ], - "parameters": [ - { - "id": 166, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 167, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 168, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true }, - "type": { + "trueType": { "type": "reference", - "id": 83, + "target": 15, "typeArguments": [ { "type": "reference", - "id": 153, - "name": "SchemaName" + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true } ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" } } - ], + } + } + ], + "parameters": [ + { + "id": 31, + "name": "supabaseUrl", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 32, + "name": "supabaseKey", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 33, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, "type": { "type": "reference", - "id": 146, + "target": 137, "typeArguments": [ { "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 165, - "name": "ClientOptions" + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true } ], - "name": "default" + "name": "SupabaseClientOptions", + "package": "@supabase/supabase-js", + "highlightedProperties": { + "realtime": [ + { + "kind": "text", + "text": "Options passed along to realtime-js constructor." + } + ], + "storage": [ + { + "kind": "text", + "text": "Options passed along to the storage-js constructor." + } + ] + } } } - ] - }, + ], + "type": { + "type": "reference", + "target": 11, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + } + ], + "name": "SupabaseClient", + "package": "@supabase/supabase-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 52, + "name": "accessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ { - "id": 184, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 82, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L82" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 82, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L82" + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L82" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 185, + "signatures": [ + { + "id": 54, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", "line": 82, "character": 26, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L82" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L82" } ], - "signatures": [ - { - "id": 186, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } - } - ] + ], + "name": "Promise", + "package": "typescript" + } } + ] + } + } + }, + { + "id": 34, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." } - }, + ] + }, + "sources": [ { - "id": 169, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" - } + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L67" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/SupabaseAuthClient.ts", + "qualifiedName": "SupabaseAuthClient" }, + "name": "SupabaseAuthClient", + "package": "@supabase/supabase-js" + } + }, + { + "id": 38, + "name": "authUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 173, - "name": "authUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 75, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L75" - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 75, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L75" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 51, + "name": "changedAccessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ { - "id": 183, - "name": "changedAccessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 81, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L81" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 81, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 43, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ { - "id": 178, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 80, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L80" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 44, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 80, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L80" + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 29329, + "character": 17 + }, + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 } ], - "type": { - "type": "reflection", - "declaration": { - "id": 179, + "signatures": [ + { + "id": 45, "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, + "line": 29329, "character": 17 } ], - "signatures": [ + "parameters": [ { - "id": 180, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 46, + "name": "input", + "variant": "param", + "kind": 32768, "flags": {}, - "parameters": [ - { - "id": 181, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 182, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" }, - "type": { + { "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" } - } - ], + ] + } + }, + { + "id": 47, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, "type": { "type": "reference", - "typeArguments": [ + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 48, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@types/node/web-globals/fetch.d.ts", + "line": 16, + "character": 13 + } + ], + "parameters": [ + { + "id": 49, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + }, { "type": "reference", - "name": "Response", - "qualifiedName": "Response", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" } - ], - "name": "Promise", - "qualifiedName": "Promise", + ] + } + }, + { + "id": 50, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInit" + }, + "name": "RequestInit", "package": "typescript" } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "package": "typescript" + } } - } - }, - { - "id": 175, - "name": "functionsUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true + ] + } + } + }, + { + "id": 40, + "name": "functionsUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 77, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L77" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 55, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 84, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L84" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 77, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L77" - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" + { + "type": "intrinsic", + "name": "string" } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 35, + "name": "realtime", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 68, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L68" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default" }, + "name": "RealtimeClient", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 37, + "name": "realtimeUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 187, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 74, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L74" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 41, + "name": "rest", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 78, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L78" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 84, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L84" - } - ], - "type": { + { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + } + ], + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 36, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supabase Storage allows you to manage user-generated content, such as photos or videos." } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L72" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage-js/src/StorageClient.ts", + "qualifiedName": "StorageClient" }, + "name": "StorageClient", + "package": "@supabase/storage-js" + } + }, + { + "id": 42, + "name": "storageKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 170, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "default", - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js" - } + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 79, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 39, + "name": "storageUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 76, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L76" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 57, + "name": "supabaseKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + } + ] + }, + "sources": [ { - "id": 172, - "name": "realtimeUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 101, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L101" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 56, + "name": "supabaseUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 100, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L100" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 58, + "name": "functions", + "variant": "declaration", + "kind": 262144, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L174" + } + ], + "getSignature": { + "id": 59, + "name": "functions", + "variant": "signature", + "kind": 524288, + "flags": {}, + "comment": { + "summary": [ { - "fileName": "src/SupabaseClient.ts", - "line": 74, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L74" + "kind": "text", + "text": "Supabase Functions allows you to deploy and invoke edge functions." } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } + ] }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L174" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/functions-js/src/FunctionsClient.ts", + "qualifiedName": "FunctionsClient" + }, + "name": "FunctionsClient", + "package": "@supabase/functions-js" + } + } + }, + { + "id": 84, + "name": "channel", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 176, - "name": "rest", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 272, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L272" + } + ], + "signatures": [ + { + "id": 85, + "name": "channel", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." + } + ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 78, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L78" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 272, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L272" } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 153, - "name": "SchemaName" + "parameters": [ + { + "id": 86, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the Realtime channel." + } + ] }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "name": "GenericSchema", - "qualifiedName": "GenericSchema", - "package": "@supabase/postgrest-js" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 87, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The options to pass to the Realtime channel." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimeChannelOptions" }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "default", - "qualifiedName": "PostgrestClient", - "package": "@supabase/postgrest-js" + "name": "RealtimeChannelOptions", + "package": "@supabase/realtime-js" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } - }, - { - "id": 171, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ + } + ] + }, + { + "id": 60, + "name": "from", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform a query on a table or a view." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "relation", + "content": [ { "kind": "text", - "text": "Supabase Storage allows you to manage user-generated content, such as photos or videos." + "text": "The table or view name to query" } ] - }, + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L182" + }, + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L186" + }, + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 194, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L194" + } + ], + "signatures": [ + { + "id": 61, + "name": "from", + "variant": "signature", + "kind": 4096, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 72, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 182, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L72" + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L182" + } + ], + "typeParameters": [ + { + "id": 62, + "name": "TableName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 63, + "name": "Table", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/supabase-js" + } + } + ], + "parameters": [ + { + "id": 64, + "name": "relation", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 62, + "name": "TableName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } } ], "type": { "type": "reference", - "name": "StorageClient", - "qualifiedName": "StorageClient", - "package": "@supabase/storage-js" + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 63, + "name": "Table", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 62, + "name": "TableName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } }, { - "id": 177, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, + "id": 65, + "name": "from", + "variant": "signature", + "kind": 4096, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 79, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L79" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L186" } ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 174, - "name": "storageUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ + "typeParameters": [ + { + "id": 66, + "name": "ViewName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 67, + "name": "View", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/supabase-js" + } + } + ], + "parameters": [ { - "fileName": "src/SupabaseClient.ts", - "line": 76, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L76" + "id": 68, + "name": "relation", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 66, + "name": "ViewName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } } ], "type": { "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 67, + "name": "View", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 66, + "name": "ViewName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } - }, + } + ] + }, + { + "id": 88, + "name": "getChannels", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 189, - "name": "supabaseKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 279, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L279" + } + ], + "signatures": [ + { + "id": 89, + "name": "getChannels", + "variant": "signature", + "kind": 4096, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + "text": "Returns all Realtime channels." } ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 101, - "character": 14, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L101" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 279, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L279" } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } } - }, + } + ] + }, + { + "id": 93, + "name": "removeAllChannels", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 188, - "name": "supabaseUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 296, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L296" + } + ], + "signatures": [ + { + "id": 94, + "name": "removeAllChannels", + "variant": "signature", + "kind": 4096, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + "text": "Unsubscribes and removes all Realtime channels from Realtime client." } ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 100, - "character": 14, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L100" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 296, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L296" } ], "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 190, - "name": "functions", - "kind": 262144, - "kindString": "Accessor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 174, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L174" - } - ], - "getSignature": { - "id": 191, - "name": "functions", - "kind": 524288, - "kindString": "Get signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Supabase Functions allows you to deploy and invoke edge functions." - } - ] + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - "type": { - "type": "reference", - "name": "FunctionsClient", - "qualifiedName": "FunctionsClient", - "package": "@supabase/functions-js" - } + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 90, + "name": "removeChannel", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 229, - "name": "_getAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 289, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L289" + } + ], + "signatures": [ + { + "id": 91, + "name": "removeChannel", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unsubscribes and removes Realtime channel from Realtime client." + } + ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 300, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L300" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 289, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L289" } ], - "signatures": [ + "parameters": [ { - "id": 230, - "name": "_getAccessToken", - "kind": 4096, - "kindString": "Call signature", + "id": 92, + "name": "channel", + "variant": "param", + "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the Realtime channel." + } + ] + }, "type": { "type": "reference", - "typeArguments": [ + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" + ] } - } - ] - }, + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 73, + "name": "rpc", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 246, - "name": "_handleTokenChanged", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 241, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L241" + } + ], + "signatures": [ + { + "id": 74, + "name": "rpc", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform a function call." + } + ] }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 364, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L364" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 241, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L241" } ], - "signatures": [ + "typeParameters": [ { - "id": 247, - "name": "_handleTokenChanged", - "kind": 4096, - "kindString": "Call signature", + "id": 75, + "name": "FnName", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "parameters": [ - { - "id": 248, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "AuthChangeEvent", - "qualifiedName": "AuthChangeEvent", - "package": "@supabase/auth-js" - } - }, - { - "id": 249, - "name": "source", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "CLIENT" - }, - { - "type": "literal", - "value": "STORAGE" - } - ] - } - }, - { - "id": 250, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], "type": { "type": "intrinsic", - "name": "void" + "name": "string" } - } - ] - }, - { - "id": 240, - "name": "_initRealtimeClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ + }, { - "fileName": "src/SupabaseClient.ts", - "line": 350, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L350" + "id": 76, + "name": "Fn", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericFunction" + }, + "name": "GenericFunction", + "package": "@supabase/supabase-js" + } } ], - "signatures": [ + "parameters": [ { - "id": 241, - "name": "_initRealtimeClient", - "kind": 4096, - "kindString": "Call signature", + "id": 77, + "name": "fn", + "variant": "param", + "kind": 32768, "flags": {}, - "parameters": [ - { - "id": 242, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The function name to call" } - } - ], + ] + }, "type": { "type": "reference", - "name": "default", - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js" + "target": 75, + "name": "FnName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - } - ] - }, - { - "id": 231, - "name": "_initSupabaseAuthClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 310, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L310" - } - ], - "signatures": [ + }, { - "id": 232, - "name": "_initSupabaseAuthClient", - "kind": 4096, - "kindString": "Call signature", + "id": 78, + "name": "args", + "variant": "param", + "kind": 32768, "flags": {}, - "parameters": [ - { - "id": 233, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions", - "dereferenced": { - "id": 81, - "name": "SupabaseAuthClientOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 17, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L8" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "AuthClientOptions" - } - ] - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "The arguments to pass to the function call" } + ] + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" }, - { - "id": 234, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 235, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 236, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 237, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 238, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 239, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } + "objectType": { + "type": "reference", + "target": 76, + "name": "Fn", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" - } - } - ] - }, - { - "id": 243, - "name": "_listenForAuthEvents", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 357, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L357" - } - ], - "signatures": [ + }, + "defaultValue": "{}" + }, { - "id": 244, - "name": "_listenForAuthEvents", - "kind": 4096, - "kindString": "Call signature", + "id": 79, + "name": "options", + "variant": "param", + "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 80, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, + "children": [ + { + "id": 83, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n" + }, + { + "kind": "code", + "text": "`\"exact\"`" + }, + { + "kind": "text", + "text": ": Exact but slow count algorithm. Performs a " + }, + { + "kind": "code", + "text": "`COUNT(*)`" + }, + { + "kind": "text", + "text": " under the\nhood.\n\n" + }, + { + "kind": "code", + "text": "`\"planned\"`" + }, + { + "kind": "text", + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 247, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L247" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 82, + "name": "get", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the function will be called with\nread-only access mode." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 246, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L246" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 81, + "name": "head", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " will not be returned.\nUseful if you only need the count." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 245, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L245" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [83, 82, 81] + } + ], "sources": [ { - "fileName": "node_modules/@supabase/auth-js/dist/module/GoTrueClient.d.ts", - "line": 313, - "character": 108 + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 244, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L244" } ] } - } - } - ] - }, - { - "id": 218, - "name": "channel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 272, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L272" + }, + "defaultValue": "{}" } ], - "signatures": [ - { - "id": 219, - "name": "channel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." - } - ] + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestFilterBuilder.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, - "parameters": [ - { - "id": 220, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the Realtime channel." - } - ] + { + "type": "reference", + "target": 19, + "name": "Schema", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" }, - "type": { + "objectType": { + "type": "reference", + "target": 76, + "name": "Fn", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "array", + "elementType": { "type": "intrinsic", - "name": "string" + "name": "any" } }, - { - "id": 221, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The options to pass to the Realtime channel." + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" } - ] + } }, - "type": { + "extendsType": { "type": "reference", - "name": "RealtimeChannelOptions", - "qualifiedName": "RealtimeChannelOptions", - "package": "@supabase/realtime-js" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } }, - "defaultValue": "..." + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" } - ], - "type": { + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "target": 76, + "name": "Fn", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { "type": "reference", - "name": "default", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js" + "target": 75, + "name": "FnName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "RPC" } - } - ] - }, + ], + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 69, + "name": "schema", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ { - "id": 192, - "name": "from", - "kind": 2048, - "kindString": "Method", + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 206, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L206" + } + ], + "signatures": [ + { + "id": 70, + "name": "schema", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Select a schema to query or perform an function (rpc) call.\n\nThe schema needs to be on the list of exposed schemas inside Supabase." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 182, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L182" - }, - { - "fileName": "src/SupabaseClient.ts", - "line": 186, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 206, "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L186" - }, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L206" + } + ], + "typeParameters": [ { - "fileName": "src/SupabaseClient.ts", - "line": 194, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L194" + "id": 71, + "name": "DynamicSchema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "signatures": [ + "parameters": [ { - "id": 193, - "name": "from", - "kind": 4096, - "kindString": "Call signature", + "id": 72, + "name": "schema", + "variant": "param", + "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Perform a query on a table or a view." + "text": "The schema to query" } ] }, - "typeParameter": [ - { - "id": 194, - "name": "TableName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 195, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - } - ], - "parameters": [ - { - "id": 196, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The table or view name to query" - } - ] - }, - "type": { - "type": "reference", - "id": 194, - "name": "TableName", - "dereferenced": {} - } - } - ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { + "target": 71, + "name": "DynamicSchema", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 20, + "name": "ClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 71, + "name": "DynamicSchema", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { "type": "reference", - "id": 154, - "name": "Schema" + "target": 71, + "name": "DynamicSchema", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true }, - { + "objectType": { "type": "reference", - "id": 195, - "name": "Table" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" }, - { - "type": "reference", - "id": 194, - "name": "TableName" + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 195, - "name": "Table" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/cjs/PostgrestQueryBuilder.d.ts", - "line": 4, - "character": 218 - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "R", - "qualifiedName": "R", - "package": "@supabase/postgrest-js" - }, - "falseType": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "name": "default", - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js" - } - }, - { - "id": 198, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform a query on a table or a view." - } - ] - }, - "typeParameter": [ - { - "id": 199, - "name": "ViewName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { + "objectType": { "type": "intrinsic", - "name": "string" + "name": "any" } }, - { - "id": 200, - "name": "View", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 127, - "name": "GenericView" - } + "falseType": { + "type": "intrinsic", + "name": "any" } - ], - "parameters": [ - { - "id": 201, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The table or view name to query" - } - ] + } + ], + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [12] + }, + { + "title": "Properties", + "children": [52, 34, 38, 51, 43, 40, 55, 35, 37, 41, 36, 42, 39, 57, 56] + }, + { + "title": "Accessors", + "children": [58] + }, + { + "title": "Methods", + "children": [84, 60, 88, 93, 90, 73, 69] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 31, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L31" + } + ], + "typeParameters": [ + { + "id": 120, + "name": "Database", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 121, + "name": "SchemaNameOrClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + } + ] + }, + { + "type": "reflection", + "declaration": { + "id": 122, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 123, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 38, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" + } + ], "type": { - "type": "reference", - "id": 199, - "name": "ViewName", - "dereferenced": {} + "type": "intrinsic", + "name": "string" } } ], - "type": { + "groups": [ + { + "title": "Properties", + "children": [123] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 38, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L38" + } + ] + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 200, - "name": "View" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true }, { - "type": "reference", - "id": 199, - "name": "ViewName" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 200, - "name": "View" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 202, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/cjs/PostgrestQueryBuilder.d.ts", - "line": 4, - "character": 218 - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "R", - "qualifiedName": "R", - "package": "@supabase/postgrest-js" - }, - "falseType": { - "type": "intrinsic", - "name": "unknown" - } + "type": "literal", + "value": "__InternalSupabase" } ], - "name": "default", - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js" + "name": "Omit", + "package": "typescript" } } ] - }, - { - "id": 222, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 279, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L279" - } - ], - "signatures": [ - { - "id": 223, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Returns all Realtime channels." - } - ] + } + } + }, + { + "id": 124, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "type": { - "type": "array", - "elementType": { + "typeArguments": [ + { "type": "reference", - "name": "default", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js" + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" } - } + ], + "name": "Omit", + "package": "typescript" } - ] + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true }, - { - "id": 227, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ + "extendsType": { + "type": "intersection", + "types": [ { - "fileName": "src/SupabaseClient.ts", - "line": 296, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L296" - } - ], - "signatures": [ + "type": "intrinsic", + "name": "string" + }, { - "id": 228, - "name": "removeAllChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Unsubscribes and removes all Realtime channels from Realtime client." - } - ] - }, - "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" } ], - "name": "Promise", - "qualifiedName": "Promise", + "name": "Omit", "package": "typescript" } } ] }, - { - "id": 224, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 289, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L289" - } - ], - "signatures": [ - { - "id": 225, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Unsubscribes and removes Realtime channel from Realtime client." - } - ] + "trueType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "parameters": [ + "typeArguments": [ { - "id": 226, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the Realtime channel." - } - ] + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" }, - "type": { - "type": "reference", - "name": "default", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js" - } + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + } + ] + } + } + } + }, + { + "id": 125, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/supabase-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 18, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 126, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 127, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 128, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" } ], "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [128] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 53, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L53" + } + ] + } + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" } ], - "name": "Promise", - "qualifiedName": "Promise", + "name": "Omit", "package": "typescript" } } ] }, - { - "id": 207, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 241, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L241" - } - ], - "signatures": [ - { - "id": 208, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform a function call." - } - ] - }, - "typeParameter": [ - { - "id": 209, - "name": "FnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 210, - "name": "Fn", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 128, - "name": "GenericFunction" - } - } - ], - "parameters": [ - { - "id": 211, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The function name to call" - } - ] - }, - "type": { - "type": "reference", - "id": 209, - "name": "FnName", - "dereferenced": {} - } - }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 129, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 212, - "name": "args", - "kind": 32768, - "kindString": "Parameter", + "id": 130, + "name": "__InternalSupabase", + "variant": "declaration", + "kind": 1024, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The arguments to pass to the function call" - } - ] - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Args" - }, - "objectType": { - "type": "reference", - "id": 210, - "name": "Fn" + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } - }, - "defaultValue": "{}" - }, - { - "id": 213, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, + ], "type": { "type": "reflection", "declaration": { - "id": 214, + "id": 131, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 247, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L247" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 216, - "name": "get", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the function will be called with\nread-only access mode." - } - ] - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 246, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L246" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 215, - "name": "head", + "id": 132, + "name": "PostgrestVersion", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When set to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`data`" - }, - { - "kind": "text", - "text": " will not be returned.\nUseful if you only need the count." - } - ] - }, + "flags": {}, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 245, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L245" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 47, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" } } ], "groups": [ { "title": "Properties", - "children": [217, 216, 215] + "children": [132] } ], "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 244, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L244" + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" } ] } - }, - "defaultValue": "{}" + } } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 210, - "name": "Fn" - } - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 210, - "name": "Fn" - } - }, - { - "type": "reference", - "id": 209, - "name": "FnName" - }, - { - "type": "literal", - "value": null - }, - { - "type": "literal", - "value": "RPC" - } - ], - "name": "default", - "qualifiedName": "PostgrestFilterBuilder", - "package": "@supabase/postgrest-js" - } - } - ] - }, - { - "id": 203, - "name": "schema", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 206, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L206" - } - ], - "signatures": [ - { - "id": 204, - "name": "schema", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Select a schema to query or perform an function (rpc) call.\n\nThe schema needs to be on the list of exposed schemas inside Supabase." - } - ] - }, - "typeParameter": [ + "groups": [ { - "id": 205, - "name": "DynamicSchema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "title": "Properties", + "children": [130] } ], - "parameters": [ + "sources": [ { - "id": 206, - "name": "schema", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The schema to query" - } - ] - }, + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 56, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L56" + } + ] + } + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "__InternalSupabase" + }, + "objectType": { + "type": "reference", + "target": 14, + "name": "Database", + "package": "@supabase/supabase-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 133, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 134, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 59, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" + } + ], "type": { - "type": "reference", - "id": 205, - "name": "DynamicSchema", - "dereferenced": {} + "type": "literal", + "value": "12" } } ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "reference", - "id": 165, - "name": "ClientOptions" - }, - { - "type": "reference", - "id": 205, - "name": "DynamicSchema" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 205, - "name": "DynamicSchema" - }, - "objectType": { - "type": "reference", - "id": 149, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" + "groups": [ + { + "title": "Properties", + "children": [134] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 59, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L59" + } + ] + } + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 135, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 136, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 60, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [136] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/SupabaseClient.ts", + "line": 60, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/SupabaseClient.ts#L60" + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 15, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "qualifiedName": "default.SchemaNameOrClientOptions", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + } + ] + }, + { + "id": 165, + "name": "QueryData", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 132, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L132" + } + ], + "typeParameters": [ + { + "id": 168, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 168, + "name": "T", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 167, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 132, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L132" } ], - "name": "default", - "qualifiedName": "PostgrestClient", - "package": "@supabase/postgrest-js" + "type": { + "type": "inferred", + "name": "U" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "children": [167] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 132, + "character": 49, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L132" + } + ] + } } ], - "groups": [ - { - "title": "Constructors", - "children": [147] - }, - { - "title": "Properties", - "children": [ - 184, 169, 173, 183, 178, 175, 187, 170, 172, 176, 171, 177, 174, 189, 188 - ] - }, + "name": "PromiseLike", + "package": "typescript" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "title": "Accessors", - "children": [190] + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true }, { - "title": "Methods", - "children": [229, 246, 240, 231, 243, 218, 192, 222, 227, 224, 207, 203] + "type": "literal", + "value": null } ], - "sources": [ + "name": "Exclude", + "package": "typescript" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 169, + "name": "QueryError", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 133, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L133" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default" + }, + "name": "PostgrestError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 163, + "name": "QueryResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Helper types for query results." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 131, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L131" + } + ], + "typeParameters": [ + { + "id": 164, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 164, + "name": "T", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ { - "fileName": "src/SupabaseClient.ts", - "line": 31, - "character": 21, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L31" + "type": "inferred", + "name": "U" } ], - "typeParameters": [ - { - "id": 251, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, + "name": "PromiseLike", + "package": "typescript" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + { + "id": 137, + "name": "SupabaseClientOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 12, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L12" + } + ], + "typeParameters": [ + { + "id": 162, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 138, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 254, - "name": "SchemaNameOrClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ + "id": 159, + "name": "accessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] + "kind": "text", + "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " }, { - "type": "reflection", - "declaration": { - "id": 252, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 253, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 38, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [253] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 38, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L38" - } - ] - } + "kind": "code", + "text": "`auth`" + }, + { + "kind": "text", + "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." } ] }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L90" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ { - "type": "intrinsic", - "name": "string" - }, + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 90, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L90" + } + ], + "signatures": [ { - "type": "typeOperator", - "operator": "keyof", - "target": { + "id": 161, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } ], - "name": "Omit", - "qualifiedName": "Omit", + "name": "Promise", "package": "typescript" } } @@ -3876,6560 +4071,2152 @@ } }, { - "id": 255, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, + "id": 142, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L20" + } + ], "type": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, + "type": "reflection", + "declaration": { + "id": 143, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 144, + "name": "autoRefreshToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Automatically refreshes the token for logged-in users. Defaults to true." + } + ] + }, + "sources": [ { - "type": "literal", - "value": "__InternalSupabase" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 24, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L24" } ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" + "type": { + "type": "intrinsic", + "name": "boolean" + } }, { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, + "id": 151, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "literal", - "value": "__InternalSupabase" + "kind": "text", + "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] - }, - "trueType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, + ] + }, + "sources": [ { - "type": "literal", - "value": "__InternalSupabase" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 56, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L56" } ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "debug" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" } } - ] - } - } - } - }, - { - "id": 256, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" + }, + { + "id": 147, + "name": "detectSessionInUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." + } + ] }, - { - "type": "literal", - "value": "__InternalSupabase" + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 36, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" + }, + { + "id": 150, + "name": "flowType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "__InternalSupabase" + "comment": { + "summary": [ + { + "kind": "text", + "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 52, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L52" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "flowType" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" + } } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 153, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" + }, + { + "id": 152, + "name": "lock", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "__InternalSupabase" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." + } + ], + "modifierTags": ["@experimental"] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 62, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L62" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "lock" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" + } } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - { - "id": 267, - "name": "ClientOptions", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 257, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + }, { - "id": 258, - "name": "PostgrestVersion", + "id": 146, + "name": "persistSession", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to persist a logged-in session to storage. Defaults to true." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 26, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 32, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L32" } ], "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [258] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 24, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L53" - } - ] - } - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" }, { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 149, - "name": "Database" - }, + "id": 148, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "literal", - "value": "__InternalSupabase" + "kind": "text", + "text": "A storage provider. Used to store the logged-in session." } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - } - ] - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 149, - "name": "Database" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 259, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + ] + }, + "sources": [ { - "id": 260, - "name": "__InternalSupabase", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 25, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 261, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 262, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 47, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [262] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 45, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - } + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 40, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L40" } ], - "groups": [ - { - "title": "Properties", - "children": [260] + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "storage" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" } - ], + } + }, + { + "id": 145, + "name": "storageKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional key name used for storing tokens in local storage." + } + ] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 23, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 28, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L28" } - ] - } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "__InternalSupabase" + ], + "type": { + "type": "intrinsic", + "name": "string" + } }, - "objectType": { - "type": "reference", + { "id": 149, - "name": "Database" - } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 263, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 264, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ], - "type": { - "type": "literal", - "value": "12" + "name": "userStorage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [264] - } - ], + ], + "modifierTags": ["@experimental"] + }, "sources": [ { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ] - } - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 265, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 266, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 42, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [266] + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 48, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L48" } ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 40, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "userStorage" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseAuthClientOptions" + }, + "name": "SupabaseAuthClientOptions", + "package": "@supabase/supabase-js" } - ] + } } - }, - "trueType": { - "type": "reference", - "id": 152, - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } + ], + "groups": [ + { + "title": "Properties", + "children": [144, 151, 147, 150, 152, 146, 148, 145, 149] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 20, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L20" + } + ] } } - } - ] - }, - { - "id": 2, - "name": "createClient", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 27, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L27" - } - ], - "signatures": [ + }, { - "id": 3, - "name": "createClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "id": 139, + "name": "db", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Creates a new Supabase Client." + "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " + }, + { + "kind": "code", + "text": "`public`" + }, + { + "kind": "text", + "text": "." } ] }, - "typeParameter": [ - { - "id": 4, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, + "sources": [ { - "id": 7, - "name": "SchemaNameOrClientOptions", - "kind": 131072, - "kindString": "Type parameter", + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L16" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 140, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 6, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 31, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L31" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [6] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 31, - "character": 6, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L31" - } - ] - } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, + "children": [ + { + "id": 141, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ { - "type": "literal", - "value": "__InternalSupabase" + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 17, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L17" } ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - } - ] + "type": { + "type": "reference", + "target": 162, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } } - } - }, + ], + "groups": [ + { + "title": "Properties", + "children": [141] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 16, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L16" + } + ] + } + } + }, + { + "id": 155, + "name": "global", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ { - "id": 8, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 69, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L69" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" + "children": [ + { + "id": 157, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "extendsType": { - "type": "reference", - "typeArguments": [ + "comment": { + "summary": [ { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } + "kind": "text", + "text": "A custom " }, { - "type": "literal", - "value": "__InternalSupabase" + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation." } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + ] }, - "trueType": { - "type": "literal", - "value": "public" + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 73, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L73" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Fetch" + }, + "name": "Fetch", + "package": "@supabase/supabase-js" + } + }, + { + "id": 158, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "falseType": { - "type": "intersection", - "types": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional headers for initializing the client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 77, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L77" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { "type": "intrinsic", "name": "string" }, { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" + "type": "intrinsic", + "name": "string" } - ] + ], + "name": "Record", + "package": "typescript" } } + ], + "groups": [ + { + "title": "Properties", + "children": [157, 158] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 69, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L69" + } + ] + } + } + }, + { + "id": 153, + "name": "realtime", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options passed to the realtime-js instance" } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L67" } ], - "parameters": [ - { - "id": 9, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/@supabase/realtime-js/src/RealtimeClient.ts", + "qualifiedName": "RealtimeClientOptions" }, + "name": "RealtimeClientOptions", + "package": "@supabase/realtime-js" + } + }, + { + "id": 154, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ { - "id": 10, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 68, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L68" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage-js/src/StorageClient.ts", + "qualifiedName": "StorageClientOptions" + }, + "name": "StorageClientOptions", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [159, 142, 139, 155, 153, 154] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/lib/types.ts", + "line": 12, + "character": 48, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/lib/types.ts#L12" + } + ] + } + } + }, + { + "id": 1, + "name": "createClient", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new Supabase Client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 27, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L27" + } + ], + "signatures": [ + { + "id": 2, + "name": "createClient", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 27, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L27" + } + ], + "typeParameters": [ + { + "id": 3, + "name": "Database", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 4, + "name": "SchemaNameOrClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6, + "name": "PostgrestVersion", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 31, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [6] + } + ], + "sources": [ + { + "fileName": "packages/core/supabase-js/src/index.ts", + "line": 31, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/87b997b8135bac04b447b4e2798bfbe6c0178405/packages/core/supabase-js/src/index.ts#L31" + } + ] + } } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" }, - { - "id": 11, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" }, - "type": { - "type": "reference", - "id": 83, - "typeArguments": [ - { + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", - "id": 8, - "name": "SchemaName" + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} + "type": "literal", + "value": "__InternalSupabase" } ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "id": 146, - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - { - "type": "reference", - "id": 8, - "name": "SchemaName" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 8, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Omit", - "qualifiedName": "Omit", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "id": 132, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - { - "type": "literal", - "value": "__InternalSupabase" - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 4, - "name": "Database" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 13, - "name": "__InternalSupabase", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 25, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 14, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 15, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 47, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [15] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 45, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [13] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 23, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L56" - } - ] - } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "__InternalSupabase" - }, - "objectType": { - "type": "reference", - "name": "Database" - } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 16, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 17, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 10, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ], - "type": { - "type": "literal", - "value": "12" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [17] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 8, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L59" - } - ] - } - } - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 7, - "name": "SchemaNameOrClientOptions" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 18, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 19, - "name": "PostgrestVersion", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 42, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [19] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 40, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/SupabaseClient.ts#L60" - } - ] - } - }, - "trueType": { - "type": "reference", - "name": "SchemaNameOrClientOptions" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "References", - "children": [270, 271, 269, 268] - }, - { - "title": "Classes", - "children": [146] - }, - { - "title": "Functions", - "children": [2] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/index.ts#L1" - } - ] - }, - { - "id": 20, - "name": "lib/constants", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 32, - "name": "DEFAULT_AUTH_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 28, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L28" - } - ], - "type": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - }, - "defaultValue": "..." - }, - { - "id": 29, - "name": "DEFAULT_DB_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 24, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L24" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 30, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 31, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 25, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L25" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "'public'" - } - ], - "groups": [ - { - "title": "Properties", - "children": [31] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 24, - "character": 34, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L24" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 24, - "name": "DEFAULT_GLOBAL_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 20, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 25, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 26, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 21, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L21" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 27, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 28, - "name": "X-Client-Info", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 33, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [28] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 31, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ] - } - }, - "defaultValue": "DEFAULT_HEADERS" - } - ], - "groups": [ - { - "title": "Properties", - "children": [26] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 20, - "character": 38, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L20" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 21, - "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 22, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 23, - "name": "X-Client-Info", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 33, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [23] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 18, - "character": 31, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L18" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 33, - "name": "DEFAULT_REALTIME_OPTIONS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 35, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L35" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - }, - "defaultValue": "{}" - } - ], - "groups": [ - { - "title": "Variables", - "children": [32, 29, 24, 21, 33] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/constants.ts#L2" - } - ] - }, - { - "id": 34, - "name": "lib/fetch", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 48, - "name": "fetchWithAuth", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 26, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L26" - } - ], - "signatures": [ - { - "id": 49, - "name": "fetchWithAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 50, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 51, - "name": "getAccessToken", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 52, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 28, - "character": 18, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L28" - } - ], - "signatures": [ - { - "id": 53, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 54, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 55, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 56, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 57, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 58, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 59, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 60, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 61, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 62, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 35, - "name": "resolveFetch", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 6, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L6" - } - ], - "signatures": [ - { - "id": 36, - "name": "resolveFetch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 37, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 39, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 40, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 41, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 42, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 18095, - "character": 17 - } - ], - "signatures": [ - { - "id": 43, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 44, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", - "package": "typescript" - }, - { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - ] - } - }, - { - "id": 45, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "RequestInit", - "qualifiedName": "RequestInit", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 46, - "name": "resolveHeadersConstructor", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 18, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L18" - } - ], - "signatures": [ - { - "id": 47, - "name": "resolveHeadersConstructor", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "children": [48, 35, 46] - } - ], - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/fetch.ts#L2" - } - ] - }, - { - "id": 63, - "name": "lib/helpers", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 69, - "name": "applySettingDefaults", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 18, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L18" - } - ], - "signatures": [ - { - "id": 70, - "name": "applySettingDefaults", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 71, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 72, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 71, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 71, - "name": "Database" - } - } - ] - } - } - } - ], - "parameters": [ - { - "id": 73, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "reference", - "id": 72, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - } - }, - { - "id": 74, - "name": "defaults", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "SupabaseClientOptions", - "dereferenced": { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] - } - } - }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { - "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [87] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] - } - } - }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } - }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options passed to the realtime-js instance" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" - } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { - "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 83, - "typeArguments": [ - { - "type": "reference", - "id": 72, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - ], - "name": "Required", - "qualifiedName": "Required", - "package": "typescript" - } - } - ] - }, - { - "id": 66, - "name": "ensureTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L12" - } - ], - "signatures": [ - { - "id": 67, - "name": "ensureTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 68, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 78, - "name": "isBrowser", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 16, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L16" - } - ], - "signatures": [ - { - "id": 79, - "name": "isBrowser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 64, - "name": "uuid", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 4, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L4" - } - ], - "signatures": [ - { - "id": 65, - "name": "uuid", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 75, - "name": "validateSupabaseUrl", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 82, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L82" - } - ], - "signatures": [ - { - "id": 76, - "name": "validateSupabaseUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Validates a Supabase client URL" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- The validated base URL." - } - ] - }, - { - "tag": "@throws", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 77, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Supabase client URL string." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "name": "URL", - "qualifiedName": "URL", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "children": [69, 66, 78, 64, 75] - } - ], - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 2, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/helpers.ts#L2" - } - ] - }, - { - "id": 80, - "name": "lib/types", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 81, - "name": "SupabaseAuthClientOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 17, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L8" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "AuthClientOptions" - } - ] - }, - { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - }, - { - "id": 128, - "name": "GenericFunction", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L117" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 130, - "name": "Args", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 118, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L118" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 131, - "name": "Returns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L119" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [130, 131] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 30, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L117" - } - ] - } - } - }, - { - "id": 123, - "name": "GenericNonUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 126, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L112" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 109, - "name": "GenericRelationship" - } - } - }, - { - "id": 125, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 111, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L111" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [126, 125] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 38, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ] - } - } - }, - { - "id": 109, - "name": "GenericRelationship", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 93, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L93" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 112, - "name": "columns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 95, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L95" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 111, - "name": "foreignKeyName", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 94, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L94" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 113, - "name": "isOneToOne", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 96, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L96" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 115, - "name": "referencedColumns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 98, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L98" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 114, - "name": "referencedRelation", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 97, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L97" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [112, 111, 113, 115, 114] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 93, - "character": 34, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L93" - } - ] - } - } - }, - { - "id": 132, - "name": "GenericSchema", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L122" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 133, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 136, - "name": "Functions", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L125" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 128, - "name": "GenericFunction" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 134, - "name": "Tables", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L123" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 135, - "name": "Views", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L124" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 127, - "name": "GenericView" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [136, 134, 135] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 28, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L122" - } - ] - } - } - }, - { - "id": 116, - "name": "GenericTable", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L101" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 117, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 119, - "name": "Insert", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 103, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L103" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 121, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L105" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 109, - "name": "GenericRelationship" - } - } - }, - { - "id": 118, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 102, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L102" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - }, - { - "id": 120, - "name": "Update", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 104, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L104" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [119, 121, 118, 120] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 27, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L101" - } - ] - } - } - }, - { - "id": 122, - "name": "GenericUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L108" - } - ], - "type": { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - }, - { - "id": 127, - "name": "GenericView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L115" - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 122, - "name": "GenericUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L108" - } - ], - "type": { - "type": "reference", - "id": 116, - "name": "GenericTable" - } - }, - { - "id": 123, - "name": "GenericNonUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 126, - "name": "Relationships", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L112" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 109, - "name": "GenericRelationship" - } - } - }, - { - "id": 125, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 111, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L111" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [126, 125] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 38, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L110" - } - ] - } - } - } - ] - } - }, - { - "id": 139, - "name": "QueryData", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L132" - } - ], - "typeParameters": [ - { - "id": 142, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 142, - "name": "T" - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 140, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 141, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 51, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L132" - } - ], - "type": { - "type": "inferred", - "name": "U" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [141] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 49, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L132" - } - ] - } - } - ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" - }, - "trueType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "U" - }, - { - "type": "literal", - "value": null - } - ], - "name": "Exclude", - "qualifiedName": "Exclude", - "package": "typescript" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - { - "id": 143, - "name": "QueryError", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L133" - } - ], - "type": { - "type": "reference", - "name": "PostgrestError", - "qualifiedName": "PostgrestError", - "package": "@supabase/postgrest-js" - } - }, - { - "id": 137, - "name": "QueryResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Helper types for query results." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L131" - } - ], - "typeParameters": [ - { - "id": 138, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 138, - "name": "T" - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "inferred", - "name": "U" - } - ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" - }, - "trueType": { - "type": "reference", - "name": "U" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - { - "id": 83, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ], - "typeParameters": [ - { - "id": 108, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 16, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L90" - } - ], - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth client library. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the client libraries.\n\nWhen set, the " - }, - { - "kind": "code", - "text": "`auth`" - }, - { - "kind": "text", - "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 88, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Automatically refreshes the token for logged-in users. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "debug", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L56" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "debug" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 93, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 36, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L52" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 98, - "name": "lock", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L62" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "lock" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 92, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to persist a logged-in session to storage. Defaults to true." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 94, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider. Used to store the logged-in session." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 40, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L40" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 91, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional key name used for storing tokens in local storage." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "userStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object." - } - ], - "modifierTags": ["@experimental"] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L48" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "userStorage" - }, - "objectType": { - "type": "reference", - "id": 81, - "name": "SupabaseAuthClientOptions" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [90, 97, 93, 96, 98, 92, 94, 91, 95] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 9, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L20" - } - ] + "name": "Exclude", + "package": "typescript" } - } + ] + } + } + }, + { + "id": 7, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 4, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true }, - { - "id": 85, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ + "extendsType": { + "type": "intersection", + "types": [ { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "id": 87, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L17" - } - ], - "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", - "id": 108, - "name": "SchemaName", - "dereferenced": {} + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [87] + "type": "literal", + "value": "__InternalSupabase" } ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 7, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L16" - } - ] + "name": "Exclude", + "package": "typescript" } - } + ] }, - { - "id": 101, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ + "trueType": { + "type": "reference", + "target": 4, + "typeArguments": [ { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" + "type": "reference", + "target": 4, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } ], - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 103, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom " - }, - { - "kind": "code", - "text": "`fetch`" - }, - { - "kind": "text", - "text": " implementation." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L73" - } - ], - "type": { - "type": "reference", - "id": 82, - "name": "Fetch", - "dereferenced": { - "id": 82, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L10" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 38, - "name": "fetch", - "qualifiedName": "fetch", - "package": "typescript" - } - } - } - } - }, - { - "id": 104, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional headers for initializing the client." - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 4, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L77" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [103, 104] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 11, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L69" - } - ] - } - } + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true }, - { - "id": 99, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "falseType": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" }, - "comment": { - "summary": [ + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ { - "kind": "text", - "text": "Options passed to the realtime-js instance" + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" } ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L67" - } - ], - "type": { - "type": "reference", - "name": "RealtimeClientOptions", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js" } - }, - { - "id": 100, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L68" - } - ], - "type": { + } + } + } + ], + "parameters": [ + { + "id": 8, + "name": "supabaseUrl", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9, + "name": "supabaseKey", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 137, + "typeArguments": [ + { "type": "reference", - "name": "StorageClientOptions", - "qualifiedName": "StorageClientOptions", - "package": "@supabase/storage-js" + "target": 7, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true } - } - ], - "groups": [ - { - "title": "Properties", - "children": [105, 88, 85, 101, 99, 100] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 48, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L12" - } - ] + ], + "name": "SupabaseClientOptions", + "package": "@supabase/supabase-js" + } } + ], + "type": { + "type": "reference", + "target": 11, + "typeArguments": [ + { + "type": "reference", + "target": 3, + "name": "Database", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 4, + "name": "SchemaNameOrClientOptions", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 7, + "name": "SchemaName", + "package": "@supabase/supabase-js", + "refersToTypeParameter": true + } + ], + "name": "SupabaseClient", + "package": "@supabase/supabase-js", + "qualifiedName": "default" } } - ], - "groups": [ - { - "title": "Interfaces", - "children": [81] - }, - { - "title": "Type Aliases", - "children": [82, 128, 123, 109, 132, 116, 122, 127, 139, 143, 137, 83] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/types.ts#L1" - } ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [11] + }, + { + "title": "Type Aliases", + "children": [165, 169, 163, 137] + }, + { + "title": "Functions", + "children": [1] + } + ], + "packageName": "@supabase/supabase-js", + "readme": [ + { + "kind": "text", + "text": "# " + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " - Isomorphic JavaScript Client for Supabase.\n\n- **Documentation:** https://supabase.com/docs/reference/javascript/start\n- TypeDoc: https://supabase.github.io/supabase-js/supabase-js/v2/spec.json\n\n
\n\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/supabase-js)](https://pkg.pr.new/~/supabase/supabase-js)\n\n
\n\n## Usage\n\nFirst of all, you need to install the library:\n\n" + }, + { + "kind": "code", + "text": "```sh\nnpm install @supabase/supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\nThen you're able to import the library and establish the connection with the database:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Create a single supabase client for interacting with your database\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')\n```" + }, + { + "kind": "text", + "text": "\n\n### UMD\n\nYou can use plain " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\nor even:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\nThen you can use it from a global " + }, + { + "kind": "code", + "text": "`supabase`" + }, + { + "kind": "text", + "text": " variable:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\n### ESM\n\nYou can use " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\n### Deno\n\nYou can use supabase-js in the Deno runtime via [JSR](https://jsr.io/@supabase/supabase-js):\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from 'jsr:@supabase/supabase-js@2'\n```" + }, + { + "kind": "text", + "text": "\n\n### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Provide a custom `fetch` implementation as an option\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {\n global: {\n fetch: (...args) => fetch(...args),\n },\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Support Policy\n\nThis section outlines the scope of support for various runtime environments in Supabase JavaScript client.\n\n### Node.js\n\nWe only support Node.js versions that are in **Active LTS** or **Maintenance** status as defined by the [official Node.js release schedule](https://nodejs.org/en/about/previous-releases#release-schedule). This means we support versions that are currently receiving long-term support and critical bug fixes.\n\nWhen a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Deno\n\nWe support Deno versions that are currently receiving active development and security updates. We follow the [official Deno release schedule](https://docs.deno.com/runtime/fundamentals/stability_and_releases/) and only support versions from the " + }, + { + "kind": "code", + "text": "`stable`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`lts`" + }, + { + "kind": "text", + "text": " release channels.\n\nWhen a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Important Notes\n\n- **Experimental features**: Features marked as experimental may be removed or changed without notice\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# From the monorepo root\nnpx nx build supabase-js\n\n# Or with watch mode for development\nnpx nx build supabase-js --watch\n```" + }, + { + "kind": "text", + "text": "\n\n### Testing\n\n**Important:** The test suite includes tests for multiple runtime environments (Node.js, Deno, Bun, Expo, Next.js). Each environment has its own test runner and specific requirements.\n\n#### Prerequisites for All Integration Tests\n\n1. **Docker** must be installed and running\n2. **Supabase CLI** must be installed (" + }, + { + "kind": "code", + "text": "`npm install -g supabase`" + }, + { + "kind": "text", + "text": " or via package manager)\n3. **Local Supabase instance** must be started:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Navigate to the supabase-js package directory\ncd packages/core/supabase-js\n\n# Start Supabase (downloads and starts all required containers)\nnpx supabase start\n\n# The output will show:\n# - API URL: http://127.0.0.1:54321\n# - Database URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres\n# - Studio URL: http://127.0.0.1:54323\n# - Anon key: [your-anon-key]\n# - Service role key: [your-service-role-key] # Important for some tests!\n\n# Return to monorepo root for running tests\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Scripts Overview\n\n| Script | Description | Requirements |\n| -------------------------- | ----------------------------------------- | --------------------------------------- |\n| " + }, + { + "kind": "code", + "text": "`test`" + }, + { + "kind": "text", + "text": " | Runs unit tests + type checking | None |\n| " + }, + { + "kind": "code", + "text": "`test:all`" + }, + { + "kind": "text", + "text": " | Unit + integration + browser tests | Supabase running |\n| " + }, + { + "kind": "code", + "text": "`test:run`" + }, + { + "kind": "text", + "text": " | Jest unit tests only | None |\n| " + }, + { + "kind": "code", + "text": "`test:unit`" + }, + { + "kind": "text", + "text": " | Jest unit tests in test/unit directory | None |\n| " + }, + { + "kind": "code", + "text": "`test:coverage`" + }, + { + "kind": "text", + "text": " | Unit tests with coverage report | None |\n| " + }, + { + "kind": "code", + "text": "`test:integration`" + }, + { + "kind": "text", + "text": " | Node.js integration tests | Supabase running + SERVICE_ROLE_KEY |\n| " + }, + { + "kind": "code", + "text": "`test:integration:browser`" + }, + { + "kind": "text", + "text": " | Browser tests using Deno + Puppeteer | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:edge-functions`" + }, + { + "kind": "text", + "text": " | Edge Functions tests | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:types`" + }, + { + "kind": "text", + "text": " | TypeScript type checking + JSR validation | None |\n| " + }, + { + "kind": "code", + "text": "`test:deno`" + }, + { + "kind": "text", + "text": " | Deno runtime compatibility tests | Supabase running + Deno installed |\n| " + }, + { + "kind": "code", + "text": "`test:bun`" + }, + { + "kind": "text", + "text": " | Bun runtime compatibility tests | Supabase running + Bun installed |\n| Expo (see section below) | React Native/Expo tests | Supabase running + dependencies updated |\n| Next.js (see below) | Next.js SSR tests | Supabase running + dependencies updated |\n| " + }, + { + "kind": "code", + "text": "`test:node:playwright`" + }, + { + "kind": "text", + "text": " | WebSocket browser tests | Supabase running + Playwright |\n\n#### Unit Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run all unit tests (Jest)\nnpx nx test supabase-js\n\n# Run only unit tests in test/unit directory\nnpx nx test:unit supabase-js\n\n# Run tests in watch mode during development\nnpx nx test supabase-js --watch\n\n# Run tests with coverage report\nnpx nx test:coverage supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Integration Testing\n\n" }, { - "id": 144, - "name": "lib/version", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 145, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 13, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/version.ts#L1" - } - ], - "type": { - "type": "literal", - "value": "0.0.0-automated" - }, - "defaultValue": "'0.0.0-automated'" - } - ], - "groups": [ - { - "title": "Variables", - "children": [145] - } - ], - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/supabase-js/blob/4d7e616/src/lib/version.ts#L1" - } - ] + "kind": "code", + "text": "```bash\n# Prerequisites: Start Supabase first (see above)\n\n# Run Node.js integration tests\n# IMPORTANT: Requires SUPABASE_SERVICE_ROLE_KEY environment variable\ncd packages/core/supabase-js\nexport SUPABASE_SERVICE_ROLE_KEY=\"$(npx supabase status --output json | jq -r '.SERVICE_ROLE_KEY')\"\ncd ../../..\nnpx nx test:integration supabase-js\n\n# Run browser-based integration tests (requires Deno)\nnpx nx test:integration:browser supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Running All Tests\n\n" + }, + { + "kind": "code", + "text": "```bash\n# This runs type checking, unit tests, and integration tests sequentially\n# NOTE: Will fail if Supabase is not running or dependencies not updated\nnpx nx test:all supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n**Common Issues and Solutions:**\n\n| Issue | Solution |\n| -------------------------------------------- | --------------------------------------------------------------- |\n| \"Cannot find module 'https://deno.land/...'\" | Deno tests incorrectly run by Jest - check " + }, + { + "kind": "code", + "text": "`jest.config.ts`" + }, + { + "kind": "text", + "text": " |\n| \"Port 54322 already allocated\" | Stop existing Supabase: " + }, + { + "kind": "code", + "text": "`npx supabase stop --project-id `" + }, + { + "kind": "text", + "text": " |\n| \"503 Service Unavailable\" for Edge Functions | Supabase not running - start with " + }, + { + "kind": "code", + "text": "`npx supabase start`" + }, + { + "kind": "text", + "text": " |\n| \"Uncommitted changes\" during type check | Commit changes or add " + }, + { + "kind": "code", + "text": "`--allow-dirty`" + }, + { + "kind": "text", + "text": " to JSR publish |\n| Integration tests fail with auth errors | Export " + }, + { + "kind": "code", + "text": "`SUPABASE_SERVICE_ROLE_KEY`" + }, + { + "kind": "text", + "text": " (see Integration Testing) |\n\n### Platform-Specific Testing\n\n#### Expo Testing (React Native)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Update test dependencies and pack current build\nnpx nx update:test-deps:expo supabase-js\n\n# Run Expo tests from the Expo test project\ncd packages/core/supabase-js/test/integration/expo\nnpm install\nnpm test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Next.js Testing (SSR)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Update test dependencies and pack current build\nnpx nx update:test-deps:next supabase-js\n\n# 3. Install Playwright browsers and dependencies\nnpx playwright install --with-deps\n\n# Run Next.js tests from the Next test project\ncd packages/core/supabase-js/test/integration/next\nnpm install --legacy-peer-deps\nnpm run test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### Deno Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Deno must be installed (https://deno.land)\n# 2. Supabase must be running (see Prerequisites)\n# 3. Update test dependencies:\nnpx nx update:test-deps:deno supabase-js\n\n# Run Deno tests\nnpx nx test:deno supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n### Edge Functions Testing\n\nThe project includes Edge Functions integration tests that require a local Supabase instance to be running.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Ensure Docker is installed and running\n# 2. Navigate to the supabase-js package directory\ncd packages/core/supabase-js\n\n# 3. Start Supabase locally (this will download and start all required containers)\nnpx supabase start\n\n# Wait for the output showing all services are ready, including:\n# - API URL: http://127.0.0.1:54321\n# - Database URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres\n# - Edge Runtime container\n\n# 4. Run the Edge Functions tests from the monorepo root\ncd ../../../ # Back to monorepo root\nnpx nx test:edge-functions supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n**Important Notes:**\n\n- The Edge Functions tests will fail with 503 errors if Supabase is not running\n- If you encounter port conflicts (e.g., \"port 54322 already allocated\"), stop any existing Supabase instances:\n\n " + }, + { + "kind": "code", + "text": "```bash\n npx supabase stop --project-id \n # Or stop all Docker containers if unsure:\n docker ps | grep supabase # List all Supabase containers\n ```" + }, + { + "kind": "text", + "text": "\n\n- The tests use the default local development credentials (anon key)\n- Edge Functions are automatically served when " + }, + { + "kind": "code", + "text": "`supabase start`" + }, + { + "kind": "text", + "text": " is run\n\n#### Bun Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Bun must be installed (https://bun.sh)\n# 2. Supabase must be running (see Prerequisites)\n# 3. Update test dependencies:\nnpx nx update:test-deps:bun supabase-js\n\n# Run Bun tests\nnpx nx test:bun supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### WebSocket Browser Testing\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Prerequisites:\n# 1. Supabase must be running (see Prerequisites)\n# 2. Build the UMD bundle first:\nnpx nx build supabase-js\n\n# Run WebSocket browser tests with Playwright\ncd packages/core/supabase-js/test/integration/node-browser\nnpm install\ncp ../../../dist/umd/supabase.js .\nnpm run test\ncd ../../..\n```" + }, + { + "kind": "text", + "text": "\n\n#### CI/CD Testing\n\nWhen running on CI, the tests automatically use the latest dependencies from the root project. The CI pipeline:\n\n1. Builds the main project with current dependencies\n2. Creates a package archive (" + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": ") with the latest versions\n3. Uses this archive in Expo, Next.js, Deno, and Bun tests to ensure consistency\n\n### Updating Test Dependencies\n\nThe platform-specific tests (Expo, Next.js, Deno, Bun) use a packaged version of supabase-js rather than directly importing from source. This ensures they test the actual built package as it would be consumed by users.\n\n#### How It Works\n\n1. **Build** the current supabase-js package\n2. **Pack** it into a " + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": " file (like " + }, + { + "kind": "code", + "text": "`npm pack`" + }, + { + "kind": "text", + "text": " does)\n3. **Copy** the " + }, + { + "kind": "code", + "text": "`.tgz`" + }, + { + "kind": "text", + "text": " to the test directory\n4. **Install** it in the test project\n\nThis mimics how real users would install and use the package.\n\n#### Update Scripts\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Update ALL test environment dependencies at once\n# This builds, packs, and installs in all test directories\nnpx nx update:test-deps supabase-js\n\n# Or update specific test environments:\nnpx nx update:test-deps:expo supabase-js # Expo/React Native only\nnpx nx update:test-deps:next supabase-js # Next.js only\nnpx nx update:test-deps:deno supabase-js # Deno only\nnpx nx update:test-deps:bun supabase-js # Bun only\n```" + }, + { + "kind": "text", + "text": "\n\n**When to Update:**\n\n- After making changes to the source code\n- Before running platform-specific tests locally\n- When debugging test failures that might be due to stale dependencies\n\n**Note:** CI automatically handles this, so manual updates are only needed for local development.\n\n### Test Coverage\n\n#### Viewing Coverage Reports\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Generate coverage report\nnpx nx test:coverage supabase-js\n\n# Serve coverage report locally (opens interactive HTML report)\nnpx nx serve:coverage supabase-js\n# This starts a local server at http://localhost:3000 with the coverage report\n```" + }, + { + "kind": "text", + "text": "\n\nThe coverage report shows:\n\n- Line coverage\n- Branch coverage\n- Function coverage\n- Uncovered lines with highlights\n\nCoverage results are also automatically uploaded to Coveralls in CI for tracking over time.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## Badges\n\n[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-js/badge.svg?branch=master)](https://coveralls.io/github/supabase/supabase-js?branch=master)" } ], - "groups": [ - { - "title": "Modules", - "children": [1, 20, 34, 63, 80, 144] + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "2": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "3": { + "sourceFileName": "src/index.ts", + "qualifiedName": "Database" + }, + "4": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaNameOrClientOptions" + }, + "5": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type" + }, + "6": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "7": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaName" + }, + "8": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseUrl" + }, + "9": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseKey" + }, + "10": { + "sourceFileName": "src/index.ts", + "qualifiedName": "options" + }, + "11": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "12": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.__constructor" + }, + "13": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "14": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "15": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "16": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "17": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "18": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "19": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "20": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "21": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "22": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "23": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "24": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "25": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "26": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "27": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "28": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "29": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "30": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "31": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseUrl" + }, + "32": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseKey" + }, + "33": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "34": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.auth" + }, + "35": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtime" + }, + "36": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storage" + }, + "37": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtimeUrl" + }, + "38": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.authUrl" + }, + "39": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageUrl" + }, + "40": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functionsUrl" + }, + "41": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rest" + }, + "42": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageKey" + }, + "43": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.fetch" + }, + "44": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "45": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "46": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "47": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "48": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "fetch" + }, + "49": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "input" + }, + "50": { + "sourceFileName": "../../../node_modules/@types/node/web-globals/fetch.d.ts", + "qualifiedName": "init" + }, + "51": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.changedAccessToken" + }, + "52": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.accessToken" + }, + "53": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "54": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "55": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.headers" + }, + "56": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseUrl" + }, + "57": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseKey" + }, + "58": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "59": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "60": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "61": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "62": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "TableName" + }, + "63": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Table" + }, + "64": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "65": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "66": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "ViewName" + }, + "67": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "View" + }, + "68": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "69": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "70": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "71": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "DynamicSchema" + }, + "72": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "schema" + }, + "73": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "74": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "75": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "FnName" + }, + "76": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Fn" + }, + "77": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "fn" + }, + "78": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "args" + }, + "79": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "80": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "81": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.head" + }, + "82": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.get" + }, + "83": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.count" + }, + "84": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "85": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "86": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "name" + }, + "87": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "opts" + }, + "88": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "89": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "90": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "91": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "92": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "channel" + }, + "93": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "94": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "120": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "121": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "122": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "124": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "125": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "126": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "127": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "128": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "129": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "130": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "131": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "132": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "133": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "134": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "135": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "137": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseClientOptions" + }, + "138": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "139": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.db" + }, + "140": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "141": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.schema" + }, + "142": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.auth" + }, + "143": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "144": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "145": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "146": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "147": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "148": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "149": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "150": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "151": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "152": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "153": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.realtime" + }, + "154": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "155": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.global" + }, + "156": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "157": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "158": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "159": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.accessToken" + }, + "160": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "162": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SchemaName" + }, + "163": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryResult" + }, + "164": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "165": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryData" + }, + "166": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "167": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "168": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "169": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryError" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 } - ] + } } diff --git a/apps/docs/spec/storage_v0_openapi.json b/apps/docs/spec/storage_v0_openapi.json index a3f4f0145bad4..d0f2e9c8087d9 100644 --- a/apps/docs/spec/storage_v0_openapi.json +++ b/apps/docs/spec/storage_v0_openapi.json @@ -1278,7 +1278,15 @@ "prefix": { "type": "string", "examples": ["folder/subfolder"] }, "limit": { "type": "integer", "minimum": 1, "examples": [10] }, "cursor": { "type": "string" }, - "with_delimiter": { "type": "boolean" } + "with_delimiter": { "type": "boolean" }, + "sortBy": { + "type": "object", + "properties": { + "column": { "type": "string", "enum": ["name", "updated_at", "created_at"] }, + "order": { "type": "string", "enum": ["asc", "desc"] } + }, + "required": ["column"] + } } } } diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index 7c9fbb1f73614..249d310b83cbd 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -17,7 +17,7 @@ info: functions: - id: initializing title: 'Initializing' - $ref: '@supabase/supabase-js.index.SupabaseClient.constructor' + $ref: '@supabase/supabase-js.SupabaseClient.constructor' description: | You can initialize a new Supabase client using the `createClient()` method. @@ -2250,7 +2250,7 @@ functions: Learn more about implementing MFA in your application [in the MFA guide](https://supabase.com/docs/guides/auth/auth-mfa#overview). - id: mfa-enroll title: 'mfa.enroll()' - $ref: '@supabase/auth-js.GoTrueMFAApi.enroll' + $ref: '@supabase/auth-js.GoTrueClient.mfa.enroll' notes: | - Use `totp` or `phone` as the `factorType` and use the returned `id` to create a challenge. - To create a challenge, see [`mfa.challenge()`](/docs/reference/javascript/auth-mfa-challenge). @@ -2324,7 +2324,7 @@ functions: ``` - id: mfa-challenge title: 'mfa.challenge()' - $ref: '@supabase/auth-js.GoTrueMFAApi.challenge' + $ref: '@supabase/auth-js.GoTrueClient.mfa.challenge' notes: | - An [enrolled factor](/docs/reference/javascript/auth-mfa-enroll) is required before creating a challenge. - To verify a challenge, see [`mfa.verify()`](/docs/reference/javascript/auth-mfa-verify). @@ -2392,7 +2392,7 @@ functions: ``` - id: mfa-verify title: 'mfa.verify()' - $ref: '@supabase/auth-js.GoTrueMFAApi.verify' + $ref: '@supabase/auth-js.GoTrueClient.mfa.verify' notes: | - To verify a challenge, please [create a challenge](/docs/reference/javascript/auth-mfa-challenge) first. examples: @@ -2468,7 +2468,7 @@ functions: ``` - id: mfa-challenge-and-verify title: 'mfa.challengeAndVerify()' - $ref: '@supabase/auth-js.GoTrueMFAApi.challengeAndVerify' + $ref: '@supabase/auth-js.GoTrueClient.mfa.challengeAndVerify' notes: | - Intended for use with only TOTP factors. - An [enrolled factor](/docs/reference/javascript/auth-mfa-enroll) is required before invoking `challengeAndVerify()`. @@ -2545,7 +2545,7 @@ functions: ``` - id: mfa-unenroll title: 'mfa.unenroll()' - $ref: '@supabase/auth-js.GoTrueMFAApi.unenroll' + $ref: '@supabase/auth-js.GoTrueClient.mfa.unenroll' examples: - id: unenroll-a-factor name: Unenroll a factor @@ -2567,7 +2567,7 @@ functions: ``` - id: mfa-get-authenticator-assurance-level title: 'mfa.getAuthenticatorAssuranceLevel()' - $ref: '@supabase/auth-js.GoTrueMFAApi.getAuthenticatorAssuranceLevel' + $ref: '@supabase/auth-js.GoTrueClient.mfa.getAuthenticatorAssuranceLevel' notes: | - Authenticator Assurance Level (AAL) is the measure of the strength of an authentication mechanism. - In Supabase, having an AAL of `aal1` refers to having the 1st factor of authentication such as an email and password or OAuth sign-in while `aal2` refers to the 2nd factor of authentication such as a time-based, one-time-password (TOTP) or Phone factor. diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json index 2d2a2ccae8014..3c79c20245efa 100644 --- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json +++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json @@ -1670,6 +1670,559 @@ "tags": ["Database"] } }, + "/v1/projects/{ref}/actions": { + "get": { + "description": "Returns a paginated list of action runs of the specified project.", + "operationId": "v1-list-action-runs", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "pattern": "^[a-z]+$", + "type": "string" + } + }, + { + "name": "offset", + "required": false, + "in": "query", + "schema": { + "minimum": 0, + "type": "number" + } + }, + { + "name": "limit", + "required": false, + "in": "query", + "schema": { + "minimum": 10, + "type": "number" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "branch_id": { + "type": "string" + }, + "run_steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "clone", + "pull", + "health", + "configure", + "migrate", + "seed", + "deploy" + ] + }, + "status": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["name", "status", "created_at", "updated_at"] + } + }, + "git_config": { + "nullable": true + }, + "workdir": { + "type": "string", + "nullable": true + }, + "check_run_id": { + "type": "number", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "branch_id", + "run_steps", + "workdir", + "check_run_id", + "created_at", + "updated_at" + ] + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" + }, + "500": { + "description": "Failed to list action runs" + } + }, + "security": [ + { + "bearer": [] + } + ], + "summary": "List all action runs", + "tags": ["Environments"] + }, + "head": { + "description": "Returns the total number of action runs of the specified project.", + "operationId": "v1-count-action-runs", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "pattern": "^[a-z]+$", + "type": "string" + } + } + ], + "responses": { + "200": { + "headers": { + "X-Total-Count": { + "schema": { + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "description": "total count value" + } + }, + "description": "" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" + }, + "500": { + "description": "Failed to count action runs" + } + }, + "security": [ + { + "bearer": [] + } + ], + "summary": "Count the number of action runs", + "tags": ["Environments"] + } + }, + "/v1/projects/{ref}/actions/{run_id}": { + "get": { + "description": "Returns the current status of the specified action run.", + "operationId": "v1-get-action-run", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "pattern": "^[a-z]+$", + "type": "string" + } + }, + { + "name": "run_id", + "required": true, + "in": "path", + "description": "Action Run ID", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "branch_id": { + "type": "string" + }, + "run_steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "clone", + "pull", + "health", + "configure", + "migrate", + "seed", + "deploy" + ] + }, + "status": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["name", "status", "created_at", "updated_at"] + } + }, + "git_config": { + "nullable": true + }, + "workdir": { + "type": "string", + "nullable": true + }, + "check_run_id": { + "type": "number", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "branch_id", + "run_steps", + "workdir", + "check_run_id", + "created_at", + "updated_at" + ] + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" + }, + "500": { + "description": "Failed to get action run status" + } + }, + "security": [ + { + "bearer": [] + } + ], + "summary": "Get the status of an action run", + "tags": ["Environments"] + } + }, + "/v1/projects/{ref}/actions/{run_id}/status": { + "patch": { + "description": "Updates the status of an ongoing action run.", + "operationId": "v1-update-action-run-status", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "pattern": "^[a-z]+$", + "type": "string" + } + }, + { + "name": "run_id", + "required": true, + "in": "path", + "description": "Action Run ID", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "clone": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "pull": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "health": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "configure": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "migrate": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "seed": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "deploy": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string", + "enum": ["ok"] + } + }, + "required": ["message"] + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" + }, + "500": { + "description": "Failed to update action run status" + } + }, + "security": [ + { + "bearer": [] + } + ], + "summary": "Update the status of an action run", + "tags": ["Environments"] + } + }, + "/v1/projects/{ref}/actions/{run_id}/logs": { + "get": { + "description": "Returns the logs from the specified action run.", + "operationId": "v1-get-action-run-logs", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "pattern": "^[a-z]+$", + "type": "string" + } + }, + { + "name": "run_id", + "required": true, + "in": "path", + "description": "Action Run ID", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + }, + "description": "" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" + }, + "500": { + "description": "Failed to get action run logs" + } + }, + "security": [ + { + "bearer": [] + } + ], + "summary": "Get the logs of an action run", + "tags": ["Environments"] + } + }, "/v1/projects/{ref}/api-keys": { "get": { "operationId": "v1-get-project-api-keys", @@ -1756,8 +2309,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -1882,8 +2441,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -1929,8 +2494,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -1983,8 +2554,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -2115,8 +2692,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -2218,8 +2801,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -2338,8 +2927,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -2454,8 +3049,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve database branches" @@ -2641,8 +3242,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to create database branch" @@ -2677,8 +3284,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to disable preview branching" @@ -2801,8 +3414,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to fetch database branch" @@ -2964,8 +3583,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's custom hostname config" @@ -2999,8 +3624,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete project custom hostname configuration" @@ -3179,8 +3810,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project custom hostname configuration" @@ -3342,8 +3979,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to verify project custom hostname configuration" @@ -3505,8 +4148,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to activate project custom hostname configuration" @@ -3558,8 +4207,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's network bans" @@ -3623,8 +4278,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's enriched network bans" @@ -3688,8 +4349,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove network bans." @@ -3787,8 +4454,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's network restrictions" @@ -3938,8 +4611,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project network restrictions" @@ -4061,8 +4740,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project network restrictions" @@ -4111,8 +4796,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's pgsodium config" @@ -4175,8 +4866,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's pgsodium config" @@ -4239,8 +4936,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's postgrest config" @@ -4326,8 +5029,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's postgrest config" @@ -4445,8 +5154,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project" @@ -4499,8 +5214,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -4556,8 +5277,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's secrets" @@ -4619,8 +5346,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to create project's secrets" @@ -4668,8 +5401,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete secrets with given names" @@ -4727,8 +5466,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's SSL enforcement config" @@ -4806,8 +5551,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's SSL enforcement configuration." @@ -4866,8 +5617,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to generate TypeScript types" @@ -4921,8 +5678,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project vanity subdomain configuration" @@ -4956,8 +5719,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete project vanity subdomain configuration" @@ -5022,8 +5791,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to check project vanity subdomain configuration" @@ -5088,8 +5863,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to activate project vanity subdomain configuration" @@ -5158,8 +5939,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to initiate project upgrade" @@ -5276,8 +6063,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to determine project upgrade eligibility" @@ -5380,8 +6173,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project upgrade status" @@ -5436,8 +6235,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project readonly mode status" @@ -5473,8 +6278,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to disable project's readonly mode" @@ -5548,8 +6359,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to set up read replica" @@ -5601,8 +6418,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove read replica" @@ -5740,8 +6563,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's service health status" @@ -5811,8 +6640,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -5877,8 +6712,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -6170,8 +7011,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -6246,8 +7093,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -6323,8 +7176,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -6398,8 +7257,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -6491,8 +7356,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -6594,8 +7465,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's storage config" @@ -6691,8 +7568,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's storage config" @@ -6819,8 +7702,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's Postgres config" @@ -7043,8 +7932,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's Postgres config" @@ -7117,8 +8012,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's pgbouncer config" @@ -7216,8 +8117,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's supavisor config" @@ -7291,8 +8198,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's supavisor config" @@ -7356,6 +8269,10 @@ "type": "string", "nullable": true }, + "external_apple_email_optional": { + "type": "boolean", + "nullable": true + }, "external_apple_enabled": { "type": "boolean", "nullable": true @@ -7368,6 +8285,10 @@ "type": "string", "nullable": true }, + "external_azure_email_optional": { + "type": "boolean", + "nullable": true + }, "external_azure_enabled": { "type": "boolean", "nullable": true @@ -7384,6 +8305,10 @@ "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { + "type": "boolean", + "nullable": true + }, "external_bitbucket_enabled": { "type": "boolean", "nullable": true @@ -7396,6 +8321,10 @@ "type": "string", "nullable": true }, + "external_discord_email_optional": { + "type": "boolean", + "nullable": true + }, "external_discord_enabled": { "type": "boolean", "nullable": true @@ -7412,6 +8341,10 @@ "type": "string", "nullable": true }, + "external_facebook_email_optional": { + "type": "boolean", + "nullable": true + }, "external_facebook_enabled": { "type": "boolean", "nullable": true @@ -7424,6 +8357,10 @@ "type": "string", "nullable": true }, + "external_figma_email_optional": { + "type": "boolean", + "nullable": true + }, "external_figma_enabled": { "type": "boolean", "nullable": true @@ -7436,6 +8373,10 @@ "type": "string", "nullable": true }, + "external_github_email_optional": { + "type": "boolean", + "nullable": true + }, "external_github_enabled": { "type": "boolean", "nullable": true @@ -7448,6 +8389,10 @@ "type": "string", "nullable": true }, + "external_gitlab_email_optional": { + "type": "boolean", + "nullable": true + }, "external_gitlab_enabled": { "type": "boolean", "nullable": true @@ -7468,6 +8413,10 @@ "type": "string", "nullable": true }, + "external_google_email_optional": { + "type": "boolean", + "nullable": true + }, "external_google_enabled": { "type": "boolean", "nullable": true @@ -7484,6 +8433,10 @@ "type": "string", "nullable": true }, + "external_kakao_email_optional": { + "type": "boolean", + "nullable": true + }, "external_kakao_enabled": { "type": "boolean", "nullable": true @@ -7496,6 +8449,10 @@ "type": "string", "nullable": true }, + "external_keycloak_email_optional": { + "type": "boolean", + "nullable": true + }, "external_keycloak_enabled": { "type": "boolean", "nullable": true @@ -7512,6 +8469,10 @@ "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_linkedin_oidc_enabled": { "type": "boolean", "nullable": true @@ -7524,6 +8485,10 @@ "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_oidc_enabled": { "type": "boolean", "nullable": true @@ -7536,6 +8501,10 @@ "type": "string", "nullable": true }, + "external_notion_email_optional": { + "type": "boolean", + "nullable": true + }, "external_notion_enabled": { "type": "boolean", "nullable": true @@ -7552,6 +8521,10 @@ "type": "string", "nullable": true }, + "external_slack_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_enabled": { "type": "boolean", "nullable": true @@ -7564,6 +8537,10 @@ "type": "string", "nullable": true }, + "external_spotify_email_optional": { + "type": "boolean", + "nullable": true + }, "external_spotify_enabled": { "type": "boolean", "nullable": true @@ -7576,6 +8553,10 @@ "type": "string", "nullable": true }, + "external_twitch_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitch_enabled": { "type": "boolean", "nullable": true @@ -7588,6 +8569,10 @@ "type": "string", "nullable": true }, + "external_twitter_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitter_enabled": { "type": "boolean", "nullable": true @@ -7624,6 +8609,10 @@ "type": "string", "nullable": true }, + "external_zoom_email_optional": { + "type": "boolean", + "nullable": true + }, "external_zoom_enabled": { "type": "boolean", "nullable": true @@ -7818,6 +8807,10 @@ "type": "string", "nullable": true }, + "nimbus_oauth_email_optional": { + "type": "boolean", + "nullable": true + }, "nimbus_oauth_client_secret": { "type": "string", "nullable": true @@ -8059,64 +9052,82 @@ "external_anonymous_users_enabled", "external_apple_additional_client_ids", "external_apple_client_id", + "external_apple_email_optional", "external_apple_enabled", "external_apple_secret", "external_azure_client_id", + "external_azure_email_optional", "external_azure_enabled", "external_azure_secret", "external_azure_url", "external_bitbucket_client_id", + "external_bitbucket_email_optional", "external_bitbucket_enabled", "external_bitbucket_secret", "external_discord_client_id", + "external_discord_email_optional", "external_discord_enabled", "external_discord_secret", "external_email_enabled", "external_facebook_client_id", + "external_facebook_email_optional", "external_facebook_enabled", "external_facebook_secret", "external_figma_client_id", + "external_figma_email_optional", "external_figma_enabled", "external_figma_secret", "external_github_client_id", + "external_github_email_optional", "external_github_enabled", "external_github_secret", "external_gitlab_client_id", + "external_gitlab_email_optional", "external_gitlab_enabled", "external_gitlab_secret", "external_gitlab_url", "external_google_additional_client_ids", "external_google_client_id", + "external_google_email_optional", "external_google_enabled", "external_google_secret", "external_google_skip_nonce_check", "external_kakao_client_id", + "external_kakao_email_optional", "external_kakao_enabled", "external_kakao_secret", "external_keycloak_client_id", + "external_keycloak_email_optional", "external_keycloak_enabled", "external_keycloak_secret", "external_keycloak_url", "external_linkedin_oidc_client_id", + "external_linkedin_oidc_email_optional", "external_linkedin_oidc_enabled", "external_linkedin_oidc_secret", "external_slack_oidc_client_id", + "external_slack_oidc_email_optional", "external_slack_oidc_enabled", "external_slack_oidc_secret", "external_notion_client_id", + "external_notion_email_optional", "external_notion_enabled", "external_notion_secret", "external_phone_enabled", "external_slack_client_id", + "external_slack_email_optional", "external_slack_enabled", "external_slack_secret", "external_spotify_client_id", + "external_spotify_email_optional", "external_spotify_enabled", "external_spotify_secret", "external_twitch_client_id", + "external_twitch_email_optional", "external_twitch_enabled", "external_twitch_secret", "external_twitter_client_id", + "external_twitter_email_optional", "external_twitter_enabled", "external_twitter_secret", "external_workos_client_id", @@ -8126,6 +9137,7 @@ "external_web3_solana_enabled", "external_web3_ethereum_enabled", "external_zoom_client_id", + "external_zoom_email_optional", "external_zoom_enabled", "external_zoom_secret", "hook_custom_access_token_enabled", @@ -8175,6 +9187,7 @@ "mfa_phone_template", "mfa_phone_max_frequency", "nimbus_oauth_client_id", + "nimbus_oauth_email_optional", "nimbus_oauth_client_secret", "password_hibp_enabled", "password_min_length", @@ -8236,8 +9249,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's auth config" @@ -8710,6 +9729,10 @@ "type": "string", "nullable": true }, + "external_apple_email_optional": { + "type": "boolean", + "nullable": true + }, "external_apple_secret": { "type": "string", "nullable": true @@ -8726,6 +9749,10 @@ "type": "string", "nullable": true }, + "external_azure_email_optional": { + "type": "boolean", + "nullable": true + }, "external_azure_secret": { "type": "string", "nullable": true @@ -8742,6 +9769,10 @@ "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { + "type": "boolean", + "nullable": true + }, "external_bitbucket_secret": { "type": "string", "nullable": true @@ -8754,6 +9785,10 @@ "type": "string", "nullable": true }, + "external_discord_email_optional": { + "type": "boolean", + "nullable": true + }, "external_discord_secret": { "type": "string", "nullable": true @@ -8766,6 +9801,10 @@ "type": "string", "nullable": true }, + "external_facebook_email_optional": { + "type": "boolean", + "nullable": true + }, "external_facebook_secret": { "type": "string", "nullable": true @@ -8778,6 +9817,10 @@ "type": "string", "nullable": true }, + "external_figma_email_optional": { + "type": "boolean", + "nullable": true + }, "external_figma_secret": { "type": "string", "nullable": true @@ -8790,6 +9833,10 @@ "type": "string", "nullable": true }, + "external_github_email_optional": { + "type": "boolean", + "nullable": true + }, "external_github_secret": { "type": "string", "nullable": true @@ -8802,6 +9849,10 @@ "type": "string", "nullable": true }, + "external_gitlab_email_optional": { + "type": "boolean", + "nullable": true + }, "external_gitlab_secret": { "type": "string", "nullable": true @@ -8818,6 +9869,10 @@ "type": "string", "nullable": true }, + "external_google_email_optional": { + "type": "boolean", + "nullable": true + }, "external_google_secret": { "type": "string", "nullable": true @@ -8838,6 +9893,10 @@ "type": "string", "nullable": true }, + "external_kakao_email_optional": { + "type": "boolean", + "nullable": true + }, "external_kakao_secret": { "type": "string", "nullable": true @@ -8850,6 +9909,10 @@ "type": "string", "nullable": true }, + "external_keycloak_email_optional": { + "type": "boolean", + "nullable": true + }, "external_keycloak_secret": { "type": "string", "nullable": true @@ -8866,6 +9929,10 @@ "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_linkedin_oidc_secret": { "type": "string", "nullable": true @@ -8878,6 +9945,10 @@ "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_oidc_secret": { "type": "string", "nullable": true @@ -8890,6 +9961,10 @@ "type": "string", "nullable": true }, + "external_notion_email_optional": { + "type": "boolean", + "nullable": true + }, "external_notion_secret": { "type": "string", "nullable": true @@ -8902,6 +9977,10 @@ "type": "string", "nullable": true }, + "external_slack_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_secret": { "type": "string", "nullable": true @@ -8914,6 +9993,10 @@ "type": "string", "nullable": true }, + "external_spotify_email_optional": { + "type": "boolean", + "nullable": true + }, "external_spotify_secret": { "type": "string", "nullable": true @@ -8926,6 +10009,10 @@ "type": "string", "nullable": true }, + "external_twitch_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitch_secret": { "type": "string", "nullable": true @@ -8938,6 +10025,10 @@ "type": "string", "nullable": true }, + "external_twitter_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitter_secret": { "type": "string", "nullable": true @@ -8974,6 +10065,10 @@ "type": "string", "nullable": true }, + "external_zoom_email_optional": { + "type": "boolean", + "nullable": true + }, "external_zoom_secret": { "type": "string", "nullable": true @@ -9071,6 +10166,10 @@ "type": "string", "nullable": true }, + "external_apple_email_optional": { + "type": "boolean", + "nullable": true + }, "external_apple_enabled": { "type": "boolean", "nullable": true @@ -9083,6 +10182,10 @@ "type": "string", "nullable": true }, + "external_azure_email_optional": { + "type": "boolean", + "nullable": true + }, "external_azure_enabled": { "type": "boolean", "nullable": true @@ -9099,6 +10202,10 @@ "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { + "type": "boolean", + "nullable": true + }, "external_bitbucket_enabled": { "type": "boolean", "nullable": true @@ -9111,6 +10218,10 @@ "type": "string", "nullable": true }, + "external_discord_email_optional": { + "type": "boolean", + "nullable": true + }, "external_discord_enabled": { "type": "boolean", "nullable": true @@ -9127,6 +10238,10 @@ "type": "string", "nullable": true }, + "external_facebook_email_optional": { + "type": "boolean", + "nullable": true + }, "external_facebook_enabled": { "type": "boolean", "nullable": true @@ -9139,6 +10254,10 @@ "type": "string", "nullable": true }, + "external_figma_email_optional": { + "type": "boolean", + "nullable": true + }, "external_figma_enabled": { "type": "boolean", "nullable": true @@ -9151,6 +10270,10 @@ "type": "string", "nullable": true }, + "external_github_email_optional": { + "type": "boolean", + "nullable": true + }, "external_github_enabled": { "type": "boolean", "nullable": true @@ -9163,6 +10286,10 @@ "type": "string", "nullable": true }, + "external_gitlab_email_optional": { + "type": "boolean", + "nullable": true + }, "external_gitlab_enabled": { "type": "boolean", "nullable": true @@ -9183,6 +10310,10 @@ "type": "string", "nullable": true }, + "external_google_email_optional": { + "type": "boolean", + "nullable": true + }, "external_google_enabled": { "type": "boolean", "nullable": true @@ -9199,6 +10330,10 @@ "type": "string", "nullable": true }, + "external_kakao_email_optional": { + "type": "boolean", + "nullable": true + }, "external_kakao_enabled": { "type": "boolean", "nullable": true @@ -9211,6 +10346,10 @@ "type": "string", "nullable": true }, + "external_keycloak_email_optional": { + "type": "boolean", + "nullable": true + }, "external_keycloak_enabled": { "type": "boolean", "nullable": true @@ -9227,6 +10366,10 @@ "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_linkedin_oidc_enabled": { "type": "boolean", "nullable": true @@ -9239,6 +10382,10 @@ "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_oidc_enabled": { "type": "boolean", "nullable": true @@ -9251,6 +10398,10 @@ "type": "string", "nullable": true }, + "external_notion_email_optional": { + "type": "boolean", + "nullable": true + }, "external_notion_enabled": { "type": "boolean", "nullable": true @@ -9267,6 +10418,10 @@ "type": "string", "nullable": true }, + "external_slack_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_enabled": { "type": "boolean", "nullable": true @@ -9279,6 +10434,10 @@ "type": "string", "nullable": true }, + "external_spotify_email_optional": { + "type": "boolean", + "nullable": true + }, "external_spotify_enabled": { "type": "boolean", "nullable": true @@ -9291,6 +10450,10 @@ "type": "string", "nullable": true }, + "external_twitch_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitch_enabled": { "type": "boolean", "nullable": true @@ -9303,6 +10466,10 @@ "type": "string", "nullable": true }, + "external_twitter_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitter_enabled": { "type": "boolean", "nullable": true @@ -9339,6 +10506,10 @@ "type": "string", "nullable": true }, + "external_zoom_email_optional": { + "type": "boolean", + "nullable": true + }, "external_zoom_enabled": { "type": "boolean", "nullable": true @@ -9533,6 +10704,10 @@ "type": "string", "nullable": true }, + "nimbus_oauth_email_optional": { + "type": "boolean", + "nullable": true + }, "nimbus_oauth_client_secret": { "type": "string", "nullable": true @@ -9774,64 +10949,82 @@ "external_anonymous_users_enabled", "external_apple_additional_client_ids", "external_apple_client_id", + "external_apple_email_optional", "external_apple_enabled", "external_apple_secret", "external_azure_client_id", + "external_azure_email_optional", "external_azure_enabled", "external_azure_secret", "external_azure_url", "external_bitbucket_client_id", + "external_bitbucket_email_optional", "external_bitbucket_enabled", "external_bitbucket_secret", "external_discord_client_id", + "external_discord_email_optional", "external_discord_enabled", "external_discord_secret", "external_email_enabled", "external_facebook_client_id", + "external_facebook_email_optional", "external_facebook_enabled", "external_facebook_secret", "external_figma_client_id", + "external_figma_email_optional", "external_figma_enabled", "external_figma_secret", "external_github_client_id", + "external_github_email_optional", "external_github_enabled", "external_github_secret", "external_gitlab_client_id", + "external_gitlab_email_optional", "external_gitlab_enabled", "external_gitlab_secret", "external_gitlab_url", "external_google_additional_client_ids", "external_google_client_id", + "external_google_email_optional", "external_google_enabled", "external_google_secret", "external_google_skip_nonce_check", "external_kakao_client_id", + "external_kakao_email_optional", "external_kakao_enabled", "external_kakao_secret", "external_keycloak_client_id", + "external_keycloak_email_optional", "external_keycloak_enabled", "external_keycloak_secret", "external_keycloak_url", "external_linkedin_oidc_client_id", + "external_linkedin_oidc_email_optional", "external_linkedin_oidc_enabled", "external_linkedin_oidc_secret", "external_slack_oidc_client_id", + "external_slack_oidc_email_optional", "external_slack_oidc_enabled", "external_slack_oidc_secret", "external_notion_client_id", + "external_notion_email_optional", "external_notion_enabled", "external_notion_secret", "external_phone_enabled", "external_slack_client_id", + "external_slack_email_optional", "external_slack_enabled", "external_slack_secret", "external_spotify_client_id", + "external_spotify_email_optional", "external_spotify_enabled", "external_spotify_secret", "external_twitch_client_id", + "external_twitch_email_optional", "external_twitch_enabled", "external_twitch_secret", "external_twitter_client_id", + "external_twitter_email_optional", "external_twitter_enabled", "external_twitter_secret", "external_workos_client_id", @@ -9841,6 +11034,7 @@ "external_web3_solana_enabled", "external_web3_ethereum_enabled", "external_zoom_client_id", + "external_zoom_email_optional", "external_zoom_enabled", "external_zoom_secret", "hook_custom_access_token_enabled", @@ -9890,6 +11084,7 @@ "mfa_phone_template", "mfa_phone_max_frequency", "nimbus_oauth_client_id", + "nimbus_oauth_email_optional", "nimbus_oauth_client_secret", "password_hibp_enabled", "password_min_length", @@ -9951,8 +11146,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update project's auth config" @@ -10048,8 +11249,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10124,8 +11331,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10208,8 +11421,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10290,8 +11509,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10324,8 +11549,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10388,8 +11619,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10420,8 +11657,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10454,8 +11697,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -10469,6 +11718,7 @@ }, "/v1/projects/{ref}/billing/addons": { "get": { + "description": "Returns the billing addons that are currently applied, including the active compute instance size, and lists every addon option that can be provisioned with pricing metadata.", "operationId": "v1-list-project-addons", "parameters": [ { @@ -10712,8 +11962,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to list project addons" @@ -10724,10 +11980,11 @@ "bearer": [] } ], - "summary": "Lists project addons", + "summary": "List billing addons and compute instance selections", "tags": ["Billing"] }, "patch": { + "description": "Selects an addon variant, for example scaling the project’s compute instance up or down, and applies it to the project.", "operationId": "v1-apply-project-addon", "parameters": [ { @@ -10811,8 +12068,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to apply project addon" @@ -10823,12 +12086,13 @@ "bearer": [] } ], - "summary": "Applies project addon", + "summary": "Apply or update billing addons, including compute instance size", "tags": ["Billing"] } }, "/v1/projects/{ref}/billing/addons/{addon_variant}": { "delete": { + "description": "Disables the selected addon variant, including rolling the compute instance back to its previous size.", "operationId": "v1-remove-project-addon", "parameters": [ { @@ -10892,8 +12156,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove project addon" @@ -10904,7 +12174,7 @@ "bearer": [] } ], - "summary": "Removes project addon", + "summary": "Remove billing addons or revert compute instance sizing", "tags": ["Billing"] } }, @@ -10952,8 +12222,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -11011,8 +12287,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -11044,8 +12326,14 @@ "204": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -11208,8 +12496,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -11380,8 +12674,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -11506,8 +12806,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -11641,8 +12947,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project's usage api counts" @@ -11751,8 +13063,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project's usage api requests count" @@ -11870,8 +13188,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get project's function combined statistics" @@ -11946,8 +13270,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to create login role" @@ -11995,8 +13325,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete login roles" @@ -12053,8 +13389,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to list database migrations" @@ -12118,8 +13460,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to apply database migration" @@ -12183,8 +13531,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to upsert database migration" @@ -12240,8 +13594,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to run sql query" @@ -12277,8 +13637,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to enable Database Webhooks on the project" @@ -12352,8 +13718,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -12446,8 +13818,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to list database jit access" @@ -12559,8 +13937,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to authorize database jit access" @@ -12717,8 +14101,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to upsert database migration" @@ -12823,8 +14213,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to list database jit access" @@ -12870,8 +14266,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to remove JIT access" @@ -12968,8 +14370,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve project's functions" @@ -13153,11 +14561,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "402": { "description": "Maximum number of functions reached for Plan" }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to create project's function" @@ -13310,11 +14724,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "402": { "description": "Maximum number of functions reached for Plan" }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update functions" @@ -13462,11 +14882,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "402": { "description": "Maximum number of functions reached for Plan" }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to deploy function" @@ -13570,8 +14996,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve function with given slug" @@ -13759,8 +15191,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to update function with given slug" @@ -13805,8 +15243,14 @@ "200": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to delete function with given slug" @@ -13861,8 +15305,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to retrieve function body with given slug" @@ -13929,8 +15379,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get list of buckets" @@ -14158,11 +15614,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" }, "404": { "description": "SAML 2.0 support is not enabled for this project" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -14312,11 +15774,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" }, "404": { "description": "SAML 2.0 support is not enabled for this project" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -14468,11 +15936,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" }, "404": { "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -14698,11 +16172,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" }, "404": { "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -14852,11 +16332,17 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" }, "404": { "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -14951,8 +16437,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get backups" @@ -15006,8 +16498,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -15074,8 +16572,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -15133,8 +16637,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" }, "500": { "description": "Failed to get requested restore points" @@ -15188,8 +16698,14 @@ "201": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -15249,8 +16765,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -15319,8 +16841,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -15487,8 +17015,14 @@ } } }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -15526,8 +17060,14 @@ "204": { "description": "" }, + "401": { + "description": "Unauthorized" + }, "403": { - "description": "" + "description": "Forbidden action" + }, + "429": { + "description": "Rate limit exceeded" } }, "security": [ @@ -16241,6 +17781,188 @@ "content" ] }, + "ListActionRunResponse": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "branch_id": { + "type": "string" + }, + "run_steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": ["clone", "pull", "health", "configure", "migrate", "seed", "deploy"] + }, + "status": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["name", "status", "created_at", "updated_at"] + } + }, + "git_config": { + "nullable": true + }, + "workdir": { + "type": "string", + "nullable": true + }, + "check_run_id": { + "type": "number", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "branch_id", + "run_steps", + "workdir", + "check_run_id", + "created_at", + "updated_at" + ] + } + }, + "ActionRunResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "branch_id": { + "type": "string" + }, + "run_steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": ["clone", "pull", "health", "configure", "migrate", "seed", "deploy"] + }, + "status": { + "type": "string", + "enum": [ + "CREATED", + "DEAD", + "EXITED", + "PAUSED", + "REMOVING", + "RESTARTING", + "RUNNING" + ] + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["name", "status", "created_at", "updated_at"] + } + }, + "git_config": { + "nullable": true + }, + "workdir": { + "type": "string", + "nullable": true + }, + "check_run_id": { + "type": "number", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "branch_id", + "run_steps", + "workdir", + "check_run_id", + "created_at", + "updated_at" + ] + }, + "UpdateRunStatusBody": { + "type": "object", + "properties": { + "clone": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "pull": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "health": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "configure": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "migrate": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "seed": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + }, + "deploy": { + "type": "string", + "enum": ["CREATED", "DEAD", "EXITED", "PAUSED", "REMOVING", "RESTARTING", "RUNNING"] + } + } + }, + "UpdateRunStatusResponse": { + "type": "object", + "properties": { + "message": { + "type": "string", + "enum": ["ok"] + } + }, + "required": ["message"] + }, "ApiKeyResponse": { "type": "object", "properties": { @@ -18013,6 +19735,10 @@ "type": "string", "nullable": true }, + "external_apple_email_optional": { + "type": "boolean", + "nullable": true + }, "external_apple_enabled": { "type": "boolean", "nullable": true @@ -18025,6 +19751,10 @@ "type": "string", "nullable": true }, + "external_azure_email_optional": { + "type": "boolean", + "nullable": true + }, "external_azure_enabled": { "type": "boolean", "nullable": true @@ -18041,6 +19771,10 @@ "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { + "type": "boolean", + "nullable": true + }, "external_bitbucket_enabled": { "type": "boolean", "nullable": true @@ -18053,6 +19787,10 @@ "type": "string", "nullable": true }, + "external_discord_email_optional": { + "type": "boolean", + "nullable": true + }, "external_discord_enabled": { "type": "boolean", "nullable": true @@ -18069,6 +19807,10 @@ "type": "string", "nullable": true }, + "external_facebook_email_optional": { + "type": "boolean", + "nullable": true + }, "external_facebook_enabled": { "type": "boolean", "nullable": true @@ -18081,6 +19823,10 @@ "type": "string", "nullable": true }, + "external_figma_email_optional": { + "type": "boolean", + "nullable": true + }, "external_figma_enabled": { "type": "boolean", "nullable": true @@ -18093,6 +19839,10 @@ "type": "string", "nullable": true }, + "external_github_email_optional": { + "type": "boolean", + "nullable": true + }, "external_github_enabled": { "type": "boolean", "nullable": true @@ -18105,6 +19855,10 @@ "type": "string", "nullable": true }, + "external_gitlab_email_optional": { + "type": "boolean", + "nullable": true + }, "external_gitlab_enabled": { "type": "boolean", "nullable": true @@ -18125,6 +19879,10 @@ "type": "string", "nullable": true }, + "external_google_email_optional": { + "type": "boolean", + "nullable": true + }, "external_google_enabled": { "type": "boolean", "nullable": true @@ -18141,6 +19899,10 @@ "type": "string", "nullable": true }, + "external_kakao_email_optional": { + "type": "boolean", + "nullable": true + }, "external_kakao_enabled": { "type": "boolean", "nullable": true @@ -18153,6 +19915,10 @@ "type": "string", "nullable": true }, + "external_keycloak_email_optional": { + "type": "boolean", + "nullable": true + }, "external_keycloak_enabled": { "type": "boolean", "nullable": true @@ -18169,6 +19935,10 @@ "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_linkedin_oidc_enabled": { "type": "boolean", "nullable": true @@ -18181,6 +19951,10 @@ "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_oidc_enabled": { "type": "boolean", "nullable": true @@ -18193,6 +19967,10 @@ "type": "string", "nullable": true }, + "external_notion_email_optional": { + "type": "boolean", + "nullable": true + }, "external_notion_enabled": { "type": "boolean", "nullable": true @@ -18209,6 +19987,10 @@ "type": "string", "nullable": true }, + "external_slack_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_enabled": { "type": "boolean", "nullable": true @@ -18221,6 +20003,10 @@ "type": "string", "nullable": true }, + "external_spotify_email_optional": { + "type": "boolean", + "nullable": true + }, "external_spotify_enabled": { "type": "boolean", "nullable": true @@ -18233,6 +20019,10 @@ "type": "string", "nullable": true }, + "external_twitch_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitch_enabled": { "type": "boolean", "nullable": true @@ -18245,6 +20035,10 @@ "type": "string", "nullable": true }, + "external_twitter_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitter_enabled": { "type": "boolean", "nullable": true @@ -18281,6 +20075,10 @@ "type": "string", "nullable": true }, + "external_zoom_email_optional": { + "type": "boolean", + "nullable": true + }, "external_zoom_enabled": { "type": "boolean", "nullable": true @@ -18475,6 +20273,10 @@ "type": "string", "nullable": true }, + "nimbus_oauth_email_optional": { + "type": "boolean", + "nullable": true + }, "nimbus_oauth_client_secret": { "type": "string", "nullable": true @@ -18716,64 +20518,82 @@ "external_anonymous_users_enabled", "external_apple_additional_client_ids", "external_apple_client_id", + "external_apple_email_optional", "external_apple_enabled", "external_apple_secret", "external_azure_client_id", + "external_azure_email_optional", "external_azure_enabled", "external_azure_secret", "external_azure_url", "external_bitbucket_client_id", + "external_bitbucket_email_optional", "external_bitbucket_enabled", "external_bitbucket_secret", "external_discord_client_id", + "external_discord_email_optional", "external_discord_enabled", "external_discord_secret", "external_email_enabled", "external_facebook_client_id", + "external_facebook_email_optional", "external_facebook_enabled", "external_facebook_secret", "external_figma_client_id", + "external_figma_email_optional", "external_figma_enabled", "external_figma_secret", "external_github_client_id", + "external_github_email_optional", "external_github_enabled", "external_github_secret", "external_gitlab_client_id", + "external_gitlab_email_optional", "external_gitlab_enabled", "external_gitlab_secret", "external_gitlab_url", "external_google_additional_client_ids", "external_google_client_id", + "external_google_email_optional", "external_google_enabled", "external_google_secret", "external_google_skip_nonce_check", "external_kakao_client_id", + "external_kakao_email_optional", "external_kakao_enabled", "external_kakao_secret", "external_keycloak_client_id", + "external_keycloak_email_optional", "external_keycloak_enabled", "external_keycloak_secret", "external_keycloak_url", "external_linkedin_oidc_client_id", + "external_linkedin_oidc_email_optional", "external_linkedin_oidc_enabled", "external_linkedin_oidc_secret", "external_slack_oidc_client_id", + "external_slack_oidc_email_optional", "external_slack_oidc_enabled", "external_slack_oidc_secret", "external_notion_client_id", + "external_notion_email_optional", "external_notion_enabled", "external_notion_secret", "external_phone_enabled", "external_slack_client_id", + "external_slack_email_optional", "external_slack_enabled", "external_slack_secret", "external_spotify_client_id", + "external_spotify_email_optional", "external_spotify_enabled", "external_spotify_secret", "external_twitch_client_id", + "external_twitch_email_optional", "external_twitch_enabled", "external_twitch_secret", "external_twitter_client_id", + "external_twitter_email_optional", "external_twitter_enabled", "external_twitter_secret", "external_workos_client_id", @@ -18783,6 +20603,7 @@ "external_web3_solana_enabled", "external_web3_ethereum_enabled", "external_zoom_client_id", + "external_zoom_email_optional", "external_zoom_enabled", "external_zoom_secret", "hook_custom_access_token_enabled", @@ -18832,6 +20653,7 @@ "mfa_phone_template", "mfa_phone_max_frequency", "nimbus_oauth_client_id", + "nimbus_oauth_email_optional", "nimbus_oauth_client_secret", "password_hibp_enabled", "password_min_length", @@ -19329,6 +21151,10 @@ "type": "string", "nullable": true }, + "external_apple_email_optional": { + "type": "boolean", + "nullable": true + }, "external_apple_secret": { "type": "string", "nullable": true @@ -19345,6 +21171,10 @@ "type": "string", "nullable": true }, + "external_azure_email_optional": { + "type": "boolean", + "nullable": true + }, "external_azure_secret": { "type": "string", "nullable": true @@ -19361,6 +21191,10 @@ "type": "string", "nullable": true }, + "external_bitbucket_email_optional": { + "type": "boolean", + "nullable": true + }, "external_bitbucket_secret": { "type": "string", "nullable": true @@ -19373,6 +21207,10 @@ "type": "string", "nullable": true }, + "external_discord_email_optional": { + "type": "boolean", + "nullable": true + }, "external_discord_secret": { "type": "string", "nullable": true @@ -19385,6 +21223,10 @@ "type": "string", "nullable": true }, + "external_facebook_email_optional": { + "type": "boolean", + "nullable": true + }, "external_facebook_secret": { "type": "string", "nullable": true @@ -19397,6 +21239,10 @@ "type": "string", "nullable": true }, + "external_figma_email_optional": { + "type": "boolean", + "nullable": true + }, "external_figma_secret": { "type": "string", "nullable": true @@ -19409,6 +21255,10 @@ "type": "string", "nullable": true }, + "external_github_email_optional": { + "type": "boolean", + "nullable": true + }, "external_github_secret": { "type": "string", "nullable": true @@ -19421,6 +21271,10 @@ "type": "string", "nullable": true }, + "external_gitlab_email_optional": { + "type": "boolean", + "nullable": true + }, "external_gitlab_secret": { "type": "string", "nullable": true @@ -19437,6 +21291,10 @@ "type": "string", "nullable": true }, + "external_google_email_optional": { + "type": "boolean", + "nullable": true + }, "external_google_secret": { "type": "string", "nullable": true @@ -19457,6 +21315,10 @@ "type": "string", "nullable": true }, + "external_kakao_email_optional": { + "type": "boolean", + "nullable": true + }, "external_kakao_secret": { "type": "string", "nullable": true @@ -19469,6 +21331,10 @@ "type": "string", "nullable": true }, + "external_keycloak_email_optional": { + "type": "boolean", + "nullable": true + }, "external_keycloak_secret": { "type": "string", "nullable": true @@ -19485,6 +21351,10 @@ "type": "string", "nullable": true }, + "external_linkedin_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_linkedin_oidc_secret": { "type": "string", "nullable": true @@ -19497,6 +21367,10 @@ "type": "string", "nullable": true }, + "external_slack_oidc_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_oidc_secret": { "type": "string", "nullable": true @@ -19509,6 +21383,10 @@ "type": "string", "nullable": true }, + "external_notion_email_optional": { + "type": "boolean", + "nullable": true + }, "external_notion_secret": { "type": "string", "nullable": true @@ -19521,6 +21399,10 @@ "type": "string", "nullable": true }, + "external_slack_email_optional": { + "type": "boolean", + "nullable": true + }, "external_slack_secret": { "type": "string", "nullable": true @@ -19533,6 +21415,10 @@ "type": "string", "nullable": true }, + "external_spotify_email_optional": { + "type": "boolean", + "nullable": true + }, "external_spotify_secret": { "type": "string", "nullable": true @@ -19545,6 +21431,10 @@ "type": "string", "nullable": true }, + "external_twitch_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitch_secret": { "type": "string", "nullable": true @@ -19557,6 +21447,10 @@ "type": "string", "nullable": true }, + "external_twitter_email_optional": { + "type": "boolean", + "nullable": true + }, "external_twitter_secret": { "type": "string", "nullable": true @@ -19593,6 +21487,10 @@ "type": "string", "nullable": true }, + "external_zoom_email_optional": { + "type": "boolean", + "nullable": true + }, "external_zoom_secret": { "type": "string", "nullable": true diff --git a/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json index 8c9a4953f64c2..cc7efbda611e5 100644 --- a/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json +++ b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json @@ -1973,6 +1973,20 @@ }, "with_delimiter": { "type": "boolean" + }, + "sortBy": { + "type": "object", + "properties": { + "column": { + "type": "string", + "enum": ["name", "updated_at", "created_at"] + }, + "order": { + "type": "string", + "enum": ["asc", "desc"] + } + }, + "required": ["column"] } } } diff --git a/apps/studio/data/feedback/support-ticket-send.ts b/apps/studio/data/feedback/support-ticket-send.ts index 4da7133a7a952..c981690ccb02a 100644 --- a/apps/studio/data/feedback/support-ticket-send.ts +++ b/apps/studio/data/feedback/support-ticket-send.ts @@ -57,7 +57,7 @@ export async function sendSupportTicket({ if (error) { handleError(error, { - sampleRate: 1, + alwaysCapture: true, sentryContext: { tags: { dashboardSupportForm: true, diff --git a/apps/studio/data/fetchers.ts b/apps/studio/data/fetchers.ts index 16884d714b82d..f0ca332c3b5e0 100644 --- a/apps/studio/data/fetchers.ts +++ b/apps/studio/data/fetchers.ts @@ -135,12 +135,15 @@ export const { } = client type HandleErrorOptions = { + alwaysCapture?: boolean sentryContext?: Parameters[1] - sampleRate?: number } export const handleError = (error: unknown, options: HandleErrorOptions = {}): never => { if (error && typeof error === 'object') { + if (options.alwaysCapture) { + Sentry.captureException(error, options.sentryContext) + } const errorMessage = 'msg' in error && typeof error.msg === 'string' ? error.msg @@ -154,12 +157,6 @@ export const handleError = (error: unknown, options: HandleErrorOptions = {}): n const retryAfter = 'retryAfter' in error && typeof error.retryAfter === 'number' ? error.retryAfter : undefined - const shouldCapture = Math.random() < (options?.sampleRate ?? 0.2) // 20% sample rate - - if (shouldCapture) { - Sentry.captureException(error, options.sentryContext) - } - if (errorMessage) { throw new ResponseError(errorMessage, errorCode, requestId, retryAfter) } @@ -169,6 +166,10 @@ export const handleError = (error: unknown, options: HandleErrorOptions = {}): n console.error(error.stack) } + // the error doesn't have a message or msg property, so we can't throw it as an error. Log it via Sentry so that we can + // add handling for it. + Sentry.captureException(error, options.sentryContext) + // throw a generic error if we don't know what the error is. The message is intentionally vague because it might show // up in the UI. throw new ResponseError(undefined) diff --git a/apps/studio/data/organizations/organizations-query.ts b/apps/studio/data/organizations/organizations-query.ts index 3ddbac115d30f..449a41c1206bc 100644 --- a/apps/studio/data/organizations/organizations-query.ts +++ b/apps/studio/data/organizations/organizations-query.ts @@ -22,10 +22,7 @@ function getManagedBy(org: OrganizationBase): ManagedBy { switch (org.billing_partner) { case 'vercel_marketplace': return MANAGED_BY.VERCEL_MARKETPLACE - // TODO(ignacio): Uncomment this when we've deployed the AWS Marketplace new slug - // case 'aws_marketplace': - // return MANAGED_BY.AWS_MARKETPLACE - case 'aws': + case 'aws_marketplace': return MANAGED_BY.AWS_MARKETPLACE default: return MANAGED_BY.SUPABASE diff --git a/apps/studio/data/permissions/permissions-query.ts b/apps/studio/data/permissions/permissions-query.ts index 3da0588c66253..783ed966bd37d 100644 --- a/apps/studio/data/permissions/permissions-query.ts +++ b/apps/studio/data/permissions/permissions-query.ts @@ -18,6 +18,7 @@ export async function getPermissions(signal?: AbortSignal) { // since those may require investigation if they spike const sendError = statusCode >= 500 || statusCode === 'unknown' handleError(error, { + alwaysCapture: sendError, sentryContext: { tags: { permissionsQuery: true, diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.ts index 3db1c4b63b753..737101c8742b2 100644 --- a/packages/api-types/types/api.d.ts +++ b/packages/api-types/types/api.d.ts @@ -295,6 +295,90 @@ export interface paths { patch?: never trace?: never } + '/v1/projects/{ref}/actions': { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + /** + * List all action runs + * @description Returns a paginated list of action runs of the specified project. + */ + get: operations['v1-list-action-runs'] + put?: never + post?: never + delete?: never + options?: never + /** + * Count the number of action runs + * @description Returns the total number of action runs of the specified project. + */ + head: operations['v1-count-action-runs'] + patch?: never + trace?: never + } + '/v1/projects/{ref}/actions/{run_id}': { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + /** + * Get the status of an action run + * @description Returns the current status of the specified action run. + */ + get: operations['v1-get-action-run'] + put?: never + post?: never + delete?: never + options?: never + head?: never + patch?: never + trace?: never + } + '/v1/projects/{ref}/actions/{run_id}/logs': { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + /** + * Get the logs of an action run + * @description Returns the logs from the specified action run. + */ + get: operations['v1-get-action-run-logs'] + put?: never + post?: never + delete?: never + options?: never + head?: never + patch?: never + trace?: never + } + '/v1/projects/{ref}/actions/{run_id}/status': { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + get?: never + put?: never + post?: never + delete?: never + options?: never + head?: never + /** + * Update the status of an action run + * @description Updates the status of an ongoing action run. + */ + patch: operations['v1-update-action-run-status'] + trace?: never + } '/v1/projects/{ref}/advisors/performance': { parameters: { query?: never @@ -1683,6 +1767,23 @@ export interface paths { export type webhooks = Record export interface components { schemas: { + ActionRunResponse: { + branch_id: string + check_run_id: number | null + created_at: string + git_config?: unknown + id: string + run_steps: { + created_at: string + /** @enum {string} */ + name: 'clone' | 'pull' | 'health' | 'configure' | 'migrate' | 'seed' | 'deploy' + /** @enum {string} */ + status: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + updated_at: string + }[] + updated_at: string + workdir: string | null + } ActivateVanitySubdomainResponse: { custom_domain: string } @@ -1762,64 +1863,82 @@ export interface components { external_anonymous_users_enabled: boolean | null external_apple_additional_client_ids: string | null external_apple_client_id: string | null + external_apple_email_optional: boolean | null external_apple_enabled: boolean | null external_apple_secret: string | null external_azure_client_id: string | null + external_azure_email_optional: boolean | null external_azure_enabled: boolean | null external_azure_secret: string | null external_azure_url: string | null external_bitbucket_client_id: string | null + external_bitbucket_email_optional: boolean | null external_bitbucket_enabled: boolean | null external_bitbucket_secret: string | null external_discord_client_id: string | null + external_discord_email_optional: boolean | null external_discord_enabled: boolean | null external_discord_secret: string | null external_email_enabled: boolean | null external_facebook_client_id: string | null + external_facebook_email_optional: boolean | null external_facebook_enabled: boolean | null external_facebook_secret: string | null external_figma_client_id: string | null + external_figma_email_optional: boolean | null external_figma_enabled: boolean | null external_figma_secret: string | null external_github_client_id: string | null + external_github_email_optional: boolean | null external_github_enabled: boolean | null external_github_secret: string | null external_gitlab_client_id: string | null + external_gitlab_email_optional: boolean | null external_gitlab_enabled: boolean | null external_gitlab_secret: string | null external_gitlab_url: string | null external_google_additional_client_ids: string | null external_google_client_id: string | null + external_google_email_optional: boolean | null external_google_enabled: boolean | null external_google_secret: string | null external_google_skip_nonce_check: boolean | null external_kakao_client_id: string | null + external_kakao_email_optional: boolean | null external_kakao_enabled: boolean | null external_kakao_secret: string | null external_keycloak_client_id: string | null + external_keycloak_email_optional: boolean | null external_keycloak_enabled: boolean | null external_keycloak_secret: string | null external_keycloak_url: string | null external_linkedin_oidc_client_id: string | null + external_linkedin_oidc_email_optional: boolean | null external_linkedin_oidc_enabled: boolean | null external_linkedin_oidc_secret: string | null external_notion_client_id: string | null + external_notion_email_optional: boolean | null external_notion_enabled: boolean | null external_notion_secret: string | null external_phone_enabled: boolean | null external_slack_client_id: string | null + external_slack_email_optional: boolean | null external_slack_enabled: boolean | null external_slack_oidc_client_id: string | null + external_slack_oidc_email_optional: boolean | null external_slack_oidc_enabled: boolean | null external_slack_oidc_secret: string | null external_slack_secret: string | null external_spotify_client_id: string | null + external_spotify_email_optional: boolean | null external_spotify_enabled: boolean | null external_spotify_secret: string | null external_twitch_client_id: string | null + external_twitch_email_optional: boolean | null external_twitch_enabled: boolean | null external_twitch_secret: string | null external_twitter_client_id: string | null + external_twitter_email_optional: boolean | null external_twitter_enabled: boolean | null external_twitter_secret: string | null external_web3_ethereum_enabled: boolean | null @@ -1829,6 +1948,7 @@ export interface components { external_workos_secret: string | null external_workos_url: string | null external_zoom_client_id: string | null + external_zoom_email_optional: boolean | null external_zoom_enabled: boolean | null external_zoom_secret: string | null hook_before_user_created_enabled: boolean | null @@ -1879,6 +1999,7 @@ export interface components { mfa_web_authn_verify_enabled: boolean | null nimbus_oauth_client_id: string | null nimbus_oauth_client_secret: string | null + nimbus_oauth_email_optional: boolean | null password_hibp_enabled: boolean | null password_min_length: number | null /** @enum {string|null} */ @@ -2514,6 +2635,23 @@ export interface components { LegacyApiKeysResponse: { enabled: boolean } + ListActionRunResponse: { + branch_id: string + check_run_id: number | null + created_at: string + git_config?: unknown + id: string + run_steps: { + created_at: string + /** @enum {string} */ + name: 'clone' | 'pull' | 'health' | 'configure' | 'migrate' | 'seed' | 'deploy' + /** @enum {string} */ + status: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + updated_at: string + }[] + updated_at: string + workdir: string | null + }[] ListProjectAddonsResponse: { available_addons: { name: string @@ -3085,64 +3223,82 @@ export interface components { external_anonymous_users_enabled?: boolean | null external_apple_additional_client_ids?: string | null external_apple_client_id?: string | null + external_apple_email_optional?: boolean | null external_apple_enabled?: boolean | null external_apple_secret?: string | null external_azure_client_id?: string | null + external_azure_email_optional?: boolean | null external_azure_enabled?: boolean | null external_azure_secret?: string | null external_azure_url?: string | null external_bitbucket_client_id?: string | null + external_bitbucket_email_optional?: boolean | null external_bitbucket_enabled?: boolean | null external_bitbucket_secret?: string | null external_discord_client_id?: string | null + external_discord_email_optional?: boolean | null external_discord_enabled?: boolean | null external_discord_secret?: string | null external_email_enabled?: boolean | null external_facebook_client_id?: string | null + external_facebook_email_optional?: boolean | null external_facebook_enabled?: boolean | null external_facebook_secret?: string | null external_figma_client_id?: string | null + external_figma_email_optional?: boolean | null external_figma_enabled?: boolean | null external_figma_secret?: string | null external_github_client_id?: string | null + external_github_email_optional?: boolean | null external_github_enabled?: boolean | null external_github_secret?: string | null external_gitlab_client_id?: string | null + external_gitlab_email_optional?: boolean | null external_gitlab_enabled?: boolean | null external_gitlab_secret?: string | null external_gitlab_url?: string | null external_google_additional_client_ids?: string | null external_google_client_id?: string | null + external_google_email_optional?: boolean | null external_google_enabled?: boolean | null external_google_secret?: string | null external_google_skip_nonce_check?: boolean | null external_kakao_client_id?: string | null + external_kakao_email_optional?: boolean | null external_kakao_enabled?: boolean | null external_kakao_secret?: string | null external_keycloak_client_id?: string | null + external_keycloak_email_optional?: boolean | null external_keycloak_enabled?: boolean | null external_keycloak_secret?: string | null external_keycloak_url?: string | null external_linkedin_oidc_client_id?: string | null + external_linkedin_oidc_email_optional?: boolean | null external_linkedin_oidc_enabled?: boolean | null external_linkedin_oidc_secret?: string | null external_notion_client_id?: string | null + external_notion_email_optional?: boolean | null external_notion_enabled?: boolean | null external_notion_secret?: string | null external_phone_enabled?: boolean | null external_slack_client_id?: string | null + external_slack_email_optional?: boolean | null external_slack_enabled?: boolean | null external_slack_oidc_client_id?: string | null + external_slack_oidc_email_optional?: boolean | null external_slack_oidc_enabled?: boolean | null external_slack_oidc_secret?: string | null external_slack_secret?: string | null external_spotify_client_id?: string | null + external_spotify_email_optional?: boolean | null external_spotify_enabled?: boolean | null external_spotify_secret?: string | null external_twitch_client_id?: string | null + external_twitch_email_optional?: boolean | null external_twitch_enabled?: boolean | null external_twitch_secret?: string | null external_twitter_client_id?: string | null + external_twitter_email_optional?: boolean | null external_twitter_enabled?: boolean | null external_twitter_secret?: string | null external_web3_ethereum_enabled?: boolean | null @@ -3152,6 +3308,7 @@ export interface components { external_workos_secret?: string | null external_workos_url?: string | null external_zoom_client_id?: string | null + external_zoom_email_optional?: boolean | null external_zoom_enabled?: boolean | null external_zoom_secret?: string | null hook_before_user_created_enabled?: boolean | null @@ -3426,6 +3583,26 @@ export interface components { } updated_at?: string } + UpdateRunStatusBody: { + /** @enum {string} */ + clone?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + /** @enum {string} */ + configure?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + /** @enum {string} */ + deploy?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + /** @enum {string} */ + health?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + /** @enum {string} */ + migrate?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + /** @enum {string} */ + pull?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + /** @enum {string} */ + seed?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING' + } + UpdateRunStatusResponse: { + /** @enum {string} */ + message: 'ok' + } UpdateSigningKeyBody: { /** @enum {string} */ status: 'in_use' | 'previously_used' | 'revoked' | 'standby' @@ -4557,6 +4734,269 @@ export interface operations { } } } + 'v1-list-action-runs': { + parameters: { + query?: { + limit?: number + offset?: number + } + header?: never + path: { + /** @description Project ref */ + ref: string + } + cookie?: never + } + requestBody?: never + responses: { + 200: { + headers: { + [name: string]: unknown + } + content: { + 'application/json': components['schemas']['ListActionRunResponse'] + } + } + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Forbidden action */ + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Rate limit exceeded */ + 429: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Failed to list action runs */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } + 'v1-count-action-runs': { + parameters: { + query?: never + header?: never + path: { + /** @description Project ref */ + ref: string + } + cookie?: never + } + requestBody?: never + responses: { + 200: { + headers: { + /** @description total count value */ + 'X-Total-Count'?: number + [name: string]: unknown + } + content?: never + } + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Forbidden action */ + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Rate limit exceeded */ + 429: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Failed to count action runs */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } + 'v1-get-action-run': { + parameters: { + query?: never + header?: never + path: { + /** @description Project ref */ + ref: string + /** @description Action Run ID */ + run_id: string + } + cookie?: never + } + requestBody?: never + responses: { + 200: { + headers: { + [name: string]: unknown + } + content: { + 'application/json': components['schemas']['ActionRunResponse'] + } + } + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Forbidden action */ + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Rate limit exceeded */ + 429: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Failed to get action run status */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } + 'v1-get-action-run-logs': { + parameters: { + query?: never + header?: never + path: { + /** @description Project ref */ + ref: string + /** @description Action Run ID */ + run_id: string + } + cookie?: never + } + requestBody?: never + responses: { + 200: { + headers: { + [name: string]: unknown + } + content: { + 'text/plain': string + } + } + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Forbidden action */ + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Rate limit exceeded */ + 429: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Failed to get action run logs */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } + 'v1-update-action-run-status': { + parameters: { + query?: never + header?: never + path: { + /** @description Project ref */ + ref: string + /** @description Action Run ID */ + run_id: string + } + cookie?: never + } + requestBody: { + content: { + 'application/json': components['schemas']['UpdateRunStatusBody'] + } + } + responses: { + 200: { + headers: { + [name: string]: unknown + } + content: { + 'application/json': components['schemas']['UpdateRunStatusResponse'] + } + } + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Forbidden action */ + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Rate limit exceeded */ + 429: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Failed to update action run status */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } 'v1-get-performance-advisors': { parameters: { query?: never diff --git a/packages/api-types/types/platform.d.ts b/packages/api-types/types/platform.d.ts index 5c0a5cc0d85e9..c9740d003ab6a 100644 --- a/packages/api-types/types/platform.d.ts +++ b/packages/api-types/types/platform.d.ts @@ -11,14 +11,14 @@ export interface paths { path?: never cookie?: never } - /** Gets GoTrue config */ + /** Gets Auth config */ get: operations['GoTrueConfigController_getGoTrueConfig'] put?: never post?: never delete?: never options?: never head?: never - /** Updates GoTrue config */ + /** Updates Auth config */ patch: operations['GoTrueConfigController_updateGoTrueConfig'] trace?: never } @@ -35,7 +35,7 @@ export interface paths { delete?: never options?: never head?: never - /** Updates GoTrue config hooks */ + /** Updates Auth config hooks */ patch: operations['GoTrueConfigController_updateGoTrueConfigHooks'] trace?: never } @@ -114,7 +114,7 @@ export interface paths { path?: never cookie?: never } - /** Gets GoTrue template */ + /** Gets Auth template */ get: operations['TemplateController_getTemplate'] put?: never post?: never @@ -2619,7 +2619,10 @@ export interface paths { path?: never cookie?: never } - /** Gets project's pgbouncer config */ + /** + * Gets project's pgbouncer config + * @description Returns pgbouncer config. To check pgbouncer status, use `GET /v0/projects/{ref}/config/pgbouncer/status` + */ get: operations['PgbouncerConfigController_getPgbouncerConfig'] put?: never post?: never @@ -3034,6 +3037,23 @@ export interface paths { patch?: never trace?: never } + '/platform/projects/{ref}/members': { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + /** Gets the list of users with access to the project */ + get: operations['ProjectMembersController_getProjecMembers'] + put?: never + post?: never + delete?: never + options?: never + head?: never + patch?: never + trace?: never + } '/platform/projects/{ref}/notifications/advisor/exceptions': { parameters: { query?: never @@ -4905,7 +4925,7 @@ export interface components { | { billing_email: string | null /** @enum {string|null} */ - billing_partner: 'fly' | 'aws' | 'aws_marketplace' | 'vercel_marketplace' | null + billing_partner: 'fly' | 'aws_marketplace' | 'vercel_marketplace' | null id: number is_owner: boolean name: string @@ -5887,6 +5907,7 @@ export interface components { GetProjectLogsBody: { iso_timestamp_end?: string iso_timestamp_start?: string + lql?: string sql?: string } GetProjectVercelConnectionsResponse: { @@ -6035,7 +6056,7 @@ export interface components { }[] billing_cycle_anchor: number /** @enum {string} */ - billing_partner?: 'fly' | 'aws' | 'aws_marketplace' | 'vercel_marketplace' + billing_partner?: 'fly' | 'aws_marketplace' | 'vercel_marketplace' billing_via_partner: boolean cached_egress_enabled: boolean current_period_end: number @@ -6256,73 +6277,91 @@ export interface components { EXTERNAL_ANONYMOUS_USERS_ENABLED: boolean EXTERNAL_APPLE_ADDITIONAL_CLIENT_IDS: string EXTERNAL_APPLE_CLIENT_ID: string + EXTERNAL_APPLE_EMAIL_OPTIONAL: boolean EXTERNAL_APPLE_ENABLED: boolean EXTERNAL_APPLE_SECRET: string EXTERNAL_AZURE_CLIENT_ID: string + EXTERNAL_AZURE_EMAIL_OPTIONAL: boolean EXTERNAL_AZURE_ENABLED: boolean EXTERNAL_AZURE_SECRET: string EXTERNAL_AZURE_URL: string EXTERNAL_BITBUCKET_CLIENT_ID: string + EXTERNAL_BITBUCKET_EMAIL_OPTIONAL: boolean EXTERNAL_BITBUCKET_ENABLED: boolean EXTERNAL_BITBUCKET_SECRET: string EXTERNAL_DISCORD_CLIENT_ID: string + EXTERNAL_DISCORD_EMAIL_OPTIONAL: boolean EXTERNAL_DISCORD_ENABLED: boolean EXTERNAL_DISCORD_SECRET: string EXTERNAL_EMAIL_ENABLED: boolean EXTERNAL_FACEBOOK_CLIENT_ID: string + EXTERNAL_FACEBOOK_EMAIL_OPTIONAL: boolean EXTERNAL_FACEBOOK_ENABLED: boolean EXTERNAL_FACEBOOK_SECRET: string EXTERNAL_FIGMA_CLIENT_ID: string + EXTERNAL_FIGMA_EMAIL_OPTIONAL: boolean EXTERNAL_FIGMA_ENABLED: boolean EXTERNAL_FIGMA_SECRET: string EXTERNAL_GITHUB_CLIENT_ID: string + EXTERNAL_GITHUB_EMAIL_OPTIONAL: boolean EXTERNAL_GITHUB_ENABLED: boolean EXTERNAL_GITHUB_SECRET: string EXTERNAL_GITLAB_CLIENT_ID: string + EXTERNAL_GITLAB_EMAIL_OPTIONAL: boolean EXTERNAL_GITLAB_ENABLED: boolean EXTERNAL_GITLAB_SECRET: string EXTERNAL_GITLAB_URL: string EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS: string EXTERNAL_GOOGLE_CLIENT_ID: string + EXTERNAL_GOOGLE_EMAIL_OPTIONAL: boolean EXTERNAL_GOOGLE_ENABLED: boolean EXTERNAL_GOOGLE_SECRET: string EXTERNAL_GOOGLE_SKIP_NONCE_CHECK: boolean EXTERNAL_KAKAO_CLIENT_ID: string + EXTERNAL_KAKAO_EMAIL_OPTIONAL: boolean EXTERNAL_KAKAO_ENABLED: boolean EXTERNAL_KAKAO_SECRET: string EXTERNAL_KEYCLOAK_CLIENT_ID: string + EXTERNAL_KEYCLOAK_EMAIL_OPTIONAL: boolean EXTERNAL_KEYCLOAK_ENABLED: boolean EXTERNAL_KEYCLOAK_SECRET: string EXTERNAL_KEYCLOAK_URL: string EXTERNAL_LINKEDIN_OIDC_CLIENT_ID: string + EXTERNAL_LINKEDIN_OIDC_EMAIL_OPTIONAL: boolean EXTERNAL_LINKEDIN_OIDC_ENABLED: boolean EXTERNAL_LINKEDIN_OIDC_SECRET: string EXTERNAL_NOTION_CLIENT_ID: string + EXTERNAL_NOTION_EMAIL_OPTIONAL: boolean EXTERNAL_NOTION_ENABLED: boolean EXTERNAL_NOTION_SECRET: string EXTERNAL_PHONE_ENABLED: boolean EXTERNAL_SLACK_CLIENT_ID: string + EXTERNAL_SLACK_EMAIL_OPTIONAL: boolean EXTERNAL_SLACK_ENABLED: boolean EXTERNAL_SLACK_OIDC_CLIENT_ID: string + EXTERNAL_SLACK_OIDC_EMAIL_OPTIONAL: boolean EXTERNAL_SLACK_OIDC_ENABLED: boolean EXTERNAL_SLACK_OIDC_SECRET: string EXTERNAL_SLACK_SECRET: string EXTERNAL_SPOTIFY_CLIENT_ID: string + EXTERNAL_SPOTIFY_EMAIL_OPTIONAL: boolean EXTERNAL_SPOTIFY_ENABLED: boolean EXTERNAL_SPOTIFY_SECRET: string EXTERNAL_TWITCH_CLIENT_ID: string + EXTERNAL_TWITCH_EMAIL_OPTIONAL: boolean EXTERNAL_TWITCH_ENABLED: boolean EXTERNAL_TWITCH_SECRET: string EXTERNAL_TWITTER_CLIENT_ID: string + EXTERNAL_TWITTER_EMAIL_OPTIONAL: boolean EXTERNAL_TWITTER_ENABLED: boolean EXTERNAL_TWITTER_SECRET: string EXTERNAL_WEB3_ETHEREUM_ENABLED: boolean EXTERNAL_WEB3_SOLANA_ENABLED: boolean EXTERNAL_WORKOS_CLIENT_ID: string - EXTERNAL_WORKOS_ENABLED: boolean EXTERNAL_WORKOS_SECRET: string EXTERNAL_WORKOS_URL: string EXTERNAL_ZOOM_CLIENT_ID: string + EXTERNAL_ZOOM_EMAIL_OPTIONAL: boolean EXTERNAL_ZOOM_ENABLED: boolean EXTERNAL_ZOOM_SECRET: string HOOK_BEFORE_USER_CREATED_ENABLED: boolean @@ -6885,7 +6924,7 @@ export interface components { OrganizationResponse: { billing_email: string | null /** @enum {string|null} */ - billing_partner: 'fly' | 'aws' | 'aws_marketplace' | 'vercel_marketplace' | null + billing_partner: 'fly' | 'aws_marketplace' | 'vercel_marketplace' | null id: number is_owner: boolean name: string @@ -6939,7 +6978,7 @@ export interface components { OrganizationSlugResponse: { billing_email: string | null /** @enum {string|null} */ - billing_partner: 'fly' | 'aws' | 'aws_marketplace' | 'vercel_marketplace' | null + billing_partner: 'fly' | 'aws_marketplace' | 'vercel_marketplace' | null has_oriole_project: boolean id: number name: string @@ -7121,8 +7160,6 @@ export interface components { max_client_conn?: number pgbouncer_enabled: boolean /** @enum {string} */ - pgbouncer_status: 'COMING_UP' | 'COMING_DOWN' | 'RELOADING' | 'ENABLED' | 'DISABLED' - /** @enum {string} */ pool_mode: 'transaction' | 'session' | 'statement' query_wait_timeout?: number reserve_pool_size?: number @@ -7723,6 +7760,13 @@ export interface components { status: string subscription_id: string | null } + ProjectMembersResponse: { + members: { + primary_email: string + user_id: string + username: string + }[] + } ProjectRefResponse: { id: number name: string @@ -7946,7 +7990,7 @@ export interface components { }[] } ReplicationPipelineReplicationStatusResponse: { - /** @description The apply worker lag */ + /** @description Stats about apply worker lag */ apply_lag?: { /** * @description Bytes between the current WAL location and the confirmed flush LSN. @@ -8033,7 +8077,7 @@ export interface components { * @example public.orders */ table_name: string - /** @description The table sync worker lag */ + /** @description Stats about table sync worker lag */ table_sync_lag?: { /** * @description Bytes between the current WAL location and the confirmed flush LSN. @@ -9034,64 +9078,82 @@ export interface components { EXTERNAL_ANONYMOUS_USERS_ENABLED?: boolean | null EXTERNAL_APPLE_ADDITIONAL_CLIENT_IDS?: string | null EXTERNAL_APPLE_CLIENT_ID?: string | null + EXTERNAL_APPLE_EMAIL_OPTIONAL?: boolean | null EXTERNAL_APPLE_ENABLED?: boolean | null EXTERNAL_APPLE_SECRET?: string | null EXTERNAL_AZURE_CLIENT_ID?: string | null + EXTERNAL_AZURE_EMAIL_OPTIONAL?: boolean | null EXTERNAL_AZURE_ENABLED?: boolean | null EXTERNAL_AZURE_SECRET?: string | null EXTERNAL_AZURE_URL?: string | null EXTERNAL_BITBUCKET_CLIENT_ID?: string | null + EXTERNAL_BITBUCKET_EMAIL_OPTIONAL?: boolean | null EXTERNAL_BITBUCKET_ENABLED?: boolean | null EXTERNAL_BITBUCKET_SECRET?: string | null EXTERNAL_DISCORD_CLIENT_ID?: string | null + EXTERNAL_DISCORD_EMAIL_OPTIONAL?: boolean | null EXTERNAL_DISCORD_ENABLED?: boolean | null EXTERNAL_DISCORD_SECRET?: string | null EXTERNAL_EMAIL_ENABLED?: boolean | null EXTERNAL_FACEBOOK_CLIENT_ID?: string | null + EXTERNAL_FACEBOOK_EMAIL_OPTIONAL?: boolean | null EXTERNAL_FACEBOOK_ENABLED?: boolean | null EXTERNAL_FACEBOOK_SECRET?: string | null EXTERNAL_FIGMA_CLIENT_ID?: string | null + EXTERNAL_FIGMA_EMAIL_OPTIONAL?: boolean | null EXTERNAL_FIGMA_ENABLED?: boolean | null EXTERNAL_FIGMA_SECRET?: string | null EXTERNAL_GITHUB_CLIENT_ID?: string | null + EXTERNAL_GITHUB_EMAIL_OPTIONAL?: boolean | null EXTERNAL_GITHUB_ENABLED?: boolean | null EXTERNAL_GITHUB_SECRET?: string | null EXTERNAL_GITLAB_CLIENT_ID?: string | null + EXTERNAL_GITLAB_EMAIL_OPTIONAL?: boolean | null EXTERNAL_GITLAB_ENABLED?: boolean | null EXTERNAL_GITLAB_SECRET?: string | null EXTERNAL_GITLAB_URL?: string | null EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS?: string | null EXTERNAL_GOOGLE_CLIENT_ID?: string | null + EXTERNAL_GOOGLE_EMAIL_OPTIONAL?: boolean | null EXTERNAL_GOOGLE_ENABLED?: boolean | null EXTERNAL_GOOGLE_SECRET?: string | null EXTERNAL_GOOGLE_SKIP_NONCE_CHECK?: boolean | null EXTERNAL_KAKAO_CLIENT_ID?: string | null + EXTERNAL_KAKAO_EMAIL_OPTIONAL?: boolean | null EXTERNAL_KAKAO_ENABLED?: boolean | null EXTERNAL_KAKAO_SECRET?: string | null EXTERNAL_KEYCLOAK_CLIENT_ID?: string | null + EXTERNAL_KEYCLOAK_EMAIL_OPTIONAL?: boolean | null EXTERNAL_KEYCLOAK_ENABLED?: boolean | null EXTERNAL_KEYCLOAK_SECRET?: string | null EXTERNAL_KEYCLOAK_URL?: string | null EXTERNAL_LINKEDIN_OIDC_CLIENT_ID?: string | null + EXTERNAL_LINKEDIN_OIDC_EMAIL_OPTIONAL?: boolean | null EXTERNAL_LINKEDIN_OIDC_ENABLED?: boolean | null EXTERNAL_LINKEDIN_OIDC_SECRET?: string | null EXTERNAL_NOTION_CLIENT_ID?: string | null + EXTERNAL_NOTION_EMAIL_OPTIONAL?: boolean | null EXTERNAL_NOTION_ENABLED?: boolean | null EXTERNAL_NOTION_SECRET?: string | null EXTERNAL_PHONE_ENABLED?: boolean | null EXTERNAL_SLACK_CLIENT_ID?: string | null + EXTERNAL_SLACK_EMAIL_OPTIONAL?: boolean | null EXTERNAL_SLACK_ENABLED?: boolean | null EXTERNAL_SLACK_OIDC_CLIENT_ID?: string | null + EXTERNAL_SLACK_OIDC_EMAIL_OPTIONAL?: boolean | null EXTERNAL_SLACK_OIDC_ENABLED?: boolean | null EXTERNAL_SLACK_OIDC_SECRET?: string | null EXTERNAL_SLACK_SECRET?: string | null EXTERNAL_SPOTIFY_CLIENT_ID?: string | null + EXTERNAL_SPOTIFY_EMAIL_OPTIONAL?: boolean | null EXTERNAL_SPOTIFY_ENABLED?: boolean | null EXTERNAL_SPOTIFY_SECRET?: string | null EXTERNAL_TWITCH_CLIENT_ID?: string | null + EXTERNAL_TWITCH_EMAIL_OPTIONAL?: boolean | null EXTERNAL_TWITCH_ENABLED?: boolean | null EXTERNAL_TWITCH_SECRET?: string | null EXTERNAL_TWITTER_CLIENT_ID?: string | null + EXTERNAL_TWITTER_EMAIL_OPTIONAL?: boolean | null EXTERNAL_TWITTER_ENABLED?: boolean | null EXTERNAL_TWITTER_SECRET?: string | null EXTERNAL_WEB3_ETHEREUM_ENABLED?: boolean | null @@ -9101,6 +9163,7 @@ export interface components { EXTERNAL_WORKOS_SECRET?: string | null EXTERNAL_WORKOS_URL?: string | null EXTERNAL_ZOOM_CLIENT_ID?: string | null + EXTERNAL_ZOOM_EMAIL_OPTIONAL?: boolean | null EXTERNAL_ZOOM_ENABLED?: boolean | null EXTERNAL_ZOOM_SECRET?: string | null HOOK_BEFORE_USER_CREATED_ENABLED?: boolean | null @@ -9919,7 +9982,7 @@ export interface operations { } content?: never } - /** @description Failed to retrieve GoTrue config */ + /** @description Failed to retrieve Auth config */ 500: { headers: { [name: string]: unknown @@ -9973,7 +10036,7 @@ export interface operations { } content?: never } - /** @description Failed to update GoTrue config */ + /** @description Failed to update Auth config */ 500: { headers: { [name: string]: unknown @@ -10027,7 +10090,7 @@ export interface operations { } content?: never } - /** @description Failed to update GoTrue config hooks */ + /** @description Failed to update Auth config hooks */ 500: { headers: { [name: string]: unknown @@ -10268,7 +10331,7 @@ export interface operations { } content?: never } - /** @description Failed to retrieve GoTrue template */ + /** @description Failed to retrieve Auth template */ 500: { headers: { [name: string]: unknown @@ -18508,6 +18571,7 @@ export interface operations { query?: { iso_timestamp_end?: string iso_timestamp_start?: string + lql?: string sql?: string } header?: never @@ -21401,34 +21465,21 @@ export interface operations { attribute: | 'total_realtime_requests' | 'total_realtime_egress' - | 'total_ingress' | 'total_egress' | 'total_cached_egress' | 'total_requests' - | 'total_get_requests' - | 'total_patch_requests' - | 'total_post_requests' | 'total_delete_requests' | 'total_supavisor_egress_bytes' - | 'total_rest_ingress' | 'total_rest_egress' | 'total_rest_requests' - | 'total_rest_get_requests' - | 'total_rest_post_requests' - | 'total_rest_patch_requests' - | 'total_rest_delete_requests' | 'total_auth_billing_period_mau' | 'total_auth_billing_period_sso_mau' | 'total_auth_egress' | 'total_auth_requests' - | 'total_auth_delete_requests' | 'total_storage_ingress' | 'total_storage_egress' | 'total_storage_image_render_count' | 'total_storage_requests' - | 'total_storage_get_requests' - | 'total_storage_post_requests' - | 'total_storage_delete_requests' | 'total_logdrain_egress' | 'total_func_invocations' | 'total_func_cpu_time_ms' @@ -22080,6 +22131,49 @@ export interface operations { } } } + ProjectMembersController_getProjecMembers: { + parameters: { + query?: never + header?: never + path: { + /** @description Project ref */ + ref: string + } + cookie?: never + } + requestBody?: never + responses: { + 200: { + headers: { + [name: string]: unknown + } + content: { + 'application/json': components['schemas']['ProjectMembersResponse'] + } + } + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Forbidden action */ + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Rate limit exceeded */ + 429: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } ProjectAdvisorNotificationsController_listNotificationExceptions: { parameters: { query?: never