{
"id": 0,
"name": "@supabase/auth-js",
"variant": "project",
"kind": 1,
"flags": {},
"children": [
{
"id": 1738,
"name": "AuthApiError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error returned directly from the GoTrue REST API."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthApiError } from '@supabase/auth-js'\n\nthrow new AuthApiError('Invalid credentials', 400, 'invalid_credentials')\n```"
}
]
}
]
},
"children": [
{
"id": 1739,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L67"
}
],
"signatures": [
{
"id": 1740,
"name": "AuthApiError",
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L67"
}
],
"parameters": [
{
"id": 1741,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1742,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1743,
"name": "code",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"type": {
"type": "reference",
"target": 1738,
"name": "AuthApiError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1722,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1721,
"name": "AuthError.constructor"
}
},
{
"id": 1745,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1746,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1726,
"name": "AuthError.code"
}
},
{
"id": 1744,
"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": 65,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L65"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"target": 1728,
"name": "AuthError.status"
}
},
{
"id": 1748,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1749,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1750,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1754,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1755,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1752,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1751,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1753,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1754, 1752, 1751, 1753]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1731,
"name": "AuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1730,
"name": "AuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1739]
},
{
"title": "Properties",
"children": [1745, 1744]
},
{
"title": "Methods",
"children": [1748]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 64,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L64"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1720,
"name": "AuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1720,
"name": "AuthError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Base error thrown by Supabase Auth helpers."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthError } from '@supabase/auth-js'\n\nthrow new AuthError('Unexpected auth error', 500, 'unexpected')\n```"
}
]
}
]
},
"children": [
{
"id": 1721,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 28,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L28"
}
],
"signatures": [
{
"id": 1722,
"name": "AuthError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 28,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L28"
}
],
"parameters": [
{
"id": 1723,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1724,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1725,
"name": "code",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1720,
"name": "AuthError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "Error.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": -1,
"name": "Error.constructor"
}
},
{
"id": 1726,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1727,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1728,
"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": 24,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L24"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1730,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1731,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1732,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1736,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1737,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1734,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1733,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1735,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1736, 1734, 1733, 1735]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [1721]
},
{
"title": "Properties",
"children": [1726, 1728]
},
{
"title": "Methods",
"children": [1730]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 14,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L14"
}
],
"extendedTypes": [
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Error"
},
"name": "Error",
"package": "typescript"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1738,
"name": "AuthApiError"
},
{
"type": "reference",
"target": 1756,
"name": "AuthUnknownError"
},
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError"
}
]
},
{
"id": 1843,
"name": "AuthImplicitGrantRedirectError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when implicit grant redirects contain an error."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthImplicitGrantRedirectError } from '@supabase/auth-js'\n\nthrow new AuthImplicitGrantRedirectError('OAuth redirect failed', {\n error: 'access_denied',\n code: 'oauth_error',\n})\n```"
}
]
}
]
},
"children": [
{
"id": 1844,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 191,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L191"
}
],
"signatures": [
{
"id": 1845,
"name": "AuthImplicitGrantRedirectError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 191,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L191"
}
],
"parameters": [
{
"id": 1846,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1847,
"name": "details",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 1848,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1850,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 191,
"character": 57,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L191"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1849,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 191,
"character": 42,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L191"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1850, 1849]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 191,
"character": 40,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L191"
}
]
}
}
]
},
"defaultValue": "null"
}
],
"type": {
"type": "reference",
"target": 1843,
"name": "AuthImplicitGrantRedirectError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1869,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1870,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1851,
"name": "details",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 190,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L190"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 1852,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1854,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 190,
"character": 28,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L190"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1853,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 190,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L190"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1854, 1853]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 190,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L190"
}
]
}
}
]
},
"defaultValue": "null"
},
{
"id": 1867,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1868,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1855,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 196,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L196"
}
],
"signatures": [
{
"id": 1856,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 196,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L196"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1857,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1861,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 200,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L200"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1862,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1863,
"name": "details",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 201,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L201"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 1864,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1866,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 201,
"character": 30,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L201"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1865,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 201,
"character": 15,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L201"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1866, 1865]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 201,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L201"
}
]
}
}
]
}
},
{
"id": 1859,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 198,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L198"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1858,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 197,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L197"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1860,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 199,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L199"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1861, 1863, 1859, 1858, 1860]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 196,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L196"
}
]
}
},
"overwrites": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1844]
},
{
"title": "Properties",
"children": [1869, 1851, 1867, 1868]
},
{
"title": "Methods",
"children": [1855]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 189,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L189"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1826,
"name": "AuthInvalidCredentialsError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when email/password credentials are invalid."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthInvalidCredentialsError } from '@supabase/auth-js'\n\nthrow new AuthInvalidCredentialsError('Email or password is incorrect')\n```"
}
]
}
]
},
"children": [
{
"id": 1827,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 171,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L171"
}
],
"signatures": [
{
"id": 1828,
"name": "AuthInvalidCredentialsError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 171,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L171"
}
],
"parameters": [
{
"id": 1829,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1826,
"name": "AuthInvalidCredentialsError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1832,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1833,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1830,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1831,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1835,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1836,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1837,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1841,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1842,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1839,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1838,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1840,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1841, 1839, 1838, 1840]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1827]
},
{
"title": "Properties",
"children": [1832, 1830, 1831]
},
{
"title": "Methods",
"children": [1835]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 170,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L170"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1956,
"name": "AuthInvalidJwtError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when a JWT cannot be verified or parsed."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthInvalidJwtError } from '@supabase/auth-js'\n\nthrow new AuthInvalidJwtError('Token signature is invalid')\n```"
}
]
}
]
},
"children": [
{
"id": 1957,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 356,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L356"
}
],
"signatures": [
{
"id": 1958,
"name": "AuthInvalidJwtError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 356,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L356"
}
],
"parameters": [
{
"id": 1959,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1956,
"name": "AuthInvalidJwtError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1962,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1963,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1960,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1961,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1965,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1966,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1967,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1971,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1972,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1969,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1968,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1970,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1971, 1969, 1968, 1970]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1957]
},
{
"title": "Properties",
"children": [1962, 1960, 1961]
},
{
"title": "Methods",
"children": [1965]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 355,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L355"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1810,
"name": "AuthInvalidTokenResponseError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when the token response is malformed."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthInvalidTokenResponseError } from '@supabase/auth-js'\n\nthrow new AuthInvalidTokenResponseError()\n```"
}
]
}
]
},
"children": [
{
"id": 1811,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 155,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L155"
}
],
"signatures": [
{
"id": 1812,
"name": "AuthInvalidTokenResponseError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 155,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L155"
}
],
"type": {
"type": "reference",
"target": 1810,
"name": "AuthInvalidTokenResponseError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1815,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1816,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1813,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1814,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1818,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1819,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1820,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1824,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1825,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1822,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1821,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1823,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1824, 1822, 1821, 1823]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1811]
},
{
"title": "Properties",
"children": [1815, 1813, 1814]
},
{
"title": "Methods",
"children": [1818]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 154,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L154"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1901,
"name": "AuthPKCECodeVerifierMissingError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when the PKCE code verifier is not found in storage.\nThis typically happens when the auth flow was initiated in a different\nbrowser, device, or the storage was cleared."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthPKCECodeVerifierMissingError } from '@supabase/auth-js'\n\nthrow new AuthPKCECodeVerifierMissingError()\n```"
}
]
}
]
},
"children": [
{
"id": 1902,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 261,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L261"
}
],
"signatures": [
{
"id": 1903,
"name": "AuthPKCECodeVerifierMissingError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 261,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L261"
}
],
"type": {
"type": "reference",
"target": 1901,
"name": "AuthPKCECodeVerifierMissingError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1906,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1907,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1904,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1905,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1909,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1910,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1911,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1915,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1916,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1913,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1912,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1914,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1915, 1913, 1912, 1914]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1902]
},
{
"title": "Properties",
"children": [1906, 1904, 1905]
},
{
"title": "Methods",
"children": [1909]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 260,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L260"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1872,
"name": "AuthPKCEGrantCodeExchangeError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown during PKCE code exchanges."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthPKCEGrantCodeExchangeError } from '@supabase/auth-js'\n\nthrow new AuthPKCEGrantCodeExchangeError('PKCE exchange failed')\n```"
}
]
}
]
},
"children": [
{
"id": 1873,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 229,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L229"
}
],
"signatures": [
{
"id": 1874,
"name": "AuthPKCEGrantCodeExchangeError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 229,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L229"
}
],
"parameters": [
{
"id": 1875,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1876,
"name": "details",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 1877,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1879,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 229,
"character": 57,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L229"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1878,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 229,
"character": 42,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L229"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1879, 1878]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 229,
"character": 40,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L229"
}
]
}
}
]
},
"defaultValue": "null"
}
],
"type": {
"type": "reference",
"target": 1872,
"name": "AuthPKCEGrantCodeExchangeError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1898,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1899,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1880,
"name": "details",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 227,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L227"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 1881,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1883,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 227,
"character": 28,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L227"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1882,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 227,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L227"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1883, 1882]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 227,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L227"
}
]
}
}
]
},
"defaultValue": "null"
},
{
"id": 1896,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1897,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1884,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 234,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L234"
}
],
"signatures": [
{
"id": 1885,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 234,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L234"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1886,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1890,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 238,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L238"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1891,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1892,
"name": "details",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 239,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L239"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 1893,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1895,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 239,
"character": 30,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L239"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1894,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 239,
"character": 15,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L239"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1895, 1894]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 239,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L239"
}
]
}
}
]
}
},
{
"id": 1888,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 236,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L236"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1887,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 235,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L235"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1889,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 237,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L237"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1890, 1892, 1888, 1887, 1889]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 234,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L234"
}
]
}
},
"overwrites": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1873]
},
{
"title": "Properties",
"children": [1898, 1880, 1896, 1897]
},
{
"title": "Methods",
"children": [1884]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 226,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L226"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1917,
"name": "AuthRetryableFetchError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when a transient fetch issue occurs."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthRetryableFetchError } from '@supabase/auth-js'\n\nthrow new AuthRetryableFetchError('Service temporarily unavailable', 503)\n```"
}
]
}
]
},
"children": [
{
"id": 1918,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 291,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L291"
}
],
"signatures": [
{
"id": 1919,
"name": "AuthRetryableFetchError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 291,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L291"
}
],
"parameters": [
{
"id": 1920,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1921,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"target": 1917,
"name": "AuthRetryableFetchError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1924,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1925,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1922,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1923,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1927,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1928,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1929,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1933,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1934,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1931,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1930,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1932,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1933, 1931, 1930, 1932]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1918]
},
{
"title": "Properties",
"children": [1924, 1922, 1923]
},
{
"title": "Methods",
"children": [1927]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 290,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L290"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1794,
"name": "AuthSessionMissingError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when an operation requires a session but none is present."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthSessionMissingError } from '@supabase/auth-js'\n\nthrow new AuthSessionMissingError()\n```"
}
]
}
]
},
"children": [
{
"id": 1795,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 135,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L135"
}
],
"signatures": [
{
"id": 1796,
"name": "AuthSessionMissingError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 135,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L135"
}
],
"type": {
"type": "reference",
"target": 1794,
"name": "AuthSessionMissingError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1799,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1800,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1797,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1798,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1802,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1803,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1804,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1808,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1809,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1806,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1805,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1807,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1808, 1806, 1805, 1807]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1795]
},
{
"title": "Properties",
"children": [1799, 1797, 1798]
},
{
"title": "Methods",
"children": [1802]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 134,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L134"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1756,
"name": "AuthUnknownError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Wraps non-standard errors so callers can inspect the root cause."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthUnknownError } from '@supabase/auth-js'\n\ntry {\n await someAuthCall()\n} catch (err) {\n throw new AuthUnknownError('Auth failed', err)\n}\n```"
}
]
}
]
},
"children": [
{
"id": 1757,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 96,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L96"
}
],
"signatures": [
{
"id": 1758,
"name": "AuthUnknownError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 96,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L96"
}
],
"parameters": [
{
"id": 1759,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1760,
"name": "originalError",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
],
"type": {
"type": "reference",
"target": 1756,
"name": "AuthUnknownError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1722,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1721,
"name": "AuthError.constructor"
}
},
{
"id": 1762,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1763,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1726,
"name": "AuthError.code"
}
},
{
"id": 1761,
"name": "originalError",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 94,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L94"
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
},
{
"id": 1764,
"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": 24,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L24"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1728,
"name": "AuthError.status"
}
},
{
"id": 1766,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1767,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1768,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1772,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1773,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1770,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1769,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1771,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1772, 1770, 1769, 1771]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1731,
"name": "AuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1730,
"name": "AuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1757]
},
{
"title": "Properties",
"children": [1762, 1761, 1764]
},
{
"title": "Methods",
"children": [1766]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 93,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L93"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1720,
"name": "AuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1935,
"name": "AuthWeakPasswordError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error thrown when a supplied password is considered weak."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { AuthWeakPasswordError } from '@supabase/auth-js'\n\nthrow new AuthWeakPasswordError('Password too short', 400, ['min_length'])\n```"
}
]
}
]
},
"children": [
{
"id": 1936,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 321,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L321"
}
],
"signatures": [
{
"id": 1937,
"name": "AuthWeakPasswordError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 321,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L321"
}
],
"parameters": [
{
"id": 1938,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1939,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1940,
"name": "reasons",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "literal",
"value": "length"
},
{
"type": "literal",
"value": "characters"
},
{
"type": "literal",
"value": "pwned"
}
]
}
}
}
],
"type": {
"type": "reference",
"target": 1935,
"name": "AuthWeakPasswordError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1776,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1775,
"name": "CustomAuthError.constructor"
}
},
{
"id": 1953,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1954,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1783,
"name": "CustomAuthError.code"
}
},
{
"id": 1951,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1781,
"name": "CustomAuthError.name"
}
},
{
"id": 1941,
"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": 319,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L319"
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "literal",
"value": "length"
},
{
"type": "literal",
"value": "characters"
},
{
"type": "literal",
"value": "pwned"
}
]
}
}
},
{
"id": 1952,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1782,
"name": "CustomAuthError.status"
}
},
{
"id": 1942,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 327,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L327"
}
],
"signatures": [
{
"id": 1943,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 327,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L327"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1944,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1948,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 331,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L331"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1949,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1946,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 329,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L329"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1945,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 328,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L328"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1950,
"name": "reasons",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 332,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L332"
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "literal",
"value": "length"
},
{
"type": "literal",
"value": "characters"
},
{
"type": "literal",
"value": "pwned"
}
]
}
}
},
{
"id": 1947,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 330,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L330"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1948, 1946, 1945, 1950, 1947]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 327,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L327"
}
]
}
},
"overwrites": {
"type": "reference",
"target": 1787,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
"target": 1786,
"name": "CustomAuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1936]
},
{
"title": "Properties",
"children": [1953, 1951, 1941, 1952]
},
{
"title": "Methods",
"children": [1942]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 315,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L315"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
}
]
},
{
"id": 1774,
"name": "CustomAuthError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Flexible error class used to create named auth errors at runtime."
}
],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { CustomAuthError } from '@supabase/auth-js'\n\nthrow new CustomAuthError('My custom auth error', 'MyAuthError', 400, 'custom_code')\n```"
}
]
}
]
},
"children": [
{
"id": 1775,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 117,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L117"
}
],
"signatures": [
{
"id": 1776,
"name": "CustomAuthError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 117,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L117"
}
],
"parameters": [
{
"id": 1777,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1778,
"name": "name",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1779,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1780,
"name": "code",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"type": {
"type": "reference",
"target": 1774,
"name": "CustomAuthError",
"package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
"target": 1722,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1721,
"name": "AuthError.constructor"
}
},
{
"id": 1783,
"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": 21,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L21"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1784,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1726,
"name": "AuthError.code"
}
},
{
"id": 1781,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 114,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "AuthError.name"
}
},
{
"id": 1782,
"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": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"target": 1728,
"name": "AuthError.status"
}
},
{
"id": 1786,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"signatures": [
{
"id": 1787,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1788,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1792,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 39,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L39"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reflection",
"declaration": {
"id": 1793,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
]
},
{
"type": "reference",
"target": {
"sourceFileName": "src/lib/error-codes.ts",
"qualifiedName": "ErrorCode"
},
"name": "ErrorCode",
"package": "@supabase/auth-js"
}
]
}
},
{
"id": 1790,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 37,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L37"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1789,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 36,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1791,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 38,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L38"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1792, 1790, 1789, 1791]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 35,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L35"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1731,
"name": "AuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1730,
"name": "AuthError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1775]
},
{
"title": "Properties",
"children": [1783, 1781, 1782]
},
{
"title": "Methods",
"children": [1786]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/lib/errors.ts",
"line": 113,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/lib/errors.ts#L113"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1720,
"name": "AuthError",
"package": "@supabase/auth-js"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1794,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
"target": 1810,
"name": "AuthInvalidTokenResponseError"
},
{
"type": "reference",
"target": 1826,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
"target": 1843,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
"target": 1872,
"name": "AuthPKCEGrantCodeExchangeError"
},
{
"type": "reference",
"target": 1901,
"name": "AuthPKCECodeVerifierMissingError"
},
{
"type": "reference",
"target": 1917,
"name": "AuthRetryableFetchError"
},
{
"type": "reference",
"target": 1935,
"name": "AuthWeakPasswordError"
},
{
"type": "reference",
"target": 1956,
"name": "AuthInvalidJwtError"
}
]
},
{
"id": 1,
"name": "GoTrueAdminApi",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 2,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 92,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L92"
}
],
"signatures": [
{
"id": 3,
"name": "GoTrueAdminApi",
"variant": "signature",
"kind": 16384,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Creates an admin API client that can be used to manage users and OAuth clients."
}
],
"blockTags": [
{
"tag": "@example",
"name": "Using supabase-js (recommended)",
"content": [
{
"kind": "code",
"text": "```ts\nimport { createClient } from '@supabase/supabase-js'\n\nconst supabase = createClient('https://xyzcompany.supabase.co', 'your-secret-key')\nconst { data, error } = await supabase.auth.admin.listUsers()\n```"
}
]
},
{
"tag": "@example",
"name": "Standalone import for bundle-sensitive environments",
"content": [
{
"kind": "code",
"text": "```ts\nimport { GoTrueAdminApi } from '@supabase/auth-js'\n\nconst admin = new GoTrueAdminApi({\n url: 'https://xyzcompany.supabase.co/auth/v1',\n headers: { Authorization: `Bearer ${process.env.SUPABASE_SECRET_KEY}` },\n})\n```"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 92,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L92"
}
],
"parameters": [
{
"id": 4,
"name": "__namedParameters",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 5,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 19,
"name": "experimental",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 103,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L103"
}
],
"type": {
"type": "reference",
"target": 778,
"name": "ExperimentalFeatureFlags",
"package": "@supabase/auth-js"
}
},
{
"id": 11,
"name": "fetch",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 102,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L102"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 12,
"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/globals.d.ts",
"line": 289,
"character": 13
}
],
"signatures": [
{
"id": 13,
"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": 14,
"name": "input",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "URL"
},
"name": "URL",
"package": "typescript"
},
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "RequestInfo"
},
"name": "RequestInfo",
"package": "typescript"
}
]
}
},
{
"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": "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": 16,
"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/globals.d.ts",
"line": 289,
"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": "URL"
},
"name": "URL",
"package": "typescript"
},
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Request"
},
"name": "Request",
"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": "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": 99,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L99"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 8,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 99,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L99"
}
],
"indexSignatures": [
{
"id": 9,
"name": "__index",
"variant": "signature",
"kind": 8192,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 100,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L100"
}
],
"parameters": [
{
"id": 10,
"name": "key",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
"defaultValue": "{}"
},
{
"id": 6,
"name": "url",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 98,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L98"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "''"
}
],
"groups": [
{
"title": "Properties",
"children": [19, 11, 7, 6]
}
],
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 97,
"character": 5,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L97"
}
]
}
}
}
],
"type": {
"type": "reference",
"target": 1,
"name": "GoTrueAdminApi",
"package": "@supabase/auth-js",
"qualifiedName": "default"
}
}
]
},
{
"id": 22,
"name": "customProviders",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Contains all custom OIDC/OAuth provider administration methods."
}
]
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 55,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L55"
}
],
"type": {
"type": "reference",
"target": 1523,
"name": "GoTrueAdminCustomProvidersApi",
"package": "@supabase/auth-js"
}
},
{
"id": 20,
"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": 46,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L46"
}
],
"type": {
"type": "reference",
"target": 1276,
"name": "GoTrueAdminMFAApi",
"package": "@supabase/auth-js"
}
},
{
"id": 21,
"name": "oauth",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Contains all OAuth client administration methods.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
}
]
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 52,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L52"
}
],
"type": {
"type": "reference",
"target": 1408,
"name": "GoTrueAdminOAuthApi",
"package": "@supabase/auth-js"
}
},
{
"id": 23,
"name": "passkey",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Contains all passkey administration methods.\n\nRequires "
},
{
"kind": "code",
"text": "`auth.experimental.passkey: true`"
},
{
"kind": "text",
"text": "; otherwise all methods throw."
}
]
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 62,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L62"
}
],
"type": {
"type": "reference",
"target": 1692,
"name": "GoTrueAdminPasskeyApi",
"package": "@supabase/auth-js"
}
},
{
"id": 55,
"name": "createUser",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 485,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L485"
}
],
"signatures": [
{
"id": 56,
"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."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "Auth"
}
]
},
{
"tag": "@subcategory",
"content": [
{
"kind": "text",
"text": "Auth Admin"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- To confirm the user's email address or phone number, set "
},
{
"kind": "code",
"text": "`email_confirm`"
},
{
"kind": "text",
"text": " or "
},
{
"kind": "code",
"text": "`phone_confirm`"
},
{
"kind": "text",
"text": " to true. Both arguments default to false.\n- "
},
{
"kind": "code",
"text": "`createUser()`"
},
{
"kind": "text",
"text": " will not send a confirmation email to the user. You can use ["
},
{
"kind": "code",
"text": "`inviteUserByEmail()`"
},
{
"kind": "text",
"text": "](/docs/reference/javascript/auth-admin-inviteuserbyemail) if you want to send them an email invite instead.\n- If you are sure that the created user's email or phone number is legitimate and verified, you can set the "
},
{
"kind": "code",
"text": "`email_confirm`"
},
{
"kind": "text",
"text": " or "
},
{
"kind": "code",
"text": "`phone_confirm`"
},
{
"kind": "text",
"text": " param to "
},
{
"kind": "code",
"text": "`true`"
},
{
"kind": "text",
"text": "."
}
]
},
{
"tag": "@example",
"name": "With custom user metadata",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase.auth.admin.createUser({\n email: 'user@email.com',\n password: 'password',\n user_metadata: { name: 'Yoda' }\n})\n```"
}
]
},
{
"tag": "@exampleResponse",
"content": [
{
"kind": "text",
"text": "With custom user metadata\n"
},
{
"kind": "code",
"text": "```json\n{\n data: {\n user: {\n id: '1',\n aud: 'authenticated',\n role: 'authenticated',\n email: 'example@email.com',\n email_confirmed_at: '2024-01-01T00:00:00Z',\n phone: '',\n confirmation_sent_at: '2024-01-01T00:00:00Z',\n confirmed_at: '2024-01-01T00:00:00Z',\n last_sign_in_at: '2024-01-01T00:00:00Z',\n app_metadata: {},\n user_metadata: {},\n identities: [\n {\n \"identity_id\": \"22222222-2222-2222-2222-222222222222\",\n \"id\": \"1\",\n \"user_id\": \"1\",\n \"identity_data\": {\n \"email\": \"example@email.com\",\n \"email_verified\": true,\n \"phone_verified\": false,\n \"sub\": \"1\"\n },\n \"provider\": \"email\",\n \"last_sign_in_at\": \"2024-01-01T00:00:00Z\",\n \"created_at\": \"2024-01-01T00:00:00Z\",\n \"updated_at\": \"2024-01-01T00:00:00Z\",\n \"email\": \"email@example.com\"\n },\n ],\n created_at: '2024-01-01T00:00:00Z',\n updated_at: '2024-01-01T00:00:00Z',\n is_anonymous: false,\n }\n }\n error: null\n}\n```"
}
]
},
{
"tag": "@example",
"name": "Auto-confirm the user's email",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase.auth.admin.createUser({\n email: 'user@email.com',\n email_confirm: true\n})\n```"
}
]
},
{
"tag": "@example",
"name": "Auto-confirm the user's phone number",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase.auth.admin.createUser({\n phone: '1234567890',\n phone_confirm: true\n})\n```"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 485,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L485"
}
],
"parameters": [
{
"id": 57,
"name": "attributes",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 930,
"name": "AdminUserAttributes",
"package": "@supabase/auth-js"
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "reference",
"target": 847,
"name": "UserResponse",
"package": "@supabase/auth-js"
}
],
"name": "Promise",
"package": "typescript"
}
}
]
},
{
"id": 79,
"name": "deleteUser",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 839,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L839"
}
],
"signatures": [
{
"id": 80,
"name": "deleteUser",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Delete a user. Requires a "
},
{
"kind": "code",
"text": "`service_role`"
},
{
"kind": "text",
"text": " key."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "Auth"
}
]
},
{
"tag": "@subcategory",
"content": [
{
"kind": "text",
"text": "Auth Admin"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- The "
},
{
"kind": "code",
"text": "`deleteUser()`"
},
{
"kind": "text",
"text": " method requires the user's ID, which maps to the "
},
{
"kind": "code",
"text": "`auth.users.id`"
},
{
"kind": "text",
"text": " column."
}
]
},
{
"tag": "@example",
"name": "Removes a user",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase.auth.admin.deleteUser(\n '715ed5db-f090-4b8c-a067-640ecee36aa0'\n)\n```"
}
]
},
{
"tag": "@exampleResponse",
"content": [
{
"kind": "text",
"text": "Removes a user\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"user\": {}\n },\n \"error\": null\n}\n```"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 839,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L839"
}
],
"parameters": [
{
"id": 81,
"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": 82,
"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": "reference",
"target": 847,
"name": "UserResponse",
"package": "@supabase/auth-js"
}
],
"name": "Promise",
"package": "typescript"
}
}
]
},
{
"id": 52,
"name": "generateLink",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts",
"line": 375,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/auth-js/src/GoTrueAdminApi.ts#L375"
}
],
"signatures": [
{
"id": 53,
"name": "generateLink",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Generates email links and OTPs to be sent via a custom email provider."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "Auth"
}
]
},
{
"tag": "@subcategory",
"content": [
{
"kind": "text",
"text": "Auth Admin"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- The following types can be passed into "
},
{
"kind": "code",
"text": "`generateLink()`"
},
{
"kind": "text",
"text": ": "
},
{
"kind": "code",
"text": "`signup`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`magiclink`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`invite`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`recovery`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`email_change_current`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`email_change_new`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`phone_change`"
},
{
"kind": "text",
"text": ".\n- "
},
{
"kind": "code",
"text": "`generateLink()`"
},
{
"kind": "text",
"text": " only generates the email link for "
},
{
"kind": "code",
"text": "`email_change_email`"
},
{
"kind": "text",
"text": " if the **Secure email change** is enabled in your project's [email auth provider settings](/dashboard/project/_/auth/providers).\n- "
},
{
"kind": "code",
"text": "`generateLink()`"
},
{
"kind": "text",
"text": " handles the creation of the user for "
},
{
"kind": "code",
"text": "`signup`"
},
{
"kind": "text",
"text": ", "
},
{
"kind": "code",
"text": "`invite`"
},
{
"kind": "text",
"text": " and "
},
{
"kind": "code",
"text": "`magiclink`"
},
{
"kind": "text",
"text": "."
}
]
},
{
"tag": "@example",
"name": "Generate a signup link",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase.auth.admin.generateLink({\n type: 'signup',\n email: 'email@example.com',\n password: 'secret'\n})\n```"
}
]
},
{
"tag": "@exampleResponse",
"content": [
{
"kind": "text",
"text": "Generate a signup link\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"properties\": {\n \"action_link\": \" \n \n \n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n
\n
\n Supabase Auth JS SDK
\n\n An isomorphic JavaScript SDK for the Supabase Auth API.
\n\n