Files
supabase/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
2024-01-03 18:54:23 +01:00

7128 lines
268 KiB
JSON

{
"id": 0,
"name": "@supabase/supabase-js",
"kind": 1,
"flags": {},
"originalName": "",
"children": [
{
"id": 1,
"name": "index",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 211,
"name": "QueryData",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 20,
"character": 50
}
],
"target": 106
},
{
"id": 212,
"name": "QueryError",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 20,
"character": 61
}
],
"target": 110
},
{
"id": 210,
"name": "QueryResult",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 20,
"character": 37
}
],
"target": 104
},
{
"id": 209,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 20,
"character": 14
}
],
"target": 60
},
{
"id": 113,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"comment": {
"shortText": "Supabase Client.",
"text": "An isomorphic Javascript client for interacting with Postgres.\n"
},
"children": [
{
"id": 114,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 83,
"character": 2
}
],
"signatures": [
{
"id": 115,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"comment": {
"shortText": "Create a new client for use in the browser."
},
"typeParameter": [
{
"id": 116,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 117,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"default": {
"type": "conditional",
"checkType": {
"type": "literal",
"value": "public"
},
"extendsType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"trueType": {
"type": "literal",
"value": "public"
},
"falseType": {
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 116,
"name": "Database"
}
}
]
}
}
},
{
"id": 118,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"default": {
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 117,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "any"
},
"objectType": {
"type": "intrinsic",
"name": "any"
}
},
"falseType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"parameters": [
{
"id": 119,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 120,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 121,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "reference",
"id": 117,
"name": "SchemaName"
}
],
"name": "SupabaseClientOptions",
"dereferenced": {
"id": 60,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 12
}
],
"typeParameter": [
{
"id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 65,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 66,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 67,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 23,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 73,
"name": "debug",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "debug"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 70,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 72,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "flowType"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 74,
"name": "lock",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
"tags": [
{
"tag": "experimental",
"text": "\n"
}
]
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "lock"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 69,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Whether to persist a logged-in session to storage. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 71,
"name": "storage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A storage provider. Used to store the logged-in session."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "storage"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 68,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional key name used for storing tokens in local storage."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 27,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
67,
73,
70,
72,
74,
69,
71,
68
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 9
}
]
}
}
},
{
"id": 62,
"name": "db",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 64,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"id": 80,
"name": "SchemaName",
"dereferenced": {}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
64
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 7
}
]
}
}
},
{
"id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A custom `fetch` implementation."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 4
}
],
"type": {
"type": "reference",
"id": 59,
"name": "Fetch",
"dereferenced": {
"id": 59,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 9,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
}
}
},
{
"id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional headers for initializing the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 67,
"character": 4
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
78,
79
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 11
}
]
}
}
},
{
"id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the realtime-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 58,
"character": 2
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
65,
62,
76,
75
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 48
}
]
}
}
}
}
}
],
"type": {
"type": "reference",
"id": 113,
"typeArguments": [
{
"type": "reference",
"id": 116,
"name": "Database"
},
{
"type": "reference",
"id": 117,
"name": "SchemaName"
},
{
"type": "reference",
"id": 118,
"name": "Schema"
}
],
"name": "default"
}
}
]
},
{
"id": 122,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
"shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 55,
"character": 2
}
],
"type": {
"type": "reference",
"name": "SupabaseAuthClient"
}
},
{
"id": 125,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 59,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 135,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isOptional": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 65,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 130,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isOptional": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 64,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 131,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 132,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 133,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
},
{
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
}
]
}
},
{
"id": 134,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 127,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 61,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 136,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 67,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 137,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
"id": 138,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
"id": 139,
"name": "key",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 123,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 56,
"character": 2
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 124,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 58,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 128,
"name": "rest",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 62,
"character": 12
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 116,
"name": "Database"
},
{
"type": "reference",
"id": 117,
"name": "SchemaName"
},
{
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 117,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
"qualifiedName": "GenericSchema",
"package": "@supabase/postgrest-js",
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "any"
},
"objectType": {
"type": "intrinsic",
"name": "any"
}
},
"falseType": {
"type": "intrinsic",
"name": "any"
}
}
],
"qualifiedName": "PostgrestClient",
"package": "@supabase/postgrest-js",
"name": "default"
}
},
{
"id": 129,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 63,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 126,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 60,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 141,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 140,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 142,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 132,
"character": 6
}
],
"getSignature": [
{
"id": 143,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"comment": {
"shortText": "Supabase Functions allows you to deploy and invoke edge functions."
},
"type": {
"type": "reference",
"qualifiedName": "FunctionsClient",
"package": "@supabase/functions-js",
"name": "FunctionsClient"
}
}
]
},
{
"id": 144,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 142,
"character": 6
}
],
"getSignature": [
{
"id": 145,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"comment": {
"shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
},
"type": {
"type": "reference",
"qualifiedName": "StorageClient",
"package": "@supabase/storage-js",
"name": "StorageClient"
}
}
]
},
{
"id": 184,
"name": "_getAccessToken",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 259,
"character": 16
}
],
"signatures": [
{
"id": 185,
"name": "_getAccessToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 201,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 310,
"character": 10
}
],
"signatures": [
{
"id": 202,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 203,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
"id": 204,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "CLIENT"
},
{
"type": "literal",
"value": "STORAGE"
}
]
}
},
{
"id": 205,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 195,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 296,
"character": 10
}
],
"signatures": [
{
"id": 196,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 197,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 186,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 265,
"character": 10
}
],
"signatures": [
{
"id": 187,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 188,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions",
"dereferenced": {
"id": 58,
"name": "SupabaseAuthClientOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 7,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
"name": "GoTrueClientOptions"
}
]
}
}
},
{
"id": 189,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 190,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 191,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 192,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 193,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
},
{
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
}
]
}
},
{
"id": 194,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "SupabaseAuthClient"
}
}
]
},
{
"id": 198,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 303,
"character": 10
}
],
"signatures": [
{
"id": 199,
"name": "_listenForAuthEvents",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 200,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {}
}
}
}
]
},
{
"id": 173,
"name": "channel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 231,
"character": 2
}
],
"signatures": [
{
"id": 174,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
},
"parameters": [
{
"id": 175,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The name of the Realtime channel."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 176,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The options to pass to the Realtime channel.\n\n"
},
"type": {
"type": "reference",
"qualifiedName": "RealtimeChannelOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeChannelOptions"
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 146,
"name": "from",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 146,
"character": 2
}
],
"signatures": [
{
"id": 147,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a query on a table or a view."
},
"typeParameter": [
{
"id": 148,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 149,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 81,
"name": "GenericTable"
}
}
],
"parameters": [
{
"id": 150,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The table or view name to query\n"
},
"type": {
"type": "reference",
"id": 148,
"name": "TableName",
"dereferenced": {}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 118,
"name": "Schema"
},
{
"type": "reference",
"id": 149,
"name": "Table"
},
{
"type": "conditional",
"checkType": {
"type": "reference",
"id": 149,
"name": "Table"
},
"extendsType": {
"type": "reflection",
"declaration": {
"id": 151,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {}
}
},
"trueType": {
"type": "reference",
"qualifiedName": "R",
"package": "@supabase/postgrest-js",
"name": "R"
},
"falseType": {
"type": "intrinsic",
"name": "unknown"
}
}
],
"qualifiedName": "PostgrestQueryBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
}
},
{
"id": 152,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a query on a table or a view."
},
"typeParameter": [
{
"id": 153,
"name": "ViewName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 154,
"name": "View",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 94,
"name": "GenericView"
}
}
],
"parameters": [
{
"id": 155,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The table or view name to query\n"
},
"type": {
"type": "reference",
"id": 153,
"name": "ViewName",
"dereferenced": {}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 118,
"name": "Schema"
},
{
"type": "reference",
"id": 154,
"name": "View"
},
{
"type": "conditional",
"checkType": {
"type": "reference",
"id": 154,
"name": "View"
},
"extendsType": {
"type": "reflection",
"declaration": {
"id": 156,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {}
}
},
"trueType": {
"type": "reference",
"qualifiedName": "R",
"package": "@supabase/postgrest-js",
"name": "R"
},
"falseType": {
"type": "intrinsic",
"name": "unknown"
}
}
],
"qualifiedName": "PostgrestQueryBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
}
},
{
"id": 157,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a query on a table or a view."
},
"parameters": [
{
"id": 158,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The table or view name to query\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 118,
"name": "Schema"
},
{
"type": "intrinsic",
"name": "any"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "PostgrestQueryBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
}
}
]
},
{
"id": 177,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 238,
"character": 2
}
],
"signatures": [
{
"id": 178,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Returns all Realtime channels."
},
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
}
}
]
},
{
"id": 182,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 255,
"character": 2
}
],
"signatures": [
{
"id": 183,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Unsubscribes and removes all Realtime channels from Realtime client."
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "literal",
"value": "error"
},
{
"type": "literal",
"value": "ok"
},
{
"type": "literal",
"value": "timed out"
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 179,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 248,
"character": 2
}
],
"signatures": [
{
"id": 180,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Unsubscribes and removes Realtime channel from Realtime client."
},
"parameters": [
{
"id": 181,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The name of the Realtime channel.\n\n"
},
"type": {
"type": "reference",
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "literal",
"value": "error"
},
{
"type": "literal",
"value": "ok"
},
{
"type": "literal",
"value": "timed out"
}
]
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 163,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 202,
"character": 2
}
],
"signatures": [
{
"id": 164,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a function call."
},
"typeParameter": [
{
"id": 165,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 166,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 95,
"name": "GenericFunction"
}
}
],
"parameters": [
{
"id": 167,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The function name to call"
},
"type": {
"type": "reference",
"id": 165,
"name": "FunctionName",
"dereferenced": {}
}
},
{
"id": 168,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The arguments to pass to the function call"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "Args"
},
"objectType": {
"type": "reference",
"id": 166,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
"id": 169,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Named parameters"
},
"type": {
"type": "reflection",
"declaration": {
"id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 172,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 210,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 171,
"name": "head",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 209,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
172,
171
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 118,
"name": "Schema"
},
{
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "Returns"
},
"objectType": {
"type": "reference",
"id": 166,
"name": "Function_"
}
},
"extendsType": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
"trueType": {
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "number"
},
"objectType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "any"
},
"objectType": {
"type": "intrinsic",
"name": "any"
}
}
},
"extendsType": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "any"
},
"objectType": {
"type": "intrinsic",
"name": "any"
}
},
"falseType": {
"type": "intrinsic",
"name": "never"
}
},
"falseType": {
"type": "intrinsic",
"name": "never"
}
},
{
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "Returns"
},
"objectType": {
"type": "reference",
"id": 166,
"name": "Function_"
}
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
}
}
]
},
{
"id": 159,
"name": "schema",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 171,
"character": 2
}
],
"signatures": [
{
"id": 160,
"name": "schema",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a query on a schema distinct from the default schema supplied via\nthe `options.db.schema` constructor parameter.",
"text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
},
"typeParameter": [
{
"id": 161,
"name": "DynamicSchema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"parameters": [
{
"id": 162,
"name": "schema",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The name of the schema to query\n"
},
"type": {
"type": "reference",
"id": 161,
"name": "DynamicSchema",
"dereferenced": {}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 116,
"name": "Database"
},
{
"type": "reference",
"id": 161,
"name": "DynamicSchema"
},
{
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 161,
"name": "DynamicSchema"
},
"objectType": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "any"
},
"objectType": {
"type": "intrinsic",
"name": "any"
}
},
"falseType": {
"type": "intrinsic",
"name": "any"
}
}
],
"qualifiedName": "PostgrestClient",
"package": "@supabase/postgrest-js",
"name": "default"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
114
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
122,
125,
135,
130,
127,
136,
123,
124,
128,
129,
126,
141,
140
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
142,
144
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
184,
201,
195,
186,
198,
173,
146,
177,
182,
179,
163,
159
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 43,
"character": 21
}
],
"typeParameter": [
{
"id": 206,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 207,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 116,
"name": "Database"
}
}
]
},
"default": {
"type": "conditional",
"checkType": {
"type": "literal",
"value": "public"
},
"extendsType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"trueType": {
"type": "literal",
"value": "public"
},
"falseType": {
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 116,
"name": "Database"
}
}
]
}
}
},
{
"id": 208,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"default": {
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 117,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 117,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
"id": 116,
"name": "Database"
}
},
"falseType": {
"type": "intrinsic",
"name": "any"
}
}
}
]
},
{
"id": 2,
"name": "createClient",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 25,
"character": 13
}
],
"signatures": [
{
"id": 3,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Creates a new Supabase Client."
},
"typeParameter": [
{
"id": 4,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 5,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"default": {
"type": "conditional",
"checkType": {
"type": "literal",
"value": "public"
},
"extendsType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 4,
"name": "Database"
}
},
"trueType": {
"type": "literal",
"value": "public"
},
"falseType": {
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 4,
"name": "Database"
}
}
]
}
}
},
{
"id": 6,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"default": {
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 5,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
"id": 4,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
"id": 99,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "any"
},
"objectType": {
"type": "intrinsic",
"name": "any"
}
},
"falseType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"parameters": [
{
"id": 7,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 8,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 9,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "reference",
"id": 5,
"name": "SchemaName"
}
],
"name": "SupabaseClientOptions",
"dereferenced": {
"id": 60,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 12
}
],
"typeParameter": [
{
"id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 65,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 66,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 67,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 23,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 73,
"name": "debug",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "debug"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 70,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 72,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "flowType"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 74,
"name": "lock",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
"tags": [
{
"tag": "experimental",
"text": "\n"
}
]
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "lock"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 69,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Whether to persist a logged-in session to storage. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 71,
"name": "storage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A storage provider. Used to store the logged-in session."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "storage"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 68,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional key name used for storing tokens in local storage."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 27,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
67,
73,
70,
72,
74,
69,
71,
68
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 9
}
]
}
}
},
{
"id": 62,
"name": "db",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 64,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"id": 80,
"name": "SchemaName",
"dereferenced": {}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
64
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 7
}
]
}
}
},
{
"id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A custom `fetch` implementation."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 4
}
],
"type": {
"type": "reference",
"id": 59,
"name": "Fetch",
"dereferenced": {
"id": 59,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 9,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
}
}
},
{
"id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional headers for initializing the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 67,
"character": 4
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
78,
79
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 11
}
]
}
}
},
{
"id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the realtime-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 58,
"character": 2
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
65,
62,
76,
75
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 48
}
]
}
}
}
}
}
],
"type": {
"type": "reference",
"id": 113,
"typeArguments": [
{
"type": "reference",
"id": 4,
"name": "Database"
},
{
"type": "reference",
"id": 5,
"name": "SchemaName"
},
{
"type": "reference",
"id": 6,
"name": "Schema"
}
],
"name": "default"
}
}
]
}
],
"groups": [
{
"title": "References",
"kind": 16777216,
"children": [
211,
212,
210,
209
]
},
{
"title": "Classes",
"kind": 128,
"children": [
113
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2
]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 10,
"name": "lib/constants",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 11,
"name": "DEFAULT_HEADERS",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true
},
"sources": [
{
"fileName": "src/lib/constants.ts",
"line": 14,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 12,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 13,
"name": "X-Client-Info",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/constants.ts",
"line": 14,
"character": 33
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
13
]
}
]
}
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
11
]
}
],
"sources": [
{
"fileName": "src/lib/constants.ts",
"line": 2,
"character": 0
}
]
},
{
"id": 14,
"name": "lib/fetch",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 28,
"name": "fetchWithAuth",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/fetch.ts",
"line": 26,
"character": 13
}
],
"signatures": [
{
"id": 29,
"name": "fetchWithAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 30,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 31,
"name": "getAccessToken",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 32,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 33,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 34,
"name": "customFetch",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 35,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 36,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 37,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
},
{
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
}
]
}
},
{
"id": 38,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 39,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 40,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 41,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
},
{
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
}
]
}
},
{
"id": 42,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
}
]
},
{
"id": 15,
"name": "resolveFetch",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/fetch.ts",
"line": 6,
"character": 13
}
],
"signatures": [
{
"id": 16,
"name": "resolveFetch",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 17,
"name": "customFetch",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 18,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 19,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 20,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
},
{
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
}
]
}
},
{
"id": 21,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 22,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 23,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 24,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
},
{
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
}
]
}
},
{
"id": 25,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
}
]
},
{
"id": 26,
"name": "resolveHeadersConstructor",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/fetch.ts",
"line": 18,
"character": 13
}
],
"signatures": [
{
"id": 27,
"name": "resolveHeadersConstructor",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
28,
15,
26
]
}
],
"sources": [
{
"fileName": "src/lib/fetch.ts",
"line": 2,
"character": 0
}
]
},
{
"id": 43,
"name": "lib/helpers",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 49,
"name": "applySettingDefaults",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 18,
"character": 16
}
],
"signatures": [
{
"id": 50,
"name": "applySettingDefaults",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
"id": 51,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 52,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"default": {
"type": "conditional",
"checkType": {
"type": "literal",
"value": "public"
},
"extendsType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 51,
"name": "Database"
}
},
"trueType": {
"type": "literal",
"value": "public"
},
"falseType": {
"type": "intersection",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 51,
"name": "Database"
}
}
]
}
}
}
],
"parameters": [
{
"id": 53,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "reference",
"id": 52,
"name": "SchemaName"
}
],
"name": "SupabaseClientOptions",
"dereferenced": {
"id": 60,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 12
}
],
"typeParameter": [
{
"id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 65,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 66,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 67,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 23,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 73,
"name": "debug",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "debug"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 70,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 72,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "flowType"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 74,
"name": "lock",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
"tags": [
{
"tag": "experimental",
"text": "\n"
}
]
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "lock"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 69,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Whether to persist a logged-in session to storage. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 71,
"name": "storage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A storage provider. Used to store the logged-in session."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "storage"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 68,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional key name used for storing tokens in local storage."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 27,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
67,
73,
70,
72,
74,
69,
71,
68
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 9
}
]
}
}
},
{
"id": 62,
"name": "db",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 64,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"id": 80,
"name": "SchemaName",
"dereferenced": {}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
64
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 7
}
]
}
}
},
{
"id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A custom `fetch` implementation."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 4
}
],
"type": {
"type": "reference",
"id": 59,
"name": "Fetch",
"dereferenced": {
"id": 59,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 9,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
}
}
},
{
"id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional headers for initializing the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 67,
"character": 4
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
78,
79
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 11
}
]
}
}
},
{
"id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the realtime-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 58,
"character": 2
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
65,
62,
76,
75
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 48
}
]
}
}
}
}
},
{
"id": 54,
"name": "defaults",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "SupabaseClientOptions",
"dereferenced": {
"id": 60,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 12
}
],
"typeParameter": [
{
"id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 65,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 66,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 67,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 23,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 73,
"name": "debug",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "debug"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 70,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 72,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "flowType"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 74,
"name": "lock",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
"tags": [
{
"tag": "experimental",
"text": "\n"
}
]
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "lock"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 69,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Whether to persist a logged-in session to storage. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 71,
"name": "storage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A storage provider. Used to store the logged-in session."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "storage"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 68,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional key name used for storing tokens in local storage."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 27,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
67,
73,
70,
72,
74,
69,
71,
68
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 9
}
]
}
}
},
{
"id": 62,
"name": "db",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 64,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"id": 80,
"name": "SchemaName",
"dereferenced": {}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
64
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 7
}
]
}
}
},
{
"id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A custom `fetch` implementation."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 4
}
],
"type": {
"type": "reference",
"id": 59,
"name": "Fetch",
"dereferenced": {
"id": 59,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 9,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
}
}
},
{
"id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional headers for initializing the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 67,
"character": 4
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
78,
79
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 11
}
]
}
}
},
{
"id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the realtime-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 58,
"character": 2
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
65,
62,
76,
75
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 48
}
]
}
}
}
}
}
],
"type": {
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "reference",
"id": 52,
"name": "SchemaName"
}
],
"name": "SupabaseClientOptions"
}
}
]
},
{
"id": 55,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 16,
"character": 13
}
],
"signatures": [
{
"id": 56,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 46,
"name": "stripTrailingSlash",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 12,
"character": 16
}
],
"signatures": [
{
"id": 47,
"name": "stripTrailingSlash",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 48,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 44,
"name": "uuid",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 4,
"character": 16
}
],
"signatures": [
{
"id": 45,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
49,
55,
46,
44
]
}
],
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 2,
"character": 0
}
]
},
{
"id": 57,
"name": "lib/types",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 58,
"name": "SupabaseAuthClientOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 7,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
"name": "GoTrueClientOptions"
}
]
},
{
"id": 59,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 9,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
},
{
"id": 95,
"name": "GenericFunction",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 89,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 96,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 97,
"name": "Args",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 90,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 98,
"name": "Returns",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 91,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
97,
98
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 89,
"character": 30
}
]
}
}
},
{
"id": 91,
"name": "GenericNonUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 83,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 93,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 84,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
93
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 83,
"character": 38
}
]
}
}
},
{
"id": 99,
"name": "GenericSchema",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 94,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 100,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 103,
"name": "Functions",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 97,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"id": 95,
"name": "GenericFunction"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 101,
"name": "Tables",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 95,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"id": 81,
"name": "GenericTable"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 102,
"name": "Views",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 96,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"id": 94,
"name": "GenericView"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
103,
101,
102
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 94,
"character": 28
}
]
}
}
},
{
"id": 81,
"name": "GenericTable",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 71,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 82,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 84,
"name": "Insert",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 73,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 83,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 72,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 85,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 74,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
84,
83,
85
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 71,
"character": 27
}
]
}
}
},
{
"id": 86,
"name": "GenericUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 77,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 89,
"name": "Insert",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 79,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 88,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 78,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 90,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 80,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
89,
88,
90
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 77,
"character": 35
}
]
}
}
},
{
"id": 94,
"name": "GenericView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 87,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"id": 86,
"name": "GenericUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 77,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 89,
"name": "Insert",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 79,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 88,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 78,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
},
{
"id": 90,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 80,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
89,
88,
90
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 77,
"character": 35
}
]
}
}
},
{
"id": 91,
"name": "GenericNonUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 83,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 93,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 84,
"character": 2
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
93
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 83,
"character": 38
}
]
}
}
}
]
}
},
{
"id": 106,
"name": "QueryData",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 104,
"character": 12
}
],
"typeParameter": [
{
"id": 109,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "conditional",
"checkType": {
"type": "reference",
"id": 109,
"name": "T"
},
"extendsType": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 108,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 104,
"character": 51
}
],
"type": {
"type": "inferred",
"name": "U"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
108
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 104,
"character": 49
}
]
}
}
],
"qualifiedName": "PromiseLike",
"package": "typescript",
"name": "PromiseLike"
},
"trueType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "U"
},
{
"type": "literal",
"value": null
}
],
"qualifiedName": "Exclude",
"package": "typescript",
"name": "Exclude"
},
"falseType": {
"type": "intrinsic",
"name": "never"
}
}
},
{
"id": 110,
"name": "QueryError",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 105,
"character": 12
}
],
"type": {
"type": "reference",
"qualifiedName": "PostgrestError",
"package": "@supabase/postgrest-js",
"name": "PostgrestError"
}
},
{
"id": 104,
"name": "QueryResult",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"shortText": "Helper types for query results."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 103,
"character": 12
}
],
"typeParameter": [
{
"id": 105,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "conditional",
"checkType": {
"type": "reference",
"id": 105,
"name": "T"
},
"extendsType": {
"type": "reference",
"typeArguments": [
{
"type": "inferred",
"name": "U"
}
],
"qualifiedName": "PromiseLike",
"package": "typescript",
"name": "PromiseLike"
},
"trueType": {
"type": "reference",
"name": "U"
},
"falseType": {
"type": "intrinsic",
"name": "never"
}
}
},
{
"id": 60,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 12
}
],
"typeParameter": [
{
"id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 65,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 66,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 67,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 23,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 73,
"name": "debug",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "debug"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 70,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 72,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "flowType"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 74,
"name": "lock",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
"tags": [
{
"tag": "experimental",
"text": "\n"
}
]
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "lock"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 69,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Whether to persist a logged-in session to storage. Defaults to true."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 71,
"name": "storage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A storage provider. Used to store the logged-in session."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "storage"
},
"objectType": {
"type": "reference",
"id": 58,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 68,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional key name used for storing tokens in local storage."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 27,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
67,
73,
70,
72,
74,
69,
71,
68
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 19,
"character": 9
}
]
}
}
},
{
"id": 62,
"name": "db",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 64,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"id": 80,
"name": "SchemaName",
"dereferenced": {}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
64
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 15,
"character": 7
}
]
}
}
},
{
"id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A custom `fetch` implementation."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 4
}
],
"type": {
"type": "reference",
"id": 59,
"name": "Fetch",
"dereferenced": {
"id": 59,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 9,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
}
}
},
{
"id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional headers for initializing the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 67,
"character": 4
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
],
"qualifiedName": "Record",
"package": "typescript",
"name": "Record"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
78,
79
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 59,
"character": 11
}
]
}
}
},
{
"id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the realtime-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 58,
"character": 2
}
],
"type": {
"type": "reference",
"qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
65,
62,
76,
75
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 11,
"character": 48
}
]
}
}
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
58
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
59,
95,
91,
99,
81,
86,
94,
106,
110,
104,
60
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 111,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 112,
"name": "version",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true
},
"sources": [
{
"fileName": "src/lib/version.ts",
"line": 1,
"character": 13
}
],
"type": {
"type": "literal",
"value": "0.0.0-automated"
},
"defaultValue": "'0.0.0-automated'"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
112
]
}
],
"sources": [
{
"fileName": "src/lib/version.ts",
"line": 1,
"character": 0
}
]
}
],
"groups": [
{
"title": "Modules",
"kind": 2,
"children": [
1,
10,
14,
43,
57,
111
]
}
]
}