The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
updates new spec docs
Copple0a96ba0dbe28
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.jsonindex 130538ec9ad..aa0f8f70d29 100644--- a/spec/enrichments/tsdoc_v2/combined.json+++ b/spec/enrichments/tsdoc_v2/combined.json@@ -68942,7 +68942,7 @@"flags": {},"children": [{- "id": 62,+ "id": 69,"name": "FunctionsError","kind": 16777216,"kindString": "Reference",@@ -68954,10 +68954,10 @@"character": 2}],- "target": 6+ "target": 13},{- "id": 63,+ "id": 70,"name": "FunctionsFetchError","kind": 16777216,"kindString": "Reference",@@ -68969,10 +68969,10 @@"character": 2}],- "target": 13+ "target": 20},{- "id": 64,+ "id": 71,"name": "FunctionsHttpError","kind": 16777216,"kindString": "Reference",@@ -68984,10 +68984,10 @@"character": 2}],- "target": 23+ "target": 30},{- "id": 65,+ "id": 72,"name": "FunctionsRelayError","kind": 16777216,"kindString": "Reference",@@ -68999,10 +68999,10 @@"character": 2}],- "target": 18+ "target": 25},{- "id": 66,+ "id": 73,"name": "FunctionsResponse","kind": 16777216,"kindString": "Reference",@@ -69014,17 +69014,17 @@"character": 2}],- "target": 4+ "target": 11},{- "id": 35,+ "id": 42,"name": "FunctionsClient","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 36,+ "id": 43,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -69038,14 +69038,14 @@],"signatures": [{- "id": 37,+ "id": 44,"name": "new FunctionsClient","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 38,+ "id": 45,"name": "url","kind": 32768,"kindString": "Parameter",@@ -69056,7 +69056,7 @@}},{- "id": 39,+ "id": 46,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -69064,14 +69064,14 @@"type": {"type": "reflection","declaration": {- "id": 40,+ "id": 47,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 42,+ "id": 49,"name": "customFetch","kind": 1024,"kindString": "Property",@@ -69088,21 +69088,21 @@"type": {"type": "reflection","declaration": {- "id": 43,+ "id": 50,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"signatures": [{- "id": 44,+ "id": 51,"name": "__type","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 45,+ "id": 52,"name": "input","kind": 32768,"kindString": "Parameter",@@ -69115,7 +69115,7 @@}},{- "id": 46,+ "id": 53,"name": "init","kind": 32768,"kindString": "Parameter",@@ -69150,7 +69150,7 @@}},{- "id": 41,+ "id": 48,"name": "headers","kind": 1024,"kindString": "Property",@@ -69187,8 +69187,8 @@"title": "Properties","kind": 1024,"children": [- 42,- 41+ 49,+ 48]}]@@ -69199,14 +69199,14 @@],"type": {"type": "reference",- "id": 35,+ "id": 42,"name": "FunctionsClient"}}]},{- "id": 49,+ "id": 56,"name": "fetch","kind": 1024,"kindString": "Property",@@ -69223,21 +69223,21 @@"type": {"type": "reflection","declaration": {- "id": 50,+ "id": 57,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"signatures": [{- "id": 51,+ "id": 58,"name": "__type","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 52,+ "id": 59,"name": "input","kind": 32768,"kindString": "Parameter",@@ -69250,7 +69250,7 @@}},{- "id": 53,+ "id": 60,"name": "init","kind": 32768,"kindString": "Parameter",@@ -69285,7 +69285,7 @@}},{- "id": 48,+ "id": 55,"name": "headers","kind": 1024,"kindString": "Property",@@ -69317,7 +69317,7 @@}},{- "id": 47,+ "id": 54,"name": "url","kind": 1024,"kindString": "Property",@@ -69337,7 +69337,7 @@}},{- "id": 57,+ "id": 64,"name": "invoke","kind": 2048,"kindString": "Method",@@ -69351,7 +69351,7 @@],"signatures": [{- "id": 58,+ "id": 65,"name": "invoke","kind": 4096,"kindString": "Call signature",@@ -69361,7 +69361,7 @@},"typeParameter": [{- "id": 59,+ "id": 66,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -69374,7 +69374,7 @@],"parameters": [{- "id": 60,+ "id": 67,"name": "functionName","kind": 32768,"kindString": "Parameter",@@ -69388,14 +69388,14 @@}},{- "id": 61,+ "id": 68,"name": "invokeOptions","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 28,+ "id": 35,"name": "FunctionInvokeOptions"},"defaultValue": "{}"@@ -69406,11 +69406,11 @@"typeArguments": [{"type": "reference",- "id": 4,+ "id": 11,"typeArguments": [{"type": "reference",- "id": 59,+ "id": 66,"name": "T"}],@@ -69425,7 +69425,7 @@]},{- "id": 54,+ "id": 61,"name": "setAuth","kind": 2048,"kindString": "Method",@@ -69439,27 +69439,24 @@],"signatures": [{- "id": 55,+ "id": 62,"name": "setAuth","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Updates the authorization header",- "tags": [- {- "tag": "params",- "text": "token - the new jwt token sent in the authorisation header\n"- }- ]+ "shortText": "Updates the authorization header"},"parameters": [{- "id": 56,+ "id": 63,"name": "token","kind": 32768,"kindString": "Parameter","flags": {},+ "comment": {+ "shortText": "the new jwt token sent in the authorisation header\n"+ },"type": {"type": "intrinsic","name": "string"@@ -69479,24 +69476,24 @@"title": "Constructors","kind": 512,"children": [- 36+ 43]},{"title": "Properties","kind": 1024,"children": [- 49,- 48,- 47+ 56,+ 55,+ 54]},{"title": "Methods","kind": 2048,"children": [- 57,- 54+ 64,+ 61]}],@@ -69514,18 +69511,18 @@"title": "References","kind": 16777216,"children": [- 62,- 63,- 64,- 65,- 66+ 69,+ 70,+ 71,+ 72,+ 73]},{"title": "Classes","kind": 128,"children": [- 35+ 42]}],@@ -69545,14 +69542,14 @@"flags": {},"children": [{- "id": 6,+ "id": 13,"name": "FunctionsError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 7,+ "id": 14,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -69566,14 +69563,14 @@],"signatures": [{- "id": 8,+ "id": 15,"name": "new FunctionsError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 9,+ "id": 16,"name": "message","kind": 32768,"kindString": "Parameter",@@ -69584,7 +69581,7 @@}},{- "id": 10,+ "id": 17,"name": "name","kind": 32768,"kindString": "Parameter",@@ -69596,7 +69593,7 @@"defaultValue": "'FunctionsError'"},{- "id": 11,+ "id": 18,"name": "context","kind": 32768,"kindString": "Parameter",@@ -69611,7 +69608,7 @@],"type": {"type": "reference",- "id": 6,+ "id": 13,"name": "FunctionsError"},"overwrites": {@@ -69626,7 +69623,7 @@}},{- "id": 12,+ "id": 19,"name": "context","kind": 1024,"kindString": "Property",@@ -69649,14 +69646,14 @@"title": "Constructors","kind": 512,"children": [- 7+ 14]},{"title": "Properties","kind": 1024,"children": [- 12+ 19]}],@@ -69678,30 +69675,30 @@"extendedBy": [{"type": "reference",- "id": 13,+ "id": 20,"name": "FunctionsFetchError"},{"type": "reference",- "id": 18,+ "id": 25,"name": "FunctionsRelayError"},{"type": "reference",- "id": 23,+ "id": 30,"name": "FunctionsHttpError"}]},{- "id": 13,+ "id": 20,"name": "FunctionsFetchError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 14,+ "id": 21,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -69715,14 +69712,14 @@],"signatures": [{- "id": 15,+ "id": 22,"name": "new FunctionsFetchError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 16,+ "id": 23,"name": "context","kind": 32768,"kindString": "Parameter",@@ -69735,24 +69732,24 @@],"type": {"type": "reference",- "id": 13,+ "id": 20,"name": "FunctionsFetchError"},"overwrites": {"type": "reference",- "id": 8,+ "id": 15,"name": "FunctionsError.constructor"}}],"overwrites": {"type": "reference",- "id": 7,+ "id": 14,"name": "FunctionsError.constructor"}},{- "id": 17,+ "id": 24,"name": "context","kind": 1024,"kindString": "Property",@@ -69770,7 +69767,7 @@},"inheritedFrom": {"type": "reference",- "id": 12,+ "id": 19,"name": "FunctionsError.context"}}@@ -69780,14 +69777,14 @@"title": "Constructors","kind": 512,"children": [- 14+ 21]},{"title": "Properties","kind": 1024,"children": [- 17+ 24]}],@@ -69801,20 +69798,20 @@"extendedTypes": [{"type": "reference",- "id": 6,+ "id": 13,"name": "FunctionsError"}]},{- "id": 23,+ "id": 30,"name": "FunctionsHttpError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 24,+ "id": 31,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -69828,14 +69825,14 @@],"signatures": [{- "id": 25,+ "id": 32,"name": "new FunctionsHttpError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 26,+ "id": 33,"name": "context","kind": 32768,"kindString": "Parameter",@@ -69848,24 +69845,24 @@],"type": {"type": "reference",- "id": 23,+ "id": 30,"name": "FunctionsHttpError"},"overwrites": {"type": "reference",- "id": 8,+ "id": 15,"name": "FunctionsError.constructor"}}],"overwrites": {"type": "reference",- "id": 7,+ "id": 14,"name": "FunctionsError.constructor"}},{- "id": 27,+ "id": 34,"name": "context","kind": 1024,"kindString": "Property",@@ -69883,7 +69880,7 @@},"inheritedFrom": {"type": "reference",- "id": 12,+ "id": 19,"name": "FunctionsError.context"}}@@ -69893,14 +69890,14 @@"title": "Constructors","kind": 512,"children": [- 24+ 31]},{"title": "Properties","kind": 1024,"children": [- 27+ 34]}],@@ -69914,20 +69911,20 @@"extendedTypes": [{"type": "reference",- "id": 6,+ "id": 13,"name": "FunctionsError"}]},{- "id": 18,+ "id": 25,"name": "FunctionsRelayError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 19,+ "id": 26,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -69941,14 +69938,14 @@],"signatures": [{- "id": 20,+ "id": 27,"name": "new FunctionsRelayError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 21,+ "id": 28,"name": "context","kind": 32768,"kindString": "Parameter",@@ -69961,24 +69958,24 @@],"type": {"type": "reference",- "id": 18,+ "id": 25,"name": "FunctionsRelayError"},"overwrites": {"type": "reference",- "id": 8,+ "id": 15,"name": "FunctionsError.constructor"}}],"overwrites": {"type": "reference",- "id": 7,+ "id": 14,"name": "FunctionsError.constructor"}},{- "id": 22,+ "id": 29,"name": "context","kind": 1024,"kindString": "Property",@@ -69996,7 +69993,7 @@},"inheritedFrom": {"type": "reference",- "id": 12,+ "id": 19,"name": "FunctionsError.context"}}@@ -70006,14 +70003,14 @@"title": "Constructors","kind": 512,"children": [- 19+ 26]},{"title": "Properties","kind": 1024,"children": [- 22+ 29]}],@@ -70027,11 +70024,148 @@"extendedTypes": [{"type": "reference",- "id": 6,+ "id": 13,"name": "FunctionsError"}]},+ {+ "id": 8,+ "name": "FunctionsResponseFailure",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 9,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 12,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 10,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 13,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 9,+ 10+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 11,+ "character": 17+ }+ ]+ },+ {+ "id": 4,+ "name": "FunctionsResponseSuccess",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "comment": {+ "shortText": "Response format"+ },+ "children": [+ {+ "id": 5,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 8,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 7,+ "name": "T"+ }+ },+ {+ "id": 6,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 9,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 5,+ 6+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 7,+ "character": 17+ }+ ],+ "typeParameter": [+ {+ "id": 7,+ "name": "T",+ "kind": 131072,+ "kindString": "Type parameter",+ "flags": {}+ }+ ]+ },{"id": 3,"name": "Fetch",@@ -70049,7 +70183,7 @@"type": "query","queryType": {"type": "reference",- "id": 43,+ "id": 50,"qualifiedName": "fetch","package": "typescript","name": "fetch"@@ -70057,7 +70191,7 @@}},{- "id": 28,+ "id": 35,"name": "FunctionInvokeOptions","kind": 4194304,"kindString": "Type alias",@@ -70072,24 +70206,27 @@"type": {"type": "reflection","declaration": {- "id": 29,+ "id": 36,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 34,+ "id": 41,"name": "body","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "the body of the request"+ },"sources": [{"fileName": "src/types.ts",- "line": 46,+ "line": 52,"character": 2}],@@ -70158,24 +70295,27 @@}},{- "id": 30,+ "id": 37,"name": "headers","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "object representing the headers to send with the request"+ },"sources": [{"fileName": "src/types.ts",- "line": 45,+ "line": 48,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 31,+ "id": 38,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -70183,19 +70323,19 @@"sources": [{"fileName": "src/types.ts",- "line": 45,+ "line": 48,"character": 12}],"indexSignature": {- "id": 32,+ "id": 39,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 33,+ "id": 40,"name": "key","kind": 32768,"flags": {},@@ -70219,8 +70359,8 @@"title": "Properties","kind": 1024,"children": [- 34,- 30+ 41,+ 37]}],@@ -70235,7 +70375,7 @@}},{- "id": 4,+ "id": 11,"name": "FunctionsResponse","kind": 4194304,"kindString": "Type alias",@@ -70249,7 +70389,7 @@],"typeParameter": [{- "id": 5,+ "id": 12,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -70261,10 +70401,11 @@"types": [{"type": "reference",+ "id": 4,"typeArguments": [{"type": "reference",- "id": 5,+ "id": 12,"name": "T"}],@@ -70272,6 +70413,7 @@},{"type": "reference",+ "id": 8,"name": "FunctionsResponseFailure"}]@@ -70283,10 +70425,18 @@"title": "Classes","kind": 128,"children": [- 6,13,- 23,- 18+ 20,+ 30,+ 25+ ]+ },+ {+ "title": "Interfaces",+ "kind": 256,+ "children": [+ 8,+ 4]},{@@ -70294,8 +70444,8 @@"kind": 4194304,"children": [3,- 28,- 4+ 35,+ 11]}],diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.jsonindex e413d2a9b61..62257ba37ca 100644--- a/spec/enrichments/tsdoc_v2/functions.json+++ b/spec/enrichments/tsdoc_v2/functions.json@@ -1,1392 +1,1482 @@{- "id": 0,- "name": "@supabase/functions-js",- "kind": 1,- "flags": {},- "originalName": "",- "children": [- {- "id": 1,- "name": "index",- "kind": 2,- "kindString": "Module",- "flags": {},- "children": [- {- "id": 62,- "name": "FunctionsError",- "kind": 16777216,- "kindString": "Reference",- "flags": {},- "sources": [- {- "fileName": "src/index.ts",- "line": 3,- "character": 2- }- ],- "target": 6- },- {- "id": 63,- "name": "FunctionsFetchError",- "kind": 16777216,- "kindString": "Reference",- "flags": {},- "sources": [- {- "fileName": "src/index.ts",- "line": 4,- "character": 2- }- ],- "target": 13- },- {- "id": 64,- "name": "FunctionsHttpError",- "kind": 16777216,- "kindString": "Reference",- "flags": {},- "sources": [- {- "fileName": "src/index.ts",- "line": 5,- "character": 2- }- ],- "target": 23- },- {- "id": 65,- "name": "FunctionsRelayError",- "kind": 16777216,- "kindString": "Reference",- "flags": {},- "sources": [- {- "fileName": "src/index.ts",- "line": 6,- "character": 2- }- ],- "target": 18- },- {- "id": 66,- "name": "FunctionsResponse",- "kind": 16777216,- "kindString": "Reference",- "flags": {},- "sources": [- {- "fileName": "src/index.ts",- "line": 7,- "character": 2- }- ],- "target": 4- },- {- "id": 35,- "name": "FunctionsClient",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 36,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 16,- "character": 2- }- ],- "signatures": [- {- "id": 37,- "name": "new FunctionsClient",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 38,- "name": "url",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 39,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 40,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 42,- "name": "customFetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 23,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 43,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 44,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 45,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- }- },- {- "id": 46,- "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": 41,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 22,- "character": 6- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "intrinsic",- "name": "string"- }- ],- "qualifiedName": "Record",- "package": "typescript",- "name": "Record"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 42,- 41- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "id": 35,- "name": "FunctionsClient"- }- }- ]- },- {- "id": 49,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 14,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 50,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 51,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 52,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- }- },- {- "id": 53,- "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": 48,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 13,- "character": 12- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "intrinsic",- "name": "string"- }- ],- "qualifiedName": "Record",- "package": "typescript",- "name": "Record"- }- },- {- "id": 47,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 12,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 57,- "name": "invoke",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 45,- "character": 8- }- ],- "signatures": [- {- "id": 58,- "name": "invoke",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Invokes a function"- },- "typeParameter": [- {- "id": 59,- "name": "T",- "kind": 131072,- "kindString": "Type parameter",- "flags": {},- "default": {- "type": "intrinsic",- "name": "any"- }- }- ],- "parameters": [- {- "id": 60,- "name": "functionName",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "the name of the function to invoke"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 61,- "name": "invokeOptions",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 28,- "name": "FunctionInvokeOptions"- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 4,- "typeArguments": [- {- "type": "reference",- "id": 59,- "name": "T"- }- ],- "name": "FunctionsResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 54,- "name": "setAuth",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 35,- "character": 2- }- ],- "signatures": [- {- "id": 55,- "name": "setAuth",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the authorization header",- "tags": [- {- "tag": "params",- "text": "token - the new jwt token sent in the authorisation header\n"- }- ]- },- "parameters": [- {- "id": 56,- "name": "token",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 36- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 49,- 48,- 47- ]- },- {- "title": "Methods",- "kind": 2048,- "children": [- 57,- 54- ]- }- ],- "sources": [- {- "fileName": "src/FunctionsClient.ts",- "line": 11,- "character": 13- }- ]- }- ],- "groups": [- {- "title": "References",- "kind": 16777216,- "children": [- 62,- 63,- 64,- 65,- 66- ]- },- {- "title": "Classes",- "kind": 128,- "children": [- 35- ]- }- ],- "sources": [- {- "fileName": "src/index.ts",- "line": 1,- "character": 0- }- ]- },- {- "id": 2,- "name": "types",- "kind": 2,- "kindString": "Module",- "flags": {},- "children": [- {- "id": 6,- "name": "FunctionsError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 7,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 19,- "character": 2- }- ],- "signatures": [- {- "id": 8,- "name": "new FunctionsError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 9,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 10,- "name": "name",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "'FunctionsError'"- },- {- "id": 11,- "name": "context",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "type": {- "type": "reference",- "id": 6,- "name": "FunctionsError"- },- "overwrites": {- "type": "reference",- "name": "Error.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "name": "Error.constructor"- }- },- {- "id": 12,- "name": "context",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 18,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 7- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 12- ]- }- ],- "sources": [- {- "fileName": "src/types.ts",- "line": 17,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "qualifiedName": "Error",- "package": "typescript",- "name": "Error"- }- ],- "extendedBy": [- {- "type": "reference",- "id": 13,- "name": "FunctionsFetchError"- },- {- "type": "reference",- "id": 18,- "name": "FunctionsRelayError"- },- {- "type": "reference",- "id": 23,- "name": "FunctionsHttpError"- }- ]- },- {- "id": 13,- "name": "FunctionsFetchError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 14,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 27,- "character": 2- }- ],- "signatures": [- {- "id": 15,- "name": "new FunctionsFetchError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 16,- "name": "context",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "type": {- "type": "reference",- "id": 13,- "name": "FunctionsFetchError"- },- "overwrites": {- "type": "reference",- "id": 8,- "name": "FunctionsError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 7,- "name": "FunctionsError.constructor"- }- },- {- "id": 17,- "name": "context",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 18,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "any"- },- "inheritedFrom": {- "type": "reference",- "id": 12,- "name": "FunctionsError.context"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 14- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 17- ]- }- ],- "sources": [- {- "fileName": "src/types.ts",- "line": 26,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 6,- "name": "FunctionsError"- }- ]- },- {- "id": 23,- "name": "FunctionsHttpError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 24,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 39,- "character": 2- }- ],- "signatures": [- {- "id": 25,- "name": "new FunctionsHttpError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 26,- "name": "context",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "type": {- "type": "reference",- "id": 23,- "name": "FunctionsHttpError"- },- "overwrites": {- "type": "reference",- "id": 8,- "name": "FunctionsError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 7,- "name": "FunctionsError.constructor"- }- },- {- "id": 27,- "name": "context",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 18,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "any"- },- "inheritedFrom": {- "type": "reference",- "id": 12,- "name": "FunctionsError.context"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 24- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 27- ]- }- ],- "sources": [- {- "fileName": "src/types.ts",- "line": 38,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 6,- "name": "FunctionsError"- }- ]- },- {- "id": 18,- "name": "FunctionsRelayError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 19,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 33,- "character": 2- }- ],- "signatures": [- {- "id": 20,- "name": "new FunctionsRelayError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 21,- "name": "context",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "type": {- "type": "reference",- "id": 18,- "name": "FunctionsRelayError"- },- "overwrites": {- "type": "reference",- "id": 8,- "name": "FunctionsError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 7,- "name": "FunctionsError.constructor"- }- },- {- "id": 22,- "name": "context",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 18,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "any"- },- "inheritedFrom": {- "type": "reference",- "id": 12,- "name": "FunctionsError.context"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 19- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 22- ]- }- ],- "sources": [- {- "fileName": "src/types.ts",- "line": 32,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 6,- "name": "FunctionsError"- }- ]- },- {- "id": 3,- "name": "Fetch",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 1,- "character": 12- }- ],- "type": {- "type": "query",- "queryType": {- "type": "reference",- "id": 43,- "qualifiedName": "fetch",- "package": "typescript",- "name": "fetch"- }- }- },- {- "id": 28,- "name": "FunctionInvokeOptions",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 44,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 29,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 34,- "name": "body",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/types.ts",- "line": 46,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "File",- "package": "typescript",- "name": "File"- },- {- "type": "reference",- "qualifiedName": "Blob",- "package": "typescript",- "name": "Blob"- },- {- "type": "reference",- "qualifiedName": "ArrayBuffer",- "package": "typescript",- "name": "ArrayBuffer"- },- {- "type": "reference",- "qualifiedName": "FormData",- "package": "typescript",- "name": "FormData"- },- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Uint8Array",- "package": "typescript",- "name": "Uint8Array"- }- ],- "qualifiedName": "ReadableStream",- "package": "typescript",- "name": "ReadableStream"- },- {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "intrinsic",- "name": "any"- }- ],- "qualifiedName": "Record",- "package": "typescript",- "name": "Record"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 30,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/types.ts",- "line": 45,- "character": 2- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 31,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 45,- "character": 12- }- ],- "indexSignature": {- "id": 32,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 33,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 34,- 30- ]- }- ],- "sources": [- {- "fileName": "src/types.ts",- "line": 44,- "character": 36- }- ]- }- }- },- {- "id": 4,- "name": "FunctionsResponse",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/types.ts",- "line": 15,- "character": 12- }- ],- "typeParameter": [- {- "id": 5,- "name": "T",- "kind": 131072,- "kindString": "Type parameter",- "flags": {}- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 5,- "name": "T"- }- ],- "name": "FunctionsResponseSuccess"- },- {- "type": "reference",- "name": "FunctionsResponseFailure"- }- ]- }- }- ],- "groups": [- {- "title": "Classes",- "kind": 128,- "children": [- 6,- 13,- 23,- 18- ]- },- {- "title": "Type Aliases",- "kind": 4194304,- "children": [- 3,- 28,- 4- ]- }- ],- "sources": [- {- "fileName": "src/types.ts",- "line": 1,- "character": 0- }- ]- }- ],- "groups": [- {- "title": "Modules",- "kind": 2,- "children": [- 1,- 2- ]- }- ]-}\ No newline at end of file+ "id": 0,+ "name": "@supabase/functions-js",+ "kind": 1,+ "flags": {},+ "originalName": "",+ "children": [+ {+ "id": 1,+ "name": "index",+ "kind": 2,+ "kindString": "Module",+ "flags": {},+ "children": [+ {+ "id": 69,+ "name": "FunctionsError",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {},+ "sources": [+ {+ "fileName": "src/index.ts",+ "line": 3,+ "character": 2+ }+ ],+ "target": 13+ },+ {+ "id": 70,+ "name": "FunctionsFetchError",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {},+ "sources": [+ {+ "fileName": "src/index.ts",+ "line": 4,+ "character": 2+ }+ ],+ "target": 20+ },+ {+ "id": 71,+ "name": "FunctionsHttpError",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {},+ "sources": [+ {+ "fileName": "src/index.ts",+ "line": 5,+ "character": 2+ }+ ],+ "target": 30+ },+ {+ "id": 72,+ "name": "FunctionsRelayError",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {},+ "sources": [+ {+ "fileName": "src/index.ts",+ "line": 6,+ "character": 2+ }+ ],+ "target": 25+ },+ {+ "id": 73,+ "name": "FunctionsResponse",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {},+ "sources": [+ {+ "fileName": "src/index.ts",+ "line": 7,+ "character": 2+ }+ ],+ "target": 11+ },+ {+ "id": 42,+ "name": "FunctionsClient",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 43,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 16,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 44,+ "name": "new FunctionsClient",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 45,+ "name": "url",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 46,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 47,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 49,+ "name": "customFetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 23,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 50,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "signatures": [+ {+ "id": 51,+ "name": "__type",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "parameters": [+ {+ "id": 52,+ "name": "input",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "qualifiedName": "RequestInfo",+ "package": "typescript",+ "name": "RequestInfo"+ }+ },+ {+ "id": 53,+ "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": 48,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 22,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "intrinsic",+ "name": "string"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ],+ "qualifiedName": "Record",+ "package": "typescript",+ "name": "Record"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [49, 48]+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "id": 42,+ "name": "FunctionsClient"+ }+ }+ ]+ },+ {+ "id": 56,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true+ },+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 14,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 57,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "signatures": [+ {+ "id": 58,+ "name": "__type",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "parameters": [+ {+ "id": 59,+ "name": "input",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "qualifiedName": "RequestInfo",+ "package": "typescript",+ "name": "RequestInfo"+ }+ },+ {+ "id": 60,+ "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": 55,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true+ },+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 13,+ "character": 12+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "intrinsic",+ "name": "string"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ],+ "qualifiedName": "Record",+ "package": "typescript",+ "name": "Record"+ }+ },+ {+ "id": 54,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true+ },+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 12,+ "character": 12+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 64,+ "name": "invoke",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 45,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 65,+ "name": "invoke",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Invokes a function"+ },+ "typeParameter": [+ {+ "id": 66,+ "name": "T",+ "kind": 131072,+ "kindString": "Type parameter",+ "flags": {},+ "default": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "parameters": [+ {+ "id": 67,+ "name": "functionName",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "the name of the function to invoke"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 68,+ "name": "invokeOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 35,+ "name": "FunctionInvokeOptions"+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 11,+ "typeArguments": [+ {+ "type": "reference",+ "id": 66,+ "name": "T"+ }+ ],+ "name": "FunctionsResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 61,+ "name": "setAuth",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 35,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 62,+ "name": "setAuth",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Updates the authorization header"+ },+ "parameters": [+ {+ "id": 63,+ "name": "token",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "the new jwt token sent in the authorisation header\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [43]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [56, 55, 54]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [64, 61]+ }+ ],+ "sources": [+ {+ "fileName": "src/FunctionsClient.ts",+ "line": 11,+ "character": 13+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "References",+ "kind": 16777216,+ "children": [69, 70, 71, 72, 73]+ },+ {+ "title": "Classes",+ "kind": 128,+ "children": [42]+ }+ ],+ "sources": [+ {+ "fileName": "src/index.ts",+ "line": 1,+ "character": 0+ }+ ]+ },+ {+ "id": 2,+ "name": "types",+ "kind": 2,+ "kindString": "Module",+ "flags": {},+ "children": [+ {+ "id": 13,+ "name": "FunctionsError",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 14,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 19,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 15,+ "name": "new FunctionsError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 16,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 17,+ "name": "name",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "'FunctionsError'"+ },+ {+ "id": 18,+ "name": "context",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isOptional": true+ },+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 13,+ "name": "FunctionsError"+ },+ "overwrites": {+ "type": "reference",+ "name": "Error.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "name": "Error.constructor"+ }+ },+ {+ "id": 19,+ "name": "context",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 18,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [14]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [19]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 17,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "qualifiedName": "Error",+ "package": "typescript",+ "name": "Error"+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 20,+ "name": "FunctionsFetchError"+ },+ {+ "type": "reference",+ "id": 25,+ "name": "FunctionsRelayError"+ },+ {+ "type": "reference",+ "id": 30,+ "name": "FunctionsHttpError"+ }+ ]+ },+ {+ "id": 20,+ "name": "FunctionsFetchError",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 21,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 27,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 22,+ "name": "new FunctionsFetchError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 23,+ "name": "context",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 20,+ "name": "FunctionsFetchError"+ },+ "overwrites": {+ "type": "reference",+ "id": 15,+ "name": "FunctionsError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 14,+ "name": "FunctionsError.constructor"+ }+ },+ {+ "id": 24,+ "name": "context",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 18,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 19,+ "name": "FunctionsError.context"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [21]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [24]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 26,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 13,+ "name": "FunctionsError"+ }+ ]+ },+ {+ "id": 30,+ "name": "FunctionsHttpError",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 31,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 39,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 32,+ "name": "new FunctionsHttpError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 33,+ "name": "context",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 30,+ "name": "FunctionsHttpError"+ },+ "overwrites": {+ "type": "reference",+ "id": 15,+ "name": "FunctionsError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 14,+ "name": "FunctionsError.constructor"+ }+ },+ {+ "id": 34,+ "name": "context",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 18,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 19,+ "name": "FunctionsError.context"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [31]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [34]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 38,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 13,+ "name": "FunctionsError"+ }+ ]+ },+ {+ "id": 25,+ "name": "FunctionsRelayError",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 26,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 33,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 27,+ "name": "new FunctionsRelayError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 28,+ "name": "context",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 25,+ "name": "FunctionsRelayError"+ },+ "overwrites": {+ "type": "reference",+ "id": 15,+ "name": "FunctionsError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 14,+ "name": "FunctionsError.constructor"+ }+ },+ {+ "id": 29,+ "name": "context",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 18,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 19,+ "name": "FunctionsError.context"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [26]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [29]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 32,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 13,+ "name": "FunctionsError"+ }+ ]+ },+ {+ "id": 8,+ "name": "FunctionsResponseFailure",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 9,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 12,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 10,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 13,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [9, 10]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 11,+ "character": 17+ }+ ]+ },+ {+ "id": 4,+ "name": "FunctionsResponseSuccess",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "comment": {+ "shortText": "Response format"+ },+ "children": [+ {+ "id": 5,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 8,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 7,+ "name": "T"+ }+ },+ {+ "id": 6,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 9,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [5, 6]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 7,+ "character": 17+ }+ ],+ "typeParameter": [+ {+ "id": 7,+ "name": "T",+ "kind": 131072,+ "kindString": "Type parameter",+ "flags": {}+ }+ ]+ },+ {+ "id": 3,+ "name": "Fetch",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 1,+ "character": 12+ }+ ],+ "type": {+ "type": "query",+ "queryType": {+ "type": "reference",+ "id": 50,+ "qualifiedName": "fetch",+ "package": "typescript",+ "name": "fetch"+ }+ }+ },+ {+ "id": 35,+ "name": "FunctionInvokeOptions",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 44,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 36,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 41,+ "name": "body",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "the body of the request"+ },+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 52,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "qualifiedName": "File",+ "package": "typescript",+ "name": "File"+ },+ {+ "type": "reference",+ "qualifiedName": "Blob",+ "package": "typescript",+ "name": "Blob"+ },+ {+ "type": "reference",+ "qualifiedName": "ArrayBuffer",+ "package": "typescript",+ "name": "ArrayBuffer"+ },+ {+ "type": "reference",+ "qualifiedName": "FormData",+ "package": "typescript",+ "name": "FormData"+ },+ {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "qualifiedName": "Uint8Array",+ "package": "typescript",+ "name": "Uint8Array"+ }+ ],+ "qualifiedName": "ReadableStream",+ "package": "typescript",+ "name": "ReadableStream"+ },+ {+ "type": "reference",+ "typeArguments": [+ {+ "type": "intrinsic",+ "name": "string"+ },+ {+ "type": "intrinsic",+ "name": "any"+ }+ ],+ "qualifiedName": "Record",+ "package": "typescript",+ "name": "Record"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 37,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "object representing the headers to send with the request"+ },+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 48,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 38,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 48,+ "character": 12+ }+ ],+ "indexSignature": {+ "id": 39,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 40,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [41, 37]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 44,+ "character": 36+ }+ ]+ }+ }+ },+ {+ "id": 11,+ "name": "FunctionsResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 15,+ "character": 12+ }+ ],+ "typeParameter": [+ {+ "id": 12,+ "name": "T",+ "kind": 131072,+ "kindString": "Type parameter",+ "flags": {}+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 4,+ "typeArguments": [+ {+ "type": "reference",+ "id": 12,+ "name": "T"+ }+ ],+ "name": "FunctionsResponseSuccess"+ },+ {+ "type": "reference",+ "id": 8,+ "name": "FunctionsResponseFailure"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Classes",+ "kind": 128,+ "children": [13, 20, 30, 25]+ },+ {+ "title": "Interfaces",+ "kind": 256,+ "children": [8, 4]+ },+ {+ "title": "Type Aliases",+ "kind": 4194304,+ "children": [3, 35, 11]+ }+ ],+ "sources": [+ {+ "fileName": "src/types.ts",+ "line": 1,+ "character": 0+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Modules",+ "kind": 2,+ "children": [1, 2]+ }+ ]+}