mirror of
https://github.com/supabase/supabase.git
synced 2026-07-04 02:54:28 +08:00
9423 lines
226 KiB
JSON
9423 lines
226 KiB
JSON
{
|
|
"id": 0,
|
|
"name": "@supabase/supabase-js",
|
|
"kind": 0,
|
|
"flags": {},
|
|
"originalName": "",
|
|
"children": [
|
|
{
|
|
"id": 297,
|
|
"name": "\"SupabaseClient\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
|
|
"children": [
|
|
{
|
|
"id": 298,
|
|
"name": "SupabaseClient",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Supabase Client.",
|
|
"text": "An isomorphic Javascript client for interacting with Postgres.\n"
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 311,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Create a new client for use in the browser."
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 314,
|
|
"name": "new SupabaseClient",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Create a new client for use in the browser."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 315,
|
|
"name": "supabaseUrl",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"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": 316,
|
|
"name": "supabaseKey",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"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": 317,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 39,
|
|
"name": "SupabaseClientOptions"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 298,
|
|
"name": "SupabaseClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 38,
|
|
"character": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 299,
|
|
"name": "auth",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"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": 27,
|
|
"character": 6
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 63,
|
|
"name": "SupabaseAuthClient"
|
|
}
|
|
},
|
|
{
|
|
"id": 303,
|
|
"name": "authUrl",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 32,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 306,
|
|
"name": "fetch",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 35,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 37,
|
|
"name": "Fetch"
|
|
}
|
|
},
|
|
{
|
|
"id": 307,
|
|
"name": "headers",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 36,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 308,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 309,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 310,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 36,
|
|
"character": 20
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 305,
|
|
"name": "realtime",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 34,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClient"
|
|
}
|
|
},
|
|
{
|
|
"id": 302,
|
|
"name": "realtimeUrl",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 31,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 301,
|
|
"name": "restUrl",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 30,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 300,
|
|
"name": "schema",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 29,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 304,
|
|
"name": "storageUrl",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 33,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 313,
|
|
"name": "supabaseKey",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isConstructorProperty": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 54,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 312,
|
|
"name": "supabaseUrl",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isConstructorProperty": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 53,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 318,
|
|
"name": "storage",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
|
|
},
|
|
"getSignature": [
|
|
{
|
|
"id": 319,
|
|
"name": "__get",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SupabaseStorageClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 83,
|
|
"character": 13
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 364,
|
|
"name": "_closeChannel",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 365,
|
|
"name": "_closeChannel",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 366,
|
|
"name": "subscription",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeSubscription"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 205,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 336,
|
|
"name": "_closeSubscription",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 337,
|
|
"name": "_closeSubscription",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 338,
|
|
"name": "subscription",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeSubscription"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 146,
|
|
"character": 34
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 359,
|
|
"name": "_getAuthHeaders",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 360,
|
|
"name": "_getAuthHeaders",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 361,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 362,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 363,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 197,
|
|
"character": 28
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 197,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 357,
|
|
"name": "_initPostgRESTClient",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 358,
|
|
"name": "_initPostgRESTClient",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "PostgrestClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 189,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 354,
|
|
"name": "_initRealtimeClient",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 355,
|
|
"name": "_initRealtimeClient",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 356,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClientOptions"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 182,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 341,
|
|
"name": "_initSupabaseAuthClient",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 342,
|
|
"name": "_initSupabaseAuthClient",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 343,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "__0",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 344,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 345,
|
|
"name": "autoRefreshToken",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 160,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 347,
|
|
"name": "detectSessionInUrl",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 162,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 353,
|
|
"name": "fetch",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 165,
|
|
"character": 9
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 220,
|
|
"name": "fetch"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 349,
|
|
"name": "headers",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 164,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 350,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 351,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 352,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 348,
|
|
"name": "localStorage",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 163,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Storage"
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "getItem"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "setItem"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "removeItem"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Pick"
|
|
}
|
|
],
|
|
"name": "PromisifyMethods"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 346,
|
|
"name": "persistSession",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 161,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
345,
|
|
347,
|
|
353,
|
|
349,
|
|
348,
|
|
346
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 159,
|
|
"character": 34
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 63,
|
|
"name": "SupabaseAuthClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 159,
|
|
"character": 33
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 320,
|
|
"name": "from",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 321,
|
|
"name": "from",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Perform a table operation."
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 322,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 323,
|
|
"name": "table",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The table name to operate on.\n"
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 204,
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T",
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "SupabaseQueryBuilder"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 92,
|
|
"character": 6
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 339,
|
|
"name": "getSubscriptions",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 340,
|
|
"name": "getSubscriptions",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Returns an array of all your subscriptions."
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "RealtimeSubscription"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 155,
|
|
"character": 18
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 333,
|
|
"name": "removeSubscription",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 334,
|
|
"name": "removeSubscription",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Removes an active subscription and returns the number of open connections."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 335,
|
|
"name": "subscription",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The subscription you want to remove.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeSubscription"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 129,
|
|
"character": 20
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 336,
|
|
"name": "removeAllSubscriptions",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 337,
|
|
"name": "removeAllSubscriptions",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Removes all subscriptions and disconnects the Websocket connection."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 129,
|
|
"character": 20
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 324,
|
|
"name": "rpc",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 325,
|
|
"name": "rpc",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Perform a function call."
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 326,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 327,
|
|
"name": "fn",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The function name to call."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 328,
|
|
"name": "params",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"text": "The parameters to pass to the function call."
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "object"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 329,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "__2",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 330,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 332,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Count algorithm to use to count rows in a table.\n\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 117,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 331,
|
|
"name": "head",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "When set to true, no data will be returned."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 116,
|
|
"character": 10
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "false"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
332,
|
|
331
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 114,
|
|
"character": 20
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "unknown",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 112,
|
|
"character": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
311
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
299,
|
|
303,
|
|
306,
|
|
307,
|
|
305,
|
|
302,
|
|
301,
|
|
300,
|
|
304,
|
|
313,
|
|
312
|
|
]
|
|
},
|
|
{
|
|
"title": "Accessors",
|
|
"kind": 262144,
|
|
"children": [
|
|
318
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
364,
|
|
336,
|
|
359,
|
|
357,
|
|
354,
|
|
341,
|
|
320,
|
|
339,
|
|
333,
|
|
324
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 23,
|
|
"character": 35
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 367,
|
|
"name": "DEFAULT_OPTIONS",
|
|
"kind": 2097152,
|
|
"kindString": "Object literal",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 369,
|
|
"name": "autoRefreshToken",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 12,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "true"
|
|
},
|
|
{
|
|
"id": 371,
|
|
"name": "detectSessionInUrl",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 14,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "true"
|
|
},
|
|
{
|
|
"id": 372,
|
|
"name": "headers",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 15,
|
|
"character": 9
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 373,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 374,
|
|
"name": "X-Client-Info",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/constants.ts",
|
|
"line": 3,
|
|
"character": 48
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "`supabase-js/${version}`"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
374
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "DEFAULT_HEADERS"
|
|
},
|
|
{
|
|
"id": 370,
|
|
"name": "persistSession",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 13,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "true"
|
|
},
|
|
{
|
|
"id": 368,
|
|
"name": "schema",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 11,
|
|
"character": 8
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"public\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
369,
|
|
371,
|
|
372,
|
|
370,
|
|
368
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 10,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "object"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
298
|
|
]
|
|
},
|
|
{
|
|
"title": "Object literals",
|
|
"kind": 2097152,
|
|
"children": [
|
|
367
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/SupabaseClient.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 375,
|
|
"name": "\"index\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
|
|
"children": [
|
|
{
|
|
"id": 376,
|
|
"name": "createClient",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isConst": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Creates a new Supabase Client."
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 377,
|
|
"name": "createClient",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Creates a new Supabase Client."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 378,
|
|
"name": "supabaseUrl",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 379,
|
|
"name": "supabaseKey",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 380,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 39,
|
|
"name": "SupabaseClientOptions"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 298,
|
|
"name": "SupabaseClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/index.ts",
|
|
"line": 16,
|
|
"character": 18
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Functions",
|
|
"kind": 64,
|
|
"children": [
|
|
376
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/index.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 62,
|
|
"name": "\"lib/SupabaseAuthClient\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
|
|
"children": [
|
|
{
|
|
"id": 63,
|
|
"name": "SupabaseAuthClient",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 64,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 65,
|
|
"name": "new SupabaseAuthClient",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 66,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 13,
|
|
"name": "SupabaseAuthClientOptions"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 63,
|
|
"name": "SupabaseAuthClient"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "GoTrueClient.__constructor"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseAuthClient.ts",
|
|
"line": 4,
|
|
"character": 54
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "GoTrueClient.__constructor"
|
|
}
|
|
},
|
|
{
|
|
"id": 67,
|
|
"name": "api",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 15,
|
|
"character": 7
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "GoTrueApi"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 67,
|
|
"name": "GoTrueClient.api"
|
|
}
|
|
},
|
|
{
|
|
"id": 70,
|
|
"name": "autoRefreshToken",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 24,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 70,
|
|
"name": "GoTrueClient.autoRefreshToken"
|
|
}
|
|
},
|
|
{
|
|
"id": 69,
|
|
"name": "currentSession",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The session object for the currently logged in user or null."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 23,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 69,
|
|
"name": "GoTrueClient.currentSession"
|
|
}
|
|
},
|
|
{
|
|
"id": 68,
|
|
"name": "currentUser",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The currently logged in user or null."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 19,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 68,
|
|
"name": "GoTrueClient.currentUser"
|
|
}
|
|
},
|
|
{
|
|
"id": 72,
|
|
"name": "localStorage",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 26,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SupportedStorage"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 72,
|
|
"name": "GoTrueClient.localStorage"
|
|
}
|
|
},
|
|
{
|
|
"id": 71,
|
|
"name": "persistSession",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 25,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 71,
|
|
"name": "GoTrueClient.persistSession"
|
|
}
|
|
},
|
|
{
|
|
"id": 74,
|
|
"name": "refreshTokenTimer",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 28,
|
|
"character": 31
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "query",
|
|
"queryType": {
|
|
"type": "reference",
|
|
"name": "setTimeout"
|
|
}
|
|
}
|
|
],
|
|
"name": "ReturnType"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 74,
|
|
"name": "GoTrueClient.refreshTokenTimer"
|
|
}
|
|
},
|
|
{
|
|
"id": 73,
|
|
"name": "stateChangeEmitters",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 27,
|
|
"character": 33
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Subscription"
|
|
}
|
|
],
|
|
"name": "Map"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 73,
|
|
"name": "GoTrueClient.stateChangeEmitters"
|
|
}
|
|
},
|
|
{
|
|
"id": 151,
|
|
"name": "getSessionFromUrl",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 152,
|
|
"name": "getSessionFromUrl",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Gets the session data from a URL string"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 153,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 154,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 155,
|
|
"name": "storeSession",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"text": "Optionally store the session in the browser\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 149,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
155
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 156,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 157,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 151,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 158,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 152,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
157,
|
|
158
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 150,
|
|
"character": 16
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 151,
|
|
"name": "GoTrueClient.getSessionFromUrl"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 148,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 151,
|
|
"name": "GoTrueClient.getSessionFromUrl"
|
|
}
|
|
},
|
|
{
|
|
"id": 163,
|
|
"name": "onAuthStateChange",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 164,
|
|
"name": "onAuthStateChange",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Receive a notification every time an auth event happens.",
|
|
"returns": "A subscription object which can be used to unsubscribe itself.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 165,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 166,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 167,
|
|
"name": "__call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 168,
|
|
"name": "event",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "AuthChangeEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 169,
|
|
"name": "session",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 167,
|
|
"character": 31
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 170,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 171,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 168,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Subscription"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 172,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 169,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
171,
|
|
172
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 167,
|
|
"character": 91
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 163,
|
|
"name": "GoTrueClient.onAuthStateChange"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 167,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 163,
|
|
"name": "GoTrueClient.onAuthStateChange"
|
|
}
|
|
},
|
|
{
|
|
"id": 129,
|
|
"name": "refreshSession",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 130,
|
|
"name": "refreshSession",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Force refreshes the session including the user data in case it was updated in a different session."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 131,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 132,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 119,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 134,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 121,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 133,
|
|
"name": "user",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 120,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
132,
|
|
134,
|
|
133
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 118,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 129,
|
|
"name": "GoTrueClient.refreshSession"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 118,
|
|
"character": 18
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 129,
|
|
"name": "GoTrueClient.refreshSession"
|
|
}
|
|
},
|
|
{
|
|
"id": 127,
|
|
"name": "session",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 128,
|
|
"name": "session",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Returns the session data, if there is an active session."
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "GoTrueClient.session"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 114,
|
|
"character": 11
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "GoTrueClient.session"
|
|
}
|
|
},
|
|
{
|
|
"id": 148,
|
|
"name": "setAuth",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 149,
|
|
"name": "setAuth",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 150,
|
|
"name": "access_token",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "a jwt access token\n"
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"name": "GoTrueClient.setAuth"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 143,
|
|
"character": 11
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"name": "GoTrueClient.setAuth"
|
|
}
|
|
},
|
|
{
|
|
"id": 142,
|
|
"name": "setSession",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 143,
|
|
"name": "setSession",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Sets the session data from refresh_token and returns current Session and Error"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 144,
|
|
"name": "refresh_token",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "a JWT token\n"
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 145,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 147,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 137,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 146,
|
|
"name": "session",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 136,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
147,
|
|
146
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 135,
|
|
"character": 47
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 142,
|
|
"name": "GoTrueClient.setSession"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 135,
|
|
"character": 14
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 142,
|
|
"name": "GoTrueClient.setSession"
|
|
}
|
|
},
|
|
{
|
|
"id": 91,
|
|
"name": "signIn",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 92,
|
|
"name": "signIn",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Log in an existing user, or login via a third-party provider."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 93,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "__0",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 94,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 95,
|
|
"name": "email",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's email address."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 97,
|
|
"name": "password",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's password."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 35
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 96,
|
|
"name": "phone",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 99,
|
|
"name": "provider",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "One of the providers supported by GoTrue."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 59
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "azure"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "bitbucket"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "facebook"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "github"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "gitlab"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "google"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "twitter"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "apple"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "discord"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "twitch"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "spotify"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "slack"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 98,
|
|
"name": "refreshToken",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "A valid refresh token that was returned on login."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 49
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
95,
|
|
97,
|
|
96,
|
|
99,
|
|
98
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 11
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 100,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 101,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 102,
|
|
"name": "redirectTo",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 81,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 103,
|
|
"name": "scopes",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 82,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
102,
|
|
103
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 104,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 110,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 89,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 109,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 88,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 107,
|
|
"name": "provider",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 86,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Provider"
|
|
}
|
|
},
|
|
{
|
|
"id": 105,
|
|
"name": "session",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 84,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 108,
|
|
"name": "url",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 87,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 106,
|
|
"name": "user",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 85,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
110,
|
|
109,
|
|
107,
|
|
105,
|
|
108,
|
|
106
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 83,
|
|
"character": 16
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 91,
|
|
"name": "GoTrueClient.signIn"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 80,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 91,
|
|
"name": "GoTrueClient.signIn"
|
|
}
|
|
},
|
|
{
|
|
"id": 159,
|
|
"name": "signOut",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 160,
|
|
"name": "signOut",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
|
|
"text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 161,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 162,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 161,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
162
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 160,
|
|
"character": 23
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 159,
|
|
"name": "GoTrueClient.signOut"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 160,
|
|
"character": 11
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 159,
|
|
"name": "GoTrueClient.signOut"
|
|
}
|
|
},
|
|
{
|
|
"id": 75,
|
|
"name": "signUp",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 76,
|
|
"name": "signUp",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Creates a new user."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 77,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "__0",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 78,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 79,
|
|
"name": "email",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's email address."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 61,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 80,
|
|
"name": "password",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's password."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 61,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 81,
|
|
"name": "phone",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's phone number."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 61,
|
|
"character": 35
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
79,
|
|
80,
|
|
81
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 61,
|
|
"character": 11
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 82,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 83,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 85,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 63,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "object"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 84,
|
|
"name": "redirectTo",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 62,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
85,
|
|
84
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 86,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 90,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Optional user metadata.\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 68,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 89,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 67,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 88,
|
|
"name": "session",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 66,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 87,
|
|
"name": "user",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 65,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
90,
|
|
89,
|
|
88,
|
|
87
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 64,
|
|
"character": 16
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 75,
|
|
"name": "GoTrueClient.signUp"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 61,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 75,
|
|
"name": "GoTrueClient.signUp"
|
|
}
|
|
},
|
|
{
|
|
"id": 135,
|
|
"name": "update",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 136,
|
|
"name": "update",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Updates user data, if there is a logged in user."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 137,
|
|
"name": "attributes",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "UserAttributes"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 138,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 139,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 127,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 141,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 129,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 140,
|
|
"name": "user",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 128,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
139,
|
|
141,
|
|
140
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 126,
|
|
"character": 48
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 135,
|
|
"name": "GoTrueClient.update"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 126,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 135,
|
|
"name": "GoTrueClient.update"
|
|
}
|
|
},
|
|
{
|
|
"id": 125,
|
|
"name": "user",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 126,
|
|
"name": "user",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",
|
|
"text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 125,
|
|
"name": "GoTrueClient.user"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 110,
|
|
"character": 8
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 125,
|
|
"name": "GoTrueClient.user"
|
|
}
|
|
},
|
|
{
|
|
"id": 111,
|
|
"name": "verifyOTP",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 112,
|
|
"name": "verifyOTP",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Log in a user given a User supplied OTP received via mobile."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 113,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "__0",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 114,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 115,
|
|
"name": "phone",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's phone number."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 97,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 116,
|
|
"name": "token",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The user's password."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 97,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
115,
|
|
116
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 97,
|
|
"character": 14
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 117,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 118,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 119,
|
|
"name": "redirectTo",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 98,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
119
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 120,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 124,
|
|
"name": "data",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 103,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 123,
|
|
"name": "error",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 102,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApiError"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 122,
|
|
"name": "session",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 101,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 121,
|
|
"name": "user",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 100,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "User"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
124,
|
|
123,
|
|
122,
|
|
121
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 99,
|
|
"character": 16
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 111,
|
|
"name": "GoTrueClient.verifyOTP"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 97,
|
|
"character": 13
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 111,
|
|
"name": "GoTrueClient.verifyOTP"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
64
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
67,
|
|
70,
|
|
69,
|
|
68,
|
|
72,
|
|
71,
|
|
74,
|
|
73
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
151,
|
|
163,
|
|
129,
|
|
127,
|
|
148,
|
|
142,
|
|
91,
|
|
159,
|
|
75,
|
|
135,
|
|
125,
|
|
111
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseAuthClient.ts",
|
|
"line": 4,
|
|
"character": 31
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "GoTrueClient"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
63
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseAuthClient.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 203,
|
|
"name": "\"lib/SupabaseQueryBuilder\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
|
|
"children": [
|
|
{
|
|
"id": 204,
|
|
"name": "SupabaseQueryBuilder",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 205,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"id": 208,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 209,
|
|
"name": "new SupabaseQueryBuilder",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 210,
|
|
"name": "url",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 211,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "__1",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 212,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 220,
|
|
"name": "fetch",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 17,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 220,
|
|
"name": "fetch"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 213,
|
|
"name": "headers",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 13,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 214,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 215,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 216,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 218,
|
|
"name": "realtime",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 15,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClient"
|
|
}
|
|
},
|
|
{
|
|
"id": 217,
|
|
"name": "schema",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 14,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 219,
|
|
"name": "table",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 16,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
220,
|
|
213,
|
|
218,
|
|
217,
|
|
219
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 11,
|
|
"character": 16
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 204,
|
|
"name": "SupabaseQueryBuilder"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "PostgrestQueryBuilder.__constructor"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 8,
|
|
"character": 35
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "PostgrestQueryBuilder.__constructor"
|
|
}
|
|
},
|
|
{
|
|
"id": 207,
|
|
"name": "_realtime",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 8,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClient"
|
|
}
|
|
},
|
|
{
|
|
"id": 206,
|
|
"name": "_subscription",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 7,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 174,
|
|
"name": "SupabaseRealtimeClient"
|
|
}
|
|
},
|
|
{
|
|
"id": 279,
|
|
"name": "body",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 49,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 279,
|
|
"name": "PostgrestBuilder.body"
|
|
}
|
|
},
|
|
{
|
|
"id": 282,
|
|
"name": "fetch",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 52,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 37,
|
|
"name": "Fetch"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 282,
|
|
"name": "PostgrestBuilder.fetch"
|
|
}
|
|
},
|
|
{
|
|
"id": 274,
|
|
"name": "headers",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 45,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 275,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 276,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 277,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 45,
|
|
"character": 22
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 274,
|
|
"name": "PostgrestBuilder.headers"
|
|
}
|
|
},
|
|
{
|
|
"id": 272,
|
|
"name": "method",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 43,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "GET"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "HEAD"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "POST"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "PATCH"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "DELETE"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 272,
|
|
"name": "PostgrestBuilder.method"
|
|
}
|
|
},
|
|
{
|
|
"id": 278,
|
|
"name": "schema",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 48,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 278,
|
|
"name": "PostgrestBuilder.schema"
|
|
}
|
|
},
|
|
{
|
|
"id": 280,
|
|
"name": "shouldThrowOnError",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 50,
|
|
"character": 32
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 280,
|
|
"name": "PostgrestBuilder.shouldThrowOnError"
|
|
}
|
|
},
|
|
{
|
|
"id": 281,
|
|
"name": "signal",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 51,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "AbortSignal"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 281,
|
|
"name": "PostgrestBuilder.signal"
|
|
}
|
|
},
|
|
{
|
|
"id": 273,
|
|
"name": "url",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 44,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "URL"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 273,
|
|
"name": "PostgrestBuilder.url"
|
|
}
|
|
},
|
|
{
|
|
"id": 266,
|
|
"name": "delete",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 267,
|
|
"name": "delete",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Performs a DELETE on the table."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 268,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"originalName": "__0",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 269,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 271,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Count algorithm to use to count rows in a table.\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 74,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 270,
|
|
"name": "returning",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "If `true`, return the deleted row(s) in the response."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 74,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "minimal"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "representation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
271,
|
|
270
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 74,
|
|
"character": 11
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 266,
|
|
"name": "PostgrestQueryBuilder.delete"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 74,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 266,
|
|
"name": "PostgrestQueryBuilder.delete"
|
|
}
|
|
},
|
|
{
|
|
"id": 235,
|
|
"name": "insert",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 236,
|
|
"name": "insert",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Performs an INSERT into the table."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 237,
|
|
"name": "values",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The values to insert."
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 238,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 239,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 241,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 31,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 240,
|
|
"name": "returning",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 30,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "minimal"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "representation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
241,
|
|
240
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 235,
|
|
"name": "PostgrestQueryBuilder.insert"
|
|
}
|
|
},
|
|
{
|
|
"id": 242,
|
|
"name": "insert",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"tags": [
|
|
{
|
|
"tag": "deprecated",
|
|
"text": "Use `upsert()` instead.\n"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 243,
|
|
"name": "values",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 244,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 245,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 249,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 40,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 247,
|
|
"name": "onConflict",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 38,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 248,
|
|
"name": "returning",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 39,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "minimal"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "representation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 246,
|
|
"name": "upsert",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 37,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
249,
|
|
247,
|
|
248,
|
|
246
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 235,
|
|
"name": "PostgrestQueryBuilder.insert"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 29,
|
|
"character": 10
|
|
},
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 36,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 235,
|
|
"name": "PostgrestQueryBuilder.insert"
|
|
}
|
|
},
|
|
{
|
|
"id": 221,
|
|
"name": "on",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 222,
|
|
"name": "on",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Subscribe to realtime changes in your databse."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 223,
|
|
"name": "event",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 61,
|
|
"name": "SupabaseEventTypes"
|
|
}
|
|
},
|
|
{
|
|
"id": 224,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "A callback that will handle the payload that is sent whenever your database changes.\n"
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 225,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 226,
|
|
"name": "__call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 227,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 52,
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "SupabaseRealtimePayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 39,
|
|
"character": 13
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 174,
|
|
"name": "SupabaseRealtimeClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 37,
|
|
"character": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 228,
|
|
"name": "select",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 229,
|
|
"name": "select",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Performs vertical filtering with SELECT."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 230,
|
|
"name": "columns",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"text": "The columns to retrieve, separated by commas."
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 231,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"originalName": "__1",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 232,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 234,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Count algorithm to use to count rows in a table.\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 18,
|
|
"character": 42
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 233,
|
|
"name": "head",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "When set to true, select will void data."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 18,
|
|
"character": 35
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
234,
|
|
233
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 18,
|
|
"character": 28
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 228,
|
|
"name": "PostgrestQueryBuilder.select"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 18,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 228,
|
|
"name": "PostgrestQueryBuilder.select"
|
|
}
|
|
},
|
|
{
|
|
"id": 285,
|
|
"name": "then",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 286,
|
|
"name": "then",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 287,
|
|
"name": "TResult1",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
},
|
|
{
|
|
"id": 288,
|
|
"name": "TResult2",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 289,
|
|
"name": "onfulfilled",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 290,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 291,
|
|
"name": "__call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 292,
|
|
"name": "value",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestResponse"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "TResult1",
|
|
"default": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestResponse"
|
|
}
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "TResult1",
|
|
"default": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestResponse"
|
|
}
|
|
}
|
|
],
|
|
"name": "PromiseLike"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 61,
|
|
"character": 75
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 293,
|
|
"name": "onrejected",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 294,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 295,
|
|
"name": "__call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 296,
|
|
"name": "reason",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "TResult2",
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "TResult2",
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
}
|
|
],
|
|
"name": "PromiseLike"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 61,
|
|
"character": 176
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "TResult1",
|
|
"default": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestResponse"
|
|
}
|
|
},
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "TResult2",
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "PromiseLike"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 285,
|
|
"name": "PostgrestBuilder.then"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 61,
|
|
"character": 8
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 285,
|
|
"name": "PostgrestBuilder.then"
|
|
}
|
|
},
|
|
{
|
|
"id": 283,
|
|
"name": "throwOnError",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 284,
|
|
"name": "throwOnError",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
|
|
"text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 283,
|
|
"name": "PostgrestBuilder.throwOnError"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
|
|
"line": 60,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 283,
|
|
"name": "PostgrestBuilder.throwOnError"
|
|
}
|
|
},
|
|
{
|
|
"id": 259,
|
|
"name": "update",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 260,
|
|
"name": "update",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Performs an UPDATE on the table."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 261,
|
|
"name": "values",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The values to update."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
}
|
|
},
|
|
{
|
|
"id": 262,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"originalName": "__1",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 263,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 265,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Count algorithm to use to count rows in a table.\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 64,
|
|
"character": 49
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 264,
|
|
"name": "returning",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 64,
|
|
"character": 42
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "minimal"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "representation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
265,
|
|
264
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 64,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 259,
|
|
"name": "PostgrestQueryBuilder.update"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 64,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 259,
|
|
"name": "PostgrestQueryBuilder.update"
|
|
}
|
|
},
|
|
{
|
|
"id": 250,
|
|
"name": "upsert",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 251,
|
|
"name": "upsert",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Performs an UPSERT into the table."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 252,
|
|
"name": "values",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The values to insert."
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 253,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"originalName": "__1",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 254,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 257,
|
|
"name": "count",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Count algorithm to use to count rows in a table."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 51,
|
|
"character": 76
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "null"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "exact"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "planned"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "estimated"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 258,
|
|
"name": "ignoreDuplicates",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "Specifies if duplicate rows should be ignored and not inserted.\n"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 51,
|
|
"character": 94
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 255,
|
|
"name": "onConflict",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 51,
|
|
"character": 58
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 256,
|
|
"name": "returning",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "By default the new record is returned. Set this to 'minimal' if you don't need this value."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 51,
|
|
"character": 69
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "minimal"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "representation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
257,
|
|
258,
|
|
255,
|
|
256
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 51,
|
|
"character": 45
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestFilterBuilder"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 250,
|
|
"name": "PostgrestQueryBuilder.upsert"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
|
|
"line": 51,
|
|
"character": 10
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 250,
|
|
"name": "PostgrestQueryBuilder.upsert"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
208
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
207,
|
|
206,
|
|
279,
|
|
282,
|
|
274,
|
|
272,
|
|
278,
|
|
280,
|
|
281,
|
|
273
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
266,
|
|
235,
|
|
221,
|
|
228,
|
|
285,
|
|
283,
|
|
259,
|
|
250
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 6,
|
|
"character": 33
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestQueryBuilder"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "PostgrestResponse"
|
|
}
|
|
],
|
|
"name": "PromiseLike"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
204
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseQueryBuilder.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 173,
|
|
"name": "\"lib/SupabaseRealtimeClient\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
|
|
"children": [
|
|
{
|
|
"id": 174,
|
|
"name": "SupabaseRealtimeClient",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 176,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 177,
|
|
"name": "new SupabaseRealtimeClient",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 178,
|
|
"name": "socket",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClient"
|
|
}
|
|
},
|
|
{
|
|
"id": 179,
|
|
"name": "headers",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 180,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 181,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 182,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 9,
|
|
"character": 12
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 183,
|
|
"name": "schema",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 184,
|
|
"name": "tableName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 174,
|
|
"name": "SupabaseRealtimeClient"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 5,
|
|
"character": 36
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 175,
|
|
"name": "subscription",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 5,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeSubscription"
|
|
}
|
|
},
|
|
{
|
|
"id": 185,
|
|
"name": "getPayloadRecords",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 186,
|
|
"name": "getPayloadRecords",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 187,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 188,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 189,
|
|
"name": "new",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 26,
|
|
"character": 9
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 190,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 191,
|
|
"name": "old",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 27,
|
|
"character": 9
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 192,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
189,
|
|
191
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 24,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 193,
|
|
"name": "on",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 194,
|
|
"name": "on",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The event you want to listen to."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 195,
|
|
"name": "event",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "The event"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 61,
|
|
"name": "SupabaseEventTypes"
|
|
}
|
|
},
|
|
{
|
|
"id": 196,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"text": "A callback function that is called whenever the event occurs.\n"
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 197,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 198,
|
|
"name": "__call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 199,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 52,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
],
|
|
"name": "SupabaseRealtimePayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 47,
|
|
"character": 41
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "unknown",
|
|
"name": "this"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 47,
|
|
"character": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 200,
|
|
"name": "subscribe",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 201,
|
|
"name": "subscribe",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Enables the subscription."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 202,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Function"
|
|
},
|
|
"defaultValue": "() => {}"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeSubscription"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 68,
|
|
"character": 11
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
176
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
175
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
185,
|
|
193,
|
|
200
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 4,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
174
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/SupabaseRealtimeClient.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "\"lib/constants\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts",
|
|
"children": [
|
|
{
|
|
"id": 4,
|
|
"name": "DEFAULT_HEADERS",
|
|
"kind": 2097152,
|
|
"kindString": "Object literal",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isConst": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 5,
|
|
"name": "X-Client-Info",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/constants.ts",
|
|
"line": 3,
|
|
"character": 48
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "`supabase-js/${version}`"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
5
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/constants.ts",
|
|
"line": 3,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "object"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Object literals",
|
|
"kind": 2097152,
|
|
"children": [
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/constants.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "\"lib/helpers\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
|
|
"children": [
|
|
{
|
|
"id": 9,
|
|
"name": "stripTrailingSlash",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 10,
|
|
"name": "stripTrailingSlash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 11,
|
|
"name": "url",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/helpers.ts",
|
|
"line": 11,
|
|
"character": 34
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "uuid",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 8,
|
|
"name": "uuid",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/helpers.ts",
|
|
"line": 3,
|
|
"character": 20
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Functions",
|
|
"kind": 64,
|
|
"children": [
|
|
9,
|
|
7
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/helpers.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "\"lib/types\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts",
|
|
"children": [
|
|
{
|
|
"id": 13,
|
|
"name": "SupabaseAuthClientOptions",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 32,
|
|
"name": "autoRefreshToken",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 46,
|
|
"character": 24
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 21,
|
|
"name": "__type.autoRefreshToken"
|
|
}
|
|
},
|
|
{
|
|
"id": 35,
|
|
"name": "cookieOptions",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 49,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "CookieOptions"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 24,
|
|
"name": "__type.cookieOptions"
|
|
}
|
|
},
|
|
{
|
|
"id": 31,
|
|
"name": "detectSessionInUrl",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 45,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 20,
|
|
"name": "__type.detectSessionInUrl"
|
|
}
|
|
},
|
|
{
|
|
"id": 36,
|
|
"name": "fetch",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 50,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 37,
|
|
"name": "Fetch"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 25,
|
|
"name": "__type.fetch"
|
|
}
|
|
},
|
|
{
|
|
"id": 27,
|
|
"name": "headers",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 42,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 28,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 29,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 30,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 16,
|
|
"name": "__type.headers"
|
|
}
|
|
},
|
|
{
|
|
"id": 34,
|
|
"name": "localStorage",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 48,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SupportedStorage"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 23,
|
|
"name": "__type.localStorage"
|
|
}
|
|
},
|
|
{
|
|
"id": 33,
|
|
"name": "persistSession",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 47,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 22,
|
|
"name": "__type.persistSession"
|
|
}
|
|
},
|
|
{
|
|
"id": 26,
|
|
"name": "url",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 41,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 15,
|
|
"name": "__type.url"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
32,
|
|
35,
|
|
31,
|
|
36,
|
|
27,
|
|
34,
|
|
33,
|
|
26
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 8,
|
|
"character": 42
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 14,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 21,
|
|
"name": "autoRefreshToken",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 46,
|
|
"character": 24
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 24,
|
|
"name": "cookieOptions",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 49,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "CookieOptions"
|
|
}
|
|
},
|
|
{
|
|
"id": 20,
|
|
"name": "detectSessionInUrl",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 45,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 25,
|
|
"name": "fetch",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 50,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 37,
|
|
"name": "Fetch"
|
|
}
|
|
},
|
|
{
|
|
"id": 16,
|
|
"name": "headers",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 42,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 17,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 18,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 19,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 23,
|
|
"name": "localStorage",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 48,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SupportedStorage"
|
|
}
|
|
},
|
|
{
|
|
"id": 22,
|
|
"name": "persistSession",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 47,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 15,
|
|
"name": "url",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
|
|
"line": 41,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
21,
|
|
24,
|
|
20,
|
|
25,
|
|
16,
|
|
23,
|
|
22,
|
|
15
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 8,
|
|
"character": 50
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 37,
|
|
"name": "Fetch",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 4,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "query",
|
|
"queryType": {
|
|
"type": "reference",
|
|
"id": 220,
|
|
"name": "fetch"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 38,
|
|
"name": "GoTrueClientOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 6,
|
|
"character": 24
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "unknown",
|
|
"name": "0"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "query",
|
|
"queryType": {
|
|
"type": "reference",
|
|
"name": "GoTrueClient"
|
|
}
|
|
}
|
|
],
|
|
"name": "ConstructorParameters"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 39,
|
|
"name": "SupabaseClientOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 10,
|
|
"character": 33
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 40,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 46,
|
|
"name": "autoRefreshToken",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Automatically refreshes the token for logged in users."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 22,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 48,
|
|
"name": "detectSessionInUrl",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Detect a session from the URL. Used for OAuth login callbacks."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 30,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 51,
|
|
"name": "fetch",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "A custom `fetch` implementation."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 44,
|
|
"character": 7
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 37,
|
|
"name": "Fetch"
|
|
}
|
|
},
|
|
{
|
|
"id": 42,
|
|
"name": "headers",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Optional headers for initializing the client."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 18,
|
|
"character": 9
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 43,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"indexSignature": [
|
|
{
|
|
"id": 44,
|
|
"name": "__index",
|
|
"kind": 8192,
|
|
"kindString": "Index signature",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 45,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 49,
|
|
"name": "localStorage",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "A storage provider. Used to store the logged in session."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 34,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "stringLiteral",
|
|
"value": "localStorage"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "SupabaseAuthClientOptions"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 47,
|
|
"name": "persistSession",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Whether to persist a logged in session to storage."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 26,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "false"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "true"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 50,
|
|
"name": "realtime",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Options passed to the realtime-js instance"
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 39,
|
|
"character": 10
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RealtimeClientOptions"
|
|
}
|
|
},
|
|
{
|
|
"id": 41,
|
|
"name": "schema",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"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": 14,
|
|
"character": 8
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
46,
|
|
48,
|
|
51,
|
|
42,
|
|
49,
|
|
47,
|
|
50,
|
|
41
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 10,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 61,
|
|
"name": "SupabaseEventTypes",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 58,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "INSERT"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "UPDATE"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "DELETE"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "*"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 52,
|
|
"name": "SupabaseRealtimePayload",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 53,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {
|
|
"isExported": true
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 47,
|
|
"character": 35
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 54,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 55,
|
|
"name": "commit_timestamp",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 48,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 56,
|
|
"name": "eventType",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 49,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "INSERT"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "UPDATE"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "DELETE"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 59,
|
|
"name": "new",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 53,
|
|
"character": 5
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 60,
|
|
"name": "old",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 55,
|
|
"character": 5
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "typeParameter",
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 57,
|
|
"name": "schema",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 50,
|
|
"character": 8
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 58,
|
|
"name": "table",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 51,
|
|
"character": 7
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
55,
|
|
56,
|
|
59,
|
|
60,
|
|
57,
|
|
58
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 47,
|
|
"character": 40
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Interfaces",
|
|
"kind": 256,
|
|
"children": [
|
|
13
|
|
]
|
|
},
|
|
{
|
|
"title": "Type aliases",
|
|
"kind": 4194304,
|
|
"children": [
|
|
37,
|
|
38,
|
|
39,
|
|
61,
|
|
52
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/types.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "\"lib/version\"",
|
|
"kind": 1,
|
|
"kindString": "Module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/version.ts",
|
|
"children": [
|
|
{
|
|
"id": 2,
|
|
"name": "version",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/version.ts",
|
|
"line": 2,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "stringLiteral",
|
|
"value": "0.0.0"
|
|
},
|
|
"defaultValue": "\"0.0.0\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/lib/version.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Modules",
|
|
"kind": 1,
|
|
"children": [
|
|
297,
|
|
375,
|
|
62,
|
|
203,
|
|
173,
|
|
3,
|
|
6,
|
|
12,
|
|
1
|
|
]
|
|
}
|
|
]
|
|
} |