Files
supabase/web/spec/supabase.json
2022-07-21 16:43:56 +09:00

25751 lines
617 KiB
JSON

{
"id": 0,
"name": "@supabase/supabase-js",
"kind": 1,
"flags": {},
"originalName": "",
"children": [
{
"id": 1,
"name": "index",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 752,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"target": 351
},
{
"id": 321,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 27,
"character": 2
}
],
"target": 176
},
{
"id": 322,
"name": "SupabaseRealtimePayload",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 28,
"character": 2
}
],
"target": 189
},
{
"id": 764,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
"target": 323
},
{
"id": 1183,
"name": "Transformers",
"kind": 4,
"kindString": "Namespace",
"flags": {
"isExternal": true
},
"children": [
{
"id": 1184,
"name": "PostgresTypes",
"kind": 8,
"kindString": "Enumeration",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Helpers to convert the change Payload into native JS types."
},
"children": [
{
"id": 1185,
"name": "abstime",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 5,
"character": 4
}
],
"defaultValue": "\"abstime\""
},
{
"id": 1186,
"name": "bool",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 6,
"character": 4
}
],
"defaultValue": "\"bool\""
},
{
"id": 1187,
"name": "date",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 7,
"character": 4
}
],
"defaultValue": "\"date\""
},
{
"id": 1188,
"name": "daterange",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 8,
"character": 4
}
],
"defaultValue": "\"daterange\""
},
{
"id": 1189,
"name": "float4",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 9,
"character": 4
}
],
"defaultValue": "\"float4\""
},
{
"id": 1190,
"name": "float8",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 10,
"character": 4
}
],
"defaultValue": "\"float8\""
},
{
"id": 1191,
"name": "int2",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 11,
"character": 4
}
],
"defaultValue": "\"int2\""
},
{
"id": 1192,
"name": "int4",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 12,
"character": 4
}
],
"defaultValue": "\"int4\""
},
{
"id": 1193,
"name": "int4range",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 13,
"character": 4
}
],
"defaultValue": "\"int4range\""
},
{
"id": 1194,
"name": "int8",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 14,
"character": 4
}
],
"defaultValue": "\"int8\""
},
{
"id": 1195,
"name": "int8range",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 15,
"character": 4
}
],
"defaultValue": "\"int8range\""
},
{
"id": 1196,
"name": "json",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 16,
"character": 4
}
],
"defaultValue": "\"json\""
},
{
"id": 1197,
"name": "jsonb",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 17,
"character": 4
}
],
"defaultValue": "\"jsonb\""
},
{
"id": 1198,
"name": "money",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 18,
"character": 4
}
],
"defaultValue": "\"money\""
},
{
"id": 1199,
"name": "numeric",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 19,
"character": 4
}
],
"defaultValue": "\"numeric\""
},
{
"id": 1200,
"name": "oid",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 20,
"character": 4
}
],
"defaultValue": "\"oid\""
},
{
"id": 1201,
"name": "reltime",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 21,
"character": 4
}
],
"defaultValue": "\"reltime\""
},
{
"id": 1202,
"name": "text",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 22,
"character": 4
}
],
"defaultValue": "\"text\""
},
{
"id": 1203,
"name": "time",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 23,
"character": 4
}
],
"defaultValue": "\"time\""
},
{
"id": 1204,
"name": "timestamp",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 24,
"character": 4
}
],
"defaultValue": "\"timestamp\""
},
{
"id": 1205,
"name": "timestamptz",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 25,
"character": 4
}
],
"defaultValue": "\"timestamptz\""
},
{
"id": 1206,
"name": "timetz",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 26,
"character": 4
}
],
"defaultValue": "\"timetz\""
},
{
"id": 1207,
"name": "tsrange",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 27,
"character": 4
}
],
"defaultValue": "\"tsrange\""
},
{
"id": 1208,
"name": "tstzrange",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 28,
"character": 4
}
],
"defaultValue": "\"tstzrange\""
}
],
"groups": [
{
"title": "Enumeration members",
"kind": 16,
"children": [
1185,
1186,
1187,
1188,
1189,
1190,
1191,
1192,
1193,
1194,
1195,
1196,
1197,
1198,
1199,
1200,
1201,
1202,
1203,
1204,
1205,
1206,
1207,
1208
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 4,
"character": 20
}
]
},
{
"id": 1222,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 84,
"character": 21
}
],
"signatures": [
{
"id": 1223,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.",
"tags": [
{
"tag": "example",
"text": "convertCell('bool', 't')\n//=> true"
},
{
"tag": "example",
"text": "convertCell('int8', '10')\n//=> 10"
},
{
"tag": "example",
"text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n"
}
]
},
"parameters": [
{
"id": 1224,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A postgres column type"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1225,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
},
{
"id": 1209,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 53,
"character": 21
}
],
"signatures": [
{
"id": 1210,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.",
"tags": [
{
"tag": "example",
"text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n"
}
]
},
"parameters": [
{
"id": 1211,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Columns",
"package": "@supabase/realtime-js",
"name": "Columns"
}
},
{
"id": 1212,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {},
"type": {
"type": "reference",
"qualifiedName": "Record",
"package": "@supabase/realtime-js",
"name": "Record"
}
},
{
"id": 1213,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The map of various options that can be applied to the mapper"
},
"type": {
"type": "reflection",
"declaration": {
"id": 1214,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 1215,
"name": "skipTypes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The array of types that should not be converted\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 54,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1215
]
}
]
}
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Record",
"package": "@supabase/realtime-js",
"name": "Record"
}
}
]
},
{
"id": 1216,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 70,
"character": 21
}
],
"signatures": [
{
"id": 1217,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Converts the value of an individual column.",
"returns": "Useless information\n",
"tags": [
{
"tag": "example",
"text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"
},
{
"tag": "example",
"text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"
}
]
},
"parameters": [
{
"id": 1218,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The column that you want to convert"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1219,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Columns",
"package": "@supabase/realtime-js",
"name": "Columns"
}
},
{
"id": 1220,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The map of string values"
},
"type": {
"type": "reference",
"qualifiedName": "Record",
"package": "@supabase/realtime-js",
"name": "Record"
}
},
{
"id": 1221,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "An array of types that should not be converted"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
},
{
"id": 1235,
"name": "toArray",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 98,
"character": 21
}
],
"signatures": [
{
"id": 1236,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Converts a Postgres Array into a native JS array",
"tags": [
{
"tag": "example",
"text": "toArray('{}', 'int4')\n//=> []"
},
{
"tag": "example",
"text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']"
},
{
"tag": "example",
"text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n"
}
]
},
"parameters": [
{
"id": 1237,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
},
{
"id": 1238,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
},
{
"id": 1226,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 85,
"character": 21
}
],
"signatures": [
{
"id": 1227,
"name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1228,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
},
{
"id": 1232,
"name": "toJson",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 87,
"character": 21
}
],
"signatures": [
{
"id": 1233,
"name": "toJson",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1234,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
},
{
"id": 1229,
"name": "toNumber",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 86,
"character": 21
}
],
"signatures": [
{
"id": 1230,
"name": "toNumber",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1231,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
},
{
"id": 1239,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 106,
"character": 21
}
],
"signatures": [
{
"id": 1240,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18",
"tags": [
{
"tag": "example",
"text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n"
}
]
},
"parameters": [
{
"id": 1241,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "RecordValue",
"package": "@supabase/realtime-js",
"name": "RecordValue"
}
}
]
}
],
"groups": [
{
"title": "Enumerations",
"kind": 8,
"children": [
1184
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1222,
1209,
1216,
1235,
1226,
1232,
1229,
1239
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
"line": 4,
"character": 0
}
]
},
{
"id": 359,
"name": "GoTrueApi",
"kind": 128,
"kindString": "Class",
"flags": {
"isExternal": true
},
"children": [
{
"id": 360,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 11,
"character": 4
}
],
"signatures": [
{
"id": 361,
"name": "new GoTrueApi",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 362,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 363,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 369,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 16,
"character": 8
}
],
"type": {
"type": "reference",
"id": 789,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
}
},
{
"id": 370,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 17,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 371,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 372,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 373,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 374,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 365,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 13,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 366,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 367,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 368,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 364,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 12,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
369,
370,
365,
364
]
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 359,
"qualifiedName": "GoTrueApi",
"package": "@supabase/gotrue-js",
"name": "default"
}
}
]
},
{
"id": 386,
"name": "_createRequestHeaders",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"comment": {
"shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods",
"tags": [
{
"tag": "param",
"text": "A valid, logged-in JWT.\n",
"param": "jwt"
}
]
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 24,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 387,
"name": "cookieName",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 25,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 380,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 9,
"character": 14
}
],
"type": {
"type": "reference",
"id": 789,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
}
},
{
"id": 381,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 10,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 383,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 384,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 385,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 376,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 6,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 377,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 378,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 379,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 375,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 5,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 546,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 241,
"character": 4
}
],
"signatures": [
{
"id": 547,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Creates a new user.",
"text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"parameters": [
{
"id": 548,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The data you want to create the user with.\n"
},
"type": {
"type": "reference",
"id": 771,
"qualifiedName": "AdminUserAttributes",
"package": "@supabase/gotrue-js",
"name": "AdminUserAttributes"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 549,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 551,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 243,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 552,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 244,
"character": 8
}
],
"type": {
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
},
{
"id": 550,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 242,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
551,
552,
550
]
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 553,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 555,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 247,
"character": 8
}
],
"type": {
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
"id": 556,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 248,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 554,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 246,
"character": 8
}
],
"type": {
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
555,
556,
554
]
}
]
}
}
]
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 523,
"name": "deleteAuthCookie",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 208,
"character": 4
}
],
"signatures": [
{
"id": 524,
"name": "deleteAuthCookie",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Deletes the Auth Cookies and redirects to the"
},
"parameters": [
{
"id": 525,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The request object."
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 526,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The response object."
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 527,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Optionally specify a `redirectTo` URL in the options.\n"
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
"id": 528,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 529,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 209,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
529
]
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 591,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 305,
"character": 4
}
],
"signatures": [
{
"id": 592,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Delete a user. Requires a `service_role` key.",
"text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"parameters": [
{
"id": 593,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The user uid you want to remove.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 594,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 596,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 307,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 597,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 308,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 595,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 306,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
596,
597,
595
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 534,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 226,
"character": 4
}
],
"signatures": [
{
"id": 535,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Generates links to be sent via email or other."
},
"parameters": [
{
"id": 536,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "signup"
},
{
"type": "literal",
"value": "magiclink"
},
{
"type": "literal",
"value": "recovery"
},
{
"type": "literal",
"value": "invite"
}
]
}
},
{
"id": 537,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The user's email."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 538,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 539,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 541,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 228,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 540,
"name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 227,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 542,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 229,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
541,
540,
542
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 543,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 544,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 231,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 545,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 232,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
544,
545
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 530,
"name": "getAuthCookieString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 217,
"character": 4
}
],
"signatures": [
{
"id": 531,
"name": "getAuthCookieString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Helper method to generate the Auth Cookie string for you in case you can't use `setAuthCookie`.",
"returns": "The Cookie string that needs to be set as the value for the `Set-Cookie` header.\n"
},
"parameters": [
{
"id": 532,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The request object."
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 533,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The response object."
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
]
},
{
"id": 388,
"name": "getUrlForProvider",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 32,
"character": 4
}
],
"signatures": [
{
"id": 389,
"name": "getUrlForProvider",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Generates the relevant login URL for a third-party provider."
},
"parameters": [
{
"id": 390,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "One of the providers supported by GoTrue."
},
"type": {
"type": "reference",
"id": 747,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
}
},
{
"id": 391,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 392,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 395,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 35,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 397,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 398,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 393,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 33,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 394,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 34,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
395,
393,
394
]
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 598,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 319,
"character": 4
}
],
"signatures": [
{
"id": 599,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Gets the current user details.",
"text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated used\n"
},
"parameters": [
{
"id": 600,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 601,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 603,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 321,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 322,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 602,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 320,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
603,
604,
602
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 574,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 280,
"character": 4
}
],
"signatures": [
{
"id": 575,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."
},
"parameters": [
{
"id": 576,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 577,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 581,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 283,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 582,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 284,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 579,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 281,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 580,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 282,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
581,
582,
579,
580
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 565,
"name": "getUserById",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 269,
"character": 4
}
],
"signatures": [
{
"id": 566,
"name": "getUserById",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Get user by id."
},
"parameters": [
{
"id": 567,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 568,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 569,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 270,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 570,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 271,
"character": 8
}
],
"type": {
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
569,
570
]
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 571,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 572,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 273,
"character": 8
}
],
"type": {
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
"id": 573,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 274,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
572,
573
]
}
]
}
}
]
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 492,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 168,
"character": 4
}
],
"signatures": [
{
"id": 493,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Sends an invite link to an email address."
},
"parameters": [
{
"id": 494,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The email address of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 495,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 496,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 498,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 170,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 497,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 169,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
498,
497
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 499,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 500,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 172,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 501,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 173,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
500,
501
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 557,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 255,
"character": 4
}
],
"signatures": [
{
"id": 558,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Get a list of users.",
"text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 559,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 560,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 256,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 561,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 257,
"character": 8
}
],
"type": {
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
560,
561
]
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 562,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 563,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 259,
"character": 8
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
}
},
{
"id": 564,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 260,
"character": 8
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
563,
564
]
}
]
}
}
]
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 513,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 191,
"character": 4
}
],
"signatures": [
{
"id": 514,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Generates a new JWT."
},
"parameters": [
{
"id": 515,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A valid refresh token that was returned on login.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 517,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 192,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 518,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 193,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
517,
518
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 502,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 180,
"character": 4
}
],
"signatures": [
{
"id": 503,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Sends a reset request to an email address."
},
"parameters": [
{
"id": 504,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The email address of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 505,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 506,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 508,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 182,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 507,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 181,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
508,
507
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 509,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 510,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 184,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
}
}
}
]
}
},
{
"id": 512,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 185,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
510,
512
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 445,
"name": "sendMagicLinkEmail",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 109,
"character": 4
}
],
"signatures": [
{
"id": 446,
"name": "sendMagicLinkEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Sends a magic login link to an email address."
},
"parameters": [
{
"id": 447,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The email address of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 448,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 449,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 452,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 112,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 451,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 111,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 450,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 110,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
452,
451,
450
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 454,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 114,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 455,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
}
}
}
]
}
},
{
"id": 456,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 115,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
454,
456
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 457,
"name": "sendMobileOTP",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 122,
"character": 4
}
],
"signatures": [
{
"id": 458,
"name": "sendMobileOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"
},
"parameters": [
{
"id": 459,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The user's phone number WITH international prefix"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 460,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 461,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 463,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 124,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 462,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 123,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
463,
462
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 464,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 465,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 126,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
}
}
}
]
}
},
{
"id": 467,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 127,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
465,
467
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 519,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 201,
"character": 4
}
],
"signatures": [
{
"id": 520,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."
},
"parameters": [
{
"id": 521,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The request object."
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 522,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The response object.\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 411,
"name": "signInWithEmail",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 63,
"character": 4
}
],
"signatures": [
{
"id": 412,
"name": "signInWithEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Logs in an existing user using their email address."
},
"parameters": [
{
"id": 413,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The email address of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 414,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The password of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 415,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 416,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 417,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 64,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
417
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 418,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 419,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 66,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 420,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 67,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
419,
420
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 439,
"name": "signInWithOpenIDConnect",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 99,
"character": 4
}
],
"signatures": [
{
"id": 440,
"name": "signInWithOpenIDConnect",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Logs in an OpenID Connect user using their id_token."
},
"parameters": [
{
"id": 441,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 815,
"qualifiedName": "OpenIDConnectCredentials",
"package": "@supabase/gotrue-js",
"name": "OpenIDConnectCredentials"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 442,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 443,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 100,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 444,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 101,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
443,
444
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 432,
"name": "signInWithPhone",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 87,
"character": 4
}
],
"signatures": [
{
"id": 433,
"name": "signInWithPhone",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Logs in an existing user using their phone number and password."
},
"parameters": [
{
"id": 434,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The phone number of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 435,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The password of the user.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 436,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 437,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 88,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 438,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 89,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
437,
438
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 468,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 133,
"character": 4
}
],
"signatures": [
{
"id": 469,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Removes a logged-in session."
},
"parameters": [
{
"id": 470,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A valid, logged-in JWT.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 472,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 134,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
472
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 399,
"name": "signUpWithEmail",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 49,
"character": 4
}
],
"signatures": [
{
"id": 400,
"name": "signUpWithEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Creates a new user using their email address.",
"returns": "A logged-in session if the server has \"autoconfirm\" ON"
},
"parameters": [
{
"id": 401,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The email address of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 402,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The password of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 403,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 404,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 407,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 52,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 406,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 51,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 405,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 50,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
407,
406,
405
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 408,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 409,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 54,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 410,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 55,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
409,
410
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 421,
"name": "signUpWithPhone",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 75,
"character": 4
}
],
"signatures": [
{
"id": 422,
"name": "signUpWithPhone",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Signs up a new user using their phone number and a password."
},
"parameters": [
{
"id": 423,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The phone number of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 424,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The password of the user."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 425,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 426,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 428,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 77,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 427,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 76,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
428,
427
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 429,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 430,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 79,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 431,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 80,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
430,
431
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 605,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 329,
"character": 4
}
],
"signatures": [
{
"id": 606,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Updates the user data."
},
"parameters": [
{
"id": 607,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A valid, logged-in JWT."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 608,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The data you want to update.\n"
},
"type": {
"type": "reference",
"id": 765,
"qualifiedName": "UserAttributes",
"package": "@supabase/gotrue-js",
"name": "UserAttributes"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 609,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 611,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 331,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 612,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 332,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 610,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 330,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
611,
612,
610
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 583,
"name": "updateUserById",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 293,
"character": 4
}
],
"signatures": [
{
"id": 584,
"name": "updateUserById",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Updates the user data."
},
"parameters": [
{
"id": 585,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 586,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"type": {
"type": "reference",
"id": 771,
"qualifiedName": "AdminUserAttributes",
"package": "@supabase/gotrue-js",
"name": "AdminUserAttributes"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 587,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 589,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 295,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 590,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 296,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 588,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 294,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
589,
590,
588
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 473,
"name": "verifyMobileOTP",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 142,
"character": 4
}
],
"signatures": [
{
"id": 474,
"name": "verifyMobileOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `verifyOTP` instead!"
}
]
},
"parameters": [
{
"id": 475,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The user's phone number WITH international prefix"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 476,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "token that user was sent to their mobile phone"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 477,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 478,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 479,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 143,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
479
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 480,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 481,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 145,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 482,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 146,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
481,
482
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 483,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 156,
"character": 4
}
],
"signatures": [
{
"id": 484,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Send User supplied Email / Mobile OTP to be verified"
},
"parameters": [
{
"id": 485,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 802,
"qualifiedName": "VerifyOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyOTPParams"
}
},
{
"id": 486,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 487,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 488,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 157,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
488
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 489,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 490,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 159,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 491,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 160,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
490,
491
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
360
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
386,
387,
380,
381,
376,
375
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
546,
523,
591,
534,
530,
388,
598,
574,
565,
492,
557,
513,
502,
445,
457,
519,
411,
439,
432,
468,
399,
421,
605,
583,
473,
483
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
"line": 4,
"character": 21
}
]
},
{
"id": 613,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
"flags": {
"isExternal": true
},
"children": [
{
"id": 614,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 37,
"character": 4
}
],
"signatures": [
{
"id": 615,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Create a new client for use in the browser."
},
"parameters": [
{
"id": 616,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 617,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 624,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 43,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 628,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 47,
"character": 8
}
],
"type": {
"type": "reference",
"id": 789,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
}
},
{
"id": 623,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 42,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 629,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 48,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 631,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A custom fetch implementation.\n"
},
"parameters": [
{
"id": 632,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 633,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 619,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Any additional headers to send to the GoTrue server."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 39,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 620,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 621,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 622,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 626,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Provide your own local storage implementation to use instead of the browser's local storage."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 45,
"character": 8
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Storage",
"package": "typescript",
"name": "Storage"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "getItem"
},
{
"type": "literal",
"value": "setItem"
},
{
"type": "literal",
"value": "removeItem"
}
]
}
],
"qualifiedName": "Pick",
"package": "typescript",
"name": "Pick"
}
],
"qualifiedName": "PromisifyMethods",
"package": "@supabase/gotrue-js",
"name": "PromisifyMethods"
}
},
{
"id": 627,
"name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Set to \"false\" if you want to disable multi-tab/window events."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 46,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 625,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Set to \"true\" if you want to automatically save the user session into local storage."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 44,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 618,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The URL of the GoTrue server."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 38,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
624,
628,
623,
629,
619,
626,
627,
625,
618
]
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 613,
"qualifiedName": "GoTrueClient",
"package": "@supabase/gotrue-js",
"name": "default"
}
}
]
},
{
"id": 739,
"name": "_callRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 190,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 733,
"name": "_handleEmailSignIn",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 176,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 736,
"name": "_handleOpenIDConnectSignIn",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 179,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 734,
"name": "_handlePhoneSignIn",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 177,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 735,
"name": "_handleProviderSignIn",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 178,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 746,
"name": "_handleVisibilityChange",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 208,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 745,
"name": "_listenForMultiTabEvents",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"comment": {
"shortText": "Listens for changes to LocalStorage and updates the current session."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 207,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 740,
"name": "_notifyAllSubscribers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 191,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 742,
"name": "_persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 197,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 738,
"name": "_recoverAndRefresh",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"comment": {
"shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 189,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 737,
"name": "_recoverSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"comment": {
"shortText": "Attempts to get the session from LocalStorage\nNote: this should never be async (even for React Native), as we need it to return immediately in the constructor."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 184,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 743,
"name": "_removeSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 198,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 741,
"name": "_saveSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"comment": {
"shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 196,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 744,
"name": "_startAutoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"comment": {
"shortText": "Clear and re-create refresh token timer",
"tags": [
{
"tag": "param",
"text": "time intervals in milliseconds\n",
"param": "value"
}
]
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 203,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 634,
"name": "api",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": 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/module/GoTrueClient.d.ts",
"line": 9,
"character": 4
}
],
"type": {
"type": "reference",
"id": 359,
"qualifiedName": "GoTrueApi",
"package": "@supabase/gotrue-js",
"name": "default"
}
},
{
"id": 637,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 18,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 636,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"comment": {
"shortText": "The session object for the currently logged in user or null."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 17,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 635,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"comment": {
"shortText": "The currently logged in user or null."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 13,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 639,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 20,
"character": 14
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Storage",
"package": "typescript",
"name": "Storage"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "getItem"
},
{
"type": "literal",
"value": "setItem"
},
{
"type": "literal",
"value": "removeItem"
}
]
}
],
"qualifiedName": "Pick",
"package": "typescript",
"name": "Pick"
}
],
"qualifiedName": "PromisifyMethods",
"package": "@supabase/gotrue-js",
"name": "PromisifyMethods"
}
},
{
"id": 640,
"name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 21,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 643,
"name": "networkRetries",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 24,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 638,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 19,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 642,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 23,
"character": 14
}
],
"type": {
"type": "reference",
"qualifiedName": "global.NodeJS.Timeout",
"package": "@types/node",
"name": "Timeout"
}
},
{
"id": 641,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 22,
"character": 14
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"id": 781,
"qualifiedName": "Subscription",
"package": "@supabase/gotrue-js",
"name": "Subscription"
}
],
"qualifiedName": "Map",
"package": "typescript",
"name": "Map"
}
},
{
"id": 711,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 153,
"character": 4
}
],
"signatures": [
{
"id": 712,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Gets the session data from a URL string"
},
"parameters": [
{
"id": 713,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 714,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 715,
"name": "storeSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Optionally store the session in the browser\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 154,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
715
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 716,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 717,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 156,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 718,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 157,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
717,
718
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 723,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 172,
"character": 4
}
],
"signatures": [
{
"id": 724,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": 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": 725,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 726,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 727,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 728,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 748,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
"id": 729,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 730,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 731,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 173,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 781,
"qualifiedName": "Subscription",
"package": "@supabase/gotrue-js",
"name": "Subscription"
}
]
}
},
{
"id": 732,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 174,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
731,
732
]
}
]
}
}
}
]
},
{
"id": 689,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 123,
"character": 4
}
],
"signatures": [
{
"id": 690,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": 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": 691,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 692,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 124,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 694,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 126,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 693,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 125,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
692,
694,
693
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 687,
"name": "session",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 119,
"character": 4
}
],
"signatures": [
{
"id": 688,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Returns the session data, if there is an active session."
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
}
]
},
{
"id": 708,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 148,
"character": 4
}
],
"signatures": [
{
"id": 709,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests."
},
"parameters": [
{
"id": 710,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "a jwt access token\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
}
]
},
{
"id": 702,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 140,
"character": 4
}
],
"signatures": [
{
"id": 703,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Sets the session data from refresh_token and returns current Session and Error"
},
"parameters": [
{
"id": 704,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "a JWT token\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 705,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 707,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 142,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 706,
"name": "session",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 141,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
707,
706
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 656,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 80,
"character": 4
}
],
"signatures": [
{
"id": 657,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Log in an existing user, or login via a third-party provider."
},
"parameters": [
{
"id": 658,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 795,
"qualifiedName": "UserCredentials",
"package": "@supabase/gotrue-js",
"name": "UserCredentials"
}
},
{
"id": 659,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 660,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 664,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 84,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 665,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 85,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 666,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 667,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 668,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 661,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 81,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 663,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 83,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 662,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 82,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
664,
665,
661,
663,
662
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 669,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 674,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 93,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 672,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 91,
"character": 8
}
],
"type": {
"type": "reference",
"id": 747,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
}
},
{
"id": 670,
"name": "session",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 89,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 673,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 92,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 671,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 90,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
674,
672,
670,
673,
671
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 719,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 165,
"character": 4
}
],
"signatures": [
{
"id": 720,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": 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": 721,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 722,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 166,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
722
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 644,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 59,
"character": 4
}
],
"signatures": [
{
"id": 645,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Creates a new user."
},
"parameters": [
{
"id": 646,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 795,
"qualifiedName": "UserCredentials",
"package": "@supabase/gotrue-js",
"name": "UserCredentials"
}
},
{
"id": 647,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 648,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 651,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 62,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 650,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 61,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 649,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 60,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
651,
650,
649
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 652,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 655,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 66,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 654,
"name": "session",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 65,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 653,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 64,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
655,
654,
653
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 695,
"name": "update",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 131,
"character": 4
}
],
"signatures": [
{
"id": 696,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Updates user data, if there is a logged in user."
},
"parameters": [
{
"id": 697,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 765,
"qualifiedName": "UserAttributes",
"package": "@supabase/gotrue-js",
"name": "UserAttributes"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 698,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 699,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 132,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
},
{
"id": 701,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 134,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 700,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 133,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
699,
701,
700
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 685,
"name": "user",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 115,
"character": 4
}
],
"signatures": [
{
"id": 686,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": 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": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
]
},
{
"id": 675,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 103,
"character": 4
}
],
"signatures": [
{
"id": 676,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Log in a user given a User supplied OTP received via mobile."
},
"parameters": [
{
"id": 677,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 802,
"qualifiedName": "VerifyOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyOTPParams"
}
},
{
"id": 678,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 679,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 680,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 104,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
680
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 681,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 684,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 108,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 749,
"qualifiedName": "ApiError",
"package": "@supabase/gotrue-js",
"name": "ApiError"
}
]
}
},
{
"id": 683,
"name": "session",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 107,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
},
{
"id": 682,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 106,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
684,
683,
682
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
614
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
739,
733,
736,
734,
735,
746,
745,
740,
742,
738,
737,
743,
741,
744,
634,
637,
636,
635,
639,
640,
643,
638,
642,
641
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
711,
723,
689,
687,
708,
702,
656,
719,
644,
695,
685,
675
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 4,
"character": 21
}
]
},
{
"id": 1026,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {
"isExternal": true
},
"children": [
{
"id": 1028,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 20,
"character": 4
}
],
"signatures": [
{
"id": 1029,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1030,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1031,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1032,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 1033,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1034,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
}
}
},
{
"id": 1035,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
}
],
"type": {
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1042,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 12,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 1046,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 1045,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 15,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1037,
"name": "params",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 8,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1038,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 1039,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1040,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
}
}
},
{
"id": 1049,
"name": "presence",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 19,
"character": 4
}
],
"type": {
"type": "reference",
"id": 1132,
"qualifiedName": "RealtimePresence",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 1048,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 18,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
},
{
"id": 1047,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 17,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Timer",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 1041,
"name": "socket",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 11,
"character": 4
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 1044,
"name": "state",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 14,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "CHANNEL_STATES",
"package": "@supabase/realtime-js",
"name": "CHANNEL_STATES"
}
},
{
"id": 1043,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 13,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1036,
"name": "topic",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 7,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1027,
"name": "isEqual",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isStatic": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 79,
"character": 19
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1078,
"name": "canPush",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 43,
"character": 4
}
],
"signatures": [
{
"id": 1079,
"name": "canPush",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Returns `true` if the socket is connected and the channel has been joined."
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1122,
"name": "isClosed",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 74,
"character": 4
}
],
"signatures": [
{
"id": 1123,
"name": "isClosed",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1124,
"name": "isErrored",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 75,
"character": 4
}
],
"signatures": [
{
"id": 1125,
"name": "isErrored",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1126,
"name": "isJoined",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 76,
"character": 4
}
],
"signatures": [
{
"id": 1127,
"name": "isJoined",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1128,
"name": "isJoining",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 77,
"character": 4
}
],
"signatures": [
{
"id": 1129,
"name": "isJoining",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1130,
"name": "isLeaving",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 78,
"character": 4
}
],
"signatures": [
{
"id": 1131,
"name": "isLeaving",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1099,
"name": "isMember",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 65,
"character": 4
}
],
"signatures": [
{
"id": 1100,
"name": "isMember",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1101,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1102,
"name": "joinRef",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 66,
"character": 4
}
],
"signatures": [
{
"id": 1103,
"name": "joinRef",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 1050,
"name": "list",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 23,
"character": 4
}
],
"signatures": [
{
"id": 1051,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
]
},
{
"id": 1071,
"name": "off",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 37,
"character": 4
}
],
"signatures": [
{
"id": 1072,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1073,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1074,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1075,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 1076,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1077,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1063,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 34,
"character": 4
}
],
"signatures": [
{
"id": 1064,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1065,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1066,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1067,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 1068,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1069,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 1070,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1057,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 29,
"character": 4
}
],
"signatures": [
{
"id": 1058,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Registers a callback that will be executed when the channel closes."
},
"parameters": [
{
"id": 1059,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1060,
"name": "onError",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 33,
"character": 4
}
],
"signatures": [
{
"id": 1061,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Registers a callback that will be executed when the channel encounteres an error."
},
"parameters": [
{
"id": 1062,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1094,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 64,
"character": 4
}
],
"signatures": [
{
"id": 1095,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Overridable message hook",
"text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n"
},
"parameters": [
{
"id": 1096,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1097,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1098,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 1080,
"name": "push",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 44,
"character": 4
}
],
"signatures": [
{
"id": 1081,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1082,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "CHANNEL_EVENTS",
"package": "@supabase/realtime-js",
"name": "CHANNEL_EVENTS"
}
},
{
"id": 1083,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1084,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1104,
"name": "rejoin",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 67,
"character": 4
}
],
"signatures": [
{
"id": 1105,
"name": "rejoin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1106,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1052,
"name": "rejoinUntilConnected",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 24,
"character": 4
}
],
"signatures": [
{
"id": 1053,
"name": "rejoinUntilConnected",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1119,
"name": "replyEventName",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 73,
"character": 4
}
],
"signatures": [
{
"id": 1120,
"name": "replyEventName",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1121,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 1112,
"name": "send",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 69,
"character": 4
}
],
"signatures": [
{
"id": 1113,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1114,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1115,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 1116,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 70,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1116
]
}
],
"indexSignature": {
"id": 1117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1118,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "unknown"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 1054,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 25,
"character": 4
}
],
"signatures": [
{
"id": 1055,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1056,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1107,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 68,
"character": 4
}
],
"signatures": [
{
"id": 1108,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1109,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1110,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1111,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1091,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 57,
"character": 4
}
],
"signatures": [
{
"id": 1092,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Leaves the channel.",
"text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n"
},
"parameters": [
{
"id": 1093,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1085,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 45,
"character": 4
}
],
"signatures": [
{
"id": 1086,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1087,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1088,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 1089,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1090,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1028
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1042,
1046,
1045,
1037,
1049,
1048,
1047,
1041,
1044,
1043,
1036,
1027
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1078,
1122,
1124,
1126,
1128,
1130,
1099,
1102,
1050,
1071,
1063,
1057,
1060,
1094,
1080,
1104,
1052,
1119,
1112,
1054,
1107,
1091,
1085
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
"line": 6,
"character": 21
}
]
},
{
"id": 822,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {
"isExternal": true
},
"children": [
{
"id": 823,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 78,
"character": 4
}
],
"signatures": [
{
"id": 824,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Initializes the Socket."
},
"parameters": [
{
"id": 825,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 826,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"id": 921,
"qualifiedName": "Options",
"package": "@supabase/realtime-js",
"name": "Options"
}
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 918,
"name": "_appendParams",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 181,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 919,
"name": "_flushSendBuffer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 182,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 915,
"name": "_onConnClose",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 178,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 916,
"name": "_onConnError",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 179,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 914,
"name": "_onConnOpen",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 177,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 920,
"name": "_sendHeartbeat",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 183,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 917,
"name": "_triggerChanError",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 180,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 827,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 33,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 828,
"name": "channels",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 34,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
},
{
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
]
}
}
},
{
"id": 850,
"name": "conn",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 54,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "WebSocket",
"package": "typescript",
"name": "WebSocket"
}
]
}
},
{
"id": 848,
"name": "decode",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 52,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 847,
"name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 51,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 829,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 830,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 36,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 831,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 832,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 833,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 840,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 44,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 842,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 46,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reference",
"qualifiedName": "global.NodeJS.Timer",
"package": "@types/node",
"name": "Timer"
}
]
}
},
{
"id": 846,
"name": "logger",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 50,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 841,
"name": "longpollerTimeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 45,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 834,
"name": "params",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 835,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 836,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 837,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 843,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 849,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 845,
"name": "reconnectTimer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 49,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Timer",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 844,
"name": "ref",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 48,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 851,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 55,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
},
{
"id": 852,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 56,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Serializer",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 853,
"name": "stateChangeCallbacks",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 57,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 854,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 856,
"name": "close",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 59,
"character": 8
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
},
{
"id": 857,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 60,
"character": 8
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
},
{
"id": 858,
"name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 61,
"character": 8
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
},
{
"id": 855,
"name": "open",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 58,
"character": 8
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
856,
857,
858,
855
]
}
]
}
}
},
{
"id": 838,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 42,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 839,
"name": "transport",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 892,
"name": "channel",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 149,
"character": 4
}
],
"signatures": [
{
"id": 893,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 894,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 895,
"name": "chanParams",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "ChannelParams",
"package": "@supabase/realtime-js",
"name": "ChannelParams"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
},
{
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
]
}
}
]
},
{
"id": 859,
"name": "connect",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 82,
"character": 4
}
],
"signatures": [
{
"id": 860,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Connects the socket, unless already connected."
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 885,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 138,
"character": 4
}
],
"signatures": [
{
"id": 886,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Returns the current state of the socket."
},
"type": {
"type": "reference",
"qualifiedName": "CONNECTION_STATE",
"package": "@supabase/realtime-js",
"name": "CONNECTION_STATE"
}
}
]
},
{
"id": 861,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 89,
"character": 4
}
],
"signatures": [
{
"id": 862,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Disconnects the socket."
},
"parameters": [
{
"id": 863,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A numeric status code to send on disconnect."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 864,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A custom reason for the disconnect.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 865,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 867,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 91,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 866,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 90,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "Error",
"package": "typescript",
"name": "Error"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
867,
866
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 904,
"name": "endPointURL",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 162,
"character": 4
}
],
"signatures": [
{
"id": 905,
"name": "endPointURL",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Returns the URL of the websocket."
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 887,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 142,
"character": 4
}
],
"signatures": [
{
"id": 888,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Retuns `true` is the connection is open."
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 911,
"name": "leaveOpenTopic",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 176,
"character": 4
}
],
"signatures": [
{
"id": 912,
"name": "leaveOpenTopic",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Unsubscribe from channels with the specified topic."
},
"parameters": [
{
"id": 913,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 868,
"name": "log",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 98,
"character": 4
}
],
"signatures": [
{
"id": 869,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Logs the message.",
"text": "For customized logging, `this.logger` can be overriden.\n"
},
"parameters": [
{
"id": 870,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 871,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 872,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 906,
"name": "makeRef",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 166,
"character": 4
}
],
"signatures": [
{
"id": 907,
"name": "makeRef",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Return the next message ref, accounting for overflows"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 876,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 116,
"character": 4
}
],
"signatures": [
{
"id": 877,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Registers a callback for connection state change events.",
"tags": [
{
"tag": "example",
"text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
}
]
},
"parameters": [
{
"id": 878,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A function to be called when the event occurs.\n"
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 899,
"name": "onConnMessage",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 156,
"character": 4
}
],
"signatures": [
{
"id": 900,
"name": "onConnMessage",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 901,
"name": "rawMessage",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 902,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 903,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 157,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
903
]
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 879,
"name": "onError",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 125,
"character": 4
}
],
"signatures": [
{
"id": 880,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Registers a callback for connection state change events.",
"tags": [
{
"tag": "example",
"text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n"
}
]
},
"parameters": [
{
"id": 881,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A function to be called when the event occurs.\n"
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 882,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 134,
"character": 4
}
],
"signatures": [
{
"id": 883,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Calls a function any time a message is received.",
"tags": [
{
"tag": "example",
"text": "\n socket.onMessage((message) => console.log(message))\n"
}
]
},
"parameters": [
{
"id": 884,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A function to be called when the event occurs.\n"
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 873,
"name": "onOpen",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 107,
"character": 4
}
],
"signatures": [
{
"id": 874,
"name": "onOpen",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Registers a callback for connection state change event.",
"tags": [
{
"tag": "example",
"text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n"
}
]
},
"parameters": [
{
"id": 875,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A function to be called when the event occurs.\n"
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 896,
"name": "push",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 155,
"character": 4
}
],
"signatures": [
{
"id": 897,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Push out a message if the socket is connected.",
"text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
},
"parameters": [
{
"id": 898,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Message",
"package": "@supabase/realtime-js",
"name": "Message"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 889,
"name": "remove",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 148,
"character": 4
}
],
"signatures": [
{
"id": 890,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Removes a subscription from the socket."
},
"parameters": [
{
"id": 891,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "An open subscription.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
},
{
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 908,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 172,
"character": 4
}
],
"signatures": [
{
"id": 909,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
},
"parameters": [
{
"id": 910,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "A JWT string.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
823
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
918,
919,
915,
916,
914,
920,
917,
827,
828,
850,
848,
847,
829,
830,
840,
842,
846,
841,
834,
843,
849,
845,
844,
851,
852,
853,
838,
839
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
892,
859,
885,
861,
904,
887,
911,
868,
906,
876,
899,
879,
882,
873,
896,
889,
908
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 32,
"character": 21
}
]
},
{
"id": 1132,
"name": "RealtimePresence",
"kind": 128,
"kindString": "Class",
"flags": {
"isExternal": true
},
"children": [
{
"id": 1153,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 43,
"character": 4
}
],
"signatures": [
{
"id": 1154,
"name": "new RealtimePresence",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Initializes the Presence."
},
"parameters": [
{
"id": 1155,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The RealtimeSubscription"
},
"type": {
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 1156,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOpts",
"package": "@types/phoenix",
"name": "PresenceOpts"
}
}
],
"type": {
"type": "reference",
"id": 1132,
"qualifiedName": "RealtimePresence",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1161,
"name": "caller",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1162,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 1163,
"name": "onJoin",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 32,
"character": 8
}
],
"type": {
"type": "reference",
"qualifiedName": "PresenceOnJoinCallback",
"package": "@types/phoenix",
"name": "PresenceOnJoinCallback"
}
},
{
"id": 1164,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 33,
"character": 8
}
],
"type": {
"type": "reference",
"qualifiedName": "PresenceOnLeaveCallback",
"package": "@types/phoenix",
"name": "PresenceOnLeaveCallback"
}
},
{
"id": 1165,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 34,
"character": 8
}
],
"signatures": [
{
"id": 1166,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1163,
1164
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1165
]
}
]
}
}
},
{
"id": 1157,
"name": "channel",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 27,
"character": 4
}
],
"type": {
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 1182,
"name": "inPendingSyncState",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 94,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1160,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 30,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1159,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 29,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "RawPresenceDiff",
"package": "@supabase/realtime-js",
"name": "RawPresenceDiff"
}
}
},
{
"id": 1158,
"name": "state",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 28,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
}
},
{
"id": 1152,
"name": "cloneDeep",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isStatic": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 89,
"character": 19
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1150,
"name": "map",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isStatic": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 66,
"character": 19
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1151,
"name": "transformState",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isStatic": true,
"isExternal": true
},
"comment": {
"shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_id'\nRemove 'phx_ref' and 'phx_ref_prev'",
"tags": [
{
"tag": "example",
"text": "\n// returns {\n abc123: [\n { presence_id: '2', user_id: 1 },\n { presence_id: '3', user_id: 2 }\n ]\n}\nRealtimePresence.transformState({\n abc123: {\n metas: [\n { phx_ref: '2', phx_ref_prev: '1' user_id: 1 },\n { phx_ref: '3', user_id: 2 }\n ]\n }\n})\n"
}
]
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 88,
"character": 19
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1178,
"name": "list",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 93,
"character": 4
}
],
"signatures": [
{
"id": 1179,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"typeParameter": [
{
"id": 1180,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
},
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 1181,
"name": "by",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 1180,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
}
],
"qualifiedName": "PresenceChooser",
"package": "@supabase/realtime-js",
"name": "PresenceChooser"
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 1180,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
}
}
}
]
},
{
"id": 1167,
"name": "onJoin",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 90,
"character": 4
}
],
"signatures": [
{
"id": 1168,
"name": "onJoin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1169,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOnJoinCallback",
"package": "@types/phoenix",
"name": "PresenceOnJoinCallback"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1170,
"name": "onLeave",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 91,
"character": 4
}
],
"signatures": [
{
"id": 1171,
"name": "onLeave",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1172,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOnLeaveCallback",
"package": "@types/phoenix",
"name": "PresenceOnLeaveCallback"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1173,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 92,
"character": 4
}
],
"signatures": [
{
"id": 1174,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1175,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1176,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 1177,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1145,
"name": "list",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 65,
"character": 11
}
],
"signatures": [
{
"id": 1146,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Returns the array of presences, with selected metadata."
},
"typeParameter": [
{
"id": 1147,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
},
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 1148,
"name": "presences",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
}
},
{
"id": 1149,
"name": "chooser",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 1147,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
}
],
"qualifiedName": "PresenceChooser",
"package": "@supabase/realtime-js",
"name": "PresenceChooser"
}
]
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 1147,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
}
}
}
]
},
{
"id": 1139,
"name": "syncDiff",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 61,
"character": 11
}
],
"signatures": [
{
"id": 1140,
"name": "syncDiff",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.",
"text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n"
},
"parameters": [
{
"id": 1141,
"name": "state",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
}
},
{
"id": 1142,
"name": "diff",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "RawPresenceDiff",
"package": "@supabase/realtime-js",
"name": "RawPresenceDiff"
},
{
"type": "reference",
"qualifiedName": "PresenceDiff",
"package": "@supabase/realtime-js",
"name": "PresenceDiff"
}
]
}
},
{
"id": 1143,
"name": "onJoin",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOnJoinCallback",
"package": "@types/phoenix",
"name": "PresenceOnJoinCallback"
}
},
{
"id": 1144,
"name": "onLeave",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOnLeaveCallback",
"package": "@types/phoenix",
"name": "PresenceOnLeaveCallback"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
}
}
]
},
{
"id": 1133,
"name": "syncState",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 52,
"character": 11
}
],
"signatures": [
{
"id": 1134,
"name": "syncState",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Used to sync the list of presences on the server with the\nclient's state.",
"text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n"
},
"parameters": [
{
"id": 1135,
"name": "currentState",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
}
},
{
"id": 1136,
"name": "newState",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
},
{
"type": "reference",
"qualifiedName": "RawPresenceState",
"package": "@supabase/realtime-js",
"name": "RawPresenceState"
}
]
}
},
{
"id": 1137,
"name": "onJoin",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOnJoinCallback",
"package": "@types/phoenix",
"name": "PresenceOnJoinCallback"
}
},
{
"id": 1138,
"name": "onLeave",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "PresenceOnLeaveCallback",
"package": "@types/phoenix",
"name": "PresenceOnLeaveCallback"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "PresenceState",
"package": "@supabase/realtime-js",
"name": "PresenceState"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1153
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1161,
1157,
1182,
1160,
1159,
1158,
1152,
1150,
1151
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1178,
1167,
1170,
1173,
1145,
1139,
1133
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
"line": 26,
"character": 21
}
]
},
{
"id": 939,
"name": "RealtimeSubscription",
"kind": 128,
"kindString": "Class",
"flags": {
"isExternal": true
},
"children": [
{
"id": 940,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 18,
"character": 4
}
],
"signatures": [
{
"id": 941,
"name": "new RealtimeSubscription",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 942,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 943,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 944,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 945,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 946,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
}
}
},
{
"id": 947,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
}
],
"type": {
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 954,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 11,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 958,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 15,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 957,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 14,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 949,
"name": "params",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 7,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 950,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 951,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 952,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
}
}
},
{
"id": 960,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 17,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
},
{
"id": 959,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 16,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Timer",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 953,
"name": "socket",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 10,
"character": 4
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 956,
"name": "state",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 13,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "CHANNEL_STATES",
"package": "@supabase/realtime-js",
"name": "CHANNEL_STATES"
}
},
{
"id": 955,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 12,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 948,
"name": "topic",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 6,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 979,
"name": "canPush",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 27,
"character": 4
}
],
"signatures": [
{
"id": 980,
"name": "canPush",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1016,
"name": "isClosed",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 54,
"character": 4
}
],
"signatures": [
{
"id": 1017,
"name": "isClosed",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1018,
"name": "isErrored",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 55,
"character": 4
}
],
"signatures": [
{
"id": 1019,
"name": "isErrored",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1020,
"name": "isJoined",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 56,
"character": 4
}
],
"signatures": [
{
"id": 1021,
"name": "isJoined",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1022,
"name": "isJoining",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 57,
"character": 4
}
],
"signatures": [
{
"id": 1023,
"name": "isJoining",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1024,
"name": "isLeaving",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 58,
"character": 4
}
],
"signatures": [
{
"id": 1025,
"name": "isLeaving",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1000,
"name": "isMember",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 49,
"character": 4
}
],
"signatures": [
{
"id": 1001,
"name": "isMember",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1002,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 1003,
"name": "joinRef",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 50,
"character": 4
}
],
"signatures": [
{
"id": 1004,
"name": "joinRef",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 976,
"name": "off",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 26,
"character": 4
}
],
"signatures": [
{
"id": 977,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 978,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 972,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 25,
"character": 4
}
],
"signatures": [
{
"id": 973,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 974,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 975,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 966,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 23,
"character": 4
}
],
"signatures": [
{
"id": 967,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 968,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 969,
"name": "onError",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 24,
"character": 4
}
],
"signatures": [
{
"id": 970,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 971,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 995,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 48,
"character": 4
}
],
"signatures": [
{
"id": 996,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Overridable message hook",
"text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n"
},
"parameters": [
{
"id": 997,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 998,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 999,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 981,
"name": "push",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 28,
"character": 4
}
],
"signatures": [
{
"id": 982,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 983,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"qualifiedName": "CHANNEL_EVENTS",
"package": "@supabase/realtime-js",
"name": "CHANNEL_EVENTS"
}
},
{
"id": 984,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 985,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1005,
"name": "rejoin",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 51,
"character": 4
}
],
"signatures": [
{
"id": 1006,
"name": "rejoin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1007,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 961,
"name": "rejoinUntilConnected",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 21,
"character": 4
}
],
"signatures": [
{
"id": 962,
"name": "rejoinUntilConnected",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 1013,
"name": "replyEventName",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 53,
"character": 4
}
],
"signatures": [
{
"id": 1014,
"name": "replyEventName",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1015,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 963,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 22,
"character": 4
}
],
"signatures": [
{
"id": 964,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 965,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 1008,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 52,
"character": 4
}
],
"signatures": [
{
"id": 1009,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 1010,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1011,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1012,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 992,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 41,
"character": 4
}
],
"signatures": [
{
"id": 993,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Leaves the channel",
"text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n"
},
"parameters": [
{
"id": 994,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"qualifiedName": "Push",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 986,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 29,
"character": 4
}
],
"signatures": [
{
"id": 987,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 988,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 989,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 990,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 991,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
940
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
954,
958,
957,
949,
960,
959,
953,
956,
955,
948
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
979,
1016,
1018,
1020,
1022,
1024,
1000,
1003,
976,
972,
966,
969,
995,
981,
1005,
961,
1013,
963,
1008,
992,
986
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeSubscription.d.ts",
"line": 5,
"character": 21
}
]
},
{
"id": 214,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"comment": {
"shortText": "Supabase Client.",
"text": "An isomorphic Javascript client for interacting with Postgres.\n"
},
"children": [
{
"id": 215,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 66,
"character": 2
}
],
"signatures": [
{
"id": 216,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"comment": {
"shortText": "Create a new client for use in the browser."
},
"parameters": [
{
"id": 217,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 218,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 219,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"id": 176,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
"id": 214,
"name": "default"
}
}
]
},
{
"id": 220,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
"shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 35,
"character": 2
}
],
"type": {
"type": "reference",
"name": "SupabaseAuthClient"
}
},
{
"id": 224,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 40,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 234,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 46,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 229,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isOptional": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 45,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 230,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 231,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 232,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 233,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 226,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 42,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 236,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 49,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
"id": 238,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
"id": 239,
"name": "key",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 228,
"name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 44,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 227,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 43,
"character": 12
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 223,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 39,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 222,
"name": "restUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 38,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 221,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 37,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 235,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 47,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 225,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 41,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 241,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 240,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 242,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 111,
"character": 6
}
],
"getSignature": [
{
"id": 243,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"comment": {
"shortText": "Supabase Functions allows you to deploy and invoke edge functions."
},
"type": {
"type": "reference",
"qualifiedName": "FunctionsClient",
"package": "@supabase/functions-js",
"name": "FunctionsClient"
}
}
]
},
{
"id": 244,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 121,
"character": 6
}
],
"getSignature": [
{
"id": 245,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"comment": {
"shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
},
"type": {
"type": "reference",
"qualifiedName": "StorageClient",
"package": "@supabase/storage-js",
"name": "StorageClient"
}
}
]
},
{
"id": 290,
"name": "_closeSubscription",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 230,
"character": 16
}
],
"signatures": [
{
"id": 291,
"name": "_closeSubscription",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 292,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
},
{
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 293,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 294,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 232,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "Error",
"package": "typescript",
"name": "Error"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
294
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 310,
"name": "_getAuthHeaders",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 307,
"character": 10
}
],
"signatures": [
{
"id": 311,
"name": "_getAuthHeaders",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"id": 171,
"name": "GenericObject"
}
}
]
},
{
"id": 316,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 349,
"character": 10
}
],
"signatures": [
{
"id": 317,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 318,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 748,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
"id": 319,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 320,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "CLIENT"
},
{
"type": "literal",
"value": "STORAGE"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 308,
"name": "_initPostgRESTClient",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 298,
"character": 10
}
],
"signatures": [
{
"id": 309,
"name": "_initPostgRESTClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "PostgrestClient",
"package": "@supabase/postgrest-js",
"name": "default"
}
}
]
},
{
"id": 305,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 291,
"character": 10
}
],
"signatures": [
{
"id": 306,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 307,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"id": 921,
"qualifiedName": "Options",
"package": "@supabase/realtime-js",
"name": "Options"
}
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 302,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 264,
"character": 10
}
],
"signatures": [
{
"id": 303,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 304,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 176,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
"name": "SupabaseAuthClient"
}
}
]
},
{
"id": 314,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 342,
"character": 10
}
],
"signatures": [
{
"id": 315,
"name": "_listenForAuthEvents",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 781,
"qualifiedName": "Subscription",
"package": "@supabase/gotrue-js",
"name": "Subscription"
}
]
}
}
]
},
{
"id": 312,
"name": "_listenForMultiTabEvents",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 315,
"character": 10
}
],
"signatures": [
{
"id": 313,
"name": "_listenForMultiTabEvents",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
]
},
{
"id": 295,
"name": "_unsubscribeSubscription",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 245,
"character": 10
}
],
"signatures": [
{
"id": 296,
"name": "_unsubscribeSubscription",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 297,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
},
{
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 299,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 247,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "Error",
"package": "typescript",
"name": "Error"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
299
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 259,
"name": "channel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 167,
"character": 2
}
],
"signatures": [
{
"id": 260,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Creates a channel with Broadcast and Presence.\nActivated when vsndate query param is present in the WebSocket URL."
},
"parameters": [
{
"id": 261,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 262,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 263,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 264,
"name": "selfBroadcast",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 167,
"character": 32
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
264
]
}
],
"indexSignature": {
"id": 265,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
"id": 266,
"name": "key",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
}
}
}
],
"type": {
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
},
{
"id": 246,
"name": "from",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 130,
"character": 2
}
],
"signatures": [
{
"id": 247,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a table operation."
},
"typeParameter": [
{
"id": 248,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 249,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The table name to operate on.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"id": 8,
"typeArguments": [
{
"type": "reference",
"id": 248,
"name": "T"
}
],
"name": "SupabaseQueryBuilder"
}
}
]
},
{
"id": 300,
"name": "getSubscriptions",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 260,
"character": 2
}
],
"signatures": [
{
"id": 301,
"name": "getSubscriptions",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Returns an array of all your subscriptions."
},
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
}
}
}
]
},
{
"id": 267,
"name": "removeAllSubscriptions",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 181,
"character": 8
}
],
"signatures": [
{
"id": 268,
"name": "removeAllSubscriptions",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Closes and removes all subscriptions and returns a list of removed\nsubscriptions and their errors."
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "reflection",
"declaration": {
"id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 270,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 182,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 271,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 272,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 182,
"character": 14
}
],
"type": {
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
272
]
}
]
}
}
},
{
"id": 273,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 182,
"character": 52
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "Error",
"package": "typescript",
"name": "Error"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
270,
273
]
}
]
}
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 274,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 201,
"character": 8
}
],
"signatures": [
{
"id": 275,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Closes and removes a channel and returns the number of open channels."
},
"parameters": [
{
"id": 276,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The channel you want to close and remove.\n"
},
"type": {
"type": "reference",
"id": 1026,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 278,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 203,
"character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 280,
"name": "openChannels",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 203,
"character": 23
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
280
]
}
]
}
}
},
{
"id": 281,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 203,
"character": 47
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "Error",
"package": "typescript",
"name": "Error"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
278,
281
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 282,
"name": "removeSubscription",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 218,
"character": 8
}
],
"signatures": [
{
"id": 283,
"name": "removeSubscription",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Closes and removes a subscription and returns the number of open subscriptions."
},
"parameters": [
{
"id": 284,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The subscription you want to close and remove.\n"
},
"type": {
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 220,
"character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 288,
"name": "openSubscriptions",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 220,
"character": 23
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
288
]
}
]
}
}
},
{
"id": 289,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 220,
"character": 52
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"qualifiedName": "Error",
"package": "typescript",
"name": "Error"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
286,
289
]
}
]
}
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
},
{
"id": 250,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 151,
"character": 2
}
],
"signatures": [
{
"id": 251,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Perform a function call."
},
"typeParameter": [
{
"id": 252,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 253,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The function name to call."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 254,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The parameters to pass to the function call."
},
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 255,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 256,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 258,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 157,
"character": 25
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 257,
"name": "head",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 157,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
258,
257
]
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 252,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
215
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
220,
224,
234,
229,
226,
236,
228,
227,
223,
222,
221,
235,
225,
241,
240
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
242,
244
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
290,
310,
316,
308,
305,
302,
314,
312,
295,
259,
246,
300,
267,
274,
282,
250
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
"line": 31,
"character": 21
}
]
},
{
"id": 771,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 773,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A custom data object for app_metadata that.",
"text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 103,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 780,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 80,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "object"
},
"inheritedFrom": {
"type": "reference",
"id": 770,
"name": "UserAttributes.data"
}
},
{
"id": 776,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The user's email."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 64,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 766,
"name": "UserAttributes.email"
}
},
{
"id": 779,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "An email change token."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 76,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 769,
"name": "UserAttributes.email_change_token"
}
},
{
"id": 774,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Sets if a user has confirmed their email address.",
"text": "Only a service role can modify.\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 109,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 778,
"name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The user's password."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 72,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 768,
"name": "UserAttributes.password"
}
},
{
"id": 777,
"name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The user's phone."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 68,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 767,
"name": "UserAttributes.phone"
}
},
{
"id": 775,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "Sets if a user has confirmed their phone number.",
"text": "Only a service role can modify.\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 115,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 772,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A custom data object for user_metadata.",
"text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 94,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
773,
780,
776,
779,
774,
778,
777,
775,
772
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 82,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
"id": 765,
"qualifiedName": "UserAttributes",
"package": "@supabase/gotrue-js",
"name": "UserAttributes"
}
]
},
{
"id": 749,
"name": "ApiError",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 750,
"name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 4,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 751,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 5,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
750,
751
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 3,
"character": 17
}
]
},
{
"id": 351,
"name": "AuthSession",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 353,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 9,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 355,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 17,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 354,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 13,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 352,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 8,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 356,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 18,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 357,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 19,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 358,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 20,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 323,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
353,
355,
354,
352,
356,
357,
358
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 7,
"character": 17
}
]
},
{
"id": 323,
"name": "AuthUser",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 340,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 48,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 325,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 327,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 36,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
327
]
}
],
"indexSignature": {
"id": 328,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 329,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
}
}
},
{
"id": 334,
"name": "aud",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 42,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 335,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 43,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 344,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 52,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 343,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 51,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 341,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 49,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 337,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 45,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 345,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 324,
"name": "id",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 34,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 350,
"name": "identities",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 58,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 753,
"qualifiedName": "UserIdentity",
"package": "@supabase/gotrue-js",
"name": "UserIdentity"
}
}
},
{
"id": 339,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 47,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 347,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 55,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 338,
"name": "new_email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 46,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 342,
"name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 50,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 346,
"name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 54,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 336,
"name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 44,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 348,
"name": "role",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 56,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 349,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 57,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 330,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 39,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 332,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 333,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
340,
325,
334,
335,
344,
343,
341,
337,
345,
324,
350,
339,
347,
338,
342,
346,
336,
348,
349,
330
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 33,
"character": 17
}
]
},
{
"id": 789,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 792,
"name": "domain",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 134,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 791,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 133,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 790,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 132,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 793,
"name": "path",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 135,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 794,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 136,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
792,
791,
790,
793,
794
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 131,
"character": 17
}
]
},
{
"id": 815,
"name": "OpenIDConnectCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 819,
"name": "client_id",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 165,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 816,
"name": "id_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 162,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 820,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 166,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 817,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 163,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 818,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 164,
"character": 4
}
],
"type": {
"type": "reference",
"id": 747,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
819,
816,
820,
817,
818
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 161,
"character": 17
}
]
},
{
"id": 781,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 782,
"name": "id",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The subscriber UUID. This will be set by the client."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 121,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 783,
"name": "callback",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 125,
"character": 4
}
],
"signatures": [
{
"id": 784,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The function to call every time there is an event. eg: (eventName) => {}"
},
"parameters": [
{
"id": 785,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 748,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
"id": 786,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 351,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 787,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 129,
"character": 4
}
],
"signatures": [
{
"id": 788,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Call this to remove the listener."
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
782
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
783,
787
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 117,
"character": 17
}
]
},
{
"id": 765,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 770,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 80,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
},
{
"id": 766,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The user's email."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 64,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 769,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "An email change token."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 76,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 768,
"name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The user's password."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 72,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 767,
"name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The user's phone."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 68,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
770,
766,
769,
768,
767
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 60,
"character": 17
}
],
"extendedBy": [
{
"type": "reference",
"id": 771,
"name": "AdminUserAttributes"
}
]
},
{
"id": 795,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 796,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 139,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 801,
"name": "oidc",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 144,
"character": 4
}
],
"type": {
"type": "reference",
"id": 815,
"qualifiedName": "OpenIDConnectCredentials",
"package": "@supabase/gotrue-js",
"name": "OpenIDConnectCredentials"
}
},
{
"id": 798,
"name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 141,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 797,
"name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 140,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 800,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 143,
"character": 4
}
],
"type": {
"type": "reference",
"id": 747,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
}
},
{
"id": 799,
"name": "refreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 142,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
796,
801,
798,
797,
800,
799
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 138,
"character": 17
}
]
},
{
"id": 753,
"name": "UserIdentity",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 761,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 29,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 754,
"name": "id",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 23,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 756,
"name": "identity_data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 25,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 757,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"indexSignature": {
"id": 758,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 759,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
}
}
},
{
"id": 762,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 30,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 760,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 28,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 763,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 31,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 755,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 24,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
761,
754,
756,
762,
760,
763,
755
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 22,
"character": 17
}
]
},
{
"id": 808,
"name": "VerifyEmailOTPParams",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 809,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 154,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 810,
"name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 155,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "undefined"
}
},
{
"id": 811,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 156,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 812,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 157,
"character": 4
}
],
"type": {
"type": "reference",
"id": 814,
"qualifiedName": "EmailOTPType",
"package": "@supabase/gotrue-js",
"name": "EmailOTPType"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
809,
810,
811,
812
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 153,
"character": 17
}
]
},
{
"id": 803,
"name": "VerifyMobileOTPParams",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExternal": true
},
"children": [
{
"id": 804,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 148,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "undefined"
}
},
{
"id": 805,
"name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 149,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 806,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 150,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 807,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 151,
"character": 4
}
],
"type": {
"type": "reference",
"id": 813,
"qualifiedName": "MobileOTPType",
"package": "@supabase/gotrue-js",
"name": "MobileOTPType"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
804,
805,
806,
807
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 147,
"character": 17
}
]
},
{
"id": 748,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 2,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "PASSWORD_RECOVERY"
},
{
"type": "literal",
"value": "SIGNED_IN"
},
{
"type": "literal",
"value": "SIGNED_OUT"
},
{
"type": "literal",
"value": "TOKEN_REFRESHED"
},
{
"type": "literal",
"value": "USER_UPDATED"
},
{
"type": "literal",
"value": "USER_DELETED"
}
]
}
},
{
"id": 814,
"name": "EmailOTPType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 160,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "signup"
},
{
"type": "literal",
"value": "invite"
},
{
"type": "literal",
"value": "magiclink"
},
{
"type": "literal",
"value": "recovery"
},
{
"type": "literal",
"value": "email_change"
}
]
}
},
{
"id": 813,
"name": "MobileOTPType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 159,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "sms"
},
{
"type": "literal",
"value": "phone_change"
}
]
}
},
{
"id": 208,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Error format",
"text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 7,
"character": 20
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 213,
"name": "code",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 11,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 211,
"name": "details",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 9,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 212,
"name": "hint",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 10,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 210,
"name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 8,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
213,
211,
212,
210
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 7,
"character": 37
}
]
}
}
},
{
"id": 206,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 41,
"character": 20
}
],
"typeParameter": [
{
"id": 207,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
}
}
],
"type": {
"type": "reference",
"id": 204,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
"id": 207,
"qualifiedName": "T",
"package": "@supabase/postgrest-js",
"name": "T"
},
{
"type": "literal",
"value": null
}
]
}
],
"qualifiedName": "PostgrestSingleResponse",
"package": "@supabase/postgrest-js",
"name": "PostgrestSingleResponse"
}
},
{
"id": 202,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 34,
"character": 20
}
],
"typeParameter": [
{
"id": 203,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 203,
"qualifiedName": "T",
"package": "@supabase/postgrest-js",
"name": "T"
}
],
"qualifiedName": "PostgrestResponseSuccess",
"package": "@supabase/postgrest-js",
"name": "PostgrestResponseSuccess"
},
{
"type": "reference",
"qualifiedName": "PostgrestResponseFailure",
"package": "@supabase/postgrest-js",
"name": "PostgrestResponseFailure"
}
]
}
},
{
"id": 204,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 40,
"character": 20
}
],
"typeParameter": [
{
"id": 205,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 205,
"qualifiedName": "T",
"package": "@supabase/postgrest-js",
"name": "T"
}
],
"qualifiedName": "PostgrestSingleResponseSuccess",
"package": "@supabase/postgrest-js",
"name": "PostgrestSingleResponseSuccess"
},
{
"type": "reference",
"qualifiedName": "PostgrestResponseFailure",
"package": "@supabase/postgrest-js",
"name": "PostgrestResponseFailure"
}
]
}
},
{
"id": 747,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 1,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "apple"
},
{
"type": "literal",
"value": "azure"
},
{
"type": "literal",
"value": "bitbucket"
},
{
"type": "literal",
"value": "discord"
},
{
"type": "literal",
"value": "facebook"
},
{
"type": "literal",
"value": "github"
},
{
"type": "literal",
"value": "gitlab"
},
{
"type": "literal",
"value": "google"
},
{
"type": "literal",
"value": "keycloak"
},
{
"type": "literal",
"value": "linkedin"
},
{
"type": "literal",
"value": "notion"
},
{
"type": "literal",
"value": "slack"
},
{
"type": "literal",
"value": "spotify"
},
{
"type": "literal",
"value": "twitch"
},
{
"type": "literal",
"value": "twitter"
},
{
"type": "literal",
"value": "workos"
}
]
}
},
{
"id": 921,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 6,
"character": 20
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 922,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 929,
"name": "decode",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 13,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 928,
"name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 12,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 931,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 15,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 932,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 15,
"character": 14
}
],
"indexSignature": {
"id": 933,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 934,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 925,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 9,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 927,
"name": "logger",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 11,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 926,
"name": "longpollerTimeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 10,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 935,
"name": "params",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 18,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 936,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 18,
"character": 13
}
],
"indexSignature": {
"id": 937,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 938,
"name": "key",
"kind": 32768,
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 930,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 14,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
}
},
{
"id": 924,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 8,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 923,
"name": "transport",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 7,
"character": 4
}
],
"type": {
"type": "reference",
"qualifiedName": "WebSocket",
"package": "typescript",
"name": "WebSocket"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
929,
928,
931,
925,
927,
926,
935,
930,
924,
923
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
"line": 6,
"character": 30
}
]
}
}
},
{
"id": 821,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 173,
"character": 20
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Storage",
"package": "typescript",
"name": "Storage"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "getItem"
},
{
"type": "literal",
"value": "setItem"
},
{
"type": "literal",
"value": "removeItem"
}
]
}
],
"qualifiedName": "Pick",
"package": "typescript",
"name": "Pick"
}
],
"qualifiedName": "PromisifyMethods",
"package": "@supabase/gotrue-js",
"name": "PromisifyMethods"
}
},
{
"id": 802,
"name": "VerifyOTPParams",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 146,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 803,
"qualifiedName": "VerifyMobileOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyMobileOTPParams"
},
{
"type": "reference",
"id": 808,
"qualifiedName": "VerifyEmailOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyEmailOTPParams"
}
]
}
},
{
"id": 2,
"name": "createClient",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/index.ts",
"line": 16,
"character": 6
}
],
"signatures": [
{
"id": 3,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Creates a new Supabase Client."
},
"parameters": [
{
"id": 4,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 5,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 6,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"id": 176,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
"id": 214,
"name": "default"
}
}
]
}
],
"groups": [
{
"title": "References",
"kind": 16777216,
"children": [
752,
321,
322,
764
]
},
{
"title": "Namespaces",
"kind": 4,
"children": [
1183
]
},
{
"title": "Classes",
"kind": 128,
"children": [
359,
613,
1026,
822,
1132,
939,
214
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
771,
749,
351,
323,
789,
815,
781,
765,
795,
753,
808,
803
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
748,
814,
813,
208,
206,
202,
204,
747,
921,
821,
802
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2
]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 7,
"name": "lib/SupabaseQueryBuilder",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 8,
"name": "SupabaseQueryBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
"id": 9,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 13,
"character": 2
}
],
"signatures": [
{
"id": 10,
"name": "new SupabaseQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
"id": 11,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"parameters": [
{
"id": 12,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 13,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 14,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 19,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 27,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 20,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 21,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 22,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 23,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
}
},
{
"id": 15,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 23,
"character": 6
}
],
"type": {
"type": "reference",
"id": 171,
"name": "GenericObject"
}
},
{
"id": 17,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 25,
"character": 6
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 16,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 24,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 24,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 28,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 18,
"name": "table",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 26,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
19,
15,
17,
16,
24,
18
]
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 8,
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"name": "SupabaseQueryBuilder"
},
"overwrites": {
"type": "reference",
"name": "PostgrestQueryBuilder<T>.constructor"
}
}
],
"overwrites": {
"type": "reference",
"name": "PostgrestQueryBuilder<T>.constructor"
}
},
{
"id": 27,
"name": "_headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 9,
"character": 10
}
],
"type": {
"type": "reference",
"id": 171,
"name": "GenericObject"
}
},
{
"id": 26,
"name": "_realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 8,
"character": 10
}
],
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 28,
"name": "_schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 10,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 25,
"name": "_subscription",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 7,
"character": 10
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"id": 114,
"name": "SupabaseRealtimeClient"
}
]
},
"defaultValue": "null"
},
{
"id": 29,
"name": "_table",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 11,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 96,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 53,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.allowEmpty"
}
},
{
"id": 88,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 49,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.body"
}
},
{
"id": 91,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 52,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 93,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 94,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 95,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.fetch"
}
},
{
"id": 83,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 45,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 84,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
"id": 85,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
"id": 86,
"name": "key",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.headers"
}
},
{
"id": 81,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 43,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "DELETE"
},
{
"type": "literal",
"value": "GET"
},
{
"type": "literal",
"value": "HEAD"
},
{
"type": "literal",
"value": "POST"
},
{
"type": "literal",
"value": "PATCH"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.method"
}
},
{
"id": 87,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 48,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.schema"
}
},
{
"id": 89,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 50,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.shouldThrowOnError"
}
},
{
"id": 90,
"name": "signal",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 51,
"character": 14
}
],
"type": {
"type": "reference",
"qualifiedName": "AbortSignal",
"package": "typescript",
"name": "AbortSignal"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.signal"
}
},
{
"id": 82,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 44,
"character": 14
}
],
"type": {
"type": "reference",
"qualifiedName": "URL",
"package": "typescript",
"name": "URL"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.url"
}
},
{
"id": 75,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 75,
"character": 4
}
],
"signatures": [
{
"id": 76,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Performs a DELETE on the table."
},
"parameters": [
{
"id": 77,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 80,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 77,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 79,
"name": "returning",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 76,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "minimal"
},
{
"type": "literal",
"value": "representation"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
80,
79
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.delete"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.delete"
}
},
{
"id": 44,
"name": "insert",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 30,
"character": 4
}
],
"signatures": [
{
"id": 45,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Performs an INSERT into the table."
},
"parameters": [
{
"id": 46,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The values to insert."
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
}
}
]
}
},
{
"id": 47,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 48,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 50,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 32,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 49,
"name": "returning",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 31,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "minimal"
},
{
"type": "literal",
"value": "representation"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
50,
49
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.insert"
}
},
{
"id": 51,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `upsert()` instead.\n"
}
]
},
"parameters": [
{
"id": 52,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
}
}
]
}
},
{
"id": 53,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 54,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 58,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 41,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 56,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 39,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 57,
"name": "returning",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 40,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "minimal"
},
{
"type": "literal",
"value": "representation"
}
]
}
},
{
"id": 55,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 38,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
58,
56,
57,
55
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.insert"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.insert"
}
},
{
"id": 30,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 44,
"character": 2
}
],
"signatures": [
{
"id": 31,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Subscribe to realtime changes in your database."
},
"parameters": [
{
"id": 32,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "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": 199,
"name": "SupabaseEventTypes"
}
},
{
"id": 33,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "A callback that will handle the payload that is sent whenever your database changes.\n"
},
"type": {
"type": "reflection",
"declaration": {
"id": 34,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 35,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 36,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 189,
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"name": "SupabaseRealtimePayload"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 114,
"name": "SupabaseRealtimeClient"
}
}
]
},
{
"id": 37,
"name": "select",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 19,
"character": 4
}
],
"signatures": [
{
"id": 38,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Performs vertical filtering with SELECT."
},
"parameters": [
{
"id": 39,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"comment": {
"shortText": "The columns to retrieve, separated by commas."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 40,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 41,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 43,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 21,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 42,
"name": "head",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 20,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
43,
42
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.select"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.select"
}
},
{
"id": 100,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 62,
"character": 4
}
],
"signatures": [
{
"id": 101,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"typeParameter": [
{
"id": 102,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
},
"default": {
"type": "reference",
"id": 202,
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestResponse",
"package": "@supabase/postgrest-js",
"name": "PostgrestResponse"
}
},
{
"id": 103,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExternal": true
},
"default": {
"type": "intrinsic",
"name": "never"
}
}
],
"parameters": [
{
"id": 104,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 105,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 106,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 107,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "reference",
"id": 202,
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestResponse",
"package": "@supabase/postgrest-js",
"name": "PostgrestResponse"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 102,
"qualifiedName": "TResult1",
"package": "@supabase/postgrest-js",
"name": "TResult1"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 102,
"qualifiedName": "TResult1",
"package": "@supabase/postgrest-js",
"name": "TResult1"
}
],
"qualifiedName": "PromiseLike",
"package": "typescript",
"name": "PromiseLike"
}
]
}
}
]
}
}
]
}
},
{
"id": 108,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reflection",
"declaration": {
"id": 109,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"signatures": [
{
"id": 110,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 111,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 103,
"qualifiedName": "TResult2",
"package": "@supabase/postgrest-js",
"name": "TResult2"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 103,
"qualifiedName": "TResult2",
"package": "@supabase/postgrest-js",
"name": "TResult2"
}
],
"qualifiedName": "PromiseLike",
"package": "typescript",
"name": "PromiseLike"
}
]
}
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
"id": 102,
"qualifiedName": "TResult1",
"package": "@supabase/postgrest-js",
"name": "TResult1"
},
{
"type": "reference",
"id": 103,
"qualifiedName": "TResult2",
"package": "@supabase/postgrest-js",
"name": "TResult2"
}
]
}
],
"qualifiedName": "PromiseLike",
"package": "typescript",
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.then"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.then"
}
},
{
"id": 97,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/types.d.ts",
"line": 61,
"character": 4
}
],
"signatures": [
{
"id": 98,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": 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"
},
"parameters": [
{
"id": 99,
"name": "throwOnError",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"type": {
"type": "reference",
"id": 8,
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"name": "SupabaseQueryBuilder"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.throwOnError"
}
},
{
"id": 68,
"name": "update",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 65,
"character": 4
}
],
"signatures": [
{
"id": 69,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Performs an UPDATE on the table."
},
"parameters": [
{
"id": 70,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The values to update."
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
}
},
{
"id": 71,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 74,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 67,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 73,
"name": "returning",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 66,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "minimal"
},
{
"type": "literal",
"value": "representation"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
74,
73
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.update"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.update"
}
},
{
"id": 59,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 52,
"character": 4
}
],
"signatures": [
{
"id": 60,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "Performs an UPSERT into the table."
},
"parameters": [
{
"id": 61,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
"shortText": "The values to insert."
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "Partial",
"package": "typescript",
"name": "Partial"
}
}
]
}
},
{
"id": 62,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExternal": true
},
"children": [
{
"id": 66,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 55,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "literal",
"value": "exact"
},
{
"type": "literal",
"value": "planned"
},
{
"type": "literal",
"value": "estimated"
}
]
}
},
{
"id": 67,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 56,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 64,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 53,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 65,
"name": "returning",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/module/lib/PostgrestQueryBuilder.d.ts",
"line": 54,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "minimal"
},
{
"type": "literal",
"value": "representation"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
66,
67,
64,
65
]
}
]
}
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestFilterBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
},
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.upsert"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "PostgrestQueryBuilder.upsert"
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
9
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
27,
26,
28,
25,
29,
96,
88,
91,
83,
81,
87,
89,
90,
82
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
75,
44,
30,
37,
100,
97,
68,
59
]
}
],
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 6,
"character": 13
}
],
"typeParameter": [
{
"id": 112,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"extendedTypes": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 11,
"name": "T"
}
],
"qualifiedName": "PostgrestQueryBuilder",
"package": "@supabase/postgrest-js",
"name": "default"
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
8
]
}
],
"sources": [
{
"fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 113,
"name": "lib/SupabaseRealtimeClient",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 114,
"name": "SupabaseRealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
"id": 115,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 7,
"character": 2
}
],
"signatures": [
{
"id": 116,
"name": "new SupabaseRealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 117,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 822,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 118,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 171,
"name": "GenericObject"
}
},
{
"id": 119,
"name": "schema",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 120,
"name": "tableName",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"id": 114,
"name": "SupabaseRealtimeClient"
}
}
]
},
{
"id": 121,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 5,
"character": 2
}
],
"type": {
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
"id": 122,
"name": "getPayloadRecords",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 19,
"character": 10
}
],
"signatures": [
{
"id": 123,
"name": "getPayloadRecords",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 124,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 125,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 126,
"name": "new",
"kind": 1024,
"kindString": "Property",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 127,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {}
}
},
"defaultValue": "{}"
},
{
"id": 128,
"name": "old",
"kind": 1024,
"kindString": "Property",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 129,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {}
}
},
"defaultValue": "{}"
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
126,
128
]
}
]
}
}
}
]
},
{
"id": 130,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 42,
"character": 2
}
],
"signatures": [
{
"id": 131,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "The event you want to listen to."
},
"parameters": [
{
"id": 132,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "The event"
},
"type": {
"type": "reference",
"id": 199,
"name": "SupabaseEventTypes"
}
},
{
"id": 133,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "A callback function that is called whenever the event occurs.\n"
},
"type": {
"type": "reflection",
"declaration": {
"id": 134,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 135,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 136,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 189,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "SupabaseRealtimePayload"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 114,
"name": "SupabaseRealtimeClient"
}
}
]
},
{
"id": 137,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 64,
"character": 2
}
],
"signatures": [
{
"id": 138,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Enables the subscription."
},
"parameters": [
{
"id": 139,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "Function",
"package": "typescript",
"name": "Function"
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"id": 939,
"qualifiedName": "RealtimeSubscription",
"package": "@supabase/realtime-js",
"name": "default"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
115
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
121
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
122,
130,
137
]
}
],
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 4,
"character": 13
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
114
]
}
],
"sources": [
{
"fileName": "src/lib/SupabaseRealtimeClient.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 140,
"name": "lib/constants",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 141,
"name": "DEFAULT_HEADERS",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true
},
"sources": [
{
"fileName": "src/lib/constants.ts",
"line": 3,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 142,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 143,
"name": "X-Client-Info",
"kind": 1024,
"kindString": "Property",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
143
]
}
]
}
},
"defaultValue": "..."
},
{
"id": 144,
"name": "STORAGE_KEY",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true
},
"sources": [
{
"fileName": "src/lib/constants.ts",
"line": 4,
"character": 13
}
],
"type": {
"type": "literal",
"value": "supabase.auth.token"
},
"defaultValue": "'supabase.auth.token'"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
141,
144
]
}
],
"sources": [
{
"fileName": "src/lib/constants.ts",
"line": 2,
"character": 0
}
]
},
{
"id": 145,
"name": "lib/helpers",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 151,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 15,
"character": 13
}
],
"signatures": [
{
"id": 152,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 148,
"name": "stripTrailingSlash",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 11,
"character": 16
}
],
"signatures": [
{
"id": 149,
"name": "stripTrailingSlash",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 150,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
},
{
"id": 146,
"name": "uuid",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 3,
"character": 16
}
],
"signatures": [
{
"id": 147,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
151,
148,
146
]
}
],
"sources": [
{
"fileName": "src/lib/helpers.ts",
"line": 3,
"character": 0
}
]
},
{
"id": 153,
"name": "lib/types",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 154,
"name": "SupabaseAuthClientOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
"id": 161,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 43,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.autoRefreshToken"
}
},
{
"id": 165,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 47,
"character": 8
}
],
"type": {
"type": "reference",
"id": 789,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.cookieOptions"
}
},
{
"id": 160,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 42,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.detectSessionInUrl"
}
},
{
"id": 166,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 48,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 167,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 168,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 169,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
}
},
{
"id": 170,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"qualifiedName": "RequestInit",
"package": "typescript",
"name": "RequestInit"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Response",
"package": "typescript",
"name": "Response"
}
],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
}
}
]
}
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.fetch"
}
},
{
"id": 156,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 39,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 157,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
"id": 158,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
"id": 159,
"name": "key",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.headers"
}
},
{
"id": 163,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 45,
"character": 8
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"qualifiedName": "Storage",
"package": "typescript",
"name": "Storage"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "getItem"
},
{
"type": "literal",
"value": "setItem"
},
{
"type": "literal",
"value": "removeItem"
}
]
}
],
"qualifiedName": "Pick",
"package": "typescript",
"name": "Pick"
}
],
"qualifiedName": "PromisifyMethods",
"package": "@supabase/gotrue-js",
"name": "PromisifyMethods"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.localStorage"
}
},
{
"id": 164,
"name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 46,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.multiTab"
}
},
{
"id": 162,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 44,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.persistSession"
}
},
{
"id": 155,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true,
"isOptional": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
"line": 38,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "GoTrueClientOptions.url"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
161,
165,
160,
166,
156,
163,
164,
162,
155
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 6,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
"name": "GoTrueClientOptions"
}
]
},
{
"id": 175,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 10,
"character": 12
}
],
"type": {
"type": "query",
"queryType": {
"type": "reference",
"id": 20,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
}
}
},
{
"id": 171,
"name": "GenericObject",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 8,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 172,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 8,
"character": 28
}
],
"indexSignature": {
"id": 173,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
"id": 174,
"name": "key",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
}
}
},
{
"id": 176,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 12,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 180,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Automatically refreshes the token for logged in users."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 24,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 188,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the gotrue-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 60,
"character": 2
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "cookieOptions"
},
"objectType": {
"type": "reference",
"id": 154,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 183,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Detect a session from the URL. Used for OAuth login callbacks."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 36,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 186,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A custom `fetch` implementation."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 50,
"character": 2
}
],
"type": {
"type": "reference",
"id": 175,
"name": "Fetch"
}
},
{
"id": 179,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Optional headers for initializing the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 20,
"character": 2
}
],
"type": {
"type": "reference",
"id": 171,
"name": "GenericObject"
}
},
{
"id": 184,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "A storage provider. Used to store the logged in session."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 40,
"character": 2
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "localStorage"
},
"objectType": {
"type": "reference",
"id": 154,
"name": "SupabaseAuthClientOptions"
}
}
},
{
"id": 181,
"name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Allows to enable/disable multi-tab/window events"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 28,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 182,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Whether to persist a logged in session to storage."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 32,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 185,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Options passed to the realtime-js instance"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 45,
"character": 2
}
],
"type": {
"type": "reference",
"id": 921,
"qualifiedName": "Options",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
},
{
"id": 178,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 16,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 187,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
"shortText": "Throw errors, instead of returning them."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 55,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
180,
188,
183,
186,
179,
184,
181,
182,
185,
178,
187
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 12,
"character": 36
}
]
}
}
},
{
"id": 199,
"name": "SupabaseEventTypes",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 75,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "INSERT"
},
{
"type": "literal",
"value": "UPDATE"
},
{
"type": "literal",
"value": "DELETE"
},
{
"type": "literal",
"value": "*"
}
]
}
},
{
"id": 189,
"name": "SupabaseRealtimePayload",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 12
}
],
"typeParameter": [
{
"id": 198,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 191,
"name": "commit_timestamp",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 64,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 197,
"name": "errors",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 72,
"character": 2
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
},
{
"type": "literal",
"value": null
}
]
}
},
{
"id": 192,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 65,
"character": 2
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "INSERT"
},
{
"type": "literal",
"value": "UPDATE"
},
{
"type": "literal",
"value": "DELETE"
}
]
}
},
{
"id": 195,
"name": "new",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
"shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 69,
"character": 2
}
],
"type": {
"type": "reference",
"id": 198,
"name": "T"
}
},
{
"id": 196,
"name": "old",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
"shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 71,
"character": 2
}
],
"type": {
"type": "reference",
"id": 198,
"name": "T"
}
},
{
"id": 193,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 66,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 194,
"name": "table",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 67,
"character": 2
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
191,
197,
192,
195,
196,
193,
194
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 63,
"character": 41
}
]
}
}
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
154
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
175,
171,
176,
199,
189
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 200,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 201,
"name": "version",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true
},
"sources": [
{
"fileName": "src/lib/version.ts",
"line": 1,
"character": 13
}
],
"type": {
"type": "literal",
"value": "0.0.0-automated"
},
"defaultValue": "'0.0.0-automated'"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
201
]
}
],
"sources": [
{
"fileName": "src/lib/version.ts",
"line": 1,
"character": 0
}
]
}
],
"groups": [
{
"title": "Modules",
"kind": 2,
"children": [
1,
7,
113,
140,
145,
153,
200
]
}
]
}